/* =======================================================
   GOOGLE FONT & RESET
======================================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;
    color:#333;
    background:#f7fbf8;
    line-height:1.7;
    overflow-x:hidden;

    /* Background Website */

    background-image:
    linear-gradient(
        rgba(247,251,248,.90),
        rgba(247,251,248,.90)
    ),
    url("Background.png");

    background-repeat:no-repeat;

    background-position:center center;

    background-size:cover;

    background-attachment:fixed;

}
/* =======================================================
   BACKGROUND OVERLAY
======================================================= */

body::before{

    content:"";

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:url("Background.png") center center/cover no-repeat;

    opacity:.08;

    filter:blur(2px);

    pointer-events:none;

    z-index:-1;

}

/* =======================================================
   CONTAINER
======================================================= */

.container{

    width:90%;

    max-width:1200px;

    margin:auto;

}

/* =======================================================
   NAVBAR
======================================================= */

.header{

    position:sticky;

    top:0;

    z-index:999;

    background:rgba(255,255,255,.90);

    backdrop-filter:blur(12px);

    box-shadow:0 6px 18px rgba(0,0,0,.05);

}

.header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:15px 0;

}

/* =======================================================
   LOGO
======================================================= */

.logo a{

    display:flex;

    align-items:center;

    text-decoration:none;

    gap:10px;

}

/* logo Undiksha */

.logo-undiksha{

    width:36px;

    height:36px;

    object-fit:contain;

}

/* logo EcoBali */

.logo-ecobali{

    width:38px;

    height:38px;

    object-fit:contain;

}

.logo-text{

    font-size:24px;

    font-weight:700;

    color:#2E7D32;

    letter-spacing:.5px;

}

/* =======================================================
   MENU
======================================================= */

.nav-menu{

    display:flex;

    list-style:none;

    gap:35px;

}

.nav-menu a{

    text-decoration:none;

    color:#444;

    font-weight:500;

    transition:.3s;

    position:relative;

}

.nav-menu a:hover,

.nav-menu a.active{

    color:#2E7D32;

}

.nav-menu a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:3px;

    background:#2E7D32;

    border-radius:10px;

    transition:.35s;

}

.nav-menu a:hover::after,

.nav-menu a.active::after{

    width:100%;

}

/* =======================================================
   HERO
======================================================= */

.hero{

    padding:90px 0 60px;

}

.hero-container{

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

}

.hero-content{

    max-width:760px;

}

.hero-label{

    display:inline-block;

    background:#E8F5E9;

    color:#2E7D32;

    padding:8px 18px;

    border-radius:30px;

    font-size:14px;

    font-weight:600;

    margin-bottom:20px;

}

.hero-title{

    font-size:54px;

    font-weight:800;

    line-height:1.2;

    color:#2E7D32;

    margin-bottom:18px;

}

.hero-description{

    font-size:18px;

    color:#555;

    max-width:620px;

    margin:0 auto 35px;

}

/* Hero tidak memakai gambar */

.hero-image{

    display:none;

}

.btn-primary{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:15px 34px;

    background:#2E7D32;

    color:white;

    text-decoration:none;

    border-radius:50px;

    font-weight:600;

    transition:.35s;

}

.btn-primary:hover{

    background:#2E7D32;

    transform:translateY(-3px);

    box-shadow:0 15px 25px rgba(46,125,50,.25);

}
/* =======================================================
   SECTION TITLE
======================================================= */

.section-title{

    text-align:center;

    margin-bottom:55px;

}

.section-title h2{

    font-size:38px;

    color:#2E7D32;

    margin-bottom:15px;

    font-weight:700;

}

.section-title p{

    max-width:620px;

    margin:auto;

    color:#666;

    font-size:16px;

    line-height:1.7;

}

/* =======================================================
   FITUR PEMBELAJARAN
======================================================= */

.features{

    padding:70px 0 80px;

}

/* =======================================================
   GRID
======================================================= */

.feature-grid{

    display:grid;

    grid-template-columns:repeat(5,220px);

    justify-content:center;

    gap:25px;

}

/* =======================================================
   CARD
======================================================= */

.feature-card{

    width:220px;

    height:340px;

    background:#ffffff;

    border-radius:20px;

    padding:20px;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:flex-start;

    text-align:center;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    transition:all .35s ease;

}

.feature-card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 35px rgba(46,125,50,.18);

}

/* =======================================================
   ICON
======================================================= */

.feature-icon{

    width:120px;

    height:120px;

    margin-bottom:18px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#F5F8F5;

    border-radius:18px;

    overflow:hidden;

    font-size:42px;

}

.feature-icon img{

    width:60px;

    height:60px;

    object-fit:contain;

}

/* =======================================================
   JUDUL
======================================================= */

.feature-card h3{

    font-size:20px;

    color:#2E7D32;

    font-weight:700;

    margin-bottom:12px;

}

/* =======================================================
   DESKRIPSI
======================================================= */

.feature-card p{

    font-size:14px;

    color:#666;

    line-height:1.6;

    flex:1;

    margin-bottom:18px;

}

/* =======================================================
   BUTTON
======================================================= */

.feature-card .btn-feature{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    width:130px;

    height:42px;

    background:#2E7D32;

    color:#ffffff;

    text-decoration:none;

    border-radius:30px;

    font-size:14px;

    font-weight:600;

    transition:.3s;

}

.feature-card .btn-feature:hover{

    background:#1B5E20;

    transform:translateY(-2px);

}

/* =======================================================
   RESPONSIVE
======================================================= */

@media (max-width:1200px){

    .feature-grid{

        grid-template-columns:repeat(3,220px);

        gap:20px;

    }

}

@media (max-width:768px){

    .feature-grid{

        grid-template-columns:repeat(2,220px);

        gap:20px;

    }

}

@media (max-width:576px){

    .feature-grid{

        grid-template-columns:220px;

    }

}
/* =======================================================
   TENTANG ECOBALI
======================================================= */

.about{

    padding:80px 0;

}

/* ================= CARD ================= */

.about-wrapper{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:60px;

    background:#ffffff;

    border-radius:30px;

    padding:45px 55px;

    box-shadow:0 12px 35px rgba(0,0,0,.08);

    transition:.35s;

}

.about-wrapper:hover{

    transform:translateY(-6px);

    box-shadow:0 20px 45px rgba(0,0,0,.12);

}

/* ================= LOGO ================= */

.about-image{

    flex:0 0 220px;

    display:flex;

    justify-content:center;

    align-items:center;

}

.about-image img{

    width:170px;

    height:170px;

    object-fit:contain;

    padding:18px;

    border-radius:25px;

    background:#F4F9F4;

    box-shadow:0 8px 20px rgba(0,0,0,.06);

}

/* ================= CONTENT ================= */

.about-content{

    flex:1;

}

.about-content h2{

    font-size:34px;

    color:#2E7D32;

    margin-bottom:18px;

    font-weight:700;

}

.about-content p{

    color:#666;

    font-size:16px;

    line-height:1.8;

    margin-bottom:25px;

}

/* ================= CHECKLIST ================= */

.about-list{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:15px;

    list-style:none;

}

.about-list li{

    display:flex;

    align-items:center;

    gap:12px;

    padding:14px 18px;

    border-radius:15px;

    background:#F8FBF8;

    transition:.3s;

    font-size:15px;

    color:#444;

}

.about-list li:hover{

    background:#E8F5E9;

    transform:translateX(6px);

}

.about-list li::before{

    content:"✔";

    width:28px;

    height:28px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#2E7D32;

    color:#fff;

    border-radius:50%;

    font-size:13px;

    flex-shrink:0;

}

/* ================= ANIMASI ================= */

.about-wrapper{

    animation:fadeAbout .8s ease;

}

@keyframes fadeAbout{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}
/* =======================================================
   FOOTER
======================================================= */

.footer{

    margin-top:90px;

    background:#1B4332;

    color:#ffffff;

    padding:60px 0 20px;

}

.footer-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:60px;

    align-items:flex-start;

}

.footer-column h3{

    font-size:22px;

    margin-bottom:20px;

    position:relative;

    display:inline-block;

    padding-bottom:10px;

}

.footer-column h3::after{

    content:"";

    position:absolute;

    left:0;

    bottom:0;

    width:45px;

    height:3px;

    background:#8BC34A;

    border-radius:20px;

}

.footer-column p{

    color:#d7e6dc;

    line-height:1.8;

    margin-bottom:10px;

    font-size:15px;

}

.footer-column ul{

    list-style:none;

}

.footer-column ul li{

    margin-bottom:12px;

}

.footer-column ul li a{

    text-decoration:none;

    color:#d7e6dc;

    transition:.3s;

}

.footer-column ul li a:hover{

    color:#8BC34A;

    padding-left:8px;

}

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.15);

    margin-top:45px;

    padding-top:18px;

    text-align:center;

}

.footer-bottom p{

    font-size:14px;

    color:#c8d6cb;

}

/* =======================================================
   HOVER GLOBAL
======================================================= */

img{

    transition:.35s;

}

img:hover{

    transform:scale(1.02);

}

a{

    transition:.3s;

}

/* =======================================================
   SCROLLBAR
======================================================= */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#EEF5EE;

}

::-webkit-scrollbar-thumb{

    background:#2E7D32;

    border-radius:30px;

}

::-webkit-scrollbar-thumb:hover{

    background:#1B5E20;

}

/* =======================================================
   TEXT SELECTION
======================================================= */

::selection{

    background:#2E7D32;

    color:#ffffff;

}

/* =======================================================
   RESPONSIVE
======================================================= */

@media (max-width:1100px){

    .feature-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .feature-card{

        grid-column:auto !important;

    }

}

@media (max-width:992px){

    .hero-title{

        font-size:44px;

    }

    .hero-description{

        max-width:100%;

    }

    .about-wrapper{

        flex-direction:column;

        text-align:center;

        padding:40px;

    }

    .about-list{

        grid-template-columns:1fr;

    }

    .footer-grid{

        grid-template-columns:1fr;

        gap:35px;

        text-align:center;

    }

    .footer-column h3::after{

        left:50%;

        transform:translateX(-50%);

    }

}

@media (max-width:768px){

    .header .container{

        flex-direction:column;

        gap:15px;

    }

    .nav-menu{

        gap:18px;

        flex-wrap:wrap;

        justify-content:center;

    }

    .hero{

        padding:70px 0 40px;

    }

    .hero-title{

        font-size:36px;

    }

    .hero-description{

        font-size:16px;

    }

    .feature-grid{

        grid-template-columns:1fr;

    }

    .feature-card{

        min-height:auto;

    }

    .section-title h2{

        font-size:30px;

    }

}

@media (max-width:576px){

    .container{

        width:92%;

    }

    .logo-text{

        font-size:20px;

    }

    .logo-undiksha,

    .logo-ecobali{

        width:32px;

        height:32px;

    }

    .nav-menu{

        gap:12px;

    }

    .nav-menu a{

        font-size:14px;

    }

    .hero-title{

        font-size:30px;

    }

    .hero-label{

        font-size:12px;

    }

    .btn-primary{

        width:100%;

        justify-content:center;

    }

    .about-wrapper{

        padding:25px;

    }

    .about-image img{

        width:140px;

        height:140px;

    }

    .about-content h2{

        font-size:28px;

    }

}
/* ==========================================
   ECOMEDIA
========================================== */

.media{
    padding: 80px 0;
}

.media-grid{
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 35px;
    margin-top: 50px;
}

.media-grid .feature-card{
    width: 320px;
    max-width: 100%;
}
/*====================================
            ECOCLASS
====================================*/

.ecoclass{
    padding:40px 0 70px;
}

.class-box{
    max-width:520px;
    margin:auto;
    background:#fff;
    border-radius:22px;
    padding:32px 28px;
    text-align:center;
    position:relative;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.class-box::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:6px;
    border-radius:22px 22px 0 0;
    background:linear-gradient(90deg,#2E7D32,#43A047,#81C784);
}

.class-icon{
    width:75px;
    height:75px;
    margin:0 auto 18px;
    border-radius:18px;
    background:linear-gradient(135deg,#2E7D32,#43A047);
    display:flex;
    justify-content:center;
    align-items:center;
    box-shadow:0 10px 20px rgba(46,125,50,.25);
}

.class-icon img{
    width:40px;
    height:40px;
    object-fit:contain;
}

.class-box h2{
    font-size:28px;
    font-weight:700;
    margin-bottom:12px;
    color:#2E7D32;
}

.class-box p{
    max-width:420px;
    margin:auto;
    line-height:1.7;
    color:#666;
    font-size:16px;
}

.btn-class{
    display:inline-block;
    margin:28px 0 20px;
    background:linear-gradient(135deg,#2E7D32,#43A047);
    color:#fff;
    padding:14px 38px;
    border-radius:40px;
    font-size:17px;
    font-weight:600;
    text-decoration:none;
    transition:.3s;
    box-shadow:0 10px 20px rgba(46,125,50,.2);
}

.btn-class:hover{
    transform:translateY(-3px);
    background:#1B5E20;
}

.class-box span{
    display:block;
    color:#777;
    font-size:15px;
    line-height:1.7;
}
/*====================================
            ECOWIKI
====================================*/

.wiki{
    padding:40px 0 80px;
}

.wiki-grid{
    display:flex;
    justify-content:center;
    align-items:stretch;
    flex-wrap:wrap;
    gap:30px;
    margin-top:40px;
}

.wiki-grid .feature-card{
    flex:0 0 320px;
    max-width:320px;
}