@import url('https://fonts.googleapis.com/css2?family=Epilogue:ital,wght@0,100..900;1,100..900&family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Manrope:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&family=Pliant:ital,wght@0,100..900;1,100..900&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
  --bg-color: #fff;
  --text-color: #00000;
  --testimonial-color: #f3f3f3;
}

body{
    font-family: 'Epilogue', sans-serif;
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h3{
    padding: 24px;
}

.nav-links ul {
    display: flex;
    list-style: none;
    gap: 24px;
    margin-right: 40px;
}

.nav-links ul li a{
    text-decoration: none;
    color: var(--text-color);
}

header{
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.header-content{
    padding: 42px 64px;
    gap: 68px;
}

.header-content h3{
    font-weight: 500;
    font-size: 1.4rem;
    margin-bottom: 24px;
}

.header-content h1{
    font-weight: 600;
    font-size: 5rem;
    margin-bottom: 24px;
}

.header-content p{
    font-weight: 400;
    font-size: 17px;
    line-height: 27px;
}

.btn{
    background-color: black;
    color: white;
    padding: 24px 64px;
    margin-top: 60px;
}

.header-img{
}

.logos
{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 42px 68px;
}

.skill-sec{
    padding: 42px 24px;
    display: grid;
    place-items: center;
}

.skills{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width:100%;
    max-width:1200px;
    margin:auto;
    padding:30px;
}

.skills-cards{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    height: auto;
}

.skills-cards img{
    width:90px;
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
}

.skills-cards h3{
    font-size: 27px;
    line-height: 42px;
    font-weight: 600;
}

.skills-cards p{
    font-weight: 400;
    margin-bottom: 30px;
    font-size: 17px;
    line-height: 27px;
    width: 100%;
    max-width: 310px;
}

.gallery-sec{
    padding: 42px 24px;
    display: grid;
    place-items: center;
}

.gallery-sec h1{
    font-weight: 600;
    font-size: 32px;
}

.gallery{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width:1200px;
    width:100%;
    margin:auto;
    padding: 30px;
}

.latest-card{
    padding: 0px;
    width: 100%;
}

.latest-card img{
    width: 100%;
    height: auto;
    display: block;
}

.latest-card h5{
    text-align: left;
    margin-top: 15px;
    font-weight: 600;
    font-size: 20px;
}

.latest-card p{
    font-weight: 400;
    font-size: 17px;
    margin-top: 8px;
}

.testimonial-sec{
    padding: 42px 24px;
    display: grid;
    place-items: center;
}

.testimonial-sec h1{
    font-weight: 600;
    font-size: 32px;
}

.testimonial{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width:100%;
    max-width:1200px;
    margin:auto;
    padding:30px;
}

.t-cards{
    background-color: var(--testimonial-color);
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding: 50px;
    height: auto;
}

.t-para{
    font-weight: 400;
    font-size: 17px;
    line-height: 27px;
    width:100%;
    max-width:310px;
    margin:auto;
    margin-bottom: 30px;
}

.client{
    display: flex;
    justify-content:left;
    gap: 24px;
    align-items: center;
}

.cli-info{
    text-align: left;
}

.cli-info img{
    margin-bottom: 5px;
    width:100%;
    height:auto;
    display:block;
}

.cli-info p{
    line-height: 5px;
    padding: 10px 0px;
}

.cli-name{
    font-weight:700;
    font-size: 19px;
}

.contact-sec{
    padding: 42px 24px;
}

.contact-sec h1{
    font-weight: 600;
    font-size: 32px;
    margin-left: 120px;
}

.contact-part{
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 42px;
    padding: 50px;
}

.contact-info{
    width:100%;
    max-width:520px;
}

.contact-info p{

    font-weight: 400;
    font-size: 17px;
    line-height: 27px;
    margin-bottom: 42px;
}

.social-icons img{
    padding: 0px 10px;
}

.contact-form{
    width:100%;
    max-width:520px;
}

.contact-form input{
    background-color: var(--testimonial-color);
    padding: 16px 24px;
    width: 100%;
    border: none;
    font-size: 1.2rem;
   margin-bottom:12px;
}

.btn-submit{
    background-color: black;
    color: white;
    padding: 24px 64px;
    margin-top: 10px;

}

@media (max-width:1024px){

    nav{
        padding:20px 30px;
    }

    header{
        flex-direction:column;
        text-align:center;
        gap:40px;
        padding:40px 20px;
    }

    .header-content{
        padding:0;
    }

    .header-content h1{
        font-size:3.8rem;
    }

    .header-img img{
        width:100%;
        max-width:500px;
    }

    .logos{
        flex-wrap:wrap;
        gap:30px;
    }

    .skills{
        grid-template-columns:repeat(2,1fr);
    }

    .gallery{
        grid-template-columns:repeat(2,1fr);
        padding:20px;
    }

    .testimonial{
        grid-template-columns:repeat(2,1fr);
        padding:20px;
    }

    .contact-part{
        flex-direction:column;
    }

    .contact-info,
    .contact-form{
        width:100%;
    }

    .contact-sec h1{
        margin-left:0;
        text-align:center;
    }

}


@media (max-width:768px){

    nav{
        flex-direction:column;
        gap:15px;
        padding:20px;
    }

    .logo h3{
        padding:0;
    }

    .nav-links ul{
        margin-right:0;
        gap:20px;
        flex-wrap:wrap;
        justify-content:center;
    }

    header{
        flex-direction:column-reverse;
        text-align:center;
        padding:20px;
    }

    .header-content{
        padding:0;
    }

    .header-content h3{
        font-size:1.2rem;
    }

    .header-content h1{
        font-size:2.7rem;
    }

    .header-content p br{
        display:none;
    }

    .btn{
        padding:18px 45px;
        margin-top:30px;
    }

    .header-img img{
        width:100%;
    }

    .logos{
        flex-direction:column;
        gap:30px;
        padding:30px;
    }

    .skills{
        grid-template-columns:1fr;
    }

    .skills-cards{
        height:auto;
        padding:20px;
    }

    .skills-cards p{
        width:100%;
    }

    .gallery{
        grid-template-columns:1fr;
        padding:20px;
    }

    .latest-card{
        height:auto;
        padding:20px;
    }

    .latest-card img{
        width:100%;
    }

    .testimonial{
        grid-template-columns:1fr;
        padding:20px;
    }

     .t-cards{
        padding:20px;
        height:auto;
    }

    .client{
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }

    .cli-img img{
        width:50px;
        height:50px;
    }

    .cli-info img{
        width:80px;
    }

    .cli-name{
        font-size:16px;
    }

    .contact-sec{
        padding:30px 20px;
    }

    .contact-sec h1{
        margin-left:0;
        text-align:center;
        margin-bottom:20px;
    }

    .contact-part{
        flex-direction:column;
        padding:0;
    }

    .contact-info,
    .contact-form{
        width:100%;
    }

    .social-icons{
        display:flex;
        justify-content:center;
        flex-wrap:wrap;
        gap:20px;
    }

    .btn-submit{
        width:100%;
    }

}


@media (max-width:480px){

    .header-content h1{
        font-size:2.1rem;
    }

    .header-content h3{
        font-size:1rem;
    }

    .gallery{
        gap:10px;
    }

    .testimonial{
        gap:15px;
    }

    .skills{
        gap:10px;
    }

    .btn,
    .btn-submit{
        width:100%;
        padding:18px;
    }

    .cli-name{
    font-weight:700;
    font-size: 12px;

}

}
