@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
*{
    box-sizing: border-box;
    font-family: "Poppins", serif;
}

body{
}

html {
    scroll-behavior: smooth;
  }

/* custom shiit  */
.hide{
    display: none;
}

  /* this is hero styling */
.hero{
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 20px;
    padding-inline-end: 100px;
    /* height: 100vh; */
    margin-top: 50px;

}
.hero .image{
    border: 1px solid #000;
    padding: 10px;
    border-radius: 100px 10px 100px 10px;
    width: 450px;
    min-width: 300px;
    justify-self: end;
}
.hero img{
    border-radius: 100px 10px 100px 10px;
    max-width: 100%; /* Ensure the image scales proportionally */
    height: auto; /* Maintain aspect ratio */
    min-width: 250px; /* Prevent the image from shrinking too much */
}

.hero .text{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

}

.hero .text h3{
    font-size: 16px;
    color: #555555;
    font-weight: bold;
}

.hero .text h2{
    font-size: 48px;
    font-weight: bold;
}
.hero .text h4{
    font-size: 28px;
    font-weight: bold;
    color: #555555;
}

.hero-buttons{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 10px;
}
.hero-buttons button{
    padding: 10px 20px;
    background-color: #fff;
    font-size: 12px;
    color: #000;
    border: 2px solid #000;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}


.hero .text .hero-buttons a:nth-child(1) button {
    background-color: #555; /* Green for the first button */
    color: #fff;
    border: none;

}

.hero .text .hero-buttons a:nth-child(2) button {
    background-color: #fff; /* Orange for the second button */
    border: 2px solid black;
}

.hero .text .hero-buttons a:nth-child(3) button {
    background-color: #555; /* Blue for the third button */
    color: #fff;
    border: none;
}

.hero-socials{
    padding-block-start: 10px;
}

.hero-socials i:nth-child(1) {
    font-size: 32px;
    color: #000;
    border-radius: 50%;
    cursor: pointer;  

}

.hero-socials i:nth-child(2) {
  color: #333; 
  font-size: 32px;
  color: #000;
  cursor: pointer;
}

/* this styling is for about section */
.about{
    padding-inline: 130px;
    text-align: center;
    height: 100vh;
}

.about h4.title {
    font-size: 48px;
    font-weight: bold;
    color: #000;
}

.about .about-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.about .about-grid .about-card{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        border: 1px solid black;
        padding: 20px;    
}

.about .about-grid .about-card img {
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
}

.about .about-grid .about-card h2{
    font-weight: bold;
    font-size: 18px;
}
.about .about-grid .about-card p {
    margin: 0;
    padding: 0;
}

.cv-button {
    padding: 10px 20px;
    background-color: #000;
    color: #fff;
    border: 1px solid #000;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cv-button:hover {
    background-color: #fff;
    color: #000;
}


/* this is the experience section */

.experience{
    text-align: center;
    padding: 50px;

}

.experience .experience-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    text-align: left;
}

.experience .experience-grid .experience-card{
    border: 1px solid black;
    padding: 60px;

}

.experience-card-title h1{
    font-size: 26px;
    font-weight: bold;
    color: #000;
    margin-bottom: 10px;
}
.experience-card-title h2{
    font-size: 26px;
    color: #000;
    margin-bottom: 10px;
}
.experience-card-title p{
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px; 
    letter-spacing: 5px;   
}

.experience h4.title{
    font-size: 48px;
    font-weight: bold;

}

.experience .button{
    text-align: center;
}

/* this is service section  */
.service{
    text-align: center;
    padding: 70px;
    height: 100vh;

}
.service .service-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service .service-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid black;
    padding: 20px;
}
.service .service-grid .service-card .img{
    display: flex;
    align-items: center;
    justify-content: center;
}
.service .service-grid img{
    width: 100px;
    height: 100px;
}
.service .service-grid .title h2{
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.service .service-grid .service-card .title span{
    width: 150px;
    height: 2px;
    background-color: #000;
}

.service h4.title{
    font-size: 48px;
    font-weight: bold;
    text-align: center;

}

/* this is the skills section  */
.skills{
    text-align: center;
    height: 100vh;

}
.skills h4.title {
    font-size: 48px;
    font-weight: bold;
}

.skills h1 {
    text-align: center;
    font-weight: bold;
    color: #000;
    font-size: 48px;
    margin-bottom: 20px;
  }
  .skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
  }
  .skill-box {
    flex: 1 1 calc(50% - 20px); /* Two columns */
    box-sizing: border-box;
  }
  .skill {
    margin-bottom: 20px;
  }
  .skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: bold;
  }
  .progress-bar {
    background: #ccc;
    border-radius: 20px;
    overflow: hidden;
    height: 20px;
  }
  .progress {
    background: #000;
    height: 100%;
    width: 0;
    border-radius: 20px;
    transition: width 1s ease;
  }
  
  /* this is for the projects section  */
  .projects{
    padding: 50px;
    text-align: center;
  }

  .projects .project-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
  }

  .projects .image{
  }

  .projects .image img{
  }

  .projects .text{

  }

  .project-card{
    padding: 40px;
    border: 1px solid black;
    background-color: #FAFAFA;
  }

  .projects .project-grid .project-card .text h3{
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .projects .text .button-container{
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 80px;
  }

  .projects .text .button-container button{
    padding: 12px 20px;
    border: 1px solid black;
    font-size: 13px;
    transition: all 0.5s;
    cursor: pointer;
  }

  .projects .text .button-container button:hover{
    color: white;
    background: #000;
  }

  .projects h4.title {
    font-size: 48px;
    font-weight: bold;
    color: #000;
}

/* this is for the contact section  */

.contact{
    text-align: center;

}

.contact-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.contact-grid .contact-card {
    border: 1px solid black;
    padding: 20px;
}

.contact-grid .contact-card .contact-grid-title{
    text-align: center;
    padding: 20px;
}

.contact-grid .contact-card .contact-grid-title i{
    font-size: 20px;
    padding: 10px;
}
.contact-grid .contact-card .link{
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-grid .contact-card .link a{
    padding: 10px 20px;
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-grid .contact-card .link a:hover {
    background-color: #000;
    color: #fff;
}

.contact-grid .contact-card h2 {
    font-weight: bold;
    font-size: 24px;
}

.contact-grid .contact-card p {
    font-size: 15px;
    text-align: center;    
    max-width: 200px;
    margin: auto;
} 

.contact h4.title {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
}


/* this is contact messg styling / */
.send-messg {
    padding: 50px;
}
.message {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px;
    border: 1px solid #000;
    border-radius: 10px;
    background-color: #f9f9f9;
}

.send-messg input,
.send-messg textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.send-messg input:focus,
.send-messg textarea:focus {
    border-color: #000;
    outline: none;
}

.send-messg button {
    padding: 15px 30px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.send-messg button:hover {
    border: 1px solid black;
    background-color: #fff;
    color: #000;
}
     
.send-messg h4.title {
    font-size: 48px;
    font-weight: bold;
}

.messg-title{
    text-align: center;
    padding-bottom: 10px;
}

/* this is the back to top button  */
/* Back to Top Button Styles */

.back-to-top {
    position: fixed;
    bottom: 20px; /* Distance from the bottom */
    right: 20px; /* Distance from the right */
    background-color: black; /* Match your aesthetic */
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
  }
  
  .back-to-top:hover {
    background-color: white;
    color: black;
    transform: scale(1.1); /* Slight zoom effect on hover */
  }
  










/* this is for animations  */
/* this is for scroll animations  */


/* about card animations */
.about-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* service animations */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


/* experience animations */
.experience-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* project animations  */
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
/* contact animations  */
.contact-grid .contact-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-grid .contact-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}




    /* this is for responsive design  */
    @media screen and (max-width: 1030px) {   
    }
    @media screen and (max-width: 950px) {
        .hero{
            grid-template-columns: 1fr 1fr;
            padding-inline-end: 0px;
            padding-bottom: 50px;
            }
        .hero .image{
            width: 400px;
            justify-self: end;
        }
        .hero .text h2{
            font-size: 32px;
        }
        .hero .text h4{
            font-size: 24px;
        }
        .hero-buttons{
            gap: 2px;
        }
        .hero .text .hero-buttons a:nth-child(2) button {
            display: none;
        }
        .hero-buttons button{
            padding: 10px 20px;
            font-size: 12px;
        }
        .hero-socials{
            padding-block-start: 10px;
        }
        .hero-socials i:nth-child(1) {
            font-size: 24px;
        }
        .hero-socials i:nth-child(2) {
            font-size: 24px;
        }
    
        /* this is the about responsive design   */
        
        .about{
            padding-inline: 50px;
            height: auto;
        }
    
        .about h4.title {
            font-size: 32px;
        }
    
        .about .about-grid{
            grid-template-columns: repeat(2, 1fr);
        }
    
        .about .about-grid .about-card{
            padding: 10px;
        }
    
        .about .about-grid .about-card h2{
            font-size: 16px;
        }
    
        .about .about-grid .about-card p {
            font-size: 12px;
        }
    
        /* this is the experience responsive design */
        
        .experience{
            padding: 20px;
            height: auto;
        }
        
        .experience h4.title{
            font-size: 32px;
        }
        
        .experience .experience-grid{
            grid-template-columns: repeat(2, 1fr);
        }
    
        .experience .experience-grid .experience-card{
            padding: 20px;
        }
    
        .experience-card-title h1{
            font-size: 20px;
        }
    
        .experience-card-title h2{
            font-size: 20px;
        }
    
        .experience-card-title p{
            font-size: 10px;
        }
        
        /* this is service section  */
        .service{
            height: auto;
        }
        .service .service-grid{
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            padding-inline: 50px;
        }
        
        .service h4.title {
            font-size: 32px;
        }

        
        
        /* this is the skills section  */
        .skills h4.title {
            font-size: 32px;
        }

        /* this is the projects section  */

        .projects .project-grid{
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
            padding: 20px;
        }
        
        .projects h4.title{
            font-size: 32px;
        }
        
        /* this is the skills section  */
        .skills-container{
            padding: 20px;
        }
        .skills{
            height: auto;
        }
        
        /* this is the contact section  */
        .contact-grid{
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            padding: 20px;
        }
        
        .contact h4.title {
            font-size: 32px;
        }

        /* this is the send messg section  */
        .send-messg h4.title {
            font-size: 32px;
            font-weight: bold;
        }

        /* this is the back to top shii  */
        .back-to-top {
            font-size: 20px;
            font-weight: bold;
          }
        
        
        
        
    }

    @media screen and (max-width: 700px) {
        .hero{
            grid-template-columns: 1fr;
              padding-inline-end: 0px;
              padding-bottom: 20px;
            }
        .hero .image{
            width: 400px;
            justify-self: center;
        }

        .service .service-grid{
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            padding-inline: 0;
        }

        /* this is the skills section  */
        .skills-container{
            padding: 20px;
        }
        .skill-box {
            flex: 1 1 100%; /* Stacks skills on smaller screens */
        }

        /* this is for the projects section  */

        .projects .project-grid .project-card .text h3{
            font-size: 20px;
          }

        .projects .project-grid {
            padding: 10px;
            gap: 40px;
        }

        /* this is for the contact seection  */
        .contact-grid{
            display: grid;
            grid-template-columns: 1fr;
            gap: 10px;
            padding: 20px;
        }

        /* this is for the send messg  */

        .send-messg{
            padding: 10px;
        }
        
        .send-messg button {
            padding: 10px 10px;  
            font-size: 12px;
        }



    }

    @media screen and (max-width: 610px) {
        .experience .experience-grid{
            grid-template-columns: repeat(1, 1fr);
        }
        .service .service-grid{
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            padding-inline: 0;
        }

        .projects .text .button-container button{
            padding: 8px 16px;
            border: 1px solid black;
            font-size: 13px;
          }

          .projects .text .button-container{
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 50px;
        }
        
        .contact-grid{
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
            padding: 20px;
        }

        

    }


    @media screen and (max-width: 500px) {
        .project-card {
            padding: 20px;
        }

        .projects .text .button-container button {
            padding: 6px 12px;
            font-size: 10px;
        }

    }
    @media screen and (max-width: 450px) {
        .hero .image{
            width: 300px;
            justify-self: center;
        }

        .about .about-grid{
            grid-template-columns: repeat(1, 1fr);
            padding-inline: 10px;
        }

        .service .service-grid{
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 20px;
            padding-inline: 0;
        }

        .project-grid{
            padding: 10px;
        }
        .projects{
            padding: 10px;
        }


    }

    @media screen and (max-width: 340px) {
        .hero .image{
            width: 200px;
            justify-self: center;
        }
    }
