/* =====================================
   ECOSOLVE CONSULTANTS
   MAIN STYLESHEET
===================================== */

:root {

    --primary-dark: #063a59;
    --primary-blue: #0e7d9f;
    --primary-green: #afc945;
    --secondary-green: #77a438;

    --white: #ffffff;
    --light: #f5f8fa;
    --gray: #666666;
    --dark: #222222;

    --shadow:
        0 10px 30px rgba(0,0,0,0.08);

    --transition: all .3s ease;

}

/* =====================================
   RESET
===================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;
    color:var(--dark);
    line-height:1.7;
    overflow-x:hidden;
    background:#fff;

}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

.container{

    width:90%;
    max-width:1200px;
    margin:auto;

}

/* =====================================
   TOP BAR
===================================== */

.top-bar{

    background:var(--primary-dark);
    color:#fff;
    font-size:14px;
    padding:10px 0;

}

.top-bar .container{

    display:flex;
    justify-content:space-between;
    align-items:center;

}

.top-left{
    display:flex;
    gap:25px;
}

.top-left span{
    display:flex;
    align-items:center;
    gap:8px;
}

.top-right{
    display:flex;
    gap:15px;
}

.top-right a{

    color:white;
    transition:.3s;

}

.top-right a:hover{

    color:var(--primary-green);

}

/* =====================================
   NAVIGATION
===================================== */

.navbar{

    background:white;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:0 2px 20px rgba(0,0,0,0.05);

}

.navbar .container{

    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:90px;

}

.logo img{
    height:70px;
}

.nav-menu{

    display:flex;
    gap:30px;
    align-items:center;

}

.nav-menu a{

    color:var(--primary-dark);
    font-weight:500;
    transition:var(--transition);

}

.nav-menu a:hover{

    color:var(--primary-green);

}

/* =====================================
   DROPDOWN
===================================== */

.dropdown{

    position:relative;

}

.dropdown-menu{

    position:absolute;
    top:100%;
    left:0;
    min-width:260px;

    background:white;
    box-shadow:var(--shadow);

    opacity:0;
    visibility:hidden;

    transition:.3s;

}

.dropdown:hover .dropdown-menu{

    opacity:1;
    visibility:visible;

}

.dropdown-menu li{

    border-bottom:1px solid #eee;

}

.dropdown-menu li:last-child{
    border:none;
}

.dropdown-menu a{

    display:block;
    padding:14px 20px;

}

.dropdown-menu a:hover{

    background:var(--light);

}

/* =====================================
   BUTTONS
===================================== */

.btn-primary{

    background:var(--primary-green);
    color:white;

    padding:14px 30px;

    border-radius:5px;

    font-weight:600;

    transition:var(--transition);

    display:inline-block;

}

.btn-primary:hover{

    background:var(--secondary-green);
    transform:translateY(-2px);

}

.btn-secondary{

    border:2px solid white;
    color:white;

    padding:14px 30px;
    border-radius:5px;

    transition:.3s;

}

.btn-secondary:hover{

    background:white;
    color:var(--primary-dark);

}

/* =====================================
   HERO
===================================== */

.hero{

    position:relative;
    height:90vh;
    overflow:hidden;

}

.slide{

    position:absolute;

    width:100%;
    height:100%;

    background-size:cover;
    background-position:center;

}

.overlay{

    position:absolute;
    inset:0;

    background:
    rgba(6,58,89,.75);

}

.hero-content{

    position:relative;
    z-index:2;

    height:100%;

    max-width:700px;

    display:flex;
    flex-direction:column;
    justify-content:center;

    padding-left:8%;

}

.hero-content h1{

    color:white;
    font-size:4rem;
    line-height:1.2;

    margin-bottom:20px;

}

.hero-content p{

    color:white;
    font-size:1.2rem;

    margin-bottom:35px;

}

.hero-buttons{

    display:flex;
    gap:20px;

}

/* =====================================
   STATS
===================================== */

.stats{

    background:var(--primary-dark);
    color:white;

    padding:70px 0;

}

.stats .container{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;

}

.stat-box{

    text-align:center;

}

.stat-box h2{

    color:var(--primary-green);
    font-size:3rem;

    margin-bottom:10px;

}

/* =====================================
   SECTIONS
===================================== */

section{

    padding:100px 0;

}

.section-title{

    text-align:center;
    margin-bottom:60px;

}

.section-title h2{

    font-size:2.5rem;
    color:var(--primary-dark);

}

.section-title p{

    color:var(--gray);
    margin-top:10px;

}

/* =====================================
   SERVICES
===================================== */

.services{

    background:var(--light);

}

.services-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

.service-card{

    background:white;

    padding:40px 30px;

    text-align:center;

    border-radius:10px;

    box-shadow:var(--shadow);

    transition:.4s;

}

.service-card:hover{

    transform:translateY(-10px);

    border-bottom:
    5px solid var(--primary-green);

}

.service-card i{

    font-size:50px;

    color:var(--primary-green);

    margin-bottom:20px;

}

.service-card h3{

    margin-bottom:15px;

    color:var(--primary-dark);

}

.service-card p{

    color:var(--gray);
    margin-bottom:20px;

}

.service-card a{

    color:var(--primary-green);
    font-weight:600;

}

/* =====================================
   ABOUT
===================================== */

.about-content{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;

}

.about-text h2{

    color:var(--primary-dark);
    font-size:2.5rem;

    margin-bottom:20px;

}

.about-text p{

    margin-bottom:25px;
    color:var(--gray);

}

.about-image img{

    border-radius:15px;
    box-shadow:var(--shadow);

}

/* =====================================
   CLIENTS
===================================== */

.clients{

    background:white;
    text-align:center;

}

.clients h2{

    margin-bottom:50px;
    color:var(--primary-dark);

}

.logo-slider{

    overflow:hidden;
    position:relative;

}

.slide-track{

    display:flex;
    width:calc(180px * 12);

    animation:scroll 25s linear infinite;

}

.slide-track img{

    max-height:80px;
    width:auto;

    object-fit:contain;

    margin:0 40px;

    filter:grayscale(100%);
    transition:.3s;

}

.slide-track img:hover{

    filter:none;

}

@keyframes scroll{

    0%{
        transform:translateX(0);
    }

    100%{
        transform:translateX(-50%);
    }

}

/* =====================================
   INSIGHTS SECTION
===================================== */

.insights{

    background:#fff;
    padding:80px 0;

}

.insights-grid{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;

}

.insight-card{

    position:relative;
    min-height:420px;

    border-radius:12px;

    overflow:hidden;

    display:flex;

    box-shadow:var(--shadow);

}

.project-card{

    background:
    url('../images/project-1.jpg')
    center/cover;

}

.report-card{

    background:
    url('../images/project-2.jpg')
    center/cover;

}

.insight-overlay{

    position:absolute;
    inset:0;

    background:
    linear-gradient(
    rgba(6,58,89,.90),
    rgba(6,58,89,.85));

}

.insight-content{

    position:relative;
    z-index:2;

    color:white;

    padding:40px;

    width:100%;

}

.insight-tag{

    color:var(--primary-green);

    text-transform:uppercase;

    font-size:14px;
    font-weight:600;

    letter-spacing:1px;

}

.insight-content h3{

    margin:15px 0;

    font-size:1.8rem;
    line-height:1.4;

}

.insight-content p{

    margin-bottom:20px;

}

.insight-content ul{

    margin-bottom:25px;

}

.insight-content li{

    margin-bottom:10px;

}

.report-card{

    justify-content:space-between;

}

.report-cover{

    position:relative;
    z-index:2;

    width:220px;

    display:flex;
    align-items:center;
    justify-content:center;

    padding-right:20px;

}

.report-cover img{

    border:4px solid white;

    box-shadow:
    0 15px 30px rgba(0,0,0,.25);

}


/* =====================================
   CONTACT
===================================== */

.contact{

    background:var(--light);

}

.contact .container{

    display:grid;
    grid-template-columns:1fr 2fr;
    gap:40px;

}

.contact-info{

    background:white;
    padding:40px;
    border-radius:10px;
    box-shadow:var(--shadow);

}

.contact-info h2{

    color:var(--primary-dark);
    margin-bottom:25px;

}

.contact-info p{

    margin-bottom:15px;

}

.contact-map iframe{

    width:100%;
    height:450px;

    border:none;
    border-radius:10px;

}

/* =====================================
   FOOTER V2
===================================== */

footer{

    background:
    linear-gradient(
    135deg,
    #063a59,
    #04263c);

    color:white;

    padding:70px 0 20px;

}

.footer-grid{

    display:grid;

    grid-template-columns:
    2fr 1fr 1.5fr 1fr;

    gap:40px;

}

.footer-grid h4{

    margin-bottom:20px;

    color:white;

}

.footer-grid ul li{

    margin-bottom:10px;

}

.footer-grid a{

    color:#d8d8d8;

    transition:.3s;

}

.footer-grid a:hover{

    color:var(--primary-green);

}

.footer-about img{

    height:70px;
    margin-bottom:20px;

}

.footer-about p{

    color:#d5d5d5;

}

.footer-social{

    display:flex;
    gap:12px;

}

.footer-social a{

    width:40px;
    height:40px;

    border:1px solid rgba(255,255,255,.2);

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:5px;

}

.footer-bottom{

    margin-top:50px;
    padding-top:20px;

    border-top:
    1px solid rgba(255,255,255,.1);

    display:flex;
    justify-content:space-between;
    align-items:center;

}

.footer-bottom a{

    color:#d5d5d5;

}

/* =====================================
   WHATSAPP
===================================== */

.whatsapp-btn{

    position:fixed;

    right:25px;
    bottom:25px;

    width:65px;
    height:65px;

    background:#25D366;
    color:white;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:32px;

    z-index:999;

    box-shadow:
    0 5px 20px rgba(0,0,0,.25);

    transition:.3s;

}

.whatsapp-btn:hover{

    transform:scale(1.1);

}

/* =====================================
   SCROLL TOP
===================================== */

#scrollTop{

    position:fixed;

    right:30px;
    bottom:105px;

    width:50px;
    height:50px;

    border:none;

    background:var(--primary-dark);
    color:white;

    border-radius:50%;

    cursor:pointer;

    opacity:0;
    visibility:hidden;

    transition:.3s;

    z-index:998;

}

#scrollTop.show{

    opacity:1;
    visibility:visible;

}

#scrollTop:hover{

    background:var(--primary-green);

}

/* =====================================
   SIMPLE FADE ANIMATION
===================================== */

.fade-up{

    opacity:0;
    transform:translateY(30px);

    transition:.8s ease;

}

.fade-up.show{

    opacity:1;
    transform:translateY(0);

}

/* =====================================
MOBILE TOGGLE 
========================================*/

.menu-toggle{

    display:none;

    font-size:28px;
    cursor:pointer;

    color:var(--primary-dark);

}