/* ==========================
   QALINTSHEBE ATTORNEYS INC.
   MAIN STYLESHEET
========================== */


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


html{
    scroll-behavior:smooth;
}


body{

    font-family:'Poppins',sans-serif;
    color:#333;
    line-height:1.7;
    background:#fff;

}


img{

    max-width:100%;
    height:auto;

}



.container{

    width:92%;
    max-width:1200px;
    margin:auto;

}





/* ==========================
   HEADER
========================== */


header{

    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#081B33;
    z-index:999;
    box-shadow:0 5px 20px rgba(0,0,0,.25);

}



nav{

    min-height:90px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;

}
#about{

    background:#4DB8FF;

}




/* LOGO */


.logo{

    display:flex;
    align-items:center;
    gap:15px;
    color:white;
    text-decoration:none;

}



.logo img{

    width:90px;
    height:70px;
    object-fit:contain;
    background:white;
    padding:5px;
    border-radius:8px;

}



.logo strong{

    display:block;
    font-size:18px;
    color:white;

}



.logo small{

    font-size:12px;
    color:#4DB8FF;

}





/* MENU */


nav ul{

    display:flex;
    list-style:none;
    gap:30px;

}



nav ul li a{

    color:white;
    text-decoration:none;
    font-size:15px;
    transition:.3s;

}



nav ul li a:hover{

    color:#4DB8FF;

}






/* BUTTON */


.btn{

    display:inline-block;
    padding:13px 28px;
    background:#4DB8FF;
    color:#081B33;
    border-radius:40px;
    text-decoration:none;
    font-weight:600;
    border:none;
    cursor:pointer;
    transition:.3s;

}



.btn:hover{

    background:white;
    transform:translateY(-3px);

}






/* ==========================
   HERO
========================== */


.hero{

    min-height:100vh;
    display:flex;
    align-items:center;
    text-align:center;
    background:
    linear-gradient(
    rgba(8,27,51,.85),
    rgba(8,27,51,.85)
    ),
    url('../images/hero.jpg');

    background-size:cover;
    background-position:center;

    color:white;
    padding:120px 20px 60px;

}



.hero img{

    width:170px;
    margin-bottom:25px;

}



.hero h1{

    font-family:'Cinzel',serif;
    font-size:60px;
    line-height:1.2;

}



.hero h2{

    color:#4DB8FF;
    font-size:28px;
    margin:20px 0;

}



.hero p{

    max-width:700px;
    margin:0 auto 35px;
    font-size:18px;

}
/* ==========================
   SECTIONS
========================== */


section{

    padding:90px 0;

}




.section-title{

    text-align:center;
    font-family:'Cinzel',serif;
    font-size:40px;
    color:#081B33;
    margin-bottom:35px;

}



.center-text{

    max-width:800px;
    margin:0 auto;
    text-align:center;
    font-size:17px;

}






/* ==========================
   SERVICES
========================== */


#services{

    background:#f8f9fb;

}



.services-grid{

    margin-top:50px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;

}



.service-card{

    background:white;
    padding:35px 25px;
    text-align:center;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;

}



.service-card:hover{

    transform:translateY(-8px);

}



.service-card i{

    font-size:40px;
    color:#4DB8FF;
    margin-bottom:20px;

}



.service-card h3{

    font-family:'Poppins',sans-serif;
    color:#081B33;
    margin-bottom:15px;

}



.service-card p{

    font-size:15px;
    color:#555;

}







/* ==========================
   FEATURES
========================== */


.features{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;

}



.features div{

    padding:25px;
    background:#f8f9fb;
    border-radius:10px;

}



.features h3{

    color:#081B33;
    margin-bottom:10px;

}






/* ==========================
   STATS
========================== */


.stats{

    background:#081B33;
    color:white;

}



.stats .container{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:30px;
    text-align:center;

}



.stat-box h2{

    font-size:40px;
    color:#4DB8FF;

}







/* ==========================
   DIRECTOR
========================== */


.director{

    background:#f8f9fb;

}



.director .container{

    display:flex;
    align-items:center;
    gap:50px;

}



.director img{

    width:280px;
    height:280px;
    object-fit:cover;
    border-radius:50%;
    border:8px solid #4DB8FF;
    padding:8px;
    background:white;

}



.director h2{

    font-family:'Poppins',sans-serif;
    color:#081B33;
    font-size:36px;
    font-weight:600;

}


.director h4{

    color:#4DB8FF;
    margin:15px 0;

}







/* ==========================
   CTA
========================== */


.cta{

    background:#4DB8FF;
    text-align:center;
    padding:70px 20px;

}



.cta h2{

    font-family:'Cinzel',serif;
    font-size:40px;
    color:#081B33;

}
/* ==========================
   CONTACT
========================== */


#contact{

    background:#081B33;
    color:white;

}



#contact .section-title{

    color:white;

}



.contact-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:40px;

}



.contact-grid input,
.contact-grid textarea{

    width:100%;
    padding:15px;
    margin-bottom:15px;
    border:none;
    border-radius:8px;
    font-family:'Poppins',sans-serif;

}



.contact-grid textarea{

    resize:none;

}






/* ==========================
   FOOTER
========================== */


footer{

    background:#050f1d;
    color:white;
    text-align:center;
    padding:45px 20px;

}



footer img{

    width:100px;
    margin-bottom:15px;

}



footer h3{

    color:white;
    margin-bottom:10px;

}



footer p{

    margin:8px 0;

}






/* ==========================
   QR CODE
========================== */


.qr-box{

    margin:25px auto;
    text-align:center;

}



.qr-box img{

    width:160px;
    background:white;
    padding:10px;
    border-radius:12px;

}



.qr-box h4{

    margin-bottom:15px;
    color:#4DB8FF;

}







/* ==========================
   WHATSAPP FLOAT BUTTON
========================== */


.whatsapp{

    position:fixed;
    bottom:25px;
    right:25px;
    width:65px;
    height:65px;
    background:#25D366;
    color:white;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:34px;
    text-decoration:none;
    z-index:1000;
    box-shadow:0 10px 25px rgba(0,0,0,.3);

}







/* ==========================
   BACK TO TOP
========================== */


#topBtn{

    position:fixed;
    bottom:100px;
    right:30px;
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:#4DB8FF;
    color:#081B33;
    font-size:22px;
    cursor:pointer;
    display:none;
    z-index:1000;

}







/* ==========================
   MOBILE RESPONSIVE
========================== */


@media(max-width:900px){


nav{

    flex-direction:column;
    padding:15px 0;

}



nav ul{

    flex-direction:column;
    text-align:center;
    gap:12px;

}



.hero h1{

    font-size:40px;

}



.hero h2{

    font-size:24px;

}



.director .container{

    flex-direction:column;
    text-align:center;

}


}






@media(max-width:600px){


.logo strong{

    font-size:15px;

}



.hero img{

    width:120px;

}



.hero h1{

    font-size:32px;

}



.section-title{

    font-size:28px;

}



.director img{

    width:220px;
    height:220px;

}



.cta h2{

    font-size:28px;

}



.btn{

    padding:12px 20px;

}


}

.qr-box img{

    display:block;
    width:160px;
    height:160px;
    margin:20px auto;
    background:white;
    padding:10px;

}
/* ==========================
   WEBSITE LOADER
========================== */


#loader{

    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100vh;
    background:#081B33;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    z-index:9999;
    color:white;

}



#loader img{

    width:130px;
    background:white;
    padding:10px;
    border-radius:10px;
    margin-bottom:20px;

}



#loader h3{

    color:white;
    font-family:'Poppins',sans-serif;

}



#loader p{

    color:#4DB8FF;

}



.loader-hide{

    opacity:0;
    visibility:hidden;
    transition:.5s;

}



























































































































