/* =========================
   MWENDE CONSULTANCY
   GLOBAL STYLES
========================= */

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


:root{

    --background:#E8EEF5;
    --light-blue:#7FA3D1;
    --primary:#3F6AA3;
    --dark:#1E2A4A;
    --white:#ffffff;

}


html{
    scroll-behavior:smooth;
}


body{

    font-family:'Open Sans', sans-serif;
    color:var(--dark);
    background:var(--background);
    line-height:1.7;

}


h1,h2,h3{

    font-family:'Poppins',sans-serif;

}


a{

    text-decoration:none;

}


ul{

    list-style:none;

}


img{

    max-width:100%;
    display:block;

}


.container{

    width:90%;
    max-width:1200px;
    margin:auto;

}


#hero{
    min-height:90vh;
}

#about,
#services,
#why-us,
#approach,
#clients,
#contact{
    padding:100px 0;
}





/* =========================
   HEADER
========================= */


#header{

    position:sticky;
    top:0;
    z-index:1000;

    background:var(--white);

    box-shadow:
    0 2px 15px rgba(0,0,0,.08);

}



nav{

    height:80px;

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

}



.logo img{

    height:55px;

}



.nav-links{

    display:flex;
    gap:35px;
    align-items:center;

}


.nav-links a{

    color:var(--dark);
    font-family:'Poppins',sans-serif;
    font-weight:500;

    transition:.3s;

}



.nav-links a:hover{

    color:var(--primary);

}



/* BUTTONS */


.btn{

    display:inline-block;

    background:var(--primary);
    color:var(--white);

    padding:12px 25px;

    border-radius:50px;

    font-family:'Poppins',sans-serif;
    font-weight:600;

    transition:.3s;

}



.btn:hover{

    background:var(--dark);

    transform:translateY(-3px);

}



.btn-outline{

    background:transparent;
    color:var(--primary);

    border:2px solid var(--primary);

}



.btn-outline:hover{

    background:var(--primary);
    color:var(--white);

}



/* MOBILE BUTTON */


.menu-toggle{

    display:none;

    border:none;
    background:none;

    cursor:pointer;

}


.menu-toggle span{

    font-size:32px;

}
/* =========================
   HERO SECTION
========================= */


#hero{

    min-height:90vh;

    display:flex;
    align-items:center;

    background:var(--background);

}



.hero-content{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:60px;

}



.hero-text{

    flex:1;

}



.hero-tag{

    display:inline-block;

    padding:8px 18px;

    border-radius:30px;

    background:rgba(63,106,163,.12);

    color:var(--primary);

    font-weight:600;

    margin-bottom:20px;

}



.hero-text h1{

    font-size:3.5rem;

    line-height:1.2;

    margin-bottom:20px;

    color:var(--dark);

}



.hero-text h1 span{

    color:var(--primary);

}



.hero-text p{

    font-size:1.1rem;

    max-width:600px;

    margin-bottom:35px;

}



.hero-buttons{

    display:flex;

    gap:15px;

    flex-wrap:wrap;

}



.hero-image{

    flex:1;

}



.hero-image img{

    width:100%;

    border-radius:25px;

    box-shadow:
    0 20px 40px rgba(0,0,0,.15);

}
/* =========================
   ABOUT SECTION
========================= */


#about{

    background:var(--white);

}



#about .container{

    display:flex;

    align-items:center;

    gap:60px;

}



.about-image,
.about-content{

    flex:1;

}



.about-image img{

    width:100%;

    border-radius:25px;

    box-shadow:
    0 20px 40px rgba(0,0,0,.12);

}



.about-content h2{

    font-size:2.5rem;

    line-height:1.3;

    margin-bottom:20px;

}



.about-content p{

    margin-bottom:20px;

    color:#555;

}

/* =========================
   SERVICES SECTION
========================= */


#services{

    background:var(--background);

}



#services h2{

    text-align:center;

    font-size:2.5rem;

    margin-bottom:50px;

}



.services-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}



.service-card {
    
    background: var(--white);
    
    padding: 35px;
    
    border-radius: 24px;
    
    border: 1px solid #E2E8F0;
    
    box-shadow: 0 10px 25px rgba(0, 0, 0, .06);
    
    transition: .3s;
    
}

.service-card:hover{

    transform:translateY(-8px);

    box-shadow:
    0 20px 40px rgba(63,106,163,.15);

}



.service-card h3{

    color:var(--dark);

    font-size:1.3rem;

    margin-bottom:15px;

}



.service-card p{

    color:#555;

}
/* =========================
   CONTACT SECTION
========================= */


#contact{

    background:var(--background);

}



.contact-container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:start;

}



.contact-info h2{

    font-size:2.5rem;

    margin-bottom:20px;

}



.contact-info p{

    color:#555;

    margin-bottom:30px;

}



.contact-item{

    display:flex;

    align-items:center;

    gap:15px;

    margin-bottom:20px;

}



.contact-item span{

    color:var(--primary);

    font-size:32px;

}



.contact-item p{

    margin:0;

}



.contact-form{

    background:var(--white);

    padding:40px;

    border-radius:20px;

    box-shadow:
    0 15px 40px rgba(0,0,0,.08);

}



.contact-form input,
.contact-form textarea{

    width:100%;

    padding:15px;

    margin-bottom:20px;

    border:1px solid #ddd;

    border-radius:10px;

    font-family:'Open Sans',sans-serif;

    font-size:1rem;

}



.contact-form textarea{

    resize:vertical;

}



.contact-form input:focus,
.contact-form textarea:focus{

    outline:none;

    border-color:var(--primary);

}
/* =========================
   FOOTER
========================= */


footer{

    background:var(--dark);

    color:var(--white);

    padding-top:70px;

}



.footer-container{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:40px;

    padding-bottom:50px;

}



.footer-about img{

    width:160px;

    margin-bottom:20px;

}



.footer-about p{

    color:#ddd;

    margin-bottom:15px;

}



footer h3{

    margin-bottom:20px;

}



.footer-links{

    display:flex;

    flex-direction:column;

    gap:12px;

}



.footer-links a{

    color:#ddd;

    transition:.3s;

}



.footer-links a:hover{

    color:var(--light-blue);

}



.footer-social a{

    display:inline-flex;

    width:45px;

    height:45px;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    background:rgba(255,255,255,.1);

    color:white;

    margin-right:10px;

    transition:.3s;

}



.footer-social a:hover{

    background:var(--primary);

}



.footer-bottom{

    text-align:center;

    padding:20px;

    border-top:1px solid rgba(255,255,255,.15);

    color:#ddd;

}



/* =========================
   WHATSAPP BUTTON
========================= */


.whatsapp-btn{

    position:fixed;

    right:25px;

    bottom:25px;

    width:65px;

    height:65px;

    border-radius:50%;

    background:#25D366;

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:35px;

    z-index:999;

    box-shadow:0 10px 25px rgba(0,0,0,.2);

}
/* =========================
   MOBILE RESPONSIVENESS
========================= */


@media(max-width:992px){


    .nav-links{

        position:fixed;

        top:80px;

        left:-100%;

        width:100%;

        height:calc(100vh - 80px);

        background:var(--white);

        flex-direction:column;

        justify-content:flex-start;

        padding-top:50px;

        gap:30px;

        transition:.4s;

    }



    .nav-links.active{

        left:0;

    }



    nav .btn{

        display:none;

    }



    .menu-toggle{

        display:block;

    }



    .hero-content{

        flex-direction:column;

        text-align:center;

    }



    .hero-text h1{

        font-size:2.5rem;

    }



    .hero-buttons{

        justify-content:center;

    }



    #about .container{

        flex-direction:column;

        text-align:center;

    }



    .contact-container{

        grid-template-columns:1fr;

    }



    .footer-container{

        grid-template-columns:1fr 1fr;

    }

}




@media(max-width:600px){


    .container{

        width:92%;

    }



    .hero-text h1{

        font-size:2rem;

    }



    section{

        padding:60px 0;

    }



    .footer-container{

        grid-template-columns:1fr;

        text-align:center;

    }



    .footer-social{

        justify-content:center;

    }


}
/* =========================
   SCROLL ANIMATIONS
========================= */


.fade-in{

    opacity:0;

    transform:translateY(30px);

    transition:all .8s ease;

}


.fade-in.show{

    opacity:1;

    transform:translateY(0);

}
/* =========================
   WHY CHOOSE US
========================= */


#why-us{

    background:var(--white);

}



#why-us h2{

    text-align:center;

    font-size:2.5rem;

    margin-bottom:50px;

}



.why-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));

    gap:30px;

}



.why-card{

    background:var(--background);

    padding:35px 25px;

    border-radius:20px;

    text-align:center;

    transition:.3s;

}



.why-card:hover{

    transform:translateY(-8px);

    background:var(--primary);

    color:var(--white);

}



.why-card span{

    font-size:45px;

    color:var(--primary);

    margin-bottom:20px;

}



.why-card:hover span{

    color:var(--white);

}



.why-card h3{

    margin-bottom:15px;

}
/* =========================
   OUR APPROACH
========================= */

#approach{
    background: var(--background);
}
/* =========================
   WHO WE WORK WITH
========================= */

#clients{
    background: var(--white);
}
.section-tag{

    display:inline-block;

    background:rgba(63,106,163,.12);

    color:var(--primary);

    padding:10px 22px;

    border-radius:30px;

    font-size:1.1rem;

    font-weight:700;

    letter-spacing:1px;

    text-transform:uppercase;

    margin-bottom:20px;

}
.service-card,
.why-card{

    border:2px solid transparent;

}

.service-card:hover,
.why-card:hover{

    border-color:var(--light-blue);

}
.section-heading h2::after{

    content:"";

    display:block;

    width:80px;

    height:4px;

    background:var(--primary);

    margin:20px auto 0;

    border-radius:10px;

}

/* =========================
   FAQ
========================= */

#faq{
    background: var(--background);
}

.faq-container{
    max-width: 900px;
    margin: auto;
}

.faq-item{
    background: var(--white);
    border-radius: 20px;
    margin-bottom: 20px;
    padding: 25px 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
    transition: .3s;
}

.faq-item:hover{
    box-shadow: 0 20px 40px rgba(63,106,163,.12);
}

.faq-question{
    width: 100%;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;

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

    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);

    text-align: left;
}

.faq-question .material-symbols-rounded{
    font-size: 30px;
    color: var(--primary);
    transition: transform .3s ease;
}

.faq-answer{
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.faq-answer p{
    margin-top: 20px;
    color: #555;
    line-height: 1.8;
}

.faq-item.active .faq-answer{
    max-height: 300px;
}

.faq-item.active .material-symbols-rounded{
    transform: rotate(180deg);
}

/* ===========================
   SCROLL TO TOP
=========================== */

#scrollTopBtn{

    position: fixed;

    right: 25px;
    bottom: 100px;

    width: 55px;
    height: 55px;

    border: none;
    border-radius: 50%;

    background: var(--primary);
    color: var(--white);

    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;

    font-size: 28px;

    opacity: 0;
    visibility: hidden;

    transform: translateY(20px);

    transition: all .3s ease;

    z-index: 998;

    box-shadow: 0 10px 25px rgba(0,0,0,.2);

}

#scrollTopBtn.show{

    opacity: 1;
    visibility: visible;

    transform: translateY(0);

}

#scrollTopBtn:hover{

    background: var(--dark);

    transform: translateY(-5px);

}