/* =========================================
GLOBAL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: #173b27;
    background: #f8faf7;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}

/* =========================================
NAVBAR
========================================= */

.navbar {
    position: absolute;
    width: 100%;
    height: 80px;
    top: 0;
    left: 0;
    z-index: 20;
    padding: 22px 0;
    color: white;

    background:
        linear-gradient(90deg,
            rgba(13, 68, 41, 0.92) 0%,
            rgba(6, 54, 29, 0.78) 0%,
            rgba(6, 48, 24, 0.45) 0%);

    /* rgba(7, 48, 28, .92) 0%,
    rgba(12, 76, 42, .78) 0%,
    rgba(16, 81, 44, .45) 0%); */


    background-size: cover;
    background-position: center;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: -30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;

    text-decoration: none;
}

/* Logo SEBATIN */
.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: none;
    border-radius: 0;

    padding: 0;
}

.logo-icon img {
    height: 50px;
    width: auto;

    display: block;
    object-fit: contain;
}


/* Logo tulisan Swasembada Bawang Putih */
.logo-title {
    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: none;
    box-shadow: none;

    padding: 0;
}

.logo-title img {
    height: 100px;
    width: auto;

    display: block;
    object-fit: contain;
}

.logo span,
.logo strong {
    display: block;
    line-height: 1.1;
}

.logo span {
    font-size: 12px;
    opacity: .8;
}

.logo strong {
    font-size: 17px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    font-size: 14px;
    color: rgba(255, 255, 255, .8);
    transition: .3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: white;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 13px 23px;

    border-radius: 9px;

    font-size: 14px;
    font-weight: 600;

    transition: .3s;

}

.btn-nav {
    background: white;
    color: #1b633b;
}

.btn-nav:hover {
    transform: translateY(-2px);
}

/* =========================================
HERO
========================================= */

.hero {
    position: relative;
    min-height: 720px;

    display: flex;
    align-items: center;

    color: white;

    background:
        url("hero.jpg");

    background-size: cover;
    background-position: center;

}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at 80% 30%,
            rgba(148, 206, 96, .18),
            transparent 20%);

}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 680px;
    padding-top: 60px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 14px;

    border-radius: 30px;

    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);

    font-size: 13px;

    margin-bottom: 25px;

}

.hero h1 {
    font-family: "Playfair Display", serif;

    font-size: clamp(48px, 6vw, 78px);

    line-height: 1.04;

    letter-spacing: -2px;

    margin-bottom: 25px;

}

.hero h1 span {
    color: #b6dc74;
}

.hero p {
    max-width: 600px;

    font-size: 17px;
    line-height: 1.8;

    color: rgba(255, 255, 255, .82);

    margin-bottom: 34px;

}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #79ad45;
    color: white;
}

.btn-primary:hover {
    background: #669737;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, .45);
    color: white;
}

.btn-outline:hover {
    background: white;
    color: #175b36;
}

.hero-info {
    display: flex;

    margin-top: 55px;

    border-top: 1px solid rgba(255, 255, 255, .2);

    padding-top: 22px;

    gap: 45px;

}

.info-item strong {
    display: block;
    font-size: 16px;
}

.info-item span {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, .6);
}

.scroll-down {
    position: absolute;

    bottom: 25px;
    right: 4%;

    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 11px;

    color: rgba(255, 255, 255, .6);

}

.scroll-down div {
    font-size: 20px;
}

/* =========================================
SECTION
========================================= */

section {
    padding: 100px 0;
}

.section-heading {
    max-width: 650px;
    margin-bottom: 55px;
}

.section-heading.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-label {
    display: inline-block;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;

    color: #679a3c;

    margin-bottom: 13px;

}

.section-label.light {
    color: #b6dc74;
}

.section-heading h2,
.statistics-header h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(34px, 4vw, 48px);

    line-height: 1.15;

    letter-spacing: -1px;

    margin-bottom: 18px;

}

.section-heading h2 span,
.statistics-header h2 span {
    color: #6b9e40;
}

.section-heading p {
    color: #718078;
    font-size: 15px;
}

/* =========================================
INTRO
========================================= */

.intro {
    background: #f8faf7;
}

.feature-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;

}

.feature-card {
    background: white;

    padding: 35px;

    border: 1px solid #e6ece5;

    border-radius: 16px;

    transition: .3s;

}

.feature-card:hover {
    transform: translateY(-7px);

    box-shadow: 0 20px 45px rgba(32, 75, 46, .09);

}

.feature-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eef6e8;

    border-radius: 14px;

    font-size: 25px;

    margin-bottom: 23px;

}

.feature-card h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.feature-card p {
    color: #758078;
    font-size: 14px;
}

/* =========================================
PROGRAM
========================================= */

.program {
    background: #eef4eb;
}

.program-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

}

.program-card {
    position: relative;

    min-height: 280px;

    overflow: hidden;

    background: white;

    border-radius: 17px;

    padding: 32px;

    border: 1px solid #e1e9df;

    transition: .3s;

}

.program-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 20px 40px rgba(26, 73, 43, .1);

}

.program-card.large {
    grid-row: span 2;

    min-height: 580px;

    background:
        linear-gradient(145deg,
            rgba(13, 79, 43, .96),
            rgba(39, 112, 59, .88));
    color: white;

}

.program-number {
    position: absolute;

    top: 25px;
    right: 28px;

    font-size: 13px;
    font-weight: 700;

    opacity: .4;

}

.program-content {
    position: absolute;

    left: 32px;
    right: 32px;
    bottom: 32px;

}

.program-icon {
    font-size: 32px;

    margin-bottom: 18px;

}

.program-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.program-content p {
    font-size: 14px;

    color: #718078;

    max-width: 480px;

}

.large .program-content p {
    color: rgba(255, 255, 255, .75);
}

.program-content a {
    display: inline-block;

    margin-top: 20px;

    font-size: 13px;
    font-weight: 700;

    color: #679a3c;

}

.large .program-content a {
    color: #b9df78;
}

/* =========================================
STATISTICS
========================================= */

.statistics {
    background: #174b2c;
    color: white;
}

.statistics-header {
    display: flex;

    justify-content: space-between;
    align-items: end;

    margin-bottom: 50px;

}

.statistics-header h2 {
    margin: 0;
}

.statistics-header h2 span {
    color: #b6dc74;
}

.statistics-header p {
    max-width: 400px;

    color: rgba(255, 255, 255, .65);

    font-size: 14px;

}

.stats-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 16px;

}

.stat-card {
    padding: 25px;

    border: 1px solid rgba(255, 255, 255, .13);

    background: rgba(255, 255, 255, .05);

    border-radius: 15px;

}

.stat-icon {
    font-size: 25px;

    margin-bottom: 25px;

}

.stat-card strong {
    display: block;

    font-family: "Playfair Display", serif;

    font-size: 37px;

    color: #c0e07f;

}

.stat-card span {
    font-size: 13px;

    color: rgba(255, 255, 255, .6);

}

/* =========================================
CTA
========================================= */

.cta {
    background: #f8faf7;
}

.cta-box {
    position: relative;

    overflow: hidden;

    border-radius: 25px;

    padding: 75px;

    background:
        linear-gradient(120deg,
            #dfeecf,
            #f0f6e9);

}

.cta-content {
    position: relative;
    z-index: 2;

    max-width: 650px;

}

.cta h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(35px, 4vw, 52px);

    line-height: 1.15;

    margin-bottom: 18px;

}

.cta p {
    color: #637066;

    font-size: 15px;

    margin-bottom: 25px;

}

.cta-decoration {
    position: absolute;

    right: 40px;
    bottom: -30px;

    font-size: 220px;

    opacity: .12;

}

/* =========================================
FOOTER
========================================= */

footer {
    background: #102f1d;

    color: white;

    padding-top: 70px;

}

.footer-grid {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1.4fr;

    gap: 50px;

    padding-bottom: 60px;

}

.footer-brand p {
    max-width: 300px;

    color: rgba(255, 255, 255, .5);

    font-size: 13px;

    margin-top: 20px;

}

.footer-column h4 {
    font-size: 14px;

    margin-bottom: 20px;

}

.footer-column a,
.footer-column p {
    display: block;

    color: rgba(255, 255, 255, .5);

    font-size: 13px;

    margin-bottom: 10px;

    transition: .3s;

}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);

    padding: 20px 0;

}

.footer-bottom .container {
    display: flex;

    justify-content: space-between;

    color: rgba(255, 255, 255, .4);

    font-size: 11px;

}

/* =========================================
RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .nav-menu {
        display: none;
    }

    .feature-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .program-grid {
        grid-template-columns: 1fr;
    }

    .program-card.large {
        grid-row: auto;
        min-height: 400px;
    }

    .statistics-header {
        display: block;
    }

    .statistics-header p {
        margin-top: 20px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }


}

@media (max-width: 600px) {

    .btn-nav {
        display: none;
    }

    .hero {
        min-height: 680px;
    }

    .hero h1 {
        font-size: 47px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-info {
        gap: 20px;
        flex-wrap: wrap;
    }

    section {
        padding: 70px 0;
    }

    .feature-grid,
    .stats-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 45px 30px;
    }

    .cta-decoration {
        font-size: 130px;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 8px;
    }


}