:root {
    --green-dark: #0e5c3f;
    --green: #168a52;
    --green-light: #2bb673;
    --gold: #e0ac1f;
    --gold-light: #f4cf5e;
    --cream: #faf8f1;
    --text-dark: #1a2e22;
    --bs-primary: #168a52;
}

* {
    font-family: "Poppins", sans-serif;
}

body {
    background: var(--cream);
    color: var(--text-dark);
}

.font-amiri {
    font-family: "Amiri", serif;
}

.text-green {
    color: var(--green-dark) !important;
}

.bg-green {
    background: var(--green-dark) !important;
}

.bg-green-grad {
    background: linear-gradient(160deg, var(--green-dark), var(--green));
}

.text-gold {
    color: var(--gold) !important;
}

.bg-gold {
    background: var(--gold) !important;
}

.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

.btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: #fff;
}

.btn-outline-green {
    border: 2px solid var(--green-dark);
    color: var(--green-dark);
}

.btn-outline-green:hover {
    background: var(--green-dark);
    color: #fff;
}

.section-tag {
    color: var(--gold);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--green-dark);
    font-weight: 600;
}

.page-section {
    display: none;
}

.page-section.active {
    display: block;
}

/* NAVBAR */
.navbar {
    background: rgba(250, 248, 241, 0.97) !important;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    font-size: 14.5px;
    cursor: pointer;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--green-light) !important;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

/* HERO */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: linear-gradient(
            100deg,
            rgba(14, 92, 63, 0.94) 0%,
            rgba(22, 138, 82, 0.85) 38%,
            rgba(22, 138, 82, 0.35) 65%,
            rgba(22, 138, 82, 0.12) 100%
        ),
        url("https://images.unsplash.com/photo-1542810634-71277d95dcbb?q=80&w=2000&auto=format&fit=crop")
            center right / cover no-repeat;
    overflow: hidden;
}

.hero-tag {
    background: rgba(224, 172, 31, 0.18);
    border: 1px solid rgba(224, 172, 31, 0.4);
    color: var(--gold-light);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}

.btn-white-outline {
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #fff;
}

.btn-white-outline:hover {
    background: #fff;
    color: var(--green-dark);
}

.counter {
    font-size: 30px;
    color: var(--gold-light);
    font-weight: 700;
}

/* CARDS */
.vm-card {
    border-left: 4px solid var(--gold);
    border-radius: 14px;
}

.program-card {
    border-radius: 18px;
    border: 1px solid #eee5cf;
    transition: 0.3s;
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(20, 83, 45, 0.1);
    border-color: var(--gold);
}

.program-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--green), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
}

.berita-card {
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.berita-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.berita-img {
    height: 170px;
    background: linear-gradient(135deg, var(--green-light), var(--green));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
}

.galeri-item {
    border-radius: 14px;
    background: linear-gradient(135deg, #dcd3ad, #e8c668);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(20, 83, 45, 0.5);
    cursor: pointer;
    transition: 0.25s;
}

.galeri-item:hover {
    filter: brightness(0.92);
    transform: scale(0.98);
}

.testi-card {
    border-radius: 16px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
}

.video-wrap {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(224, 172, 31, 0.4);
}

.map-box {
    height: 200px;
    border-radius: 16px;
    background: repeating-linear-gradient(
        45deg,
        #eef0ea,
        #eef0ea 10px,
        #e4e8dc 10px,
        #e4e8dc 20px
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a9588;
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(224, 172, 31, 0.2);
}

footer {
    background: var(--green-dark);
    color: rgba(255, 255, 255, 0.8);
}

footer a {
    color: rgba(255, 255, 255, 0.65);
}

footer a:hover {
    color: var(--gold-light);
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    background: var(--gold);
}

.fade-up {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.6s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

.breadcrumb-bar {
    background: linear-gradient(135deg, var(--green-dark), var(--green));
}

.page-link {
    color: var(--green-dark);
}

.page-item.active .page-link {
    background-color: var(--green-dark);
    border-color: var(--green-dark);
}

.galeri-filter.active {
    background: var(--green-dark) !important;
    color: #fff !important;
    border-color: var(--green-dark) !important;
}
