/* style.css
   Modern premium design for Desa Siumbatu
   - CSS Variables
   - Glassmorphism, soft shadows, gradients
   - Responsive grid/flex, clamp-based typography
   - Comments per section for maintainability
*/


/* =========================
   Root Variables & Reset
   ========================= */

:root {
    --emerald-900: #0F9D58;
    --emerald-800: #16A34A;
    --emerald-600: #22C55E;
    --emerald-400: #4ADE80;
    --bg: #FFFFFF;
    --surface: #F8FAFC;
    --card: #FFFFFF;
    --muted: #6B7280;
    --border: #E5E7EB;
    --glass: rgba(255, 255, 255, 0.6);
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-soft: 0 8px 30px rgba(15, 23, 42, 0.06);
    --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.05);
    --max-width: 1400px;
    --ease: cubic-bezier(.2, .9, .2, 1);
    --reveal-duration: .7s;
}


/* =========================
   Base / Reset
   ========================= */

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: var(--bg);
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.45;
    font-size: clamp(15px, 1.6vw, 17px);
}


/* Accessibility focus */

:focus {
    outline: 3px solid rgba(16, 185, 129, 0.14);
    outline-offset: 3px
}


/* =========================
   Container
   ========================= */

.container {
    width: 100%;
    max-width: 1400px;
    max-width: var(--max-width);
    margin: 0 auto;
}


/* =========================
   Custom Scrollbar Webkit
   ========================= */


/* Ukuran scrollbar */

::-webkit-scrollbar {
    width: 10px;
}


/* Background jalur scrollbar */

::-webkit-scrollbar-track {
    background: #f1f5f2;
}


/* Bagian yang digeser */

::-webkit-scrollbar-thumb {
    background: linear-gradient( 180deg, #16a34a, #15803d);
    border-radius: 999px;
    border: 2px solid #f1f5f2;
}


/* Hover scrollbar */

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient( 180deg, #22c55e, #166534);
}


/* Firefox Support */

html {
    scrollbar-width: thin;
    scrollbar-color: #16a34a #f1f5f2;
}


/* =========================
   Links & Buttons system
   ========================= */

a {
    color: var(--emerald-800);
    text-decoration: none
}

a.link {
    color: inherit;
    font-weight: 600
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .72rem 1.05rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all .28s var(--ease);
    border: 1px solid transparent;
    background: transparent;
    color: var(--emerald-900);
    position: relative;
    overflow: hidden;
    /* ripple container */
}

.btn:active {
    transform: translateY(-1px)
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm)
}

.btn-primary {
    background: linear-gradient(135deg, var(--emerald-800), var(--emerald-600));
    color: white;
    border: none;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.14);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(15, 23, 42, 0.06);
    color: var(--emerald-900);
}

.btn-ghost {
    background: rgba(16, 185, 129, 0.07);
    color: var(--emerald-900);
    border: 1px solid rgba(16, 185, 129, 0.06);
}

.btn-sm {
    padding: .5rem .8rem;
    border-radius: 10px;
    font-size: .95rem
}

.btn-cta {
    background: linear-gradient(90deg, var(--emerald-800), var(--emerald-600));
    color: #fff;
    padding: 1rem 1.4rem;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(34, 197, 94, 0.14);
}


/* small utility */

.text-muted {
    color: var(--muted);
    font-size: .95rem
}


/* =========================
   Header / Navbar
   ========================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, .85);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.header.scrolled {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.9));
    box-shadow: 0 6px 24px rgba(2, 6, 23, 0.06);
    border-bottom-color: rgba(15, 23, 42, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 20px;
    font-weight: 700;
    color: #14532d;
    margin: 0;
}

.logo-text span {
    font-size: 11px;
    color: #64748b;
}

.nav {
    flex: 1
}

.nav-list {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0
}

.nav-link {
    padding: .6rem .9rem;
    border-radius: 10px;
    color: var(--muted);
    transition: all .18s var(--ease)
}

.nav-link:hover,
.nav-link.active {
    background: rgba(16, 185, 129, 0.06);
    color: var(--emerald-900);
    font-weight: 600;
    transform: translateY(-2px)
}

.header-actions {
    display: flex;
    gap: .6rem;
    align-items: center
}

.icon-btn {
    background: transparent;
    border: 1px solid rgba(15, 23, 42, 0.04);
    padding: .6rem;
    border-radius: 10px
}


/* Mobile toggle */

#mobile-toggle {
    display: none
}


/* Mobile menu overlay */

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 998;
}

.mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 340px;
    max-width: 88%;
    height: 100vh;
    background: #fff;
    z-index: 999;
    transition: .35s ease;
    display: flex;
    flex-direction: column;
    padding: 30px 24px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, .15);
    overflow: auto;
}

.mobile-menu.open {
    right: 0;
}

.mobile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mobile-logo img {
    width: 50px;
    height: 50px;
}

.mobile-logo h3 {
    margin: 0;
    font-size: 18px;
}

.mobile-logo p {
    margin: 0;
    font-size: 12px;
    color: #64748b;
}

#closeMenu {
    width: 42px;
    height: 42px;
    border: none;
    background: #f1f5f9;
    border-radius: 12px;
    cursor: pointer;
    font-size: 18px;
}

.mobile-menu .nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu .nav-link {
    display: flex;
    padding: 15px 18px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    color: #374151;
    transition: .25s;
}

.mobile-menu .nav-link:hover {
    background: #ECFDF5;
    color: #16A34A;
    padding-left: 25px;
}

.mobile-menu .nav-link.active {
    background: linear-gradient(135deg, #16A34A, #22C55E);
    color: #fff;
}

.mobile-contact {
    margin-top: 30px;
    justify-content: center;
}

@media(max-width:992px) {
    .nav {
        display: none;
    }
    .desktop-btn {
        display: none;
    }
    #mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media(min-width:993px) {
    .mobile-menu,
    .mobile-overlay {
        display: none;
    }
    #mobile-toggle {
        display: none;
    }
}


/* =========================
   Hero Section
   ========================= */


/* ====================================================
HERO SECTION
==================================================== */

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 90px 0;
    background: linear-gradient(120deg, #f8fffb, #ffffff);
    padding-top: 120px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(34, 197, 94, .15), transparent 45%);
    pointer-events: none;
}

.hero-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 70px;
    align-items: center;
}


/* LEFT */

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #ECFDF5;
    color: #15803d;
    font-weight: 600;
}

.hero-heading {
    font-size: 50px;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 24px;
    color: #0F172A;
}

.hero-heading span {
    color: #16A34A;
}

.hero-description {
    font-size: 17px;
    line-height: 1.9;
    color: #64748B;
    max-width: 720px;
    margin-bottom: 35px;
}


/* ===========================
   HERO BUTTONS
=========================== */

.hero-buttons {
    display: flex;
    gap: 18px;
    margin-top: 35px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.hero-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 18px 32px;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: .35s;
    cursor: pointer;
}

.hero-btn span {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.hero-btn i {
    font-size: 17px;
}


/* PRIMARY */

.hero-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #16A34A, #22C55E);
    box-shadow: 0 12px 30px rgba(22, 163, 74, .28);
}

.hero-btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(22, 163, 74, .38);
}


/* SECONDARY */

.hero-btn-secondary {
    color: #15803d;
    background: #fff;
    border: 2px solid #DCFCE7;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .06);
}

.hero-btn-secondary:hover {
    background: #16A34A;
    color: #fff;
    border-color: #16A34A;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(22, 163, 74, .20);
}


/* Ripple Glow */

.hero-btn::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    transition: .6s;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.hero-btn:hover::before {
    width: 380px;
    height: 380px;
}


/* Mobile */

@media(max-width:768px) {
    .hero-buttons {
        flex-direction: column;
    }
    .hero-btn {
        width: 100%;
    }
}

.hero-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-radius: 18px;
    padding: 18px 22px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);
    border: 1px solid #E5E7EB;
}

.info-box i {
    width: 55px;
    height: 55px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    color: white;
    background: #16A34A;
}

.info-box h4 {
    margin: 0;
    font-size: 17px;
    color: #111827;
}

.info-box span {
    font-size: 14px;
    color: #64748B;
}


/* RIGHT */

.hero-right {
    position: relative;
}

.hero-image {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .18);
}

.hero-image img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    display: block;
}

.hero-card {
    position: absolute;
    left: -40px;
    bottom: 35px;
    background: white;
    border-radius: 22px;
    padding: 22px;
    display: flex;
    gap: 18px;
    align-items: center;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .12);
    width: 290px;
}

.card-icon {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    background: #16A34A;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.hero-card h3 {
    margin: 0;
    font-size: 20px;
}

.hero-card p {
    margin-top: 6px;
    color: #64748B;
    font-size: 14px;
    line-height: 1.7;
}


/* RESPONSIVE */

@media (max-width:992px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-left {
        order: 1;
    }
    .hero-right {
        order: 2;
    }
    .hero-heading {
        font-size: 42px;
    }
    .hero-image img {
        height: 420px;
    }
    .hero-card {
        position: absolute;
        left: 20px;
        bottom: 20px;
    }
}

@media (max-width:576px) {
    .hero-section {
        padding: 70px 0;
        padding-top: 120px;
    }
    .hero-wrapper {
        gap: 30px;
    }
    .hero-left {
        order: 1;
    }
    .hero-right {
        order: 2;
    }
    .hero-heading {
        font-size: 32px;
        line-height: 1.3;
    }
    .hero-description {
        font-size: 15px;
        line-height: 1.8;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    .hero-image img {
        height: 280px;
    }
    .hero-card {
        width: calc(100% - 30px);
        left: 15px;
        bottom: 15px;
        padding: 18px;
    }
    .info-box {
        width: 100%;
    }
}


/*======================================
    OVERVIEW
======================================*/

.overview-section {
    padding: 40px 0;
    background: #f8fafc;
}

.section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #dcfce7;
    color: #15803d;
    padding: 10px 18px;
    border-radius: 100px;
    font-weight: 600;
}

.section-heading h2 {
    font-size: clamp(34px, 4vw, 48px);
    margin-bottom: 18px;
    color: #0f172a;
}

.section-heading p {
    color: #64748b;
    line-height: 1.9;
}

.overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
}

.overview-card {
    background: #fff;
    border-radius: 26px;
    padding: 35px;
    border: 1px solid #e5e7eb;
    transition: .35s;
    box-shadow: 0 15px 40px rgba(15, 23, 42, .05);
}

.overview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 55px rgba(15, 23, 42, .08);
}

.overview-main {
    grid-row: span 2;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.overview-main::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    background: rgba(255, 255, 255, .08);
    border-radius: 50%;
    right: -70px;
    bottom: -70px;
}

.overview-icon {
    width: 75px;
    height: 75px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .18);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    margin-bottom: 30px;
}

.overview-main h3 {
    font-size: 34px;
    margin-bottom: 20px;
}

.overview-main p {
    line-height: 1.9;
    color: rgba(255, 255, 255, .92);
}

.overview-card .icon {
    font-size: 32px;
    color: #16a34a;
    margin-bottom: 18px;
}

.overview-card h4 {
    margin-bottom: 10px;
    font-size: 22px;
    color: #0f172a;
}

.overview-card p {
    color: #64748b;
    line-height: 1.8;
}


/*==============================
Responsive
==============================*/

@media(max-width:992px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }
    .overview-main {
        grid-row: auto;
    }
}


/*==================================
ABOUT
==================================*/

.about-section {
    padding: 120px 0;
    background: #fff;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 520px 1fr;
    gap: 70px;
    align-items: center;
}

.about-photo {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .12);
}

.about-photo img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    transition: .8s;
}

.about-photo:hover img {
    transform: scale(1.08);
}

.photo-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 35px;
    background: linear-gradient(to top, rgba(0, 0, 0, .82), rgba(0, 0, 0, .15));
    color: #fff;
}

.photo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .18);
    backdrop-filter: blur(10px);
    padding: 10px 18px;
    border-radius: 100px;
    margin-bottom: 18px;
}

.photo-overlay h3 {
    font-size: 34px;
    margin-bottom: 12px;
}

.photo-overlay p {
    line-height: 1.8;
    opacity: .9;
}

.about-content h2 {
    font-size: 48px;
    line-height: 1.2;
    margin: 20px 0;
}

.about-description {
    font-size: 17px;
    line-height: 2;
    color: #64748b;
    margin-bottom: 35px;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.highlight-card {
    display: flex;
    gap: 18px;
    padding: 22px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #eef2f7;
    box-shadow: 0 15px 35px rgba(15, 23, 42, .05);
    transition: .35s;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(22, 163, 74, .12);
}

.highlight-card i {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #16A34A, #22C55E);
    color: #fff;
    font-size: 22px;
    flex-shrink: 0;
}

.highlight-card h4 {
    margin: 0 0 8px;
    font-size: 20px;
}

.highlight-card p {
    margin: 0;
    line-height: 1.8;
    color: #64748b;
}

@media(max-width:992px) {
    .about-wrapper {
        grid-template-columns: 1fr;
    }
    .about-photo {
        order: 2;
    }
    .about-content {
        order: 1;
    }
    .about-photo img {
        height: 420px;
    }
    .about-highlights {
        grid-template-columns: 1fr;
    }
    .about-content h2 {
        font-size: 36px;
    }
}


/* Stats grid */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem
}

.stat-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.4));
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm)
}

.stat-card i {
    font-size: 24px;
    color: var(--emerald-800)
}


/* Potentials cards */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem
}


/* ===========================
   Main Image Card
=========================== */

.overview-main {
    overflow: hidden;
    padding: 0;
}

.overview-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.overview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .6s;
}

.overview-main:hover .overview-image img {
    transform: scale(1.08);
}

.overview-content {
    padding: 28px;
}

.overview-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ECFDF5;
    color: #15803d;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.overview-content h3 {
    font-size: 1.8rem;
    margin-bottom: 14px;
    color: #0f172a;
}

.overview-content p {
    color: #64748b;
    line-height: 1.8;
}

.feature {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    padding: 1.2rem;
    text-align: left;
    transition: transform .25s var(--ease);
    border-radius: 12px
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(34, 197, 94, 0.06)
}


/*=========================================
STATISTICS
=========================================*/

.village-statistics {
    padding: 40px 0;
    background: #f8fafc;
}

.statistics-heading {
    max-width: 700px;
    margin: 0 auto 70px;
    text-align: center;
}

.statistics-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 100px;
    background: #dcfce7;
    color: #15803d;
    font-weight: 600;
    margin-bottom: 18px;
}

.statistics-heading h2 {
    font-size: 46px;
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 800;
    color: #0f172a;
}

.statistics-heading h2 span {
    color: #16a34a;
}

.statistics-heading p {
    color: #64748b;
    line-height: 1.8;
}

.statistics-wrapper {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 40px;
    align-items: start;
}

.statistics-highlight {
    background: linear-gradient(135deg, #166534, #22c55e);
    color: #fff;
    border-radius: 30px;
    padding: 35px;
    overflow: hidden;
    position: sticky;
    top: 120px;
}

.highlight-title {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    background: rgba(255, 255, 255, .15);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 14px;
}

.statistics-highlight h3 {
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.statistics-highlight p {
    color: rgba(255, 255, 255, .88);
    line-height: 1.8;
}

.statistics-highlight img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 22px;
    margin-top: 30px;
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.statistics-card {
    background: #fff;
    border-radius: 24px;
    padding: 28px;
    display: flex;
    gap: 22px;
    align-items: center;
    transition: .35s;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 40px rgba(15, 23, 42, .05);
}

.statistics-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, .10);
}

.statistics-icon {
    width: 74px;
    height: 74px;
    border-radius: 20px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 28px;
    flex-shrink: 0;
}

.statistics-card .num {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: #166534;
    line-height: 1;
    margin-bottom: 10px;
}

.statistics-card h4 {
    margin: 0;
    font-size: 20px;
    color: #0f172a;
}

.statistics-card small {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}


/*====================
Responsive
====================*/

@media(max-width:991px) {
    .statistics-wrapper {
        grid-template-columns: 1fr;
    }
    .statistics-highlight {
        position: relative;
        top: 0;
    }
}

@media(max-width:768px) {
    .statistics-grid {
        grid-template-columns: 1fr;
    }
    .statistics-heading h2 {
        font-size: 34px;
    }
    .statistics-highlight h3 {
        font-size: 30px;
    }
    .statistics-card {
        padding: 24px;
    }
    .statistics-card .num {
        font-size: 34px;
    }
    .statistics-icon {
        width: 65px;
        height: 65px;
        font-size: 24px;
    }
}


/* Service cards */

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem
}

.service-card {
    padding: 1.2rem;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), #fff);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: .8rem
}

.service-card i {
    font-size: 28px;
    color: var(--emerald-800)
}


/* News */

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem
}

.news-card {
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    background: var(--card);
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease)
}

.news-card:hover {
    transform: translateY(-8px)
}

.news-card img {
    width: 100%;
    height: 170px;
    object-fit: cover
}

.news-body {
    padding: 1rem
}


/* =========================
   Gallery Masonry
   ========================= */

.gallery-filter {
    display: flex;
    gap: .6rem;
    margin-bottom: 1rem
}

.filter-btn {
    padding: .5rem .9rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: transparent;
    cursor: pointer
}

.filter-btn.active {
    background: linear-gradient(90deg, var(--emerald-800), var(--emerald-600));
    color: white;
    border: none
}

.masonry {
    column-count: 4;
    column-gap: 1rem
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform .3s var(--ease)
}

.masonry-item img {
    width: 100%;
    display: block;
    height: auto;
    transform: scale(1);
    transition: transform .6s var(--ease)
}

.masonry-item:hover img {
    transform: scale(1.06)
}

.masonry-item figcaption {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: .8rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.45));
    color: white;
    font-weight: 600;
    font-size: .95rem
}


/* =========================
   Video / Timeline / Testimony
   ========================= */


/*=========================================
VIDEO SECTION
=========================================*/

.village-video {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: #ffffff;
}

.village-video::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(34, 197, 94, .07);
    top: -180px;
    right: -150px;
    filter: blur(70px);
}

.village-video::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(16, 185, 129, .05);
    bottom: -150px;
    left: -120px;
    filter: blur(60px);
}


/*====================*/

.video-heading {
    max-width: 760px;
    margin: auto;
    text-align: center;
    margin-bottom: 55px;
}

.video-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 100px;
    background: #ecfdf5;
    color: #16A34A;
    font-weight: 700;
    margin-bottom: 20px;
}

.video-heading h2 {
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    color: #0f172a;
}

.video-heading h2 span {
    color: #16A34A;
}

.video-heading p {
    font-size: 18px;
    line-height: 1.8;
    color: #64748b;
}


/*====================*/

.video-card {
    position: relative;
    border-radius: 28px;
}

.video-glow {
    position: absolute;
    inset: 20px;
    background: linear-gradient(135deg, #22C55E, #16A34A);
    border-radius: 35px;
    filter: blur(70px);
    opacity: .18;
}

.video-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 8px solid #fff;
    background: #fff;
    box-shadow: 0 40px 80px rgba(15, 23, 42, .12), 0 15px 35px rgba(0, 0, 0, .08);
}


/*====================*/

.video-wrap iframe {
    width: 100%;
    height: 680px;
    display: block;
    border: none;
}


/*====================*/

.video-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .15), transparent);
    pointer-events: none;
}


/*====================*/

@media(max-width:992px) {
    .video-wrap iframe {
        height: 520px;
    }
}

@media(max-width:768px) {
    .village-video {
        padding: 90px 0;
    }
    .video-heading h2 {
        font-size: 34px;
    }
    .video-heading p {
        font-size: 16px;
    }
    .video-wrap {
        border-radius: 20px;
        border-width: 6px;
    }
    .video-wrap iframe {
        height: 350px;
    }
}

.timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem
}

.timeline li {
    background: var(--card);
    padding: 1rem;
    border-radius: 12px;
    border-left: 4px solid var(--emerald-800);
    box-shadow: var(--shadow-sm)
}

.testi-slider {
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), #fff);
    padding: 1rem
}

.testi-track {
    display: flex;
    gap: 1rem;
    transition: transform .6s var(--ease)
}

.testi {
    min-width: 300px;
    background: transparent;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center
}

.testi img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover
}


/*==================================
PEMERINTAHAN DESA
==================================*/

.village-government {
    padding: 120px 0;
    background: #f8fafc;
}

.government-heading {
    max-width: 760px;
    margin: auto;
    text-align: center;
    margin-bottom: 70px;
}

.government-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: #ecfdf5;
    border-radius: 100px;
    color: #16A34A;
    font-weight: 700;
    margin-bottom: 20px;
}

.government-heading h2 {
    font-size: clamp(34px, 5vw, 48px);
    margin-bottom: 18px;
    font-weight: 800;
    color: #0f172a;
}

.government-heading p {
    font-size: 18px;
    color: #64748b;
    line-height: 1.8;
}


/*==========================*/

.leader-card {
    background: #fff;
    border-radius: 30px;
    padding: 40px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 45px;
    align-items: center;
    box-shadow: 0 25px 60px rgba(15, 23, 42, .08);
    margin-bottom: 70px;
    position: relative;
    overflow: hidden;
}

.leader-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(#22c55e, #16a34a);
}

.leader-photo img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid #ecfdf5;
    display: block;
    margin: auto;
}

.leader-content span {
    display: inline-block;
    padding: 8px 18px;
    background: #dcfce7;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    color: #15803d;
}

.leader-content h3 {
    font-size: 38px;
    margin-bottom: 15px;
    color: #0f172a;
}

.leader-content p {
    font-size: 17px;
    line-height: 1.9;
    color: #64748b;
}


/*==========================*/

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px;
}

.staff-card {
    background: #fff;
    border-radius: 24px;
    padding: 35px 25px;
    text-align: center;
    transition: .4s;
    box-shadow: 0 15px 35px rgba(15, 23, 42, .05);
    border: 1px solid #eef2f7;
}

.staff-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 55px rgba(0, 0, 0, .12);
}

.staff-card img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    margin: auto;
    border: 6px solid #ecfdf5;
    margin-bottom: 20px;
    transition: .4s;
}

.staff-card:hover img {
    transform: scale(1.08);
}

.staff-card h4 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #0f172a;
}

.staff-card span {
    color: #16A34A;
    font-weight: 600;
}


/*==========================*/

@media(max-width:900px) {
    .leader-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .leader-content h3 {
        font-size: 30px;
    }
}


/* =========================
   FAQ / Accordion
   ========================= */

.accordion {
    display: grid;
    gap: .4rem
}

.acc-item {
    background: transparent;
    border: 1px solid var(--border);
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.acc-item .acc-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    transition: transform .28s var(--ease)
}

.acc-item[aria-expanded="true"] {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.06), rgba(34, 197, 94, 0.03))
}

.acc-item[aria-expanded="true"] .acc-icon {
    transform: rotate(45deg)
}

.acc-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height .36s var(--ease);
    background: transparent;
    padding: 0 1rem;
    border-left: 3px solid rgba(15, 23, 42, 0.03);
    color: var(--muted);
    font-weight: 500
}

.acc-panel.open {
    padding: .8rem 1rem
}


/* =========================
   CTA / Contact / Footer
   ========================= */


/*======================================
        OFFICIAL CTA SIUMBATU
======================================*/

.village-cta {
    padding: 100px 0;
    position: relative;
}

.village-cta-box {
    position: relative;
    display: grid;
    grid-template-columns: 1.5fr 430px;
    gap: 60px;
    overflow: hidden;
    padding: 65px;
    border-radius: 32px;
    background: linear-gradient(135deg, #0f766e 0%, #059669 50%, #10b981 100%);
    color: #fff;
    box-shadow: 0 30px 80px rgba(15, 118, 110, .25);
}

.village-cta-box::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -150px;
    top: -150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

.village-cta-box::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    left: -90px;
    bottom: -120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
}

.village-cta-left {
    position: relative;
    z-index: 2;
}

.cta-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(10px);
    font-weight: 600;
    margin-bottom: 22px;
}

.village-cta-left h2 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 720px;
}

.village-cta-left p {
    color: rgba(255, 255, 255, .85);
    font-size: 17px;
    line-height: 1.9;
    max-width: 700px;
    margin-bottom: 35px;
}

.cta-feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .10);
    backdrop-filter: blur(10px);
    transition: .35s;
}

.cta-feature:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, .18);
}

.cta-feature i {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    color: #059669;
    font-size: 20px;
    flex-shrink: 0;
}

.cta-feature span {
    font-weight: 600;
}

.village-cta-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.cta-card {
    width: 100%;
    padding: 40px;
    border-radius: 28px;
    background: #fff;
    color: #1f2937;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
}

.cta-icon {
    width: 85px;
    height: 85px;
    margin: auto;
    border-radius: 24px;
    background: linear-gradient(135deg, #059669, #10b981);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 34px;
    margin-bottom: 25px;
}

.cta-card h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 12px;
}

.cta-card p {
    text-align: center;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cta-buttons .btn {
    width: 100%;
    justify-content: center;
}

@media(max-width:992px) {
    .village-cta-box {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 40px;
    }
    .cta-feature-list {
        grid-template-columns: 1fr;
    }
}

@media(max-width:576px) {
    .village-cta {
        padding: 70px 0;
    }
    .village-cta-box {
        padding: 28px;
        border-radius: 24px;
    }
    .village-cta-left h2 {
        font-size: 30px;
    }
    .cta-card {
        padding: 30px 24px;
    }
}


/*====================================
CONTACT
====================================*/

.village-contact {
    padding: 40px 0;
    background: #f8fafc;
}

.contact-heading {
    text-align: center;
    max-width: 760px;
    margin: auto;
    margin-bottom: 70px;
}

.contact-heading h2 {
    font-size: 42px;
    margin: 18px 0;
}

.contact-heading p {
    color: #64748b;
    line-height: 1.8;
}

.section-tag {
    display: inline-block;
    padding: 8px 18px;
    background: #dcfce7;
    color: #15803d;
    font-weight: 700;
    border-radius: 50px;
}

.village-contact-grid {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 35px;
    align-items: start;
}

.office-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .08);
}

.office-image img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    display: block;
}

.office-body {
    padding: 35px;
}

.office-body h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.office-body p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 35px;
}

.office-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.office-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.office-icon {
    width: 55px;
    height: 55px;
    border-radius: 18px;
    background: #16a34a;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    flex-shrink: 0;
}

.office-item span {
    display: block;
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 5px;
}

.office-item strong {
    font-size: 16px;
    line-height: 1.6;
}


/* FORM */

.wa-form-card {
    background: white;
    padding: 35px;
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .08);
}

.wa-form-card h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.wa-form-card p {
    color: #64748b;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    font-size: 15px;
    transition: .3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #16a34a;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, .12);
}

.wa-form-card button {
    width: 100%;
    padding: 18px;
    font-size: 17px;
    border-radius: 14px;
}

@media(max-width:991px) {
    .village-contact-grid {
        grid-template-columns: 1fr;
    }
}


/*==========================
FOOTER
==========================*/

.village-footer {
    position: relative;
    overflow: hidden;
    background: #063b31;
    color: #fff;
    padding: 90px 0 30px;
}

.footer-pattern {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, .08), transparent 35%), radial-gradient(circle at bottom right, rgba(16, 185, 129, .15), transparent 30%);
    pointer-events: none;
}

.footer-top {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr 1.3fr 1fr;
    gap: 50px;
    z-index: 2;
}

.footer-brand img {
    width: 90px;
    height: 90px;
    border-radius: 22px;
    object-fit: cover;
    margin-bottom: 20px;
    background: #fff;
    padding: 10px;
}

.footer-brand h2 {
    font-size: 32px;
    margin-bottom: 18px;
}

.footer-brand p {
    line-height: 1.9;
    color: rgba(255, 255, 255, .75);
}

.footer-menu h3,
.footer-contact h3,
.footer-social h3 {
    font-size: 22px;
    margin-bottom: 25px;
}

.footer-menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-menu li {
    margin-bottom: 16px;
}

.footer-menu a {
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    transition: .3s;
}

.footer-menu a:hover {
    padding-left: 8px;
    color: #4ade80;
}

.footer-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 22px;
}

.footer-item i {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, .08);
    color: #4ade80;
    font-size: 17px;
    flex-shrink: 0;
}

.footer-item span {
    line-height: 1.8;
    color: rgba(255, 255, 255, .75);
}

.footer-social p {
    color: rgba(255, 255, 255, .75);
    line-height: 1.8;
    margin-bottom: 25px;
}

.social-list {
    display: flex;
    gap: 14px;
}

.social-list a {
    width: 52px;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, .08);
    color: white;
    font-size: 20px;
    transition: .35s;
}

.social-list a:hover {
    background: #22c55e;
    transform: translateY(-8px);
}

.footer-divider {
    height: 1px;
    background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, .18), transparent);
    margin: 60px 0 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: rgba(255, 255, 255, .7);
    font-size: 15px;
}

.footer-bottom strong {
    color: #4ade80;
}

@media(max-width:1100px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:768px) {
    .village-footer {
        padding: 70px 0 25px;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .footer-item {
        justify-content: center;
        text-align: left;
    }
    .social-list {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-brand img {
        margin: auto;
        margin-bottom: 20px;
    }
}


/* =========================
   Back to top, Loading, Lazy
   =
.lazy {
    opacity: 0;
    transform: translateY(8px) scale(.995);
    transition: opacity .6s var(--ease), transform .6s var(--ease)
}

.lazy.loaded {
    opacity: 1;
    transform: none
}


/* =========================
   Animations & Keyframes
   ========================= */

@keyframes blobFloat {
    0% {
        transform: translateY(0) scale(1)
    }
    50% {
        transform: translateY(-12px) scale(1.04)
    }
    100% {
        transform: translateY(0) scale(1)
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px)
    }
    to {
        opacity: 1;
        transform: none
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(14px)
    }
    to {
        opacity: 1;
        transform: none
    }
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(-14px)
    }
    to {
        opacity: 1;
        transform: none
    }
}

.reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--reveal-duration) var(--ease), transform var(--reveal-duration) var(--ease)
}

.reveal.show {
    opacity: 1;
    transform: none
}


/* Apply data-animate presets */

[data-animate="fade-up"].show {
    animation: fadeUp var(--reveal-duration) var(--ease) both
}

[data-animate="fade-left"].show {
    animation: fadeLeft var(--reveal-duration) var(--ease) both
}

[data-animate="fade-right"].show {
    animation: fadeRight var(--reveal-duration) var(--ease) both
}


/* =========================
   Small screens responsive tweaks
   ========================= */

@media (max-width:1100px) {
    .hero-grid {
        grid-template-columns: 1fr 420px
    }
    .about-grid {
        grid-template-columns: 1fr
    }
    .container {
        width: 94%
    }
    .masonry {
        column-count: 3
    }
    .gallery-filter {
        justify-content: center
    }
}

@media (max-width:820px) {
    /* Header / mobile */
    .nav {
        display: none
    }
    .header-inner {
        justify-content: space-between
    }
    #mobile-toggle {
        display: inline-flex
    }
    .hero-grid {
        grid-template-columns: 1fr
    }
    .hero-media {
        order: -1;
        margin-bottom: 1rem
    }
    .masonry {
        column-count: 2
    }
    .cta-grid {
        flex-direction: column;
        text-align: center
    }
    .contact-grid {
        grid-template-columns: 1fr
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem
    }
    .trust-grid {
        grid-template-columns: 1fr
    }
    .hero-image img {
        height: 320px
    }
    .hero-title {
        font-size: clamp(24px, 5vw, 38px)
    }
    .floating-cards {
        justify-content: flex-start
    }
}

@media (max-width:560px) {
    .masonry {
        column-count: 1
    }
    .hero-image img {
        height: 260px
    }
    .hero-sub {
        max-width: 100%
    }
    .logo-text h1 {
        font-size: 16px
    }
    .nav-link {
        padding: .5rem .6rem
    }
    .hero-stats {
        flex-direction: column
    }
    .stat {
        min-width: unset;
        width: 100%
    }
    .testi {
        min-width: 260px
    }
    .about-grid {
        grid-template-columns: 1fr
    }
}


/* =========================
   Utilities: small helpers
   ========================= */

.center {
    display: flex;
    align-items: center;
    justify-content: center
}


/* =========================
   Interactive states (FAQ / Accordion open)
   ========================= */

.acc-panel {
    --panel-max: 600px
}

.acc-panel.open {
    max-height: var(--panel-max)
}


/* =========================
   Reveal delay helpers for floating cards
   ========================= */

.float-card[style*="--delay:120ms"] {
    transition-delay: .12s
}

.float-card[style*="--delay:240ms"] {
    transition-delay: .24s
}


/* =========================
   Smooth image overlay for news & gallery
   ========================= */

.news-card .news-body .category {
    color: var(--muted);
    display: block;
    margin-bottom: .4rem;
    font-weight: 600
}

.news-card .link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .6rem
}


/* =========================
   Tiny performance hints (prefers-reduced-motion)
   ========================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important
    }
}


/* =========================
   End of file
   ========================= */


/*====================================
LOCATION
====================================*/

.location-section {
    padding: 40px 0;
    background: linear-gradient(180deg, #f8fbff, #eef8f3);
}

.location-wrapper {
    display: grid;
    grid-template-columns: 1.7fr .9fr;
    gap: 35px;
    align-items: stretch;
    margin-top: 60px;
}

.location-map {
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .08);
    border: 1px solid rgba(0, 0, 0, .06);
    min-height: 650px;
    position: relative;
}

.location-map::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    border: 4px solid rgba(255, 255, 255, .3);
    pointer-events: none;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location-card {
    background: #fff;
    border-radius: 22px;
    padding: 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .06);
    border: 1px solid rgba(0, 0, 0, .05);
    transition: .35s;
}

.location-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(16, 185, 129, .18);
}

.location-icon {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981, #22c55e);
    color: #fff;
    font-size: 28px;
}

.location-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #0f172a;
}

.location-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.8;
}

.location-button {
    margin-top: auto;
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
    padding: 18px 25px;
    border-radius: 18px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 700;
    font-size: 16px;
    transition: .35s;
    box-shadow: 0 20px 40px rgba(16, 185, 129, .25);
}

.location-button:hover {
    transform: translateY(-5px);
    color: #fff;
    box-shadow: 0 28px 60px rgba(16, 185, 129, .35);
}

@media(max-width:992px) {
    .location-wrapper {
        grid-template-columns: 1fr;
    }
    .location-map {
        min-height: 450px;
    }
}

@media(max-width:768px) {
    .location-section {
        padding: 80px 0;
    }
    .location-map {
        min-height: 350px;
        border-radius: 20px;
    }
    .location-card {
        padding: 22px;
    }
    .location-icon {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }
}


/*==================================================
POTENTIAL
==================================================*/

.village-potential {
    padding: 40px 0;
    background: #fff;
}


/* =============================
   POTENTIAL CARD
============================= */

.potential-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.potential-card {
    background: #ffffff;
    padding: 32px;
    border-radius: 28px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .06);
    transition: .35s ease;
    position: relative;
    overflow: hidden;
}

.potential-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(22, 163, 74, .15);
}

.potential-icon {
    width: 70px;
    height: 70px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient( 135deg, #16a34a, #4ade80);
    color: white;
    font-size: 30px;
    margin-bottom: 25px;
}

.potential-content span {
    display: inline-block;
    color: #16a34a;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.potential-content h3 {
    font-size: 22px;
    color: #0f172a;
    margin-bottom: 12px;
}

.potential-content p {
    color: #64748b;
    line-height: 1.7;
    font-size: 15px;
}


/* Hover icon */

.potential-card:hover .potential-icon {
    transform: rotate(-5deg) scale(1.05);
}

@media(max-width:992px) {
    .potential-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:640px) {
    .potential-grid {
        grid-template-columns: 1fr;
    }
}


/*==================================
SERVICES
==================================*/

.village-services {
    padding: 40px 0;
    background: #f8fafc;
}

.services-heading {
    text-align: center;
    max-width: 760px;
    margin: auto;
    margin-bottom: 70px;
}

.services-heading h2 {
    font-size: clamp(34px, 5vw, 50px);
    margin: 18px 0;
    font-weight: 800;
    line-height: 1.2;
}

.services-heading h2 span {
    color: #16A34A;
}

.services-heading p {
    color: #64748b;
    line-height: 1.8;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.service-box {
    background: #fff;
    border-radius: 24px;
    padding: 35px;
    border: 1px solid #e5e7eb;
    transition: .35s;
    position: relative;
    overflow: hidden;
}

.service-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #16A34A, #4ADE80);
    transform: scaleX(0);
    transition: .35s;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .08);
}

.service-box:hover::before {
    transform: scaleX(1);
}

.service-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.service-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, #16A34A, #22C55E);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(22, 163, 74, .3);
}

.service-number {
    font-size: 42px;
    font-weight: 800;
    color: #d1d5db;
}

.service-box h3 {
    font-size: 24px;
    margin-bottom: 14px;
    color: #111827;
}

.service-box p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 30px;
}

.service-box a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #16A34A;
    font-weight: 700;
    transition: .3s;
}

.service-box:hover a {
    gap: 16px;
}

@media(max-width:768px) {
    .services-list {
        grid-template-columns: 1fr;
    }
    .service-box {
        padding: 28px;
    }
    .services-heading {
        margin-bottom: 50px;
    }
    .services-heading h2 {
        font-size: 34px;
    }
    .service-icon {
        width: 62px;
        height: 62px;
        font-size: 24px;
    }
    .service-number {
        font-size: 32px;
    }
}


/*======================================
GALERI
======================================*/

#gallery {
    position: relative;
    padding: 40px 0;
    overflow: hidden;
}

#gallery::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(34, 197, 94, .08);
    top: -150px;
    left: -150px;
    filter: blur(60px);
}

#gallery::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(16, 185, 129, .08);
    right: -120px;
    bottom: -120px;
    filter: blur(70px);
}

#gallery .section-title {
    text-align: center;
    font-size: clamp(34px, 5vw, 46px);
    margin-bottom: 20px;
    font-weight: 800;
    color: #0f172a;
}


/*======================================
FILTER
======================================*/

.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 55px;
}

.filter-btn {
    border: none;
    background: #fff;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: .35s;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .04);
}

.filter-btn:hover {
    transform: translateY(-4px);
    color: #16A34A;
    border-color: #22c55e;
}

.filter-btn.active {
    background: linear-gradient(135deg, #16A34A, #22C55E);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 15px 35px rgba(22, 163, 74, .35);
}


/*======================================
MASONRY
======================================*/

.masonry {
    columns: 4 280px;
    column-gap: 22px;
}

.masonry-item {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    margin-bottom: 22px;
    break-inside: avoid;
    cursor: pointer;
    background: #fff;
    border: 1px solid #eef2f7;
    box-shadow: 0 15px 35px rgba(15, 23, 42, .05);
    transition: .45s;
}

.masonry-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, .12);
}

.masonry-item img {
    width: 100%;
    display: block;
    transition: transform .8s;
}

.masonry-item:hover img {
    transform: scale(1.08);
}


/*======================================
OVERLAY
======================================*/

.masonry-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, .85), rgba(15, 23, 42, .15), transparent);
    opacity: 0;
    transition: .4s;
    z-index: 1;
}

.masonry-item:hover::before {
    opacity: 1;
}

.masonry-item::after {
    content: "\f00e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(10px);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.7);
    opacity: 0;
    transition: .35s;
    z-index: 2;
    font-size: 22px;
}

.masonry-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}


/*======================================
CAPTION
======================================*/

.masonry-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 24px;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    transform: translateY(30px);
    opacity: 0;
    transition: .35s;
}

.masonry-item:hover figcaption {
    transform: translateY(0);
    opacity: 1;
}


/*======================================
RESPONSIVE
======================================*/

@media(max-width:1200px) {
    .masonry {
        columns: 3 260px;
    }
}

@media(max-width:900px) {
    .masonry {
        columns: 2 220px;
    }
}

@media(max-width:600px) {
    .gallery-filter {
        gap: 10px;
    }
    .filter-btn {
        padding: 12px 18px;
        font-size: 14px;
    }
    .masonry {
        columns: 1;
    }
    .masonry-item {
        border-radius: 18px;
    }
}


/* ======================================
   GALLERY LIGHTBOX
====================================== */

.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .92);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: .35s;
    z-index: 9999;
}

.gallery-lightbox.show {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .45);
    transform: scale(.9);
    transition: .35s;
}

.gallery-lightbox.show img {
    transform: scale(1);
}

.gallery-close {
    position: absolute;
    top: 25px;
    right: 30px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(12px);
    color: #fff;
    font-size: 22px;
    transition: .3s;
}

.gallery-close:hover {
    background: #22c55e;
}

.masonry-item::before,
.masonry-item::after,
.masonry-item figcaption {
    pointer-events: none;
}


/*==================================
FAQ
===================================*/

.faq-section {
    padding: 40px 0;
    background: radial-gradient(circle at top right, #dff7ea 0%, transparent 35%), #f8fafc;
}

.faq-header {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 100px;
    background: #e9fdf3;
    color: #0f766e;
    font-weight: 700;
    margin-bottom: 18px;
}

.faq-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 18px;
    color: #0f172a;
}

.faq-header p {
    color: #64748b;
    line-height: 1.8;
    font-size: 1.05rem;
}

.faq-wrapper {
    max-width: 900px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.acc-item {
    width: 100%;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 26px 70px 26px 28px;
    border-radius: 22px;
    background: #fff;
    text-align: left;
    font-size: 1.08rem;
    font-weight: 700;
    color: #0f172a;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .06);
    transition: .35s;
}

.acc-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(16, 185, 129, .18);
}

.acc-item::after {
    content: "+";
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #10b981;
    color: white;
    font-size: 24px;
    font-weight: 700;
    transition: .35s;
}

.acc-item[aria-expanded="true"] {
    color: #059669;
    border-radius: 22px 22px 0 0;
}

.acc-item[aria-expanded="true"]::after {
    content: "−";
    transform: translateY(-50%) rotate(180deg);
    background: #047857;
}

.acc-panel {
    background: white;
    margin-top: -18px;
    border-radius: 0 0 22px 22px;
    overflow: hidden;
    max-height: 0;
    transition: max-height .45s ease;
    padding: 0 28px;
    color: #64748b;
    line-height: 1.9;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .06);
}

.acc-panel.open {
    padding: 28px;
}

@media(max-width:768px) {
    .faq-section {
        padding: 80px 0;
    }
    .acc-item {
        padding: 22px 60px 22px 20px;
        font-size: 1rem;
    }
    .acc-item::after {
        width: 38px;
        height: 38px;
        right: 18px;
    }
    .acc-panel.open {
        padding: 22px;
    }
}


/* =========================
   Contact Map
========================= */

.office-map {
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 28px 28px 0 0;
    background: #e5e7eb;
}

.office-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.wa-float {
    position: fixed;
    bottom: 10px;
    left: 10px;
    z-index: 999;
    border-radius: 50%;
    padding: 10px;
    transition: transform 0.2s ease-in-out;
}

.wa-float:hover {
    transform: scale(1.1);
}

.wa-float img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.wa-popup {
    position: fixed;
    bottom: 75px;
    left: 10px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 8px 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 220px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-family: sans-serif;
}

.wa-popup-text {
    font-size: 14px;
    color: #222;
    z-index: 99999;
}

.wa-popup-close {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #000;
    font-weight: bold;
}

.whatsapp-ripple {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    background: #25D366;
    /* Warna khas WhatsApp */
    animation: ripple 2s infinite;
    z-index: -1;
    opacity: 0.5;
    z-index: -9999;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.3;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@media (max-width:900px) {
    .wa-float {
        bottom: 5px;
    }
    .wa-popup {
        bottom: 75px;
    }
}

emoji-picker {
    position: absolute;
    bottom: 50px;
    right: 55px;
    width: 300px;
    height: 350px;
    z-index: 1000;
    display: none;
}

#chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #22C55E;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
    z-index: 1000;
    border: none;
    transition: background-color 0.3s ease;
}

#chat-toggle:hover {
    background: #1aad50;
}

#chat-toggle:active {
    transform: translateY(1px);
}

#chatbot {
    display: none;
    position: fixed;
    bottom: 70px;
    right: 85px;
    z-index: 99999;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
}

.center {
    position: static;
    transform: none;
    display: flex;
}

.pic {
    width: 4rem;
    height: 4rem;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
}

.contact {
    position: relative;
    margin-bottom: 1rem;
    padding-left: 5rem;
    height: 4.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact .pic {
    position: absolute;
    left: 0;
}

.contact .name {
    font-weight: 500;
    margin-bottom: 0.125rem;
}

.contact .message,
.contact .seen {
    font-size: 0.9rem;
    color: #999;
}

.contact .badge {
    box-sizing: border-box;
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    padding-top: 0.125rem;
    border-radius: 1rem;
    top: 0;
    left: 2.5rem;
    background: #333;
    color: #fff;
}

.contacts {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-6rem, -50%);
    width: 24rem;
    height: 32rem;
    padding: 1rem 2rem 1rem 1rem;
    box-sizing: border-box;
    border-radius: 1rem 0 0 1rem;
    cursor: pointer;
    background: #fff;
    transition: transform 500ms;
}

.contacts:hover {
    transform: translate(-23rem, -50%);
}

.contacts h2 {
    margin: 0.5rem 0 1.5rem 5rem;
}

.contacts .fa-bars {
    position: absolute;
    left: 2.25rem;
    color: #999;
    transition: color 200ms;
}

.contacts .fa-bars:hover {
    color: #666;
}

.chat {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28rem;
    height: 38rem;
    z-index: 2;
    box-sizing: border-box;
    border-radius: 1rem;
    background: #fff;
    overflow: hidden;
}

.chat .contact.bar {
    flex-basis: 3.5rem;
    flex-shrink: 0;
    margin: 1rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.messages {
    padding: 1rem;
    background: #fcfcfc;
    flex: 1 1 auto;
    overflow-y: auto;
}

.messages .time {
    font-size: 0.8rem;
    background: #EEE;
    padding: 0.25rem 1rem;
    border-radius: 2rem;
    color: #999;
    width: fit-content;
    margin: 0 auto;
}

.messages .message {
    box-sizing: border-box;
    padding: 0.5rem 1rem;
    margin: 1rem;
    background: #FFF;
    border-radius: 1.125rem 1.125rem 1.125rem 0;
    min-height: 2.25rem;
    width: fit-content;
    max-width: 66%;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.messages .message.parker {
    margin: 1rem 1rem 1rem auto;
    border-radius: 1.125rem 1.125rem 0 1.125rem;
    background: #333;
    color: #fff;
}

.input {
    box-sizing: border-box;
    position: relative;
    flex-basis: 3.5rem;
    /* dikit lebih kecil dari 4rem */
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 0 0.4rem 0 1rem;
    /* dikit lebih sempit */
    background: #fff;
    gap: 0.4rem;
    /* dikit lebih kecil */
}

.input i {
    font-size: 1.25rem;
    /* dikit lebih kecil dari 1.5rem */
    margin-right: 0.2rem;
    color: #666;
    cursor: pointer;
    transition: color 200ms;
}

.input i:hover {
    color: #333;
}

.input input {
    border: none;
    background-color: white;
    padding: 0.4rem 0.8rem;
    margin-right: 0.2rem;
    border-radius: 1rem;
    flex-grow: 2;
    font-family: 'Red Hat Display', sans-serif;
    font-weight: 400;
    letter-spacing: 0.025em;
    font-size: 0.9rem;
}

#send-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1.25rem;
    color: #333;
}

.chat .contact.bar .name {
    margin-right: 65px;
    white-space: nowrap;
}

.chat .contact.bar .seen {
    margin-right: 320px;
    color: #25D366;
}

.pic {
    width: 50px;
    height: 50px;
    background-color: #22C55E;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 5px;
}

.pic img {
    padding-top: 5px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#chat-toggle {
    box-shadow: none;
}

.suggested-chips-wrapper {
    width: 100%;
    padding: 6px;
    box-sizing: border-box;
    background: #fefefe;
    border-top: 1px solid #ddd;
    position: sticky;
    bottom: 0;
    z-index: 5;
}

.suggested-chips {
    display: flex;
    gap: 8px;
    user-select: none;
    overflow: hidden;
    cursor: grab;
}

.suggested-chips .chip {
    padding: 6px 12px;
    background: white;
    border-radius: 20px;
    border: 1px solid #ccc;
    white-space: nowrap;
    font-size: 14px;
    flex-shrink: 0;
}

.wa-chip i.fab.fa-whatsapp {
    color: #25D366;
    margin-right: 6px;
}

.wa-chip a {
    color: #007bff;
    text-decoration: none;
}

.wa-chip a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .chat .contact.bar .name {
        margin-right: 20px;
        white-space: nowrap;
        font-size: 0.8rem;
    }
    .chat .contact.bar .seen {
        margin-right: 240px;
        color: #25D366;
    }
    #chatbot {
        bottom: 160px;
        right: 19px;
    }
    .chat {
        width: 22rem;
        height: 36rem;
    }
    #chat-toggle {
        bottom: 40px;
    }
    /* emoji-picker {
                bottom: -400px !important;
            } */
}

@media screen and (min-width: 768px) and (max-width: 850px) {
    #chatbot {
        right: 10px;
        bottom: 70px;
    }
}

.weather-card {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    border-radius: 24px;
    padding: 28px;
    color: white;
    box-shadow: 0 20px 40px rgba(22, 163, 74, .25);
    margin-bottom: 25px;
}

.weather-top {
    display: flex;
    align-items: center;
    gap: 18px;
}

.weather-icon {
    width: 65px;
    height: 65px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.weather-icon i {
    font-size: 32px;
}

.weather-top h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.weather-top p {
    margin: 5px 0 0;
    opacity: .9;
    font-size: 14px;
}

.weather-main {
    margin: 25px 0;
}

.weather-main h2 {
    font-size: 52px;
    margin: 0;
    font-weight: 800;
}

.weather-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.weather-item {
    background: rgba(255, 255, 255, .15);
    border-radius: 18px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.weather-item i {
    font-size: 22px;
}

.weather-item span {
    display: block;
    font-size: 12px;
    opacity: .85;
}

.weather-item b {
    font-size: 15px;
}

@media(max-width:576px) {
    .weather-detail {
        grid-template-columns: 1fr;
    }
}


/* =========================
   FLOATING DIGITAL CLOCK
========================= */

.floating-clock {
    position: fixed;
    right: 20px;
    bottom: 480px;
    width: 180px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .12);
    border: 1px solid rgba(22, 163, 74, .15);
    z-index: 999;
    cursor: grab;
    user-select: none;
    transition: .3s ease;
}

.floating-clock:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(22, 163, 74, .18);
}

.floating-clock:active {
    cursor: grabbing;
}


/* HEADER */

.clock-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #15803d;
    margin-bottom: 8px;
}

.clock-header i {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dcfce7;
    border-radius: 50%;
    font-size: 12px;
}


/* JAM */

.clock-time {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 8px;
}


/* TANGGAL */

.clock-date {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 10px;
}


/* LOKASI */

.clock-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: #475569;
    white-space: nowrap;
}

.clock-location i {
    color: #16a34a;
}


/* MOBILE */

@media(max-width:576px) {
    .floating-clock {
        width: 150px;
        right: 12px;
        bottom: 650px;
        padding: 12px;
        border-radius: 15px;
    }
    .clock-time {
        font-size: 22px;
    }
    .clock-date {
        font-size: 10px;
    }
    .clock-location {
        font-size: 8px;
    }
}