/* ===================================
   GLOBAL RESET
=================================== */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Segoe UI',sans-serif;
    background:#071426;
    color:#e2e8f0;
    overflow-x:hidden;
}

html,
body{
    height:100%;
}

body{
    min-height:100vh;
    display:flex;
    flex-direction:column;
}

footer{
    margin-top:auto;
    width:100%;
}

footer{
    width:100vw;
    background:#08162d;
    color:#fff;
    padding:50px 20px 25px;
    margin-top:auto;
}

/* ===================================
   HERO
=================================== */

.hero{
    position:relative;
    min-height:100vh;
    overflow:hidden;
}

.hero-slider{
    position:absolute;
    inset:0;
    z-index:0;
}

.hero-slider img{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:0;
    transition:opacity 1s ease;
    filter:brightness(.55);
}

.hero-slider img.active{
    opacity:1;
}

.hero::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;

    background:linear-gradient(
        rgba(0,0,0,.92),
        rgba(0,0,0,.55),
        rgba(0,0,0,.72)
    );
}

.hero-content{
    position:relative;
    z-index:2;
    min-height:100vh;

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

    text-align:center;
    color:#fff;

    padding:0 20px;
}

.hero-content h1{
    font-size:2.2rem;
    font-weight:900;
}

.hero-content p{
    max-width:650px;
    line-height:1.7;
    margin-top:15px;
}

.accent-line{
    width:90px;
    height:3px;
    background:#22c55e;
    margin:15px auto;
    border-radius:20px;
}

.hero-btn{
    margin-top:25px;
    padding:14px 30px;
    border-radius:50px;
    background:#22c55e;
    color:#fff;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.hero-btn:hover{
    background:#16a34a;
}

/* ===================================
   NAVBAR
=================================== */

.navbar{
    position:absolute;
    top:0;
    left:0;
    width:100%;

    padding:20px 6%;

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

    z-index:10;
}

.nav-left{
    display:flex;
    align-items:center;
    gap:15px;
}

.nav-logo img{
    width:85px;
    height:85px;
    border-radius:50%;
    object-fit:cover;

    border:3px solid #22c55e;
    background:#fff;

    box-shadow:
    0 0 20px rgba(34,197,94,.4),
    0 0 40px rgba(34,197,94,.25);
}

.logo-text{
    color:#fff;
    font-size:1.2rem;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:2px;
    position:relative;
}

.logo-text::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;

    width:60%;
    height:2px;

    background:#22c55e;
}

.nav-links{
    display:flex;
    gap:20px;
    list-style:none;
}

.nav-links a{
    text-decoration:none;
    color:#fff;
    font-weight:600;
    transition:.3s;
}

.nav-links a:hover{
    color:#22c55e;
}

/* ===================================
   SECTIONS
=================================== */

section{
    padding:60px 20px;
}

h2{
    text-align:center;
    color:#15803d;
    margin-bottom:35px;
}

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

.services-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:20px;
}

.service-card{
    background:#fff;
    padding:20px;
    border-radius:16px;
    text-align:center;

    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.service-card h3{
    color:#16a34a;
    margin-bottom:10px;
}

/* ===================================
   PROJECTS
=================================== */

.projects{
    background:
    linear-gradient(
        180deg,
        #07110c 0%,
        #0c1c14 100%
    );

    padding:90px 5%;
}

.projects h2{
    color:#4ade80;
}

.carousel-wrap{
    position:relative;
    max-width:1100px;
    margin:auto;
    overflow:hidden;
}

.carousel{
    display:flex;
    flex-wrap:nowrap;
    transition:transform .6s ease;
}

/* ==========================
   PREMIUM PROJECT CARD
========================== */

.project-card{
    min-width:100%;
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 15px 45px rgba(0,0,0,.12);
}

.project-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
}
.project-card h3{
    padding:20px 20px 10px;
    color:#16a34a;
    font-size:1.4rem;
}

.project-card p{
    padding:0 20px 20px;
    margin:0;
    line-height:1.7;
    color:#475569;
    font-size:.98rem;
}
/* ===================================
   VIDEOS
=================================== */

.video-carousel-wrap{
    position:relative;
    max-width:900px;
    margin:auto;
    overflow:hidden;
}

.video-carousel{
    display:flex;
    flex-wrap:nowrap;
    transition:transform .6s ease;
}

.video-card{
    flex:0 0 100%;
    min-width:100%;

    background:#fff;
    border-radius:16px;
    overflow:hidden;
}

.video-card video{
    width:100%;
    height:500px;
    object-fit:cover;
    display:block;
}

.video-card.portrait-video video{
    height:650px;
    object-fit:contain;
    background:#000;
}

.video-info{
    padding:18px;
}

/* ===================================
   BIOGAS
=================================== */

.biogas-carousel-wrap{
    position:relative;
    max-width:1000px;
    margin:auto;
    overflow:hidden;
}

.biogas-carousel{
    display:flex;
    flex-wrap:nowrap;
    transition:transform .6s ease;
}

.biogas-card{
    flex:0 0 100%;
    min-width:100%;

    background:#fff;
    border-radius:20px;
    overflow:hidden;
}

.biogas-card img{
    width:100%;
    height:420px;
    object-fit:cover;
}

.biogas-card h3{
    padding:18px;
    color:#16a34a;
}

.biogas-card p{
    padding:0 18px 18px;
}

/* ===================================
   BUTTONS
=================================== */

.prev,
.next,
.video-prev,
.video-next,
.biogas-prev,
.biogas-next{

    position:absolute;
    top:50%;
    transform:translateY(-50%);

    width:50px;
    height:50px;

    border:none;
    border-radius:50%;

    background:#22c55e;
    color:#fff;

    font-size:22px;
    cursor:pointer;

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

    z-index:20;

    transition:.3s;
}

.prev:hover,
.next:hover,
.video-prev:hover,
.video-next:hover,
.biogas-prev:hover,
.biogas-next:hover{
    background:#16a34a;
}

.prev,
.video-prev,
.biogas-prev{
    left:12px;
}

.next,
.video-next,
.biogas-next{
    right:12px;
}

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

footer{
    width:100%;
    background:#020b18;
    color:#fff;
    margin:0;
    padding:0;
}

.footer-grid{
    width:100%;
    padding:70px 8%;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:50px;

    background:#010814;
}

.footer-grid h3,
.footer-grid h4{
    color:#4ade80;
    margin-bottom:18px;
    font-size:1.2rem;
}

.footer-grid p,
.footer-grid li{
    color:#cbd5e1;
    line-height:1.9;
    font-size:1rem;
}

.footer-grid ul{
    list-style:none;
}

.footer-grid li{
    margin-bottom:10px;
}

footer hr{
    border:none;
    height:1px;
    background:rgba(255,255,255,.08);
    margin:0;
}

.copyright{
    text-align:center;
    padding:25px;
    background:#00060f;
    color:#94a3b8;
    font-size:.95rem;
}


/* ===================================
   TABLET
=================================== */

@media(min-width:768px){

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

    .hero-content h1{
        font-size:3rem;
    }
}

/* ===================================
   DESKTOP
=================================== */

@media(min-width:1024px){

    .services-grid{
        grid-template-columns:repeat(3,1fr);
    }

    .hero-content h1{
        font-size:4.5rem;
    }

    .hero-content p{
        font-size:1.2rem;
    }

    .project-card img,
    .biogas-card img{
        height:500px;
    }

    .video-card video{
        height:500px;
    }

    .footer-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

/* ===================================
   MOBILE
=================================== */

@media(max-width:768px){

    .nav-logo img{
        width:70px;
        height:70px;
    }

    .logo-text{
        font-size:1rem;
    }

    .nav-links{
        display:none;
    }

    .project-card img,
    .biogas-card img{
        height:220px;
    }

    .video-card video{
        height:220px;
    }

    .video-card.portrait-video video{
        height:360px;
    }

    .prev,
    .next,
    .video-prev,
    .video-next,
    .biogas-prev,
    .biogas-next{
        width:40px;
        height:40px;
        font-size:18px;
    }
}
/* ==========================
   NAV LEFT
========================== */

.nav-left{
    display:flex;
    align-items:center;
    gap:18px;
}

/* BIGGER LOGO */

.nav-logo img{
    width:90px;
    height:90px;
    border-radius:50%;
    object-fit:cover;

    border:4px solid #22c55e;

    box-shadow:
        0 0 20px rgba(34,197,94,.5),
        0 0 40px rgba(34,197,94,.25);

    transition:.3s ease;
}

.nav-logo img:hover{
    transform:scale(1.08);
}

/* LOGO TEXT */

.logo-text{
    color:#fff;
    font-size:1.35rem;
    font-weight:900;
    letter-spacing:2px;
    text-transform:uppercase;
}

/* ==========================
   MOBILE NAV
========================== */

@media(max-width:768px){

    .navbar{
        flex-direction:column;
        gap:15px;
        padding:15px;
    }

    .nav-left{
        justify-content:center;
    }

    .nav-logo img{
        width:90px;
        height:90px;
    }

    .logo-text{
        font-size:1rem;
    }

    /* SHOW LINKS ON MOBILE */

    .nav-links{
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
        gap:10px;
    }

    .nav-links a{
        padding:8px 14px;
        border-radius:25px;

        background:rgba(255,255,255,.12);
        backdrop-filter:blur(6px);

        font-size:.9rem;
    }

    .nav-links a:hover{
        background:#22c55e;
        color:#fff;
    }
}
body{
    font-family:'Segoe UI',sans-serif;
    background:#f5f8f5;
    color:#333;
    overflow-x:hidden;
}
@media(max-width:768px){

    .nav-logo img{
        width:75px;
        height:75px;
    }

}
@media (max-width:768px){

    .hero{
        min-height:85vh;
    }

    .hero-content{
        height:auto;
        min-height:85vh;

        padding-top:120px;
        padding-bottom:40px;

        justify-content:center;
    }

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

.about{
    background:linear-gradient(
        180deg,
        #071529 0%,
        #0b1f3a 100%
    );

    padding:100px 6%;
    text-align:center;
}

.about h2{
    color:#4ade80;
    font-size:2.5rem;
    margin-bottom:30px;
}

.about p{
    max-width:1000px;
    margin:auto;

    background:rgba(255,255,255,.04);
    backdrop-filter:blur(15px);

    padding:40px;

    border-radius:24px;

    color:#cbd5e1;
    line-height:2;

    border:1px solid rgba(255,255,255,.08);

    box-shadow:
        0 20px 50px rgba(0,0,0,.35);
}

@media(max-width:768px){

    .navbar{

        background:
        rgba(0,0,0,.35);

        backdrop-filter:blur(12px);

        border-bottom:
        1px solid rgba(255,255,255,.08);

        padding:12px 15px;
    }

}
@media(max-width:768px){

    .navbar{
        padding:12px;
        gap:12px;
    }

    .nav-logo img{
        width:85px;
        height:85px;
    }



    .nav-links{
        width:100%;
        justify-content:center;
    }

    .nav-links a{
        padding:10px 14px;
        font-size:.85rem;

        background:rgba(255,255,255,.08);
        backdrop-filter:blur(10px);

        border:1px solid rgba(255,255,255,.1);
    }
}
.projects{
    background:
    linear-gradient(
        180deg,
        #071426 0%,
        #0d223d 100%
    );
}

.project-card{
    background:#10233d;
}

.project-card h3{
    color:#4ade80;
}

.project-card p{
    color:#cbd5e1;
}
.video-card,
.biogas-card{
    background:#10233d;
    color:#cbd5e1;
}

.biogas-card h3{
    color:#4ade80;
}
footer{
    background:#030b17;
    color:#cbd5e1;
    border-top:1px solid rgba(255,255,255,.08);
}
.services{
    background:#081a30;
}

.service-card{
    background:#10233d;
    color:#cbd5e1;

    border:1px solid rgba(255,255,255,.08);

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

    transition:.3s;
}

.service-card:hover{
    transform:translateY(-5px);
    border-color:#22c55e;
}

.service-card h3{
    color:#4ade80;
}
.video-card,
.biogas-card{
    background:#10233d;
    color:#cbd5e1;
}

.biogas-card h3{
    color:#4ade80;
}

.contact{
    background:linear-gradient(
        180deg,
        #071b38,
        #041224
    );

    padding:90px 8%;
    text-align:center;
}

.contact h2{
    color:#4ade80;
    font-size:2.5rem;
    margin-bottom:40px;
}

.contact p{
    width:100%;
    max-width:900px;

    margin:18px auto;

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

    padding:22px 30px;

    border-radius:18px;

    color:#e2e8f0;
    font-size:1.1rem;
    line-height:1.8;

    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(10px);

    transition:.3s ease;
}

.contact p:hover{
    transform:translateY(-4px);

    border-color:#22c55e;

    box-shadow:
        0 10px 25px rgba(34,197,94,.15);
}

.contact strong{
    color:#4ade80;
    margin-right:8px;
}



/* ==========================
   FEATURED VIDEO
========================== */

.featured-video{
    padding:90px 5%;
    background:
    linear-gradient(
        180deg,
        #06162f,
        #071b38
    );
}

.featured-content{
    max-width:1200px;
    margin:auto;
    text-align:center;
}

.featured-content h2{
    color:#4ade80;
    font-size:2.5rem;
    margin-bottom:15px;
}

.featured-content p{
    color:#cbd5e1;
    max-width:750px;
    margin:0 auto 35px;
    line-height:1.8;
}

.featured-video-box{
    background:#0b1325;
    padding:15px;
    border-radius:25px;

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

    overflow:hidden;
}

.featured-video-box video{
    width:100%;
    display:block;
    border-radius:15px;
    aspect-ratio:16/9;
    object-fit:cover;
}

/* ==========================
   VIDEOS SECTION
========================== */

.videos{
    background:#08162d;
    padding:100px 6%;
}

.videos h2{
    color:#4ade80;
    margin-bottom:40px;
}

.video-card{
    background:#0f1f3d;
    border:1px solid rgba(255,255,255,.08);
    border-radius:24px;
    overflow:hidden;

    box-shadow:
        0 20px 50px rgba(0,0,0,.35);
}

.video-info{
    padding:30px;
}

.video-info h3{
    color:#4ade80;
    margin-bottom:12px;
    font-size:1.4rem;
}

.video-info p{
    color:#cbd5e1;
    line-height:1.8;
}

/* ==========================
   BIOGAS SECTION
========================== */

.biogas{
    background:
    linear-gradient(
        180deg,
        #0a1730 0%,
        #08162d 100%
    );

    padding:100px 6%;
}

.biogas h2{
    color:#4ade80;
    margin-bottom:40px;
}

.biogas-card{
    background:#0f1f3d;
    border-radius:24px;
    overflow:hidden;

    border:1px solid rgba(255,255,255,.08);

    box-shadow:
        0 20px 50px rgba(0,0,0,.35);
}

.biogas-card h3{
    color:#4ade80;
    padding:24px 24px 10px;
}

.biogas-card p{
    color:#cbd5e1;
    padding:0 24px 24px;
    line-height:1.8;
}

/* ==========================
   MOBILE SPACING
========================== */

@media(max-width:768px){

    section{
        padding:90px 24px;
    }

    .about,
    .services,
    .projects,
    .biogas,
    .videos,
    .contact{
        padding-left:24px;
        padding-right:24px;
    }

    .about p{
        padding:28px;
    }

    .service-card{
        padding:28px;
    }

    .video-info,
    .contact-card{
        padding:24px;
    }
}