/* ============================================================
   RESET & BASE - SAMA DENGAN LAYANAN.PHP
   ============================================================ */
body {
    padding-top: 76px;
    background: linear-gradient(-45deg, #FBF8F2, #EAF3EA, #D4E8D4, #E3F0F5, #F5F9F5);
    background-size: 400% 400%;
    animation: bgGradient 18s ease-in-out infinite;
    background-attachment: fixed;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #52615A;
    min-height: 100vh;
}

@keyframes bgGradient {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 0%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
}

/* ============================================================
   SATUKAN BACKGROUND - SEMUA ELEMEN UTAMA TRANSPARAN
   ============================================================ */
.main-body,
.hero-section,
.stats-desa-section,
footer {
    background: transparent !important;
}

/* ============================================================
   NAVBAR - SAMA DENGAN LAYANAN.PHP
   ============================================================ */
.pd-navbar {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.8rem 0;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
}

.pd-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.pd-navbar .navbar-brand:hover {
    transform: scale(1.02);
}

.pd-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2E7D57, #1A56DB);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}
.pd-brand-mark::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(46, 125, 87, 0.15);
    animation: brandPulse 2.5s ease-in-out infinite;
}
.pd-brand-mark::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1.5px solid rgba(46, 125, 87, 0.06);
    animation: brandPulse 2.5s ease-in-out infinite 0.8s;
}
@keyframes brandPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}
.pd-navbar .navbar-brand:hover .pd-brand-mark {
    transform: rotate(-8deg) scale(1.05);
}

.pd-brand-text .pd-brand-name {
    font-weight: 800;
    font-size: 1.2rem;
    color: #1E2A20;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}
.pd-navbar .navbar-brand:hover .pd-brand-name {
    color: #2E7D57;
}
.pd-brand-text .pd-brand-tag {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #767F73;
    text-transform: uppercase;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.pd-navbar .navbar-brand:hover .pd-brand-tag {
    opacity: 1;
}

.pd-navbar .nav-link {
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.5rem 1.2rem !important;
    color: #3F4440;
    position: relative;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 40px;
}
.pd-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, #2E7D57, #1A56DB);
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    transform: translateX(-50%);
}
.pd-navbar .nav-link:hover {
    color: #2E7D57;
    transform: translateY(-2px) scale(1.02);
}
.pd-navbar .nav-link:hover::after {
    width: 60%;
}
.pd-navbar .nav-link.active {
    color: #2E7D57;
    background: rgba(46, 125, 87, 0.06);
}
.pd-navbar .nav-link.active::after {
    width: 60%;
}

.navbar .btn-masuk {
    background: transparent;
    color: #2E7D57;
    border: 2px solid #2E7D57;
    padding: 0.45rem 1.6rem;
    border-radius: 50rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}
.navbar .btn-masuk::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2E7D57, #1A56DB);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 50rem;
}
.navbar .btn-masuk:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 28px rgba(46, 125, 87, 0.25);
    border-color: transparent;
}
.navbar .btn-masuk:hover::before {
    opacity: 1;
}
.navbar .btn-masuk:active {
    transform: scale(0.95);
}
.navbar .btn-masuk span {
    position: relative;
    z-index: 1;
}

.navbar .btn-daftar {
    background: linear-gradient(135deg, #2E7D57, #1A56DB);
    color: #fff;
    border: none;
    padding: 0.45rem 1.8rem;
    border-radius: 50rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 4px 16px rgba(46, 125, 87, 0.20);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}
.navbar .btn-daftar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1D5C3E, #0F3B8C);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 50rem;
}
.navbar .btn-daftar:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 40px rgba(46, 125, 87, 0.35);
}
.navbar .btn-daftar:hover::before {
    opacity: 1;
}
.navbar .btn-daftar:active {
    transform: scale(0.95);
}
.navbar .btn-daftar span {
    position: relative;
    z-index: 1;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 12px;
    background: rgba(46, 125, 87, 0.04);
}
.navbar-toggler:hover {
    background: rgba(46, 125, 87, 0.10);
    transform: scale(1.05);
}
.navbar-toggler:focus {
    box-shadow: none;
}
.navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(46, 125, 87, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    transition: all 0.3s ease;
}
.navbar-toggler:hover .navbar-toggler-icon {
    transform: rotate(90deg);
}

@media (max-width: 991.98px) {
    .pd-navbar .nav-link {
        padding: 0.6rem 1.2rem !important;
        border-radius: 12px;
    }
    .pd-navbar .nav-link::after {
        display: none;
    }
    .pd-navbar .nav-link:hover {
        background: rgba(46, 125, 87, 0.06);
        transform: translateX(4px);
    }
    .pd-navbar .nav-link.active {
        background: rgba(46, 125, 87, 0.08);
    }
    .navbar .btn-masuk,
    .navbar .btn-daftar {
        width: 100%;
        text-align: center;
        padding: 0.6rem 1.5rem;
    }
}
@media (max-width: 767.98px) {
    .pd-navbar {
        padding: 0.6rem 0;
    }
    .pd-brand-mark {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }
    .pd-brand-text .pd-brand-name {
        font-size: 1rem;
    }
}

/* ============================================================
   BODY UTAMA - TANPA ORBS
   ============================================================ */
.main-body {
    padding: 2rem 0 1rem;
    position: relative;
    overflow: hidden;
}

/* ============================================================
   HERO - SAMA SEPERTI SEBELUMNYA
   ============================================================ */
.hero-title {
    font-weight: 700;
    font-size: clamp(2.4rem, 4.5vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #18251F;
    margin-bottom: 1rem;
}

.hero-lead {
    font-size: 1.05rem;
    color: #74817B;
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ===== PERBAIKAN: HAPUS BORDER & BAYANGAN PADA GAMBAR ===== */
.hero-image-wrapper img {
    border-radius: 20px;
    /* Hapus semua box-shadow dan border */
    box-shadow: none !important;
    border: none !important;
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: cover;
    /* Animasi floating & glow tetap dipertahankan, tapi glow filter dihilangkan */
    animation: imageFloat 5s ease-in-out infinite;
    /* imageGlow dihapus agar tidak ada efek cahaya */
    transition: transform 0.5s ease;
}

.hero-image-wrapper img:hover {
    transform: translateY(-6px) scale(1.01);
    /* box-shadow tetap none */
    box-shadow: none !important;
}

@keyframes imageFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* imageGlow dihapus total */

.btn-primary {
    background: linear-gradient(135deg, #2E7D57 0%, #398D72 35%, #3B82B8 68%, #1A56DB 100%) !important;
    background-size: 220% 220%;
    background-position: 0% 50%;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(46, 125, 87, 0.16), 0 4px 15px rgba(26, 86, 219, 0.08);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, background-position 0.6s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-position: 100% 50%;
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(46, 125, 87, 0.22), 0 8px 25px rgba(26, 86, 219, 0.14);
    color: #fff !important;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -70%;
    width: 45%;
    height: 300%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
    transform: rotate(20deg);
    transition: left 0.7s ease;
    pointer-events: none;
    z-index: 2;
}

.btn-primary:hover::before {
    left: 125%;
}

.btn-primary i {
    position: relative;
    z-index: 3;
}

.btn-light {
    background: #ffffff !important;
    color: #333333 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    transition: background 0.5s ease, color 0.4s ease, border-color 0.4s ease, transform 0.35s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-light:hover {
    background: linear-gradient(135deg, #2E7D57, #3B9470, #3B82B8, #1A56DB) !important;
    background-size: 200% 200% !important;
    color: #ffffff !important;
    border-color: transparent !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(46, 125, 87, 0.20), 0 5px 18px rgba(26, 86, 219, 0.12);
    animation: layananGradient 3s ease infinite;
}

.btn-light::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -70%;
    width: 45%;
    height: 300%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
    transform: rotate(20deg);
    transition: left 0.7s ease;
    pointer-events: none;
    z-index: 2;
}

.btn-light:hover::before {
    left: 125%;
}

.btn-light i {
    position: relative;
    z-index: 3;
}

@keyframes layananGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ============================================================
   KEUNGGULAN CARDS - dengan icon yang lebih bagus & animatif
   ============================================================ */
.advantage-card {
    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, 0.78),
            rgba(232, 245, 240, 0.70),
            rgba(226, 239, 250, 0.72));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 32px rgba(46, 125, 87, 0.05), 0 2px 12px rgba(26, 86, 219, 0.03);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.45s ease, background 0.45s ease;
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(35px);
    height: 100%;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 86, 219, 0.10), transparent 70%);
    pointer-events: none;
    transition: transform 0.6s ease, opacity 0.6s ease;
    opacity: 0.6;
}

.advantage-card::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #2E7D57, #5DAE8B, #3B82F6, #1A56DB);
    background-size: 250% 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: cardGradientFlow 5s ease-in-out infinite;
}

@keyframes cardGradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.advantage-card.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.advantage-card:hover {
    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, 0.88),
            rgba(228, 244, 238, 0.82),
            rgba(224, 237, 249, 0.84));
    border-color: rgba(46, 125, 87, 0.28);
    box-shadow: 0 18px 45px rgba(46, 125, 87, 0.12), 0 8px 30px rgba(26, 86, 219, 0.08), 0 0 25px rgba(46, 125, 87, 0.06);
    transform: translateY(-10px);
}

.advantage-card:hover::before {
    transform: scale(1.25);
    opacity: 1;
}

.advantage-card:hover::after {
    opacity: 1;
}

.advantage-card .adv-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), 
                filter 0.45s ease,
                color 0.45s ease;
    color: #2E7D57;
    position: relative;
}

.advantage-card .adv-icon::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(46, 125, 87, 0.08);
    animation: iconPulse 2.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 0; }
}

.advantage-card:hover .adv-icon {
    transform: scale(1.18) rotate(-6deg);
    filter: drop-shadow(0 10px 20px rgba(46, 125, 87, 0.25));
    color: #1A56DB;
}

.advantage-card:hover .adv-icon::after {
    animation-duration: 1.2s;
}

.advantage-card h5,
.advantage-card .h5 {
    font-weight: 700;
    font-size: 1.2rem;
    color: #18251F;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.advantage-card:hover h5,
.advantage-card:hover .h5 {
    color: #2E7D57;
}

.advantage-card p {
    color: #74817B;
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ============================================================
   STATISTIK DESA BOLON - dari database (SAMA SEPERTI DASHBOARD)
   ============================================================ */
.stats-desa-section {
    padding: 1.5rem 0 2rem;
}

.stats-desa-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), 
                box-shadow 0.5s ease,
                background 0.5s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpStat 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.stats-desa-item:nth-child(1) { animation-delay: 0.05s; }
.stats-desa-item:nth-child(2) { animation-delay: 0.12s; }
.stats-desa-item:nth-child(3) { animation-delay: 0.19s; }
.stats-desa-item:nth-child(4) { animation-delay: 0.26s; }

@keyframes fadeUpStat {
    to { opacity: 1; transform: translateY(0); }
}

.stats-desa-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2E7D57, #5DAE8B, #3B82F6, #1A56DB);
    background-size: 300% 100%;
    transition: left 0.8s ease;
}

.stats-desa-item:hover::before {
    left: 0;
    animation: statBarFlow 3s ease-in-out infinite;
}

@keyframes statBarFlow {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
}

.stats-desa-item:hover {
    transform: scale(1.03);
    box-shadow: 0 16px 48px rgba(46, 125, 87, 0.12);
    background: rgba(255, 255, 255, 0.85);
}

.stats-desa-item .stat-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    background: rgba(46, 125, 87, 0.08);
    color: #2E7D57;
    font-size: 1.8rem;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.stats-desa-item:hover .stat-icon-wrap {
    background: linear-gradient(135deg, #2E7D57, #398D72 40%, #3B82B8 70%, #1A56DB);
    color: #fff;
    transform: scale(1.1) rotate(-6deg);
    box-shadow: 0 8px 24px rgba(46, 125, 87, 0.25);
}

.stats-desa-item .stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: #18251F;
    display: block;
    line-height: 1.1;
    transition: color 0.3s ease;
}

.stats-desa-item:hover .stat-number {
    color: #2E7D57;
}

.stats-desa-item .stat-label {
    font-size: 0.9rem;
    color: #74817B;
    font-weight: 500;
    margin-top: 0.2rem;
    transition: color 0.3s ease;
}

.stats-desa-item:hover .stat-label {
    color: #18251F;
}

/* ============================================================
   HERO TANPA STATISTIK - RUANG LEBIH LEGA
   ============================================================ */
.hero-section {
    min-height: auto;
    padding: 3.5rem 0 2rem;
    margin-bottom: 0 !important;
}

/* ============================================================
   STATISTIK DESA - LEBIH HIDUP & GRADIENT HIJAU-BIRU
   ============================================================ */
.stats-desa-section {
    padding: 1.5rem 0 2rem;
    margin-top: 0;
}
.stats-desa-item {
    background: rgba(255,255,255,.66);
    border: 1px solid rgba(46,125,87,.12);
    box-shadow: 0 12px 35px rgba(46,125,87,.07), 0 5px 18px rgba(26,86,219,.04);
}
.stats-desa-item::after {
    content:''; position:absolute; inset:1px; border-radius:19px; padding:1px;
    background:linear-gradient(135deg,rgba(46,125,87,.3),rgba(26,86,219,.3),rgba(46,125,87,.12));
    -webkit-mask:linear-gradient(#fff, #fff) content-box, linear-gradient(#fff, #fff);
    -webkit-mask-composite:xor; mask-composite:exclude; pointer-events:none; opacity:.65;
}
.stats-desa-item .stat-icon-wrap {
    background:linear-gradient(135deg,#2E7D57,#398D72 40%,#3B82B8 70%,#1A56DB);
    color:#fff;
    box-shadow:0 8px 22px rgba(46,125,87,.18),0 4px 18px rgba(26,86,219,.13);
    animation:statIconGlow 3.5s ease-in-out infinite;
}
@keyframes statIconGlow {
    0%,100% { box-shadow:0 8px 22px rgba(46,125,87,.18),0 4px 18px rgba(26,86,219,.10); transform:translateY(0) rotate(0deg); }
    50% { box-shadow:0 10px 30px rgba(46,125,87,.28),0 6px 24px rgba(26,86,219,.20); transform:translateY(-4px) rotate(3deg); }
}
.stats-desa-item .stat-number {
    font-family:'Plus Jakarta Sans',sans-serif;
    font-size:clamp(2.2rem,4vw,3rem);
    font-weight:800;
    letter-spacing:-.045em;
    background:linear-gradient(90deg,#2E7D57 0%,#398D72 25%,#3B82B8 62%,#1A56DB 100%);
    background-size:220% auto;
    -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
    color:#2E7D57;
    filter:drop-shadow(0 0 7px rgba(46,125,87,.16));
    animation:statNumberShine 4s ease-in-out infinite, statNumberPulse 2.6s ease-in-out infinite;
}
@keyframes statNumberShine {
    0%,100% { background-position:0% 50%; }
    50% { background-position:100% 50%; }
}
@keyframes statNumberPulse {
    0%,100% { filter:drop-shadow(0 0 6px rgba(46,125,87,.14)); }
    50% { filter:drop-shadow(0 0 17px rgba(26,86,219,.30)); }
}
.stats-desa-item .stat-label { font-weight:600; }
.stats-desa-item:hover .stat-number {
    animation-duration:2s,1.5s;
}
.stats-desa-item:nth-child(2) .stat-icon-wrap{animation-delay:.25s}
.stats-desa-item:nth-child(3) .stat-icon-wrap{animation-delay:.5s}
.stats-desa-item:nth-child(4) .stat-icon-wrap{animation-delay:.75s}

/* ============================================================
   CTA - SAMA SEPERTI SEBELUMNYA (tanpa paragraf)
   ============================================================ */
.cta-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(228, 244, 238, 0.65), rgba(226, 237, 250, 0.68));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(46, 125, 87, 0.05);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    top: -130px;
    right: -100px;
    background: radial-gradient(circle, rgba(26, 86, 219, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #18251F;
}

/* ============================================================
   FOOTER - SAMA DENGAN LAYANAN.PHP
   ============================================================ */
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer-brand:hover {
    transform: translateY(-3px) scale(1.02);
}

.footer-brand-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(46, 125, 87, 0.10);
    color: #2E7D57;
    font-size: 0.9rem;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    animation: footerIconFloat 4s ease-in-out infinite;
}
.footer-brand-icon i {
    position: relative;
    z-index: 2;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer-brand:hover .footer-brand-icon i {
    transform: scale(1.15) rotate(-8deg);
}
@keyframes footerIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.footer-ring-1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    border-radius: 50%;
    border: 1.5px solid rgba(46, 125, 87, 0.15);
    animation: footerPulse 2.8s ease-in-out infinite;
    pointer-events: none;
    will-change: transform, opacity;
}
.footer-ring-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 16px);
    height: calc(100% + 16px);
    border-radius: 50%;
    border: 1px solid rgba(46, 125, 87, 0.08);
    animation: footerPulse 3.6s ease-in-out infinite 0.6s;
    pointer-events: none;
    will-change: transform, opacity;
}
.footer-ring-3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 26px);
    height: calc(100% + 26px);
    border-radius: 50%;
    border: 1px solid rgba(26, 86, 219, 0.05);
    animation: footerPulse 4.4s ease-in-out infinite 1.2s;
    pointer-events: none;
    will-change: transform, opacity;
}
@keyframes footerPulse {
    0% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.2; }
    100% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.6; }
}
.footer-brand:hover .footer-ring-1 {
    border-color: rgba(46, 125, 87, 0.35);
    animation-duration: 1.8s;
}
.footer-brand:hover .footer-ring-2 {
    border-color: rgba(26, 86, 219, 0.20);
}
.footer-brand:hover .footer-ring-3 {
    border-color: rgba(26, 86, 219, 0.12);
}

.footer-brand-text {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, #1E2A20, #2E7D57, #1A56DB, #2E7D57, #1E2A20);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 5s ease-in-out infinite;
    transition: filter 0.4s ease;
    will-change: background-position;
}
.footer-brand:hover .footer-brand-text {
    filter: drop-shadow(0 0 12px rgba(46, 125, 87, 0.25));
    animation-duration: 2.5s;
}
@keyframes textShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.footer-copy {
    display: inline-block;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    color: #6B7A73;
    transition: all 0.4s ease;
    cursor: default;
    position: relative;
}
.footer-copy .copy-text {
    display: inline-block;
    background: linear-gradient(135deg, #6B7A73, #2E7D57, #1A56DB, #6B7A73);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: copyrightShine 6s ease-in-out infinite;
    transition: filter 0.4s ease;
    font-weight: 700;
}
.footer-copy:hover .copy-text {
    filter: drop-shadow(0 0 18px rgba(46, 125, 87, 0.6)) drop-shadow(0 0 40px rgba(26, 86, 219, 0.3));
    animation-duration: 2s;
}
@keyframes copyrightShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ============================================================
   UTILITY - SCROLL REVEAL, GLOW, ANIMASI ACCENT
   ============================================================ */

@keyframes statGlow {
    0% { filter: drop-shadow(0 0 4px rgba(46, 125, 87, 0.3)); }
    100% { filter: drop-shadow(0 0 15px rgba(26, 86, 219, 0.6)); }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal.delay-1 { transition-delay: 0.08s; }
.scroll-reveal.delay-2 { transition-delay: 0.16s; }
.scroll-reveal.delay-3 { transition-delay: 0.24s; }
.scroll-reveal.delay-4 { transition-delay: 0.32s; }
.scroll-reveal.delay-5 { transition-delay: 0.40s; }
.scroll-reveal.delay-6 { transition-delay: 0.48s; }

/* ============================================================
   ANIMASI WARNA UNTUK SEMUA TEKS HIJAU (accent-text) - SAMA SEPERTI FOOTER
   ============================================================ */
.accent-text {
    background: linear-gradient(135deg, #2E7D57, #1A56DB, #2E7D57, #1A56DB);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: accentShimmer 5s ease-in-out infinite;
}

@keyframes accentShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 1.8rem !important;
    }
    .cta-card {
        padding: 2rem 1.5rem;
    }
    .cta-card h3 {
        font-size: 1.5rem;
    }
    .advantage-card {
        padding: 1.5rem 1rem;
    }
    .stats-desa-item .stat-number {
        font-size: 1.8rem;
    }
    .stats-desa-item .stat-icon-wrap {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
}
