/* ========================================
   Dinas Kominfo — Layout V6
   Solid Green (#338D24) · Particle Animation
   layout with animated bg
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- Tokens ---------- */
:root {
    /* Core Brand Colors */
    --green: #338D24;
    --green-l: #3fa32d;
    --green-d: #2a7a1d;
    --green-dd: #1e5c14;

    /* Base Layout Tokens */
    --bg: #f3f2ef;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-alt: #F3F4ED;
    /* For light secondary sections */
    --text: #1a1d24;
    --text-2: #52565e;
    --text-3: #8e95a5;
    --border: #e4e7ed;
    --border-l: #eef0f4;

    --shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 6px 20px rgba(0, 0, 0, .04);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, .07), 0 2px 8px rgba(0, 0, 0, .03);

    --radius: 16px;
    --radius-sm: 12px;
    --radius-xs: 6px;
    --tr: .3s cubic-bezier(.4, 0, .2, 1);
    --nav-h: 64px;
    --max-w: 1280px;
    --accent: #FF5A36;
    --hero-bg: linear-gradient(135deg, var(--green-dd) 0%, var(--green) 100%);

    /* Theme Toggle */
    --toggle-bg: #f1f5f9;
    --toggle-hover: #e2e8f0;

    /* Navbar & Dropdown Colors */
    --nav-bg: #ffffff;
    --nav-text: #1e293b;
    --nav-text-muted: #64748b;
    --nav-border: #e2e8f0;
    --nav-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    --nav-shadow-scroll: 0 4px 20px rgba(0, 0, 0, 0.08);

    /* Brand */
    --brand-primary: #1a365d;
    --brand-accent: #2d8a4e;

    /* Dropdown */
    --dropdown-bg: #ffffff;
    --dropdown-border: #e2e8f0;
    --dropdown-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
    --dropdown-link-hover: #f8fafc;
    --dropdown-text: #334155;
    --dropdown-text-hover: #338D24;
    /* Brand Green */

    /* Mega Menu */
    --mega-bg: #ffffff;
    --mega-sidebar-bg: #f8fafc;
    --mega-content-bg: #ffffff;
    --mega-text: #475569;
    --mega-text-hover: #338D24;
    --mega-heading: #1e293b;
    --mega-category-active: #338D24;
    --mega-border: rgba(0, 0, 0, 0.08);
    --mega-accent-bar: linear-gradient(to right, #338D24, #3fa32d);
}

/* Dark Theme */
[data-theme="dark"] {
    --bg: #1f1f1f;
    --bg-white: #0b0b0b;
    --bg-card: #2b2b2b;
    --bg-alt: #1f1f1f;
    --text: #fdfdfd;
    --text-2: #bbbbbb;
    --text-3: #888888;
    --border: rgba(255, 255, 255, 0.12);
    --border-l: rgba(255, 255, 255, 0.06);

    --shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.7);

    --green: #338D24;
    --green-l: #3fa32d;
    --green-d: #2a7a1d;

    /* Navbar & Dropdown Dark Overrides */
    --nav-bg: #121212;
    --nav-text: #e2e8f0;
    --nav-text-muted: #94a3b8;
    --nav-border: #252525;
    --nav-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    --nav-shadow-scroll: 0 4px 20px rgba(0, 0, 0, 0.6);

    --brand-primary: #e2e8f0;

    --dropdown-bg: #181818;
    --dropdown-border: #252525;
    --dropdown-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 4px 16px rgba(0, 0, 0, 0.5);
    --dropdown-link-hover: #222222;
    --dropdown-text: #cbd5e1;
    --dropdown-text-hover: var(--green);

    --mega-bg: #181818;
    --mega-sidebar-bg: #181818;
    --mega-content-bg: #222222;
    --mega-text: #94a3b8;
    --mega-text-hover: var(--green);
    --mega-heading: #e2e8f0;
    --mega-category-active: var(--green);
    --mega-border: rgba(255, 255, 255, 0.05);

    --toggle-bg: #181818;
    --toggle-hover: #252525;
    --hero-bg: linear-gradient(135deg, var(--green-dd) 0%, var(--green) 100%);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--green);
    text-decoration: none;
    transition: var(--tr);
}

a:hover {
    color: var(--green-d);
}

img {
    display: block;
    max-width: 100%;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--green);
    border-radius: 10px;
}

/* ==============================
   CUSTOM INTERACTIVE CURSOR
   ============================== */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 99999;
    opacity: 1;
    transition: opacity 0.3s ease-in-out, transform 0.15s ease-out, width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    margin-top: -4px;
    margin-left: -4px;
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1.5px solid var(--accent);
    margin-top: -15px;
    margin-left: -15px;
}

/* Hover States */
.cursor-dot.active {
    width: 60px;
    height: 60px;
    margin-top: -30px;
    margin-left: -30px;
    background-color: rgba(255, 90, 54, 0.15);
    border: 1px solid var(--accent);
}

.cursor-outline.active {
    opacity: 0;
}

/* Custom cursor removed — native cursor restored */

/* ==============================
   NAVBAR
   ============================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--nav-border);
    box-shadow: var(--nav-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    box-shadow: var(--nav-shadow-scroll);
}

.navbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 64px;
}

/* ---- Brand ---- */
.nav-brand {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo-img {
    height: 42px;
    width: auto;
    display: block;
    transition: var(--tr);
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
    gap: 0;
    justify-content: center;
}

.nav-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--brand-primary);
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.2;
}

.nav-subtitle {
    font-size: 12px;
    font-weight: 600;
    color: var(--nav-text-muted);
    letter-spacing: 1px;
    text-transform: none;
    margin: 0;
    line-height: 1.1;
}

.brand-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--brand-primary);
    letter-spacing: 0.5px;
}

.brand-sub {
    font-size: 10px;
    font-weight: 600;
    color: var(--nav-text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ---- Nav Links ---- */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 100%;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--nav-text);
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
}

.nav-link:hover {
    color: var(--dropdown-text-hover);
    background: rgba(45, 138, 78, 0.06);
}

.dropdown-arrow {
    transition: transform 0.3s ease, color 0.3s ease;
    opacity: 0.6;
}

.nav-item.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--dropdown-text-hover);
}

/* ---- Right Section ---- */
.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: var(--toggle-bg);
    color: var(--nav-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: var(--toggle-hover);
}

.icon-moon {
    display: none;
}

[data-theme="dark"] .icon-sun {
    display: none;
}

[data-theme="dark"] .icon-moon {
    display: block;
}

/* ==============================
   DROPDOWN MENUS
   ============================== */
.dropdown-menu {
    position: absolute;
    top: calc(100%);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 200px;
    background: var(--dropdown-bg);
    border: 1px solid var(--dropdown-border);
    border-radius: 14px;
    box-shadow: var(--dropdown-shadow);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 100;
}

.nav-item.has-dropdown:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Invisible bridge to prevent menu from closing */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.dropdown-column {
    display: flex;
    flex-direction: column;
}

.dropdown-link {
    display: block;
    padding: 10px 14px;
    font-size: 13.5px;
    font-weight: 450;
    color: var(--dropdown-text);
    border-radius: 8px;
    transition: all 0.15s ease;
    position: relative;
    text-decoration: none;
}

.dropdown-link:hover {
    color: var(--dropdown-text-hover);
    background: var(--dropdown-link-hover);
    padding-left: 20px;
}

.dropdown-link:hover::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background: var(--dropdown-text-hover);
    border-radius: 2px;
}

/* Dropdown with separator between columns */
.dropdown-column+.dropdown-column {
    border-top: 1px solid var(--dropdown-border);
    margin-top: 4px;
    padding-top: 4px;
}

/* ==============================
   NESTED SUB-DROPDOWN
   ============================== */
.dropdown-nested {
    min-width: 220px;
}

.dropdown-item-nested {
    position: relative;
}

.dropdown-link.has-sub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 10px;
}

.dropdown-link.has-sub svg {
    opacity: 0.4;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.dropdown-item-nested:hover>.dropdown-link.has-sub {
    color: var(--dropdown-text-hover);
    background: var(--dropdown-link-hover);
}

.dropdown-item-nested:hover>.dropdown-link.has-sub svg {
    opacity: 1;
    color: var(--dropdown-text-hover);
    transform: translateX(2px);
}

/* Prevent the green bar from showing on has-sub links */
.dropdown-link.has-sub:hover::before {
    display: none;
}

.dropdown-link.has-sub:hover {
    padding-left: 14px;
}

/* Sub-dropdown flyout */
.sub-dropdown {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 180px;
    background: var(--dropdown-bg);
    border: 1px solid var(--dropdown-border);
    border-radius: 12px;
    box-shadow: var(--dropdown-shadow);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(6px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 110;
}

.dropdown-item-nested:hover>.sub-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

/* Invisible bridge between parent item and sub-dropdown */
.sub-dropdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 8px;
    height: 100%;
}

/* ==============================
   MEGA MENU
   ============================== */
.mega-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--mega-bg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 99;
    border-top: 3px solid transparent;
    border-image: var(--mega-accent-bar) 1;
}

.nav-item.has-megamenu:hover>.mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mega-menu-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    min-height: 280px;
}

/* ---- Mega Sidebar ---- */
.mega-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: var(--mega-sidebar-bg);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-right: 1px solid var(--mega-border);
}

.mega-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--mega-text);
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.mega-category:hover {
    color: var(--mega-category-active);
    background: rgba(45, 138, 78, 0.06);
}

.mega-category.active {
    color: var(--mega-category-active);
    background: rgba(45, 138, 78, 0.12);
    font-weight: 600;
}

.mega-category svg {
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s ease;
}

.mega-category:hover svg,
.mega-category.active svg {
    opacity: 1;
    transform: translateX(0);
}

/* ---- Mega Content ---- */
.mega-content {
    flex: 1;
    background: var(--mega-content-bg);
    padding: 28px 32px;
    position: relative;
    overflow: hidden;
}

.mega-panel {
    display: none;
    gap: 40px;
    animation: megaFadeIn 0.25s ease forwards;
}

.mega-panel.active {
    display: flex;
}

@keyframes megaFadeIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mega-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mega-heading {
    font-size: 13px;
    font-weight: 700;
    color: var(--mega-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 10px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--mega-border);
}

.mega-link {
    display: block;
    padding: 7px 0;
    font-size: 13.5px;
    font-weight: 400;
    color: var(--mega-text);
    position: relative;
    padding-left: 0;
    text-decoration: none;
}

.mega-link:hover {
    color: var(--mega-text-hover);
    padding-left: 10px;
}

.mega-link:hover::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 14px;
    background: var(--mega-text-hover);
    border-radius: 2px;
}

/* Mobile Icon (hidden on desktop) */
.mobile-nav-icon {
    display: none;
}

/* ==========================================
   HERO SECTION — Solid Green + Particles
   ========================================== */
.hero {
    margin-top: var(--nav-h);
    background: #ffffff;
    position: relative;
    overflow: hidden;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 32px 200px;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    background-image:
        linear-gradient(rgba(149, 149, 149, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(149, 149, 149, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    contain: paint;
    will-change: auto;
}



/* Green Glow Blobs */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    width: 464px;
    height: 485px;
    background: #338D24;
    border-radius: 9999px;
    filter: blur(225px);
    opacity: 0.75;
    z-index: 0;
    pointer-events: none;
    transform: translateZ(0);
    will-change: auto;
}

.hero::before {
    top: -50px;
    left: 45%;
    transform: translateX(-50%);
}

.hero::after {
    top: 20px;
    left: 55%;
    transform: translateX(-50%);
    width: 374px;
    height: 374px;
}

/* ===== Neuron Canvas ===== */
.neuron-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Allow mouse events on the hero for canvas interaction */
.hero {
    pointer-events: auto;
}

/* ===== Hero Content ===== */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 958px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.8rem, 8vw, 4.8rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #1a1a2e 0%, var(--green) 50%, #1a1a2e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 24px;
    word-wrap: break-word;
    animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.6;
    animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(51, 141, 36, 0.24);
    color: var(--green);
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid rgba(51, 141, 36, 0.15);
    animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.hero-badge .dot-pulse {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    position: relative;
    will-change: auto;
}

.hero-badge .dot-pulse::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite;
    will-change: transform, opacity;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

@keyframes heroFadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}



/* ===== Hero Dark Mode ===== */
[data-theme="dark"] .hero {
    background-color: #0b0b0b;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

[data-theme="dark"] .hero::before,
[data-theme="dark"] .hero::after {
    opacity: 1;
    filter: blur(250px);
}

[data-theme="dark"] .hero h1 {
    background: linear-gradient(to right, #ffffff 0%, #338D24 35%, #338D24 65%, #ffffff 95%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

[data-theme="dark"] .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--green);
    color: #fff;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
    opacity: 0;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 16px;
    background: var(--green);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(51, 141, 36, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: skewX(-25deg);
    transition: 0.75s;
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    20%, 100% { left: 150%; }
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(51, 141, 36, 0.3);
    background: var(--green-d);
}

.btn-primary svg {
    transition: var(--tr);
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 1.0);
    border: 1px solid rgba(51, 141, 36, 0.2);
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: #fff;
    border-color: var(--green);
    color: var(--green);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Floating Elements Styles */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    contain: layout paint;
    will-change: auto;
}

.particle {
    position: absolute;
    background: var(--green);
    border-radius: 50%;
    opacity: 0.15;
    animation: float 8s infinite ease-in-out;
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

@keyframes float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    33% { transform: translate3d(10px, -20px, 0); }
    66% { transform: translate3d(-15px, 10px, 0); }
}

/* ---------- Feature Cards (Overlapping) ---------- */
.features-bar {
    position: relative;
    z-index: 5;
    margin-top: -120px;
    padding: 0 32px 60px;
}

.features-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
}

.feature-card {
    padding: 40px 36px;
    position: relative;
    transition: var(--tr);
}

.feature-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20%;
    bottom: 20%;
    right: 0;
    width: 1px;
    background: var(--border);
}

.feature-card:hover {
    background: rgba(51, 141, 36, .02);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 26px;
    height: 26px;
}

.feature-icon.fi-1 {
    background: rgba(51, 141, 36, .08);
    color: var(--green);
}

.feature-icon.fi-2 {
    background: rgba(51, 141, 36, .08);
    color: var(--green);
}

.feature-icon.fi-3 {
    background: rgba(51, 141, 36, .08);
    color: var(--green);
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: .84rem;
    color: var(--text-2);
    line-height: 1.7;
}

/* ==========================================
   PAGE SECTIONS & UTILS
   ========================================== */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 32px;
}

.page-section {
    padding: 60px 0;
}

.intro-heading {
    text-align: center;
    max-width: 600px;
    margin: 80px auto 40px;
    padding: 0 20px;
}

.intro-heading h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.4;
    letter-spacing: -.02em;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
}

.sh-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sh-line {
    width: 4px;
    height: 32px;
    background: var(--accent);
    border-radius: 2px;
}

.sh-title h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -.02em;
    text-transform: uppercase;
    line-height: 1;
    margin: 0;
}

.sh-link {
    font-size: .85rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.sh-link:hover {
    color: #d94220;
}

.btn-outline-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border: 1px solid var(--accent);
    border-radius: 6px;
    color: var(--accent);
    font-weight: 700;
    font-size: .85rem;
    background: transparent;
    transition: var(--tr);
}

.btn-outline-accent:hover {
    background: var(--accent);
    color: #fff;
}

/* ---------- Berita Section ---------- */
.berita-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.b-col-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.b-col-right {
    display: flex;
    flex-direction: column;
}

/* Large Card */
.b-card-lg {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    display: flex;
    cursor: pointer;
}

.b-card-lg img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.4, 0, .2, 1), opacity .3s ease;
    opacity: .85;
}

.b-card-lg:hover img {
    transform: scale(1.05);
    opacity: .7;
}

.b-card-lg-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.5) 55%, transparent 100%);
    color: #fff;
    pointer-events: none;
    transition: padding .3s ease;
}

.b-card-lg:hover .b-card-lg-content {
    padding-bottom: 36px;
}

.b-card-lg-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.b-badge-blue {
    background: rgba(224, 242, 254, .95);
    color: #0369a1;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: .65rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.b-card-lg .b-date {
    font-size: .75rem;
    color: rgba(255, 255, 255, .9);
    font-weight: 500;
}

.b-card-lg .b-title {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 8px;
}

.b-card-lg .b-excerpt {
    font-size: .8rem;
    color: rgba(255, 255, 255, .8);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 2 Small Cards Grid */
.b-sm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.b-card-md {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    padding: 0;
    transition: var(--tr);
    cursor: pointer;
    align-items: stretch;
}

.b-card-md:hover {
    transform: translateY(-4px);
}

.b-card-md img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
    transition: transform .4s cubic-bezier(.4, 0, .2, 1), box-shadow .4s ease;
}

.b-card-md:hover img {
    transform: scale(1.02);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .15);
}

.b-badge-red {
    background: #fee2e2;
    color: #dc2626;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .62rem;
    font-weight: 700;
    align-self: flex-start;
    width: max-content;
    margin-bottom: 2px;
}

.b-card-md .b-badge-red {
    margin-bottom: 0px;
    padding: 5px 16px;
    font-size: .65rem;
}

.b-card-md .b-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.4;
    transition: color .2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.b-card-md:hover .b-title {
    color: var(--green);
}

.b-card-md .b-excerpt {
    font-size: .85rem;
    color: var(--text-2);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.b-card-md .b-date {
    font-size: .75rem;
    color: var(--text-3);
    font-weight: 500;
    margin-top: auto;
}

/* Right Column List */
.b-list-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: var(--tr);
    cursor: pointer;
    border-left: 3px solid transparent;
    padding-left: 0;
}

.b-list-item:hover {
    border-left-color: var(--green);
    padding-left: 12px;
}

.b-list-item:first-child {
    padding-top: 0;
}

.b-list-item:last-child {
    border-bottom: none;
}

.b-list-item .b-badge-red {
    align-self: flex-start;
}

.b-list-item .b-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.4;
    transition: color .2s ease;
}

.b-list-item:hover .b-title {
    color: var(--green);
}

.b-list-item .b-excerpt {
    font-size: .8rem;
    color: var(--text-2);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.b-list-item .b-date {
    font-size: .7rem;
    color: var(--text-3);
    font-weight: 500;
}

/* ---------- Agenda Section ---------- */
.section-agenda {
    background: var(--bg-white);
    padding: 100px 0;
}

.agenda-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 80px;
    align-items: stretch;
}

.agenda-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.agenda-desc {
    font-size: .85rem;
    color: var(--text-2);
    line-height: 1.6;
    margin-bottom: 24px;
}

.agenda-cards {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 10px 20px 0;
    scroll-snap-type: x mandatory;
}

.agenda-cards::-webkit-scrollbar {
    height: 6px;
}

.agenda-cards::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 4px;
}

.agenda-cards::-webkit-scrollbar-track {
    background: transparent;
}

.a-card {
    flex: 0 0 240px;
    scroll-snap-align: start;
    background: var(--bg-alt);
    border-radius: 6px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--tr);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.a-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-card);
}

.a-date {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.a-m {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.2;
}

.a-d {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    margin: 4px 0;
}

.a-y {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.2;
}

.a-title {
    font-size: .85rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 16px;
}

.a-divider {
    width: 100%;
    height: 1px;
    background: var(--border);
    margin-bottom: 16px;
}

.a-meta {
    font-size: .75rem;
    color: var(--text-2);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.a-link {
    font-size: .75rem;
    font-weight: 700;
    color: var(--text);
    align-self: flex-end;
    transition: var(--tr);
}

.a-card:hover .a-link {
    color: var(--accent);
}

/* ---------- Artikel Section ---------- */
.section-artikel {
    background: var(--bg-alt);
    padding: 80px 0;
}

.artikel-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.artikel-subheading {
    font-size: .95rem;
    color: var(--text-2);
    max-width: 600px;
    line-height: 1.6;
}

.sh-link-accent {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.artikel-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 10px 10px 40px 0;
    scroll-snap-type: x mandatory;
}

.artikel-grid::-webkit-scrollbar {
    height: 6px;
}

.artikel-grid::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.artikel-grid::-webkit-scrollbar-track {
    background: transparent;
}

.ar-card {
    flex: 0 0 350px;
    scroll-snap-align: start;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--tr);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.ar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.ar-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.ar-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ar-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.ar-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: .65rem;
    font-weight: 700;
    background: var(--green-l);
    color: #fff;
}

.ar-date {
    font-size: .75rem;
    color: var(--text-3);
    font-weight: 500;
}

.ar-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 12px;
}

.ar-excerpt {
    font-size: .85rem;
    color: var(--text-2);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ar-footer {
    border-top: 1px solid var(--border-l);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ar-author,
.ar-views {
    font-size: .75rem;
    font-weight: 500;
    color: var(--text-3);
}

/* ---------- Galeri Section  ---------- */
.section-galeri {
    background: var(--bg-alt);
    padding: 100px 0;
    overflow: hidden;
}

.galeri-v2-header {
    position: absolute;
    top: 0px;
    left: 104px;
    z-index: 10;
    max-width: 600px;
}

.gv2-title-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.gv2-accent {
    width: 5px;
    height: 32px;
    background: #EE5A36;
    border-radius: 2px;
    flex-shrink: 0;
}

.gv2-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text);
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -.02em;
}

.gv2-desc {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-2);
    line-height: 1.6;
    max-width: 600px;
    margin-left: 21px;
}

.galeri-v2-wrapper {
    position: relative;
    max-width: 1440px;
    height: 800px;
    margin: 0 auto;
}

.gal-v2-item {
    position: absolute;
    border-radius: 10px;
    background: var(--bg-card);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gal-v2-item:hover {
    transform: scale(1.03) translateY(-5px);
    z-index: 10;
}

.gal-v2-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Specific Positions (based on 1440px layout) */
.g-item-1 {
    width: 299px;
    height: 359px;
    left: 104px;
    top: 180px;
}

.g-item-2 {
    width: 265px;
    height: 312px;
    left: 1072px;
    top: 120px;
}

.g-item-3 {
    width: 295px;
    height: 215px;
    left: 839px;
    top: 450px;
}

.g-item-4 {
    width: 312px;
    height: 430px;
    left: 739px;
    top: 0px;
}

.g-item-5 {
    width: 392px;
    height: 264px;
    left: 426px;
    top: 450px;
}

.g-item-6 {
    width: 290px;
    height: 260px;
    left: 426px;
    top: 170px;
}

.galeri-v2-footer {
    text-align: right;
    max-width: 1440px;
    margin: -60px auto 0;
    padding: 0 100px;
    position: relative;
    z-index: 10;
}

.see-all-v2 {
    color: #EE5A36;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: var(--tr);
}

.see-all-v2:hover {
    color: #d94c2c;
    filter: brightness(0.9);
}

/* ---------- Video Section ---------- */
.section-video {
    padding: 100px 0 120px;
    position: relative;
    background: var(--bg);
}

.video-desc {
    max-width: 500px;
    margin-bottom: 60px;
    font-size: .85rem;
    color: var(--text-2);
    line-height: 1.6;
}

.video-layout {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.v-bg-shape-1 {
    position: absolute;
    top: -30px;
    left: -60px;
    width: 180px;
    height: 140px;
    background: var(--green);
    border-radius: 20px;
    z-index: 0;
}

.v-bg-shape-2 {
    position: absolute;
    bottom: -40px;
    right: -60px;
    width: 160px;
    height: 180px;
    background: var(--green);
    border-radius: 40px 10px 100px 40px;
    z-index: 0;
}

.v-bg-shape-3 {
    position: absolute;
    top: -50px;
    right: 0;
    width: 60px;
    height: 30px;
    background: var(--green);
    border-radius: 30px;
    z-index: 0;
}

.v-player {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--bg-alt);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* ---------- Link Section ---------- */
.link-section {
    padding: 80px 0;
    text-align: center;
    background: var(--bg-white);
}

.link-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-2);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.8;
}

.link-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.link-grid img {
    height: 45px;
    max-width: 160px;
    object-fit: contain;
    opacity: 1;
    transition: var(--tr);
}

[data-theme="dark"] .link-grid img {
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 8px;
}

.link-grid img:hover {
    transform: scale(1.05);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--bg-white);
    padding: 60px 32px 30px;
    border-top: 1px solid var(--border);
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.f-brand-box {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
}

.f-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 4px;
    background: var(--bg-alt);
    padding: 2px;
}

.f-logo-square {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: var(--bg-white);
    font-weight: 800;
    font-size: .8rem;
}

.f-brand-title {
    display: flex;
    flex-direction: column;
}

.f-name {
    font-weight: 800;
    font-size: .9rem;
    color: var(--text);
    line-height: 1.2;
}

.f-sub {
    font-weight: 500;
    font-size: .75rem;
    color: var(--text-3);
}

.f-desc {
    font-size: .8rem;
    color: var(--text-2);
    line-height: 1.6;
    max-width: 300px;
}

.f-col h4 {
    font-size: .9rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
}

.f-col p {
    font-size: .8rem;
    color: var(--text-2);
    line-height: 1.6;
}

.f-socials {
    display: flex;
    gap: 14px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.f-soc {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(51, 141, 36, 0.1);
    border: 1.5px solid transparent;
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.f-soc::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.f-soc:hover {
    background: var(--green);
    color: var(--bg-white);
    border-color: var(--green-l);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(51, 141, 36, 0.3);
}

.f-soc:hover::before {
    opacity: 1;
}

.f-soc svg {
    transition: transform 0.3s ease;
    z-index: 1;
}

.f-soc:hover svg {
    transform: scale(1.15) rotate(8deg);
}

/* Platform-specific colors on hover */
.f-soc-fb:hover {
    background: #1877f2;
    border-color: #0a66c2;
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.3);
}

.f-soc-ig:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-color: #764ba2;
    box-shadow: 0 8px 20px rgba(118, 75, 162, 0.3);
}

.f-soc-tw:hover {
    background: #1da1f2;
    border-color: #1a8cd8;
    box-shadow: 0 8px 20px rgba(29, 161, 242, 0.3);
}

.f-soc-yt:hover {
    background: #ff0000;
    border-color: #cc0000;
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
}

.f-soc-wa:hover {
    background: #25d366;
    border-color: #1aad56;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.f-bottom {
    max-width: var(--max-w);
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    font-size: .75rem;
    color: var(--text-3);
}

/* Footer Bottom Bar */
.footer-bottom-bar {
    width: 100%;
    padding: 24px 40px;
    margin-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    font-size: .75rem;
    color: var(--text-3);
    box-sizing: border-box;
}

.footer-bottom-bar p {
    margin: 0;
    flex-shrink: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
    flex-shrink: 0;
    margin-left: auto;
}

.footer-bottom-links a {
    color: var(--green);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: .75rem;
    font-weight: 500;
}

.footer-bottom-links a:hover {
    color: var(--green-d);
    text-decoration: underline;
}

/* ========== Dark Mode Footer ========== */
[data-theme="dark"] .f-soc {
    background: rgba(51, 141, 36, 0.15);
    color: var(--green);
}

[data-theme="dark"] .f-soc:hover {
    color: var(--bg-white);
    box-shadow: 0 8px 20px rgba(51, 141, 36, 0.4);
}

[data-theme="dark"] .f-logo-img {
    background: rgba(255, 255, 255, 0.08);
}

/* ---------- Animations ---------- */
.feature-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp .6s ease forwards;
}

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

.feature-card:nth-child(1) {
    animation-delay: .1s;
}

.feature-card:nth-child(2) {
    animation-delay: .2s;
}

.feature-card:nth-child(3) {
    animation-delay: .3s;
}

/* ==============================================
   RESPONSIVE
   ============================================== */

/* ---- 1400px: Galeri grid fallback ---- */
@media (max-width: 1400px) {
    .galeri-v2-wrapper {
        height: auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 0 40px;
    }

    .galeri-v2-header {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 32px;
        padding: 0;
        grid-column: 1 / -1;
    }

    .gv2-desc {
        margin-left: 21px;
    }

    .gal-v2-item {
        position: relative;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        height: 280px !important;
    }

    .gal-v2-item.g-item-4 {
        grid-row: span 2;
        height: 580px !important;
    }

    .galeri-v2-footer {
        margin-top: 24px;
        padding: 0 40px;
    }
}

/* ---- 1200px: Small desktop ---- */
@media (max-width: 1200px) {
    .container {
        padding: 0 28px;
    }

    /* Berita: tighter columns */
    .berita-grid {
        gap: 28px;
    }

    .b-card-lg .b-title {
        font-size: 1.15rem;
    }

    .b-card-lg .b-excerpt {
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .b-list-item .b-title {
        font-size: .95rem;
    }

    .b-list-item .b-excerpt {
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    /* Agenda */
    .agenda-layout {
        gap: 48px;
    }

    /* Link grid */
    .link-grid {
        gap: 28px;
    }

    .link-grid img {
        height: 40px;
        max-width: 140px;
    }

    /* Footer */
    .footer-inner {
        gap: 28px;
    }
}

/* ==========================================
   RESPONSIVE (Mobile Nav)
   ========================================== */
@media (max-width: 1024px) {
    :root {
        --nav-h: 60px;
        --radius: 12px;
    }

    /* Navbar Top Adjustments */
    .logo-icon {
        width: 36px;
        height: 36px;
    }

    .brand-title {
        font-size: 13px;
    }

    .brand-sub {
        font-size: 9px;
    }

    .navbar {
        top: 0;
        bottom: auto;
        box-shadow: none;
        border-bottom: 1px solid var(--nav-border);
    }

    .navbar.scrolled {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    }

    /* Floating Bottom Nav Pill */
    .nav-links {
        position: fixed;
        bottom: 24px;
        top: auto;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 32px);
        max-width: 500px;
        background: var(--nav-bg);
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        gap: 4px;
        height: auto;
        border-radius: 40px;
        border: 1px solid var(--nav-border);
        z-index: 1000;
        opacity: 1;
        pointer-events: auto;
    }

    .nav-item {
        width: auto;
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
        border-bottom: none;
        position: static;
    }

    .nav-link {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 4px 0;
        font-size: 11px;
        font-weight: 600;
        color: var(--nav-text-muted);
        gap: 3px;
        line-height: 1.1;
    }

    .mobile-nav-icon {
        width: 22px;
        height: 22px;
        display: block;
    }

    .nav-link .dropdown-arrow {
        display: none;
    }

    .nav-link:hover,
    .nav-item.mobile-open .nav-link {
        color: var(--brand-accent);
        background: transparent;
    }

    /* Dropdowns reset for mobile: Pop UP vertically */
    .dropdown-menu,
    .mega-menu {
        position: fixed !important;
        top: auto !important;
        bottom: 90px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: calc(100vw - 32px) !important;
        max-width: 480px !important;
        max-height: calc(100vh - 150px) !important;
        overflow-y: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
        border: 1px solid var(--nav-border);
        border-radius: 20px;
        background: var(--nav-bg);
        padding: 16px;
        margin: 0;
        z-index: 1050;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    }

    .sub-dropdown {
        position: static;
        width: 100%;
        display: none;
        border: none;
        border-radius: 12px;
        background: rgba(0, 0, 0, 0.04);
        padding: 8px;
        margin-top: 8px;
        box-shadow: none;
    }

    [data-theme="dark"] .sub-dropdown {
        background: var(--dropdown-link-hover);
    }

    .dropdown-item-nested.mobile-open>.sub-dropdown {
        display: block !important;
        animation: slideDownFade 0.3s ease forwards;
    }

    @keyframes slideDownFade {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

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

    [data-theme="dark"] .dropdown-menu,
    [data-theme="dark"] .mega-menu {
        background: var(--dropdown-bg) !important;
    }

    .nav-item.mobile-open>.dropdown-menu,
    .nav-item.mobile-open>.mega-menu {
        display: block !important;
        animation: popUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes popUp {
        from {
            opacity: 0;
            transform: translateY(20px) scale(0.95);
        }

        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .dropdown-link {
        padding: 12px 16px;
        font-size: 15px;
    }

    .mega-menu-inner {
        flex-direction: column;
        min-height: auto;
        padding: 8px 0;
    }

    .mega-sidebar {
        width: 100%;
        border-right: none;
        background: transparent;
    }

    .mega-category {
        padding: 14px 16px;
        font-weight: 600;
        font-size: 15px;
    }

    .mega-category svg {
        transition: transform 0.3s ease;
        opacity: 0.6;
        display: block;
    }

    .mega-category.mobile-active svg {
        transform: rotate(90deg);
        opacity: 1;
    }

    .mega-content {
        padding: 0;
        width: 100%;
    }

    .mega-panel {
        display: none !important;
        flex-direction: column;
        gap: 12px;
        margin: 4px 12px 16px 32px;
        padding: 12px 16px;
        border-radius: 12px;
        background: rgba(0, 0, 0, 0.02);
    }

    [data-theme="dark"] .mega-panel {
        background: rgba(255, 255, 255, 0.03);
    }

    .mega-panel.mobile-active {
        display: flex !important;
    }
}

/* ---- Tablet — Unified Content Spacing ---- */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .page-section {
        padding: 50px 0;
    }

    .hide-mobile {
        display: none;
    }

    /* Hero — Tablet */
    .hero {
        min-height: 480px;
        padding: 100px 24px 140px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-desc {
        font-size: .9rem;
        max-width: 480px;
    }

    /* Features — Tablet */
    .features-bar {
        margin-top: -100px;
        padding: 0 24px 40px;
    }

    .feature-card {
        padding: 30px 24px;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 16px;
    }

    .feature-icon svg {
        width: 22px;
        height: 22px;
    }

    .feature-card h3 {
        font-size: .95rem;
    }

    .feature-card p {
        font-size: .8rem;
    }

    /* Intro heading — Tablet */
    .intro-heading {
        margin: 60px auto 32px;
    }

    .intro-heading h2 {
        font-size: 1.35rem;
    }

    /* Berita — Tablet: Enhanced layout */
    .section-berita {
        padding: 50px 0;
    }

    .berita-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Hero card stays full-width, slightly shorter */
    .b-card-lg img {
        height: 300px;
    }

    .b-card-lg .b-title {
        font-size: 1.15rem;
    }

    .b-card-lg .b-excerpt {
        -webkit-line-clamp: 2;
        line-clamp: 2;
        font-size: .78rem;
    }

    .b-card-lg-content {
        padding: 24px;
    }

    /* Medium cards → horizontal layout side by side */
    .b-sm-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-top: 24px;
    }

    .b-card-md {
        gap: 10px;
    }

    .b-card-md img {
        object-fit: cover;
    }

    .b-card-md .b-badge-red {
        font-size: .58rem;
        padding: 3px 12px;
    }

    .b-card-md .b-title {
        font-size: .95rem;
    }

    .b-card-md .b-date {
        font-size: .68rem;
    }

    /* Right column → styled card list with accent borders */
    .b-col-right {
        margin-top: 28px;
        padding-top: 28px;
        border-top: 2px solid var(--border);
        position: relative;
    }

    .b-col-right::before {
        content: 'Berita Lainnya';
        position: absolute;
        top: -12px;
        left: 0;
        background: var(--bg);
        padding: 0 16px 0 0;
        font-size: .7rem;
        font-weight: 700;
        color: var(--text-3);
        text-transform: uppercase;
        letter-spacing: 1.5px;
    }

    .b-list-item {
        padding: 16px;
        margin-bottom: 10px;
        background: var(--bg-card);
        border-radius: 10px;
        border: 1px solid var(--border);
        border-left: 3px solid var(--accent);
        box-shadow: 0 1px 4px rgba(0, 0, 0, .03);
        gap: 8px;
    }

    .b-list-item::before {
        display: none;
    }

    .b-list-item:first-child {
        padding-top: 16px;
    }

    .b-list-item:last-child {
        border-bottom: 1px solid var(--border);
        margin-bottom: 0;
    }

    .b-list-item:hover {
        border-left-color: var(--green);
        box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
        transform: translateX(4px);
    }

    .b-list-item .b-title {
        font-size: .92rem;
    }

    .b-list-item .b-excerpt {
        font-size: .78rem;
        -webkit-line-clamp: 1;
        line-clamp: 1;
    }

    /* Agenda — Tablet */
    .section-agenda {
        padding: 70px 0;
    }

    .agenda-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .agenda-left {
        text-align: center;
        align-items: center;
    }

    .agenda-desc {
        max-width: 500px;
    }

    /* Artikel — Tablet */
    .section-artikel {
        padding: 60px 0;
    }

    .artikel-meta-row {
        flex-wrap: wrap;
        gap: 12px;
    }

    /* Galeri — Tablet (≤1024 & >992) inherits 1400 grid */

    /* Video — Tablet */
    .section-video {
        padding: 70px 0 90px;
    }

    .video-desc {
        margin-bottom: 40px;
    }

    .v-bg-shape-1 {
        width: 140px;
        height: 110px;
        left: -40px;
        top: -20px;
    }

    .v-bg-shape-2 {
        width: 130px;
        height: 140px;
        right: -40px;
        bottom: -30px;
    }

    /* Link — Tablet */
    .link-section {
        padding: 60px 0;
    }

    .link-grid {
        gap: 24px;
        padding: 0 16px;
    }

    .link-grid img {
        height: 36px;
        max-width: 130px;
    }

    .link-title {
        font-size: .9rem;
        margin-bottom: 28px;
    }

    /* Footer — Tablet */
    .footer {
        padding: 48px 24px 24px;
    }

    .footer-inner {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 24px;
    }

    .footer-bottom-bar {
        padding: 20px 24px;
        margin-top: 16px;
        font-size: .73rem;
    }
}

/* ---- 992px: Galeri 2-column ---- */
@media (max-width: 992px) {
    .galeri-v2-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .gal-v2-item {
        height: 240px !important;
    }

    .gal-v2-item.g-item-4 {
        grid-row: span 2;
        height: 496px !important;
    }

    .gv2-title {
        font-size: 1.5rem;
    }

    .gv2-desc {
        font-size: .9rem;
    }
}

/* ---- 768px: Mobile Large ---- */
@media (max-width: 768px) {
    :root {
        --nav-h: 56px;
    }

    .container {
        padding: 0 20px;
    }

    .page-section {
        padding: 40px 0;
    }

    /* Hero */
    .hero {
        min-height: 380px;
        padding: 100px 20px 100px;
        clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-desc {
        font-size: .85rem;
        margin-bottom: 24px;
        max-width: 420px;
    }

    .hero-badge {
        font-size: .68rem;
        padding: 5px 14px;
        margin-bottom: 18px;
    }

    /* Features */
    .features-bar {
        margin-top: -60px;
        padding: 0 20px 32px;
    }

    .features-inner {
        grid-template-columns: 1fr;
    }

    .feature-card:not(:last-child)::after {
        width: 80%;
        height: 1px;
        left: 10%;
        right: 10%;
        top: auto;
        bottom: 0;
    }

    .feature-card {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 28px 20px;
    }

    /* Intro heading */
    .intro-heading {
        margin: 40px auto 24px;
        padding: 0 16px;
    }

    .intro-heading h2 {
        font-size: 1.15rem;
    }

    /* Berita — Mobile Large Enhanced */
    .section-berita {
        padding: 36px 0;
    }

    /* Hero card */
    .b-card-lg {
        border-radius: 14px;
    }

    .b-card-lg img {
        height: 220px;
    }

    .b-card-lg .b-title {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .b-card-lg .b-excerpt {
        font-size: .72rem;
        -webkit-line-clamp: 1;
        line-clamp: 1;
    }

    .b-card-lg-content {
        padding: 18px;
    }

    .b-card-lg-meta {
        margin-bottom: 8px;
    }

    /* Medium cards → 2 columns side by side on mobile */
    .b-sm-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        margin-top: 18px;
    }

    .b-card-md {
        padding: 0;
        gap: 8px;
    }

    .b-card-md .b-excerpt {
        display: none;
    }

    .b-card-md .b-badge-red {
        font-size: .55rem;
        padding: 2px 8px;
    }

    .b-card-md .b-title {
        font-size: .86rem;
    }

    .b-card-md .b-date {
        font-size: .65rem;
    }

    /* Right column — stacked cards */
    .b-col-right {
        margin-top: 20px;
        padding-top: 20px;
    }

    .b-col-right::before {
        font-size: .65rem;
    }

    .b-list-item {
        padding: 14px;
        margin-bottom: 8px;
        border-radius: 8px;
        gap: 6px;
    }

    .b-list-item .b-title {
        font-size: .88rem;
    }

    .b-list-item .b-excerpt {
        font-size: .75rem;
        -webkit-line-clamp: 1;
        line-clamp: 1;
    }

    .b-list-item .b-date {
        font-size: .65rem;
    }

    .sh-title h2 {
        font-size: 1.5rem;
    }

    /* Agenda */
    .section-agenda {
        padding: 50px 0;
    }

    .agenda-desc {
        font-size: .82rem;
    }

    .a-card {
        flex: 0 0 220px;
        padding: 20px;
    }

    .a-d {
        font-size: 1.8rem;
    }

    .a-title {
        font-size: .8rem;
    }

    /* Artikel */
    .section-artikel {
        padding: 50px 0;
    }

    .artikel-subheading {
        font-size: .85rem;
    }

    .ar-card {
        flex: 0 0 260px;
    }

    .ar-img {
        height: 150px;
    }

    .ar-body {
        padding: 18px;
    }

    .ar-title {
        font-size: .9rem;
    }

    .ar-excerpt {
        font-size: .8rem;
        margin-bottom: 14px;
    }

    /* Galeri */
    .section-galeri {
        padding: 60px 0;
    }

    .galeri-v2-wrapper {
        padding: 0 20px;
        gap: 14px;
    }

    .gal-v2-item {
        height: 200px !important;
    }

    .gal-v2-item.g-item-4 {
        height: 414px !important;
    }

    .galeri-v2-footer {
        padding: 0 20px;
        margin-top: 20px;
    }

    /* Video */
    .section-video {
        padding: 50px 0 70px;
    }

    .video-desc {
        font-size: .82rem;
        margin-bottom: 32px;
        max-width: 100%;
    }

    .v-bg-shape-1,
    .v-bg-shape-2,
    .v-bg-shape-3 {
        display: none;
    }

    .v-player {
        border-radius: 8px;
    }

    .video-footer {
        margin-top: 32px !important;
    }

    /* Link */
    .link-section {
        padding: 50px 0;
    }

    .link-title {
        font-size: .85rem;
        margin-bottom: 24px;
        letter-spacing: 1px;
    }

    .link-grid {
        gap: 20px;
        padding: 0 12px;
    }

    .link-grid img {
        height: 32px;
        max-width: 110px;
    }

    /* Footer */
    .footer {
        padding: 40px 20px 90px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
    }

    .f-brand-box {
        justify-content: center;
    }

    .f-desc {
        margin: 0 auto;
        max-width: 280px;
    }

    .f-socials {
        justify-content: center;
    }

    .f-bottom {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        font-size: .7rem;
    }
}

/* ---- 600px: Mobile Medium (Galeri 1-col) ---- */
@media (max-width: 600px) {

    /* Galeri → Keep 2 columns to prevent overly large tiles */
    .galeri-v2-wrapper {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 16px;
        gap: 12px;
    }

    .gal-v2-item {
        height: 150px !important;
    }

    .gal-v2-item.g-item-4 {
        grid-row: span 2;
        height: 312px !important;
    }

    /* (150*2)+12 */
    .galeri-v2-footer {
        padding: 0 16px;
        margin-top: 16px;
    }

    .gv2-title {
        font-size: 1.3rem;
    }

    .gv2-desc {
        font-size: .85rem;
        margin-left: 21px;
    }

    /* Berita — 600px refinements */
    .b-list-item:nth-child(n+4) {
        display: none;
    }

    .b-sm-grid {
        gap: 14px;
    }

    .b-card-md {
        padding: 0;
        gap: 8px;
    }

    .b-card-md .b-title {
        font-size: .82rem;
    }

    .b-card-md .b-date {
        font-size: .62rem;
    }

    .b-card-md .b-badge-red {
        font-size: .52rem;
        padding: 2px 6px;
    }

    .b-list-item {
        padding: 12px;
        margin-bottom: 6px;
    }

    .b-list-item .b-title {
        font-size: .84rem;
    }

    /* Artikel cards tighter */
    .ar-card {
        flex: 0 0 240px;
    }

    .ar-img {
        height: 140px;
    }

    .ar-body {
        padding: 16px;
    }

    /* Agenda cards tighter */
    .a-card {
        flex: 0 0 200px;
        padding: 18px;
    }

    /* Navbar pill tighter */
    .nav-links {
        padding: 8px 12px;
        bottom: 16px;
        width: calc(100% - 24px);
    }

    .nav-link {
        font-size: 10px;
    }

    .mobile-nav-icon {
        width: 20px;
        height: 20px;
    }

    /* Dropdown panels */
    .dropdown-menu,
    .mega-menu {
        bottom: 80px !important;
        max-width: 100% !important;
        width: calc(100vw - 24px) !important;
        border-radius: 16px;
        padding: 12px;
    }

    /* Footer Bottom Bar */
    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 20px;
        margin-top: 12px;
        font-size: .7rem;
    }

    .footer-bottom-bar p {
        width: 100%;
        margin-left: 0;
    }

    .footer-bottom-links {
        width: 100%;
        gap: 16px;
        margin-left: 0;
    }

    /* Add bottom padding for floating nav pill */
    .footer {
        padding-bottom: 100px;
    }
}

/* ---- 480px: Mobile Small ---- */
@media (max-width: 480px) {

    /* Hero */
    .hero {
        min-height: 340px;
        padding: 90px 16px 80px;
    }

    .hero h1 {
        font-size: 1.45rem;
        letter-spacing: -.02em;
    }

    .hero-desc {
        font-size: .8rem;
        line-height: 1.7;
        max-width: 320px;
    }

    .hero-badge {
        font-size: .6rem;
        padding: 4px 10px;
        gap: 6px;
    }

    .badge-dot {
        width: 6px;
        height: 6px;
    }

    /* Brand */
    .nav-logo-img {
        height: 34px;
    }

    /* Features */
    .features-bar {
        margin-top: -50px;
        padding: 0 16px 24px;
    }

    .feature-card {
        padding: 24px 16px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }

    .feature-icon svg {
        width: 20px;
        height: 20px;
    }

    .feature-card h3 {
        font-size: .9rem;
        margin-bottom: 6px;
    }

    .feature-card p {
        font-size: .78rem;
    }

    /* Intro heading */
    .intro-heading {
        margin: 32px auto 20px;
    }

    .intro-heading h2 {
        font-size: 1.05rem;
    }

    /* Section headers */
    .sh-title h2 {
        font-size: 1.3rem;
    }

    .sh-line {
        height: 26px;
    }

    .section-header {
        margin-bottom: 18px;
    }

    .sh-link {
        font-size: .8rem;
    }

    /* Berita — 480px compact */
    .b-card-lg {
        border-radius: 10px;
    }

    .b-card-lg img {
        height: 180px;
    }

    .b-card-lg .b-title {
        font-size: .9rem;
    }

    .b-card-lg .b-excerpt {
        display: none;
    }

    .b-card-lg-content {
        padding: 14px;
    }

    .b-card-lg-meta {
        margin-bottom: 6px;
        flex-wrap: wrap;
        gap: 6px;
    }

    .b-badge-blue,
    .b-badge-red {
        font-size: .55rem;
        padding: 3px 10px;
    }

    .b-sm-grid {
        gap: 12px;
        margin-top: 14px;
    }

    .b-card-md {
        padding: 0;
        gap: 6px;
    }

    .b-card-md img {
        border-radius: 8px;
    }

    .b-card-md .b-title {
        font-size: .78rem;
        line-height: 1.35;
    }

    .b-card-md .b-date {
        font-size: .6rem;
    }

    .b-card-md .b-badge-red {
        font-size: .5rem;
        padding: 2px 6px;
    }

    .b-sm-grid {
        gap: 10px;
        margin-top: 14px;
    }

    /* List items compact */
    .b-col-right {
        margin-top: 16px;
        padding-top: 16px;
    }

    .b-col-right::before {
        font-size: .6rem;
        letter-spacing: 1px;
    }

    .b-list-item {
        padding: 10px 12px;
        margin-bottom: 6px;
        border-radius: 6px;
        gap: 4px;
    }

    .b-list-item .b-title {
        font-size: .8rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .b-list-item .b-excerpt {
        display: none;
    }

    .b-list-item .b-date {
        font-size: .6rem;
    }

    .b-list-item .b-badge-red {
        font-size: .5rem;
        padding: 2px 8px;
    }

    /* Agenda */
    .a-card {
        flex: 0 0 180px;
        padding: 16px;
    }

    .a-d {
        font-size: 1.6rem;
    }

    .a-m,
    .a-y {
        font-size: .95rem;
    }

    .a-title {
        font-size: .78rem;
        margin-bottom: 12px;
    }

    .a-meta {
        font-size: .7rem;
    }

    .a-link {
        font-size: .7rem;
    }

    .agenda-desc {
        font-size: .78rem;
    }

    .btn-outline-accent {
        padding: 8px 18px;
        font-size: .8rem;
    }

    /* Artikel */
    .artikel-meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .artikel-subheading {
        font-size: .8rem;
    }

    .sh-link-accent {
        font-size: .85rem;
    }

    .ar-card {
        flex: 0 0 220px;
    }

    .ar-img {
        height: 120px;
    }

    .ar-body {
        padding: 14px;
    }

    .ar-badge-row {
        margin-bottom: 10px;
    }

    .ar-badge {
        font-size: .6rem;
        padding: 3px 10px;
    }

    .ar-date {
        font-size: .7rem;
    }

    .ar-title {
        font-size: .85rem;
        margin-bottom: 8px;
    }

    .ar-excerpt {
        font-size: .78rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        margin-bottom: 12px;
    }

    .ar-footer {
        padding-top: 10px;
    }

    .ar-author,
    .ar-views {
        font-size: .7rem;
    }

    /* Galeri */
    .galeri-v2-wrapper {
        gap: 10px;
    }

    .gal-v2-item {
        height: 120px !important;
        border-radius: 8px;
    }

    .gal-v2-item.g-item-4 {
        height: 250px !important;
    }

    /* (120*2)+10 */
    .galeri-v2-header {
        margin-bottom: 20px;
    }

    /* Video */
    .section-video {
        padding: 40px 0 60px;
    }

    .video-desc {
        font-size: .78rem;
        margin-bottom: 24px;
    }

    .v-player {
        border-radius: 6px;
    }

    .video-footer {
        margin-top: 24px !important;
    }

    /* Link */
    .link-section {
        padding: 40px 0;
    }

    .link-title {
        font-size: .78rem;
        margin-bottom: 20px;
    }

    .link-grid {
        gap: 16px;
    }

    .link-grid img {
        height: 28px;
        max-width: 90px;
    }

    /* Footer */
    .footer {
        padding: 32px 16px 90px;
    }

    .footer-inner {
        gap: 24px;
    }

    .f-name {
        font-size: .82rem;
    }

    .f-desc {
        font-size: .75rem;
    }

    .f-col h4 {
        font-size: .82rem;
        margin-bottom: 8px;
    }

    .f-col p {
        font-size: .75rem;
    }

    .f-soc {
        width: 32px;
        height: 32px;
    }

    .f-bottom {
        margin-top: 24px;
        padding-top: 16px;
    }

    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px 16px;
        margin-top: 10px;
        font-size: .65rem;
    }

    .footer-bottom-bar p {
        width: 100%;
        margin-left: 0;
    }

    .footer-bottom-links {
        width: 100%;
        gap: 12px;
        margin-left: 0;
    }

    /* Add bottom padding for floating nav pill */
    .footer {
        padding-bottom: 100px;
    }
}

/* ---- 360px: Ultra small phones ---- */
@media (max-width: 360px) {

    /* Hero */
    .hero {
        min-height: 300px;
        padding: 80px 12px 70px;
    }

    .hero h1 {
        font-size: 1.25rem;
    }

    .hero-desc {
        font-size: .75rem;
        max-width: 280px;
    }

    .hero-badge {
        font-size: .55rem;
        padding: 3px 8px;
    }

    /* Features */
    .features-bar {
        margin-top: -40px;
        padding: 0 12px 20px;
    }

    .feature-card {
        padding: 20px 12px;
    }

    .feature-card h3 {
        font-size: .85rem;
    }

    .feature-card p {
        font-size: .75rem;
    }

    /* Intro */
    .intro-heading h2 {
        font-size: .95rem;
    }

    /* Section headers */
    .sh-title h2 {
        font-size: 1.15rem;
    }

    /* Berita — ultra compact */
    .b-card-lg img {
        height: 150px;
    }

    .b-card-lg .b-title {
        font-size: .82rem;
    }

    .b-card-lg-content {
        padding: 12px;
    }

    .b-sm-grid {
        gap: 10px;
        margin-top: 12px;
    }

    .b-card-md {
        padding: 0;
        gap: 6px;
    }

    .b-card-md img {
        border-radius: 6px;
    }

    .b-card-md .b-title {
        font-size: .72rem;
    }

    .b-card-md .b-badge-red {
        font-size: .48rem;
        padding: 1px 6px;
    }

    .b-sm-grid {
        gap: 8px;
        margin-top: 12px;
    }

    .b-list-item {
        padding: 8px 10px;
        margin-bottom: 4px;
    }

    .b-list-item .b-title {
        font-size: .75rem;
    }

    .b-list-item .b-excerpt {
        display: none;
    }

    .b-list-item:nth-child(n+3) {
        display: none;
    }

    .b-col-right {
        margin-top: 12px;
        padding-top: 12px;
    }

    .b-col-right::before {
        font-size: .55rem;
    }

    /* Agenda */
    .a-card {
        flex: 0 0 160px;
        padding: 14px;
    }

    .a-d {
        font-size: 1.4rem;
    }

    .a-title {
        font-size: .72rem;
    }

    /* Artikel */
    .ar-card {
        flex: 0 0 200px;
    }

    .ar-img {
        height: 100px;
    }

    .ar-body {
        padding: 12px;
    }

    .ar-title {
        font-size: .8rem;
    }

    .ar-excerpt {
        display: none;
    }

    /* Galeri */
    .galeri-v2-wrapper {
        padding: 0 12px;
        gap: 10px;
    }

    .gal-v2-item {
        height: 160px !important;
        border-radius: 6px;
    }

    .gal-v2-item.g-item-4 {
        height: 160px !important;
    }

    .gv2-title {
        font-size: 1.15rem;
    }

    .gv2-desc {
        font-size: .78rem;
        margin-left: 16px;
    }

    /* Video */
    .section-video {
        padding: 32px 0 50px;
    }

    .video-desc {
        font-size: .72rem;
    }

    /* Link */
    .link-grid img {
        height: 24px;
        max-width: 80px;
    }

    .link-grid {
        gap: 12px;
    }

    /* Footer */
    .footer {
        padding: 24px 12px 90px;
    }

    .f-name {
        font-size: .78rem;
    }

    .f-desc {
        font-size: .72rem;
        max-width: 240px;
    }

    .f-col p {
        font-size: .72rem;
    }

    /* Nav pill ultra-compact */
    .nav-links {
        padding: 6px 8px;
        bottom: 12px;
        border-radius: 32px;
    }

    .nav-link {
        font-size: 9px;
        gap: 2px;
    }

    .mobile-nav-icon {
        width: 18px;
        height: 18px;
    }
}

/* =========================================
   FULL-SCREEN SPLASH OVERLAY
   ========================================= */
.splash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 10, 0.85);
    /* Slightly greenish-dark overlay */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.splash-overlay.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.05);
}

.splash-modal {
    width: 90%;
    max-width: 800px;
    height: 480px;
    background: var(--bg-card);
    border-radius: 24px;
    position: relative;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: modalEntry 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalEntry {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.splash-close-top {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff; /* White bg */
    border: 1px solid rgba(0,0,0,0.05);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a2e; /* Dark icon */
    z-index: 100;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.splash-close-top:hover {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.splash-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    overflow: hidden;
}

.splash-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.splash-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-content {
    flex: 1;
    padding: 60px 80px;
    max-width: 50%;
    transform: translateX(-40px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.splash-slide.active .slide-content {
    transform: translateX(0);
    opacity: 1;
}

.slide-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(51, 141, 36, 0.1);
    color: var(--green);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

.slide-badge.pulse {
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(51, 141, 36, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(51, 141, 36, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(51, 141, 36, 0);
    }
}

.slide-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.slide-desc {
    font-size: 0.95rem;
    color: var(--text-2);
    line-height: 1.6;
    margin-bottom: 30px;
}

.slide-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease;
}

.splash-slide.active .slide-image img {
    transform: scale(1.1);
}

/* Indicators */
.carousel-dots {
    position: absolute;
    bottom: 50px;
    left: 80px;
    /* Aligned with content padding */
    display: flex;
    gap: 12px;
    z-index: 20;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot.active {
    width: 32px;
    background: var(--green);
    border-radius: 10px;
}

/* Nav Buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 25px; /* Increased padding to push buttons inward */
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 100;
}

.nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: #fff; /* White by default */
    color: #1a1a2e; /* Dark icon */
    border: 1px solid rgba(0,0,0,0.05);
}

.nav-btn.prev {
    margin-left: 0;
}

.nav-btn.next {
    margin-right: 0;
}

.nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    background: var(--green); /* Green on hover */
    color: #fff; /* White icon on hover */
    border-color: var(--green);
}

/* Footer Button */
.splash-footer {
    position: absolute;
    bottom: 35px;
    left: 50px;
    display: block;
    z-index: 20;
}

.btn-enter {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: var(--green);
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(51, 141, 36, 0.2);
}

.btn-enter:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(51, 141, 36, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .splash-modal {
        height: 450px;
    }

    .slide-title {
        font-size: 1.8rem;
    }

    .slide-content {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .splash-modal {
        width: 85%;
        height: auto;
        max-height: 90vh;
        border-radius: 20px;
    }

    .splash-carousel {
        height: auto;
        flex-direction: column;
    }

    .splash-slide {
        position: relative;
        flex-direction: column;
        display: none;
    }

    .splash-slide.active {
        display: flex;
    }

    .slide-content {
        max-width: 100%;
        padding: 24px 20px 32px;
        text-align: center;
        order: 2;
        transform: translateY(10px);
    }

    .slide-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .slide-desc {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .slide-image {
        position: relative;
        width: 100%;
        height: 350px;
        /* Increased image height for mobile */
        order: 1;
    }

    .carousel-dots {
        position: absolute;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 20;
    }

    .carousel-nav {
        display: none;
    }

    .splash-footer {
        position: relative;
        bottom: 0;
        left: 0;
        padding: 0 0 20px;
        text-align: center;
        width: 100%;
        order: 3;
    }
}

@media (max-width: 480px) {
    .splash-modal {
        width: 90%;
    }

    .slide-title {
        font-size: 1.2rem;
    }

    .slide-image {
        height: 280px;
    }

    /* Proportional increase for smaller mobile */
}

/* Dark Theme Support */
[data-theme="dark"] .splash-modal {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .splash-close-top { background: #333; color: #fff; border-color: rgba(255,255,255,0.1); }
[data-theme="dark"] .splash-close-top:hover { background: var(--green); border-color: var(--green); }

[data-theme="dark"] .nav-btn { background: #333; color: #fff; border-color: rgba(255,255,255,0.1); }
[data-theme="dark"] .nav-btn:hover { background: var(--green); border-color: var(--green); }

[data-theme="dark"] .btn-enter {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
/* --- Custom Green Scrollbar --- */
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #338D24;
    border-radius: 6px;
    border: 3px solid #f1f1f1;
}
::-webkit-scrollbar-thumb:hover {
    background: #286d1c;
}
/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #338D24 #f1f1f1;
}

/* =========================================
   ACCESSIBILITY: Reduce Motion Support
   ========================================= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .particle {
        animation: none !important;
    }

    .hero-badge .dot-pulse::after {
        animation: none !important;
    }

    .btn-primary::before {
        animation: none !important;
    }
}
