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

/* ---------- Design Tokens ---------- */
:root {
    --orange: #E8573A;
    --orange-light: #F06B50;
    --orange-dark: #D04830;
    --orange-glow: rgba(232, 87, 58, .1);

    --bg-body: #FDFDFB;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-section-alt: #f0f1f5;

    --border-color: rgba(0, 0, 0, 0.06);
    --text-heading: #1a1a2e;
    --text-body: #4a4a5a;
    --text-muted: #8c8c9c;

    --radius: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --radius-xs: 8px;
    --transition: .35s cubic-bezier(.4,0,.2,1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --nav-height: 80px;
    --max-width: 1200px;

    /* Navbar & Dropdown */
    --nav-bg: #EE5A36;
    --nav-text: #ffffff;
    --nav-text-muted: rgba(255, 255, 255, 0.8);
    --nav-border: rgba(255, 255, 255, 0.1);
    --nav-shadow: 0 4px 20px rgba(238, 90, 54, 0.2);
    --nav-shadow-scroll: 0 10px 30px rgba(238, 90, 54, 0.3);

    --brand-primary: #1a365d;
    --brand-accent: var(--orange);

    --dropdown-bg: #ffffff;
    --dropdown-border: rgba(0, 0, 0, 0.05);
    --dropdown-shadow: 0 20px 40px rgba(0,0,0,0.12);
    --dropdown-text: #4b5563;
    --dropdown-text-hover: #EE5A36;
    --dropdown-link-hover: rgba(238, 90, 54, 0.05);

    --mega-bg: #ffffff;
    --mega-sidebar-bg: #f9fafb;
    --mega-content-bg: #ffffff;
    --mega-border: rgba(0,0,0,0.05);
    --mega-text: #4b5563;
    --mega-text-hover: #EE5A36;
    --mega-heading: #9ca3af;
    --mega-category-active: #EE5A36;
    --mega-accent-bar: linear-gradient(to right, #EE5A36, #f97316);

    --glass-bg: rgba(255,255,255,.08);
    --glass-border: rgba(255,255,255,.12);
}

[data-theme="dark"] {
    --bg-body: #121212;
    --bg-white: #1a1a1a;
    --bg-card: #242424;
    --text-heading: #ffffff;
    --text-body: #a8a8a8;
    --text-muted: #757575;
    --border-color: rgba(255, 255, 255, 0.08);

    --nav-bg: #1a1a1a;
    --nav-text: #ffffff;
    --nav-text-muted: rgba(255, 255, 255, 0.6);
    --nav-border: rgba(255, 255, 255, 0.05);
    --brand-primary: #e2e8f0;

    --dropdown-bg: #242424;
    --dropdown-border: rgba(255, 255, 255, 0.1);
    --dropdown-text: #cbd5e1;
    --dropdown-link-hover: rgba(255, 255, 255, 0.04);

    --mega-bg: #242424;
    --mega-sidebar-bg: #1f1f1f;
    --mega-content-bg: #242424;
    --mega-border: rgba(255,255,255,0.05);
    --mega-text: #cbd5e1;
    --mega-heading: #757575;
}

/* ---------- Reset & Base ---------- */
*,
*::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-body);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
    color: var(--orange-dark);
}

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

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

::-webkit-scrollbar-track {
    background: transparent;
}

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

/* ---------- Container ---------- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 16px;
}

/* ---------- 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);
    height: var(--nav-height);
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    background: #EE5A36;
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    box-shadow: var(--nav-shadow-scroll);
}

.navbar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 16px;
}

/* ---- Brand ---- */
.nav-brand {
    flex-shrink: 0;
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    transition: var(--transition-bounce);
}

.logo-icon:hover {
    transform: rotate(-5deg) scale(1.08);
    background: rgba(255, 255, 255, .1);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-title {
    font-weight: 800;
    font-size: .95rem;
    color: var(--nav-text);
    letter-spacing: .03em;
}

.brand-sub {
    font-weight: 500;
    font-size: .72rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: .04em;
}

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

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

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 18px;
    font-size: .88rem;
    font-weight: 500;
    color: var(--nav-text);
    border-radius: var(--radius-xs);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .1);
}

/* Hide mobile icons on desktop */
.mobile-nav-icon {
    display: none;
}

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

.nav-item.has-dropdown.nav-open .dropdown-arrow,
.nav-item.has-megamenu.nav-open .dropdown-arrow,
.nav-item.has-more-dropdown.nav-open .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
    color: #fff;
}

/* ---- Nav Right ---- */
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    border: 1.5px solid rgba(255, 255, 255, .1);
    cursor: pointer;
    transition: var(--transition);
    color: #fff;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, .2);
    color: #fff;
    transform: rotate(20deg) scale(1.08);
}

/* ==============================
   DROPDOWN MENUS
   ============================== */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    min-width: 200px;
    background: var(--dropdown-bg);
    border: 1px solid var(--dropdown-border);
    border-radius: 14px;
    box-shadow: var(--dropdown-shadow);
    padding: 10px;
    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.nav-open>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(4px);
    pointer-events: auto;
}

.dropdown-column {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-link {
    display: block;
    padding: 10px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dropdown-text);
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
}

.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(--orange);
    border-radius: 2px;
}

/* Nested sub-dropdown */
.dropdown-item-nested {
    position: relative;
}

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

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

.sub-dropdown {
    position: absolute;
    top: -10px;
    left: 100%;
    min-width: 180px;
    background: var(--dropdown-bg);
    border: 1px solid var(--dropdown-border);
    border-radius: 12px;
    box-shadow: var(--dropdown-shadow);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.25s ease;
    pointer-events: none;
}

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

/* ==============================
   MEGA MENU
   ============================== */
.mega-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--mega-bg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    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.nav-open>.mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mega-menu-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    min-height: 300px;
}

.mega-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: var(--mega-sidebar-bg);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-right: 1px solid var(--mega-border);
}

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

.mega-category:hover,
.mega-category.active {
    color: var(--mega-category-active);
    background: rgba(232, 87, 58, 0.08);
}

.mega-content {
    flex: 1;
    background: var(--mega-content-bg);
    padding: 32px 40px;
}

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

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

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

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

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

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

.mega-link {
    display: block;
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--mega-text);
    transition: all 0.2s ease;
    position: relative;
    padding-left: 0;
}

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

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

.theme-toggle .icon-sun {
    display: block;
    transition: var(--transition);
}

.theme-toggle .icon-moon {
    display: none;
    transition: var(--transition);
}

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

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

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    margin-top: var(--nav-height);
    background: #ffffff;
    min-height: 600px;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 140px 24px 200px;
}

.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg-radial {
    position: absolute;
    width: min(1350px, 200vw);
    height: min(1350px, 200vw);
    left: 50%;
    transform: translateX(-50%);
    top: -20px;
    background: radial-gradient(ellipse 47.99% 47.99% at 50.03% 47.99%, rgba(238, 90, 54, 0.80) 0%, rgba(200, 80, 10, 0.38) 75%, rgba(149, 60, 7, 0) 100%);
    filter: blur(180px);
    border-radius: 9999px;
    opacity: 1.0;
}

.hero-bg-pattern {
    position: absolute;
    width: min(630px, 100vw);
    height: 350px;
    left: 50%;
    transform: translateX(-50%);
    top: 220px;
    background-image:
        linear-gradient(rgba(238, 90, 54, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(238, 90, 54, 0.2) 1px, transparent 1px),
        url("data:image/svg+xml,%3Csvg width='96' height='48' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23EE5A36'%3E%3Crect x='2' y='2' width='8' height='8' fill-opacity='0.4'/%3E%3Crect x='26' y='2' width='8' height='8' fill-opacity='0.7'/%3E%3Crect x='50' y='2' width='8' height='8' fill-opacity='0.4'/%3E%3Crect x='74' y='2' width='8' height='8' fill-opacity='0.9'/%3E%3Crect x='86' y='2' width='8' height='8' fill-opacity='0.4'/%3E%3Crect x='14' y='14' width='8' height='8' fill-opacity='0.6'/%3E%3Crect x='26' y='14' width='8' height='8' fill-opacity='0.4'/%3E%3Crect x='38' y='14' width='8' height='8' fill-opacity='1.0'/%3E%3Crect x='62' y='14' width='8' height='8' fill-opacity='0.6'/%3E%3Crect x='74' y='14' width='8' height='8' fill-opacity='0.3'/%3E%3Crect x='86' y='14' width='8' height='8' fill-opacity='0.7'/%3E%3Crect x='2' y='26' width='8' height='8' fill-opacity='0.8'/%3E%3Crect x='26' y='26' width='8' height='8' fill-opacity='0.6'/%3E%3Crect x='38' y='26' width='8' height='8' fill-opacity='0.4'/%3E%3Crect x='50' y='26' width='8' height='8' fill-opacity='0.9'/%3E%3Crect x='74' y='26' width='8' height='8' fill-opacity='0.8'/%3E%3Crect x='86' y='26' width='8' height='8' fill-opacity='0.5'/%3E%3Crect x='2' y='38' width='8' height='8' fill-opacity='0.3'/%3E%3Crect x='14' y='38' width='8' height='8' fill-opacity='0.7'/%3E%3Crect x='38' y='38' width='8' height='8' fill-opacity='0.4'/%3E%3Crect x='50' y='38' width='8' height='8' fill-opacity='0.8'/%3E%3Crect x='62' y='38' width='8' height='8' fill-opacity='0.4'/%3E%3Crect x='86' y='38' width='8' height='8' fill-opacity='0.7'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 48px 48px, 48px 48px, 96px 48px;
    background-position: 0 0;
    background-attachment: fixed;
    -webkit-mask-image: radial-gradient(ellipse 70% 100% at bottom center, #000 0%, transparent 100%);
    mask-image: radial-gradient(ellipse 70% 100% at bottom center, #000 0%, transparent 100%);
}

.hero-bg-solid {
    position: absolute;
    width: 900px;
    height: 250px;
    left: 50%;
    transform: translateX(-50%);
    top: 236px;
    background: #EE5A36;
    filter: blur(100px);
    opacity: 0.5;
}

.hero-bg-linear {
    position: absolute;
    width: min(1158px, 150vw);
    height: min(1158px, 150vw);
    left: 50%;
    transform: translateX(-50%);
    top: 421px;
    background: linear-gradient(180deg, rgba(232, 87, 58, 1) 0%, rgba(232, 87, 58, 0.4) 10%, rgba(232, 87, 58, 0) 20%);
    border-radius: 9999px;
    opacity: 0.8;
}

.hero-content-new {
    position: relative;
    z-index: 2;
    max-width: 1062px;
    width: 100%;
}

.hero-main-title {
    margin: 0;
}

.title-geist {
    color: #40403F;
    font-size: clamp(28px, 4vw, 52px);
    font-family: 'Geist', 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    line-height: 1.1;
}

.title-inter {
    color: #40403F;
    font-size: clamp(28px, 4vw, 52px);
    font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
    font-style: italic;
    font-weight: 400;
    line-height: 1.1;
}

[data-theme="dark"] .title-geist,
[data-theme="dark"] .title-inter {
    color: #f1f5f9;
}

/* Ambient Glows */
.hero-glows {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.glow-top {
    position: absolute;
    width: 1000px;
    height: 800px;
    top: -400px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(238, 90, 54, 0.25) 0%, rgba(238, 90, 54, 0) 70%);
    filter: blur(120px);
}

.glow-bottom-left {
    position: absolute;
    width: 600px;
    height: 600px;
    bottom: -300px;
    left: -200px;
    background: radial-gradient(circle, rgba(51, 141, 36, 0.15) 0%, rgba(51, 141, 36, 0) 70%);
    filter: blur(100px);
}

.glow-bottom-right {
    position: absolute;
    width: 600px;
    height: 600px;
    bottom: -300px;
    right: -200px;
    background: radial-gradient(circle, rgba(51, 141, 36, 0.15) 0%, rgba(51, 141, 36, 0) 70%);
    filter: blur(100px);
}

/* --- Hero Content --- */
.hero-content {
    position: relative;
    z-index: 4;
    max-width: 860px;
    margin: 0 auto;
    animation: heroFadeUp 0.8s cubic-bezier(.4,0,.2,1) both;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(238, 90, 54, 0.12);
    color: #40403F;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 22px 8px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    animation: heroFadeUp 0.8s cubic-bezier(.4,0,.2,1) 0.1s both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #338D24;
    flex-shrink: 0;
    position: relative;
}

.badge-dot::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: rgba(51, 141, 36, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
}

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

.hero h1 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    color: #40403F;
    letter-spacing: -0.02em;
    margin: 0 0 20px;
    animation: heroFadeUp 0.8s cubic-bezier(.4,0,.2,1) 0.2s both;
}

.hero-highlight {
    font-style: italic;
    color: #EE5A36;
    display: inline;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.5vw, 1.12rem);
    color: #6b6b6b;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 36px;
    animation: heroFadeUp 0.8s cubic-bezier(.4,0,.2,1) 0.3s both;
}

/* --- Hero CTA Buttons --- */
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    animation: heroFadeUp 0.8s cubic-bezier(.4,0,.2,1) 0.4s both;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    cursor: pointer;
    text-decoration: none;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #EE5A36 0%, #f97316 100%);
    color: #fff;
    box-shadow: 0 8px 28px rgba(238, 90, 54, 0.35);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(238, 90, 54, 0.45);
    color: #fff;
}

.hero-btn-secondary {
    background: rgba(238, 90, 54, 0.06);
    color: #EE5A36;
    border: 1.5px solid rgba(238, 90, 54, 0.2);
}

.hero-btn-secondary:hover {
    background: rgba(238, 90, 54, 0.12);
    transform: translateY(-2px);
    color: #EE5A36;
}

/* --- Scroll Indicator --- */
.hero-scroll-indicator {
    position: absolute;
    bottom: 170px;

    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: heroFadeUp 0.8s cubic-bezier(.4,0,.2,1) 0.6s both;
}

.scroll-mouse {
    width: 22px;
    height: 34px;
    border: 2px solid rgba(64, 64, 63, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 6px;
}

.scroll-dot {
    width: 3px;
    height: 8px;
    background: #EE5A36;
    border-radius: 4px;
    animation: scrollDotBounce 1.8s ease-in-out infinite;
}

@keyframes scrollDotBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.3; }
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(64, 64, 63, 0.35);
}

/* --- Animated Pixel Layers (Parallax Drift) --- */
.hero-pixel-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 30%, rgba(0,0,0,.4) 55%, rgba(0,0,0,0) 78%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 30%, rgba(0,0,0,.4) 55%, rgba(0,0,0,0) 78%);
}

/* Layer 1: Dense bottom cluster — slow drift right */
.hero-pixel-layer-1 {
    background:
        url("data:image/svg+xml,%3Csvg width='400' height='300' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='10' y='250' width='8' height='8' rx='1' fill='rgba(238,90,54,0.35)'/%3E%3Crect x='45' y='270' width='10' height='10' rx='1' fill='rgba(238,90,54,0.25)'/%3E%3Crect x='82' y='230' width='6' height='6' rx='1' fill='rgba(238,90,54,0.4)'/%3E%3Crect x='130' y='260' width='8' height='8' rx='1' fill='rgba(238,90,54,0.25)'/%3E%3Crect x='185' y='210' width='12' height='12' rx='2' fill='rgba(238,90,54,0.3)'/%3E%3Crect x='220' y='245' width='10' height='10' rx='1' fill='rgba(238,90,54,0.35)'/%3E%3Crect x='270' y='270' width='8' height='8' rx='1' fill='rgba(238,90,54,0.45)'/%3E%3Crect x='315' y='220' width='6' height='6' rx='1' fill='rgba(238,90,54,0.22)'/%3E%3Crect x='360' y='250' width='10' height='10' rx='1' fill='rgba(238,90,54,0.38)'/%3E%3Crect x='25' y='280' width='8' height='8' rx='1' fill='rgba(238,90,54,0.15)'/%3E%3Crect x='150' y='240' width='10' height='10' rx='2' fill='rgba(238,90,54,0.2)'/%3E%3Crect x='380' y='265' width='8' height='8' rx='1' fill='rgba(238,90,54,0.3)'/%3E%3Crect x='60' y='250' width='8' height='8' rx='1' fill='rgba(238,90,54,0.2)'/%3E%3Crect x='110' y='275' width='12' height='12' rx='2' fill='rgba(238,90,54,0.35)'/%3E%3Crect x='200' y='230' width='10' height='10' rx='1' fill='rgba(238,90,54,0.4)'/%3E%3Crect x='290' y='260' width='8' height='8' rx='1' fill='rgba(238,90,54,0.25)'/%3E%3Crect x='370' y='275' width='10' height='10' rx='1' fill='rgba(238,90,54,0.33)'/%3E%3C/svg%3E") bottom repeat-x,
        url("data:image/svg+xml,%3Csvg width='350' height='250' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='30' y='210' width='4' height='4' rx='1' fill='rgba(238,90,54,0.15)'/%3E%3Crect x='85' y='230' width='4' height='4' rx='1' fill='rgba(238,90,54,0.1)'/%3E%3Crect x='140' y='200' width='4' height='4' rx='1' fill='rgba(238,90,54,0.18)'/%3E%3Crect x='190' y='225' width='4' height='4' rx='1' fill='rgba(238,90,54,0.12)'/%3E%3Crect x='250' y='210' width='4' height='4' rx='1' fill='rgba(238,90,54,0.22)'/%3E%3Crect x='300' y='235' width='4' height='4' rx='1' fill='rgba(238,90,54,0.15)'/%3E%3Crect x='125' y='220' width='4' height='4' rx='1' fill='rgba(238,90,54,0.2)'/%3E%3Crect x='50' y='235' width='4' height='4' rx='1' fill='rgba(238,90,54,0.12)'/%3E%3C/svg%3E") bottom repeat-x;
}

/* Layer 2: Mid-range particles — drift left */
.hero-pixel-layer-2 {
    background:
        url("data:image/svg+xml,%3Csvg width='300' height='300' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='20' y='140' width='10' height='10' rx='2' fill='rgba(238,90,54,0.25)'/%3E%3Crect x='150' y='160' width='10' height='10' rx='2' fill='rgba(238,90,54,0.2)'/%3E%3Crect x='220' y='130' width='10' height='10' rx='2' fill='rgba(238,90,54,0.12)'/%3E%3Crect x='270' y='180' width='8' height='8' rx='2' fill='rgba(238,90,54,0.18)'/%3E%3Crect x='45' y='80' width='10' height='10' rx='2' fill='rgba(238,90,54,0.15)'/%3E%3Crect x='190' y='100' width='8' height='8' rx='2' fill='rgba(238,90,54,0.22)'/%3E%3Crect x='110' y='50' width='10' height='10' rx='2' fill='rgba(238,90,54,0.1)'/%3E%3Crect x='80' y='220' width='10' height='10' rx='2' fill='rgba(238,90,54,0.2)'/%3E%3Crect x='250' y='220' width='8' height='8' rx='2' fill='rgba(238,90,54,0.15)'/%3E%3Crect x='100' y='150' width='12' height='12' rx='3' fill='rgba(238,90,54,0.18)'/%3E%3C/svg%3E") bottom repeat-x,
        url("data:image/svg+xml,%3Csvg width='500' height='500' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='100' y='250' width='6' height='6' rx='1' fill='rgba(238,90,54,0.18)'/%3E%3Crect x='220' y='220' width='6' height='6' rx='1' fill='rgba(238,90,54,0.12)'/%3E%3Crect x='320' y='180' width='8' height='8' rx='2' fill='rgba(238,90,54,0.15)'/%3E%3Crect x='400' y='150' width='6' height='6' rx='1' fill='rgba(238,90,54,0.1)'/%3E%3Crect x='50' y='200' width='6' height='6' rx='1' fill='rgba(238,90,54,0.2)'/%3E%3Crect x='150' y='130' width='6' height='6' rx='1' fill='rgba(238,90,54,0.15)'/%3E%3Crect x='350' y='250' width='8' height='8' rx='2' fill='rgba(238,90,54,0.15)'/%3E%3Crect x='420' y='220' width='6' height='6' rx='1' fill='rgba(238,90,54,0.22)'/%3E%3C/svg%3E") bottom repeat-x;
}

/* Layer 3: Sparse floating high particles — faster drift + subtle pulse */
.hero-pixel-layer-3 {
    background:
        url("data:image/svg+xml,%3Csvg width='600' height='600' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='340' y='150' width='12' height='12' rx='2' fill='rgba(238,90,54,0.15)'/%3E%3Crect x='85' y='280' width='10' height='10' rx='2' fill='rgba(238,90,54,0.08)'/%3E%3Crect x='510' y='240' width='14' height='14' rx='3' fill='rgba(238,90,54,0.12)'/%3E%3Crect x='190' y='180' width='10' height='10' rx='2' fill='rgba(238,90,54,0.18)'/%3E%3Crect x='425' y='120' width='12' height='12' rx='2' fill='rgba(238,90,54,0.1)'/%3E%3Crect x='280' y='350' width='14' height='14' rx='3' fill='rgba(238,90,54,0.1)'/%3E%3Crect x='550' y='480' width='12' height='12' rx='2' fill='rgba(238,90,54,0.12)'/%3E%3Crect x='120' y='320' width='14' height='14' rx='3' fill='rgba(238,90,54,0.08)'/%3E%3Crect x='460' y='180' width='10' height='10' rx='2' fill='rgba(238,90,54,0.12)'/%3E%3C/svg%3E") bottom repeat-x;
}

/* Static Background Glows — separated from animated layers */
.hero-glows::before,
.hero-glows::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 250px;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.50;
    bottom: 20px;
    pointer-events: none;
}

.hero-glows::before {
    left: 15%;
    background: rgba(238, 90, 54, 0.45);
    box-shadow: 0 0 100px 100px rgba(238, 90, 54, 0.25);
    filter: blur(80px);
}

.hero-glows::after {
    right: 15%;
    background: rgba(238, 90, 54, 0.2);
    box-shadow: 0 0 100px 100px rgba(238, 90, 54, 0.1);
    filter: blur(80px);
}


/* Random Floating Animations (Agak Cepat) */
.hero-pixel-layer-1 {
    animation: pixelFloat1 8s ease-in-out infinite;
}

.hero-pixel-layer-2 {
    animation: pixelFloat2 12s ease-in-out 1s infinite;
}

.hero-pixel-layer-3 {
    animation: pixelFloat3 6s ease-in-out 1.5s infinite, pixelPulse 5s ease-in-out infinite;
}

.hero-pixel-layer-dense {
    background:
        url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='10' y='50' width='6' height='6' rx='1' fill='rgba(238,90,54,0.25)'/%3E%3Crect x='40' y='80' width='8' height='8' rx='1' fill='rgba(238,90,54,0.15)'/%3E%3Crect x='70' y='30' width='6' height='6' rx='1' fill='rgba(238,90,54,0.3)'/%3E%3Crect x='100' y='90' width='7' height='7' rx='1' fill='rgba(238,90,54,0.15)'/%3E%3Crect x='125' y='55' width='6' height='6' rx='1' fill='rgba(238,90,54,0.22)'/%3E%3Crect x='150' y='85' width='8' height='8' rx='1' fill='rgba(238,90,54,0.25)'/%3E%3Crect x='175' y='45' width='6' height='6' rx='1' fill='rgba(238,90,54,0.15)'/%3E%3Crect x='15' y='120' width='7' height='7' rx='1' fill='rgba(238,90,54,0.2)'/%3E%3Crect x='55' y='145' width='6' height='6' rx='1' fill='rgba(238,90,54,0.25)'/%3E%3Crect x='95' y='115' width='8' height='8' rx='1' fill='rgba(238,90,54,0.22)'/%3E%3Crect x='135' y='155' width='6' height='6' rx='1' fill='rgba(238,90,54,0.3)'/%3E%3Crect x='180' y='125' width='9' height='9' rx='1' fill='rgba(238,90,54,0.15)'/%3E%3C/svg%3E") repeat;
    animation: pixelFloatDense 9s ease-in-out infinite;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 20%, rgba(0,0,0,0.6) 80%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 20%, rgba(0,0,0,0.6) 80%, rgba(0,0,0,0) 100%);
    top: 20%;
    bottom: 20%;
    height: 60%;
}

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

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

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

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

@keyframes pixelPulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.5; }
}



/* Dark Mode Overrides — Consolidated */
[data-theme="dark"] .hero {
    background: #0a0c10;
}

[data-theme="dark"] .glow-top {
    opacity: 0.3;
}

[data-theme="dark"] .glow-bottom-left,
[data-theme="dark"] .glow-bottom-right {
    opacity: 0.25;
}

[data-theme="dark"] .hero h1 {
    color: #f1f5f9;
}

[data-theme="dark"] .hero-badge {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
}

[data-theme="dark"] .hero-subtitle {
    color: #94a3b8;
}

[data-theme="dark"] .hero-btn-secondary {
    background: rgba(238, 90, 54, 0.1);
    border-color: rgba(238, 90, 54, 0.3);
}

[data-theme="dark"] .scroll-mouse {
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .hero-scroll-indicator span {
    color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .hero-pixel-layer-1 {
    background:
        url("data:image/svg+xml,%3Csvg width='400' height='300' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='15' y='240' width='8' height='8' rx='1' fill='rgba(238,90,54,0.4)'/%3E%3Crect x='60' y='210' width='10' height='10' rx='1' fill='rgba(238,90,54,0.35)'/%3E%3Crect x='140' y='225' width='8' height='8' rx='1' fill='rgba(238,90,54,0.35)'/%3E%3Crect x='245' y='210' width='10' height='10' rx='1' fill='rgba(238,90,54,0.38)'/%3E%3Crect x='320' y='250' width='8' height='8' rx='1' fill='rgba(238,90,54,0.4)'/%3E%3Crect x='100' y='260' width='8' height='8' rx='1' fill='rgba(238,90,54,0.35)'/%3E%3Crect x='380' y='240' width='8' height='8' rx='1' fill='rgba(238,90,54,0.3)'/%3E%3Crect x='210' y='210' width='10' height='10' rx='1' fill='rgba(238,90,54,0.4)'/%3E%3C/svg%3E") bottom repeat-x,
        url("data:image/svg+xml,%3Csvg width='350' height='250' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='25' y='210' width='10' height='10' rx='2' fill='rgba(255,255,255,0.2)'/%3E%3Crect x='175' y='195' width='10' height='10' rx='2' fill='rgba(255,255,255,0.18)'/%3E%3Crect x='230' y='220' width='10' height='10' rx='2' fill='rgba(255,255,255,0.25)'/%3E%3Crect x='300' y='180' width='6' height='6' rx='2' fill='rgba(255,255,255,0.15)'/%3E%3Crect x='100' y='200' width='10' height='10' rx='2' fill='rgba(255,255,255,0.25)'/%3E%3C/svg%3E") bottom repeat-x;
}

[data-theme="dark"] .hero-pixel-layer-2 {
    background:
        url("data:image/svg+xml,%3Csvg width='300' height='300' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='20' y='140' width='10' height='10' rx='2' fill='rgba(238,90,54,0.3)'/%3E%3Crect x='150' y='80' width='10' height='10' rx='2' fill='rgba(238,90,54,0.2)'/%3E%3Crect x='220' y='160' width='10' height='10' rx='2' fill='rgba(255,255,255,0.1)'/%3E%3Crect x='110' y='210' width='10' height='10' rx='2' fill='rgba(238,90,54,0.25)'/%3E%3Crect x='85' y='60' width='12' height='12' rx='3' fill='rgba(238,90,54,0.3)'/%3E%3Crect x='240' y='210' width='10' height='10' rx='2' fill='rgba(238,90,54,0.25)'/%3E%3C/svg%3E") bottom repeat-x,
        url("data:image/svg+xml,%3Csvg width='250' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='35' y='220' width='6' height='6' rx='1' fill='rgba(238,90,54,0.3)'/%3E%3Crect x='155' y='180' width='8' height='8' rx='2' fill='rgba(255,255,255,0.2)'/%3E%3Crect x='125' y='120' width='6' height='6' rx='1' fill='rgba(238,90,54,0.18)'/%3E%3Crect x='50' y='100' width='8' height='8' rx='2' fill='rgba(238,90,54,0.25)'/%3E%3C/svg%3E") bottom repeat-x;
}

[data-theme="dark"] .hero-pixel-layer-3 {
    background:
        url("data:image/svg+xml,%3Csvg width='400' height='600' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='325' y='380' width='12' height='12' rx='2' fill='rgba(238,90,54,0.2)'/%3E%3Crect x='45' y='280' width='10' height='10' rx='2' fill='rgba(255,255,255,0.12)'/%3E%3Crect x='200' y='220' width='14' height='14' rx='3' fill='rgba(238,90,54,0.15)'/%3E%3Crect x='350' y='250' width='14' height='14' rx='3' fill='rgba(238,90,54,0.1)'/%3E%3Crect x='250' y='150' width='12' height='12' rx='2' fill='rgba(238,90,54,0.12)'/%3E%3Crect x='180' y='350' width='12' height='12' rx='2' fill='rgba(255,255,255,0.1)'/%3E%3C/svg%3E") bottom repeat-x;
}

[data-theme="dark"] .hero-pixel-layer-dense {
    background:
        url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='10' y='50' width='6' height='6' rx='1' fill='rgba(238,90,54,0.25)'/%3E%3Crect x='40' y='80' width='8' height='8' rx='1' fill='rgba(255,255,255,0.12)'/%3E%3Crect x='70' y='30' width='6' height='6' rx='1' fill='rgba(238,90,54,0.3)'/%3E%3Crect x='100' y='90' width='7' height='7' rx='1' fill='rgba(255,255,255,0.08)'/%3E%3Crect x='125' y='55' width='6' height='6' rx='1' fill='rgba(238,90,54,0.25)'/%3E%3Crect x='150' y='85' width='8' height='8' rx='1' fill='rgba(255,255,255,0.15)'/%3E%3Crect x='175' y='45' width='6' height='6' rx='1' fill='rgba(238,90,54,0.2)'/%3E%3Crect x='15' y='120' width='7' height='7' rx='1' fill='rgba(238,90,54,0.18)'/%3E%3Crect x='55' y='145' width='6' height='6' rx='1' fill='rgba(255,255,255,0.12)'/%3E%3Crect x='95' y='115' width='8' height='8' rx='1' fill='rgba(238,90,54,0.25)'/%3E%3Crect x='135' y='155' width='6' height='6' rx='1' fill='rgba(255,255,255,0.15)'/%3E%3Crect x='180' y='125' width='9' height='9' rx='1' fill='rgba(238,90,54,0.2)'/%3E%3C/svg%3E") repeat;
}

[data-theme="dark"] .feature-card {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

[data-theme="dark"] .feature-card:hover {
    background: rgba(211, 67, 36, 0.05);
}

[data-theme="dark"] .subheading {
    color: #ffffff !important;
}

/* ============================================
   RESPONSIVE HERO & FEATURES
   ============================================ */
@media (max-width: 1024px) {
    .navbar {
        height: 64px !important;
    }

    .hero {
        margin-top: 64px !important;
        padding: 60px 20px 140px;
        min-height: 400px;
        align-items: center;
        border-radius: 0 !important;
    }

    .features-bar {
        margin-top: -80px !important;
        margin-bottom: 20px !important;
        padding: 0 20px !important;
    }

    .features-inner {
        grid-template-columns: 1fr !important;
        border-radius: 24px !important;
        overflow: hidden;
        box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08) !important;
        border: 1px solid rgba(0, 0, 0, 0.06) !important;
        gap: 0;
    }

    .feature-card {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 20px 16px !important;
        position: relative;
        border-bottom: none !important;
    }

    .feature-card:not(:last-child)::after {
        content: '' !important;
        position: absolute !important;
        bottom: 0 !important;
        top: auto !important;
        left: 15% !important;
        right: 15% !important;
        width: auto !important;
        height: 1px !important;
        background: rgba(0, 0, 0, 0.06) !important;
        display: block !important;
    }

    .feature-icon {
        width: 42px;
        height: 42px;
        background: rgba(238, 90, 54, 0.08) !important;
        border-radius: 12px;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .feature-icon svg {
        width: 24px;
        height: 24px;
        color: var(--orange) !important;
    }

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

    .feature-card p {
        font-size: 0.8rem;
        line-height: 1.5;
        color: #666;
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .hero-main-title br {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .features-bar {
        margin-top: -60px !important;
        margin-bottom: 20px !important;
        padding: 0 16px !important;
    }

    .section-berita {
        padding-top: 40px !important;
    }

    .section-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 1.8rem !important;
    }

    .title-line {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .nav-logo-img { height: 34px !important; }
    .hero {
        padding: 0 20px 80px;
    }

    .title-geist, .title-inter {
        font-size: 1.25rem;
    }

    .features-inner {
        background-size: 20px 20px, 20px 20px, 100% 100%;
        border-radius: 20px !important;
    }

    .feature-card {
        padding: 16px 12px !important;
    }

    .section-berita {
        padding-top: 30px !important;
    }
}

.features-bar {
  position: relative;
  z-index: 10;
  margin-top: -140px;
  margin-bottom: -40px;
  padding: 0 32px;
}

.features-inner {
  max-width: 1080px;
  margin: 0 auto;
  background:
    linear-gradient(rgba(238, 90, 54, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 90, 54, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, #FF7B5F 0%, #FFFFFF 100%);
  background-size: 40px 40px, 40px 40px, 100% 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

.feature-card {
  padding: 32px 28px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.feature-card:hover {
    background: rgba(238, 90, 54, 0.03);
}


.feature-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  background: transparent !important;
  color: #000 !important;
  transition: var(--transition);
}

.feature-icon svg { width: 28px; height: 28px; stroke-width: 2.2px; }

.feature-card h3 {
  font-size: 1.1rem; font-weight: 800;
  color: #1a1a1a; margin-bottom: 12px;
}

.feature-card p {
  font-size: .9rem; color: #444; line-height: 1.6;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: var(--orange);
    color: #fff;
}

/* ============================================
   BERITA SECTION STYLING
   ============================================ */
.section-berita {
    padding-top: 180px;
    padding-bottom: 60px;
    background: var(--bg-body);
}



.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.section-title-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
}

.title-line {
    width: 6px;
    height: 40px;
    background: #338D24;
    display: block;
}

.section-title {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: var(--text-heading);
    margin: 0 !important;
    line-height: 1;
}

.section-subtitle {
    margin-top: 15px;
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 600px;
}

[data-theme="dark"] .section-header { border-color: rgba(255, 255, 255, 0.08); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    padding: 40px 0 20px;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-brand .logo-icon {
    width: 38px;
    height: 38px;
    background: var(--orange);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(232, 87, 58, 0.2);
}

.footer-brand .brand-text {
    display: flex;
    flex-direction: column;
}

.footer-brand .brand-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.2;
}

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

.footer-description {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
    max-width: 360px;
}

.footer-contact-info h4,
.footer-social h4 {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 8px;
}

.footer-contact-info h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 3px;
    background: var(--orange);
    border-radius: 3px;
}

.footer-contact-info ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.5;
}

.footer-contact-info li svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--orange);
}

.footer-social .social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    color: var(--text-heading);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icons a:hover {
    background: var(--orange);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(232, 87, 58, 0.15);
    border-color: var(--orange);
}

.footer-bottom-bar {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a:hover {
    color: var(--orange);
}

[data-theme="dark"] .site-footer {
    background: #1a1a1a;
}

[data-theme="dark"] .footer-brand .logo-icon {
    background: rgba(232, 87, 58, 0.1);
}

[data-theme="dark"] .social-icons a {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .social-icons a:hover {
    background: var(--orange);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp .7s ease forwards;
}

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

.fade-in:nth-child(1) {
    animation-delay: .1s;
}

.fade-in:nth-child(2) {
    animation-delay: .25s;
}

.fade-in:nth-child(3) {
    animation-delay: .4s;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {

    /* --- Navbar Top bar --- */
    .navbar {
        top: 0;
        bottom: auto;
        background: var(--nav-bg) !important;
        box-shadow: none;
        height: 64px !important;
        border-bottom: 1px solid var(--nav-border);
    }

    .hero {
        margin-top: 60px !important;
    }

    .navbar.scrolled {
        background: var(--nav-bg) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    }

    .navbar-inner {
        padding: 0 24px !important;
        justify-content: space-between;
        height: 100%;
    }
    .nav-logo {
        width: auto !important;
        height: 35px !important;
        object-fit: contain;
    }

    .brand-text {
        display: none;
    }

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

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

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

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

    .dropdown-arrow {
        display: none !important;
    }

    /* --- Dropdowns Pop UP vertically --- */
    .dropdown-menu,
    .mega-menu {
        position: fixed !important;
        bottom: 90px !important;
        top: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: calc(100% - 32px) !important;
        max-width: 480px !important;
        max-height: calc(100vh - 160px) !important;
        overflow-y: auto !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
        border-radius: 24px !important;
        padding: 16px !important;
    }

    .nav-item.mobile-open>.dropdown-menu,
    .nav-item.nav-open>.dropdown-menu,
    .nav-item.mobile-open>.mega-menu,
    .nav-item.nav-open>.mega-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0) !important;
    }

    /* --- Nested Dropdown (Accordion style) --- */
    .sub-dropdown {
        position: static !important;
        width: 100% !important;
        display: none !important;
        background: rgba(0, 0, 0, 0.04) !important;
        margin: 8px 0 !important;
        padding: 8px !important;
        border: none !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .dropdown-item-nested.mobile-open>.sub-dropdown {
        display: block !important;
    }

    /* --- Mega Menu Mobile Refinement --- */
    .mega-menu-inner {
        flex-direction: column;
        min-height: auto;
    }

    .mega-sidebar {
        width: 100%;
        padding: 0;
        border-right: none;
        border-bottom: 1px solid var(--mega-border);
        flex-direction: column;
        gap: 2px;
    }

    .mega-category {
        padding: 14px 16px;
        justify-content: space-between;
        font-size: 15px;
        background: transparent;
    }

    .mega-category svg {
        transform: rotate(0deg);
        transition: transform 0.3s;
        opacity: 0.6;
    }

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

    .mega-content {
        padding: 0;
        background: transparent;
    }

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

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

    /* Common Grid adjustments */
    .section-berita .berita-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .video-wrapper {
        height: 400px;
    }

    .site-footer .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    /* Berita Tablet Layout */
    .section-berita .berita-card-large {
        min-height: auto;
        flex-direction: column;
        padding: 0;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .section-berita .berita-card-large .img-wrapper {
        position: relative;
        width: 100%;
        aspect-ratio: 16/9;
        max-height: none;
        height: auto;
        border-radius: var(--radius) var(--radius) 0 0;
        transform: translateZ(0);
    }

    .section-berita .berita-card-large .content {
        width: 92%;
        align-self: center;
        margin-top: -36px;
        right: auto;
        bottom: auto;
        padding: 28px;
        border-radius: var(--radius);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 5;
    }

    .section-berita .berita-card-large .title {
        font-size: 1.15rem;
        margin-top: 14px;
    }

    .section-berita .berita-card-large .excerpt {
        font-size: 0.88rem;
        margin-bottom: 18px;
    }

    /* Berita small cards — 2-column grid */
    .section-berita .berita-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .section-berita .berita-card-small {
        height: auto;
        flex-direction: column;
        padding: 0;
        width: 100%;
        border-radius: var(--radius);
        transform: translateZ(0);
    }

    .section-berita .berita-card-small .img-wrapper {
        width: 100%;
        aspect-ratio: 16/9;
        max-height: none;
        height: auto;
        margin-bottom: 0;
    }

    .section-berita .berita-card-small .content {
        width: 100%;
        padding: 16px;
    }

    .section-berita .berita-card-small .title {
        font-size: 0.92rem;
    }

    .section-berita .berita-card-small .excerpt {
        font-size: 0.82rem;
    }

    /* Agenda Tablet */
    .agenda-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .agenda-card {
        flex-direction: column;
    }

    .agenda-date {
        width: 100%;
        flex-direction: row;
        gap: 8px;
        padding: 10px 16px;
        justify-content: flex-start;
        min-width: auto;
    }

    .agenda-date::before {
        display: none;
    }

    .agenda-date .day {
        margin: 0;
        font-size: 1.3rem;
    }

    .agenda-date .month {
        font-size: 0.75rem;
    }

    .agenda-date .year {
        font-size: 0.65rem;
    }

    .agenda-img {
        width: 100%;
        aspect-ratio: 16/9;
        height: auto;
    }

    .agenda-content {
        padding: 14px 16px;
    }

    .agenda-title {
        font-size: 1rem;
    }

    .agenda-detail {
        font-size: 0.82rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        width: calc(100% - 24px);
        padding: 8px 12px;
    }
}

/* ============================================
   MOBILE RESPONSIVE — Berita & Agenda
   ============================================ */

/* Small Tablet / Large Phone (768px) */
@media (max-width: 768px) {
    .page-section {
        padding: 50px 0;
    }

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

    .subheading {
        font-size: 1.25rem;
        margin-bottom: 18px;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .btn-see-all {
        font-size: 0.95rem;
    }

    /* Berita — single column for small cards */
    .section-berita .berita-list {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .section-berita .berita-card-small {
        flex-direction: column;
        border-radius: var(--radius);
        transform: translateZ(0);
    }

    .section-berita .berita-card-small .img-wrapper {
        width: 100%;
        aspect-ratio: 16/9;
        height: auto;
    }

    .section-berita .berita-card-small .content {
        width: 100%;
        padding: 14px;
    }

    .section-berita .berita-card-small .title {
        font-size: 0.85rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .section-berita .berita-card-small .excerpt {
        display: none;
    }

    .section-berita .top-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 8px;
    }

    .section-berita .tag-badge {
        font-size: 0.7rem;
        padding: 4px 12px;
    }

    .section-berita .date {
        font-size: 0.75rem;
    }

    /* Agenda */
    .agenda-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .agenda-card {
        flex-direction: row;
    }

    .agenda-date {
        flex-direction: column;
        width: auto;
        min-width: 72px;
        padding: 14px 12px;
        gap: 2px;
    }

    .agenda-date .day {
        font-size: 1.6rem;
        margin: 2px 0;
    }

    .agenda-date .month {
        font-size: 0.72rem;
    }

    .agenda-date .year {
        font-size: 0.65rem;
    }

    .agenda-img {
        display: none;
    }

    .agenda-content {
        padding: 14px 16px;
        gap: 6px;
    }

    .agenda-title {
        font-size: 0.95rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .agenda-detail {
        font-size: 0.82rem;
        padding: 2px 0;
    }
}

/* Mobile Phone (480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

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

    .section-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px;
    }

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

    .subheading {
        font-size: 1.1rem;
        margin-bottom: 14px;
    }

    .section-subtitle {
        font-size: 0.85rem;
    }

    .section-subtitle br {
        display: none;
    }

    /* Berita Mobile */
    .section-berita .berita-card-large {
        max-width: 100%;
    }

    .section-berita .berita-card-large .img-wrapper {
        aspect-ratio: 16/9;
        border-radius: var(--radius) var(--radius) 0 0;
        transform: translateZ(0);
    }

    .section-berita .berita-card-large .content {
        width: 94%;
        margin-top: -28px;
        padding: 20px;
    }

    .section-berita .berita-card-large .title {
        font-size: 1.05rem;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .section-berita .berita-card-large .excerpt {
        font-size: 0.85rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 14px;
    }

    .section-berita .berita-meta {
        font-size: 0.78rem;
    }

    .section-berita .berita-card-small {
        flex-direction: column;
    }

    .section-berita .berita-card-small .img-wrapper {
        width: 100%;
        aspect-ratio: 16/9;
    }

    .section-berita .berita-card-small .content {
        width: 100%;
        padding: 12px;
    }

    .section-berita .berita-card-small .title {
        font-size: 0.85rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .section-berita .top-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        margin-bottom: 6px;
    }

    .section-berita .tag-badge {
        font-size: 0.65rem;
        padding: 3px 10px;
    }

    .section-berita .date {
        font-size: 0.72rem;
    }

    /* Agenda Mobile */
    .agenda-card {
        border-radius: 12px;
    }

    .agenda-date {
        min-width: 64px;
        padding: 12px 10px;
    }

    .agenda-date .day {
        font-size: 1.4rem;
    }

    .agenda-date .month {
        font-size: 0.68rem;
    }

    .agenda-content {
        padding: 12px 14px;
        gap: 5px;
    }

    .agenda-title {
        font-size: 0.88rem;
    }

    .agenda-detail {
        font-size: 0.78rem;
        gap: 5px;
    }

    .agenda-detail svg {
        width: 13px;
        height: 13px;
    }
}

/* Small Phone (360px) */
@media (max-width: 360px) {
    .container {
        padding: 0 16px;
    }

    .section-title {
        font-size: 1.4rem !important;
    }

    .section-berita .berita-card-large .content {
        padding: 16px;
        width: 96%;
        margin-top: -20px;
    }

    .section-berita .berita-card-large .title {
        font-size: 0.95rem;
    }

    .section-berita .berita-card-large .excerpt {
        font-size: 0.8rem;
    }

    .section-berita .berita-card-small .img-wrapper {
        width: 100%;
    }

    .section-berita .berita-card-small .content {
        width: 100%;
        padding: 10px;
    }

    .section-berita .berita-card-small .title {
        font-size: 0.8rem;
    }

    .agenda-date {
        min-width: 58px;
        padding: 10px 8px;
    }

    .agenda-date .day {
        font-size: 1.2rem;
    }

    .agenda-content {
        padding: 10px 12px;
    }

    .agenda-title {
        font-size: 0.82rem;
    }

    .agenda-detail {
        font-size: 0.75rem;
    }
}

/* Agenda Phone specific breakpoint (599px) */
@media (max-width: 599px) {
    .agenda-grid {
        grid-template-columns: 1fr;
    }

    .agenda-card {
        width: 100%;
        max-width: 360px;
        margin: 0 auto 16px auto;
    }
}

/* ---------- Utilities ---------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ========================================
   DARK MODE
   ======================================== */
html[data-theme] body,
html[data-theme] .hero,
html[data-theme] .services-section,
html[data-theme] .site-footer {
    transition: background .4s ease, color .4s ease, border-color .4s ease;
}

[data-theme="dark"] {
    --bg-body: #121212;
    --bg-white: #1a1a1a;
    --bg-card: #242424;
    --bg-section-alt: #161616;

    --orange: #F06B50;
    --orange-light: #F58068;
    --orange-dark: #E05540;
    --orange-deep: #D04530;
    --orange-glow: rgba(240, 107, 80, .12);

    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.04);

    --text-heading: #ffffff;
    --text-body: #a8a8a8;
    --text-muted: #757575;
    --text-white: #ffffff;

    --shadow-xs: 0 1px 3px rgba(0, 0, 0, .2);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .3);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, .35);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, .4);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, .45);
    --shadow-card-hover: 0 16px 48px rgba(0, 0, 0, .45);
    --shadow-orange: 0 8px 32px rgba(240, 107, 80, .2);

    --glass-bg: rgba(255, 255, 255, .04);
    --glass-border: rgba(255, 255, 255, .08);

    /* Navbar dark mode */
    --nav-bg: #1a1a1a;
    --nav-text: #ffffff;
    --nav-text-muted: rgba(255, 255, 255, 0.6);
    --nav-border: rgba(255, 255, 255, 0.05);

    --dropdown-bg: #242424;
    --dropdown-border: rgba(255, 255, 255, 0.08);
    --dropdown-link-hover: rgba(240, 107, 80, 0.08);
    --dropdown-text: #cccccc;
    --dropdown-text-hover: var(--orange);

    --mega-bg: #242424;
    --mega-sidebar-bg: #1f1f1f;
    --mega-content-bg: #242424;
    --mega-text: #a8a8a8;
    --mega-text-hover: var(--orange);
    --mega-heading: #ffffff;
    --mega-category-active: var(--orange);
    --mega-border: rgba(255, 255, 255, 0.06);

    --toggle-bg: rgba(255, 255, 255, 0.05);
    --toggle-hover: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .navbar {
    background: rgba(26, 26, 26, .90);
    backdrop-filter: blur(20px) saturate(1.6);
    -webkit-backdrop-filter: blur(20px) saturate(1.6);
    border-bottom: 1px solid rgba(240, 107, 80, .08);
}

[data-theme="dark"] .navbar.scrolled {
    background: #EE5A36 !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, .5);
}

[data-theme="dark"] .navbar.scrolled .nav-link {
    color: #ffffff !important;
}

[data-theme="dark"] .navbar.scrolled .brand-title {
    color: #ffffff !important;
}

[data-theme="dark"] .navbar.scrolled .brand-sub {
    color: rgba(255, 255, 255, .8) !important;
}

[data-theme="dark"] .navbar.scrolled .logo-icon {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .2);
    color: #fff;
}

[data-theme="dark"] .nav-link {
    color: rgba(255, 255, 255, .6);
}

[data-theme="dark"] .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .06);
}

[data-theme="dark"] .logo-icon {
    background: var(--orange-glow);
    border-color: rgba(240, 107, 80, .12);
    color: var(--orange);
}

[data-theme="dark"] .photo-card {
    border-color: rgba(255, 255, 255, .08);
}

[data-theme="dark"] .photo-card.pos-center {
    border-color: rgba(255, 255, 255, .15);
}

[data-theme="dark"] .services-section {
    background: var(--bg-body);
}

[data-theme="dark"] .service-card {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .service-card:hover {
    border-color: rgba(240, 107, 80, .15);
    box-shadow: 0 12px 48px rgba(0, 0, 0, .4), 0 0 0 1px rgba(240, 107, 80, .08);
}

[data-theme="dark"] .footer {
    background: var(--bg-card);
}

[data-theme="dark"] .theme-toggle {
    background: var(--glass-bg);
    border-color: var(--glass-border);
    color: rgba(255, 255, 255, .6);
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .2);
    color: #fff;
}

[data-theme="dark"] ::-webkit-scrollbar-track {
    background: var(--bg-body);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: var(--orange);
}

/* ============================================
   SECTIONS: Berita, Agenda, Artikel, Galeri, Video
   ============================================ */
.page-section {
    padding: 180px 0;
    background: var(--bg-white);
    position: relative;
    z-index: 1;
}

.page-section.bg-alt {
    background: #f1f5f9;
}

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

.section-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.title-line {
    width: 6px;
    height: 36px;
    background: linear-gradient(180deg, #338D24, #EE5A36);
    border-radius: 6px;
    flex-shrink: 0;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 6px;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #4B5563;
    max-width: 650px;
    line-height: 1.6;
    font-weight: 400;
}

.btn-see-all {
    font-size: 0.92rem;
    font-weight: 600;
    color: #338D24 !important;
    background: transparent;
    border: 1.5px solid #338D24;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-see-all:hover {
    background: rgba(51, 141, 36, 0.04);
    color: #338D24 !important;
    border-color: #338D24;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(51, 141, 36, 0.15);
}

.subheading {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.01em;
}

.subheading::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #EE5A36;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(238, 90, 54, 0.15);
}

/* BERITA */
.berita-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
}

.berita-card-large {
    border-radius: var(--radius);
    background: transparent;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    min-height: 420px;
    padding: 30px 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.berita-card-large:hover {
    transform: translateY(-4px);
}

.berita-card-large .img-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
    border-radius: var(--radius);
    overflow: hidden;
    transform: translateZ(0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.berita-card-large .img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 40%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
    pointer-events: none;
}

.berita-card-large .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.berita-card-large:hover .img-wrapper img {
    transform: scale(1.05);
}

.tag-badge {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    align-self: flex-start;
    box-shadow: 0 4px 12px rgba(232, 87, 58, 0.3);
}

.berita-card-large .content {
    position: relative;
    z-index: 2;
    width: 60%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.berita-card-large:hover .content {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 255, 255, 0.9);
}

.berita-card-large .title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-top: 20px;
    margin-bottom: 15px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.berita-card-large:hover .title {
    color: var(--orange);
}

.berita-card-large .excerpt {
    color: var(--text-body);
    margin-bottom: 25px;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.7;
}

.berita-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: auto;
}

/* Right Small Cards */
.berita-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.berita-card-small {
    display: flex;
    background: #f1f5f9;
    border-radius: var(--radius);
    overflow: hidden;
    transform: translateZ(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: calc(50% - 12px);
    transition: var(--transition);
}

.berita-card-small:hover {
    transform: none;
    box-shadow: none;
}

.berita-card-small .img-wrapper {
    width: 35%;
    position: relative;
}

.berita-card-small .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.berita-card-small .content {
    width: 65%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

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

.berita-card-small .title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.berita-card-small .excerpt {
    color: var(--text-body);
    margin-bottom: 0;
    font-size: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.date {
    font-size: 0.8rem;
    font-weight: 500;
    color: #4B5563;
}

/* AGENDA GRID */
.agenda-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.agenda-card {
    display: flex;
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 4px 16px rgba(0, 0, 0, .04);
    border: none;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.agenda-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06), 0 24px 48px rgba(0, 0, 0, .08);
}

.agenda-date {
    background: var(--orange);
    color: #fff;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 80px;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
}

/* Subtle diagonal pattern overlay */
.agenda-date::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(-45deg,
            transparent,
            transparent 4px,
            rgba(255, 255, 255, .04) 4px,
            rgba(255, 255, 255, .04) 8px);
    pointer-events: none;
}

.agenda-date .month {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.85;
    position: relative;
}

.agenda-date .day {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    margin: 4px 0 2px;
    position: relative;
}

.agenda-date .year {
    font-size: 0.78rem;
    font-weight: 500;
    opacity: 0.6;
    position: relative;
}

/* Image */
.agenda-img {
    width: 100px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.agenda-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .03), transparent);
    pointer-events: none;
    z-index: 1;
}

.agenda-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.agenda-card:hover .agenda-img img {
    transform: scale(1.06);
}

/* Content */
.agenda-content {
    padding: 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    gap: 8px;
}

.agenda-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
    margin: 0;
}

.agenda-card:hover .agenda-title {
    color: var(--orange);
}

.agenda-detail {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    margin: 0;
    padding: 4px 10px 4px 0;
    border-radius: 6px;
    transition: color 0.3s ease;
}

.agenda-detail svg {
    flex-shrink: 0;
    color: var(--orange);
    opacity: 0.55;
    width: 15px;
    height: 15px;
}

/* Dark mode */
[data-theme="dark"] .agenda-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, .15), 0 4px 16px rgba(0, 0, 0, .2);
    background: var(--bg-card);
}

[data-theme="dark"] .agenda-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25), 0 24px 48px rgba(0, 0, 0, .3);
}

[data-theme="dark"] .agenda-date {
    background: var(--orange);
}

/* Tag Green Pill */
.tag-green {
    display: inline-block;
    background: #338D24;
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* ARTIKEL — Full-width List Layout */
.artikel-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.artikel-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.artikel-item:first-child {
    border-top: 1px solid var(--border-color);
}

.artikel-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #338D24;
    border-radius: 2px;
    opacity: 0;
    transform: scaleY(0);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.artikel-item:hover::before {
    opacity: 1;
    transform: scaleY(1);
}

.artikel-item:hover {
    padding-left: 20px;
    background: rgba(51, 141, 36, 0.03);
}

/* Number accent */
.artikel-item-number {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(51, 141, 36, 0.15);
    line-height: 1;
    flex-shrink: 0;
    min-width: 48px;
    font-variant-numeric: tabular-nums;
    transition: color 0.35s ease;
}

.artikel-item:hover .artikel-item-number {
    color: rgba(51, 141, 36, 0.4);
}

/* Body: content + meta stacked */
.artikel-item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.artikel-item-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.artikel-item-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.artikel-item:hover .artikel-item-title {
    color: #338D24;
}

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

/* Meta row */
.artikel-item-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.artikel-item-date,
.artikel-item-author {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
}

.artikel-item-date svg,
.artikel-item-author svg {
    flex-shrink: 0;
}

/* Arrow */
.artikel-item-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(51, 141, 36, 0.06);
    color: #338D24;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.artikel-item:hover .artikel-item-arrow {
    background: #338D24;
    color: #fff;
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(51, 141, 36, 0.25);
}

/* Dark mode for artikel list */
[data-theme="dark"] .artikel-item:hover {
    background: rgba(51, 141, 36, 0.05);
}

[data-theme="dark"] .artikel-item-number {
    color: rgba(51, 141, 36, 0.12);
}

[data-theme="dark"] .artikel-item:hover .artikel-item-number {
    color: rgba(51, 141, 36, 0.3);
}

[data-theme="dark"] .artikel-item-arrow {
    background: rgba(51, 141, 36, 0.08);
}

/* Responsive: Stack on mobile */
@media (max-width: 640px) {
    .artikel-item {
        flex-wrap: wrap;
        gap: 12px;
        padding: 20px 0;
    }

    .artikel-item-number {
        font-size: 1.5rem;
        min-width: 36px;
    }

    .artikel-item-body {
        width: calc(100% - 60px);
    }

    .artikel-item-arrow {
        width: 36px;
        height: 36px;
    }

    .artikel-item-meta {
        gap: 10px;
    }
}


/* GALERI MARQUEE */
.galeri-marquee-container {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.galeri-marquee-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 100%;
    flex-shrink: 0;
    animation: scrollXGaleri 30s linear infinite;
}

.galeri-marquee-container:hover .galeri-marquee-group {
    animation-play-state: paused;
}

@keyframes scrollXGaleri {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.galeri-item {
    border-radius: 0;
    overflow: hidden;
    position: relative;
    box-shadow: none;
    height: 250px;
    width: 250px;
    flex-shrink: 0;
}

.galeri-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.galeri-item:hover img {
    transform: scale(1.05);
}

[data-theme="dark"] .galeri-item {
    box-shadow: none;
}


/* VIDEO */
.video-outer-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.video-bg-block {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 90%;
    background: rgba(232, 87, 58, 0.85);
    filter: blur(25px);
    border-radius: 10px;
    z-index: 1;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    z-index: 2;
}

/* SPONSOR/LINK BAR */
.sponsor-bar {
    padding: 60px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.sponsor-text {
    font-size: 1.1rem;
    color: var(--text-heading);
    margin-bottom: 30px;
}

.sponsor-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.sponsor-logo-box {
    background: var(--bg-card);
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.sponsor-logo-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.sponsor-logo-box img {
    height: 50px;
    opacity: 0.9;
}

.btn-outline-green {
    display: inline-block;
    padding: 12px 32px;
    border: 2px solid #338D24;
    color: #338D24;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-green:hover {
    background: #338D24;
    color: #fff;
}

/* RESPONSIVE FOR NEW SECTIONS */
@media (max-width: 1024px) {
    body {
        padding-bottom: 110px;
    }

    .navbar {
        height: 64px !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
        background: var(--nav-bg) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .navbar .brand-title {
        color: var(--nav-text) !important;
    }

    .navbar .brand-sub {
        color: var(--nav-text-muted) !important;
    }

    .navbar .logo-icon {
        background: #EE5A36 !important;
        color: #fff !important;
    }

    .navbar .theme-toggle {
        color: var(--nav-text) !important;
        border-color: rgba(0, 0, 0, 0.1) !important;
    }

    .navbar-inner {
        padding: 0 16px !important;
    }

    .logo-wrapper {
        transform: scale(0.8);
    }

    /* Floating Navigation Pill */
    .nav-links {
        position: fixed !important;
        bottom: 24px !important;
        top: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: calc(100% - 32px) !important;
        max-width: 500px !important;
        height: auto !important;
        min-height: 64px !important;
        background: #EE5A36 !important;
        padding: 8px 16px !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        border-radius: 40px !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        box-shadow: 0 12px 32px rgba(238, 90, 54, 0.4) !important;
        z-index: 9999 !important;
        backdrop-filter: blur(15px) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: static;
    }

    .nav-link {
        padding: 4px 0 !important;
        font-size: 11px !important;
        flex-direction: column !important;
        gap: 3px !important;
        color: rgba(255, 255, 255, 0.8) !important;
        font-weight: 600 !important;
        background: transparent !important;
    }

    .mobile-nav-icon {
        display: block !important;
        width: 22px;
        height: 22px;
        color: #fff;
    }

    .nav-link span {
        display: block;
    }

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

    .nav-link:hover,
    .nav-item.mobile-open .nav-link,
    .nav-item.nav-open .nav-link {
        color: #fff !important;
    }

    /* Menus Pop-up (Above Pill) */
    .dropdown-menu,
    .mega-menu {
        position: fixed !important;
        bottom: 95px !important;
        top: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: calc(100vw - 32px) !important;
        max-width: 480px !important;
        max-height: 65vh !important;
        overflow-y: auto !important;
        display: none;
        border-radius: 24px;
        background: var(--dropdown-bg);
        padding: 24px;
        z-index: 10005 !important;
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
        border: 1px solid var(--dropdown-border);
        pointer-events: auto !important;
    }

    .sub-dropdown {
        position: static !important;
        width: 100% !important;
        display: none;
        border: none !important;
        background: rgba(238, 90, 54, 0.05) !important;
        box-shadow: none !important;
        padding: 8px !important;
        margin-top: 10px !important;
        border-radius: 12px !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .dropdown-item-nested.mobile-open>.sub-dropdown,
    .dropdown-item-nested.nav-open>.sub-dropdown {
        display: block !important;
    }

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

    @keyframes mobilePop {
        from {
            opacity: 0;
            transform: translateX(-50%) translateY(30px) scale(0.95);
        }

        to {
            opacity: 1;
            transform: translateX(-50%) translateY(0) scale(1);
        }
    }

    /* Mega Menu Accordion */
    .mega-menu-inner {
        flex-direction: column;
    }

    .mega-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--mega-border);
        padding: 0 0 12px;
        margin-bottom: 12px;
    }

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

    .mega-category.active,
    .mega-category.mobile-active {
        background: rgba(238, 90, 54, 0.1);
        color: #EE5A36;
    }

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

    .mega-content {
        padding: 0;
    }

    .mega-panel {
        display: none !important;
        flex-direction: column;
        gap: 20px;
        padding: 16px;
        background: rgba(238, 90, 54, 0.03);
        border-radius: 16px;
    }

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

    /* Berita Tablet Layout */
    .berita-grid {
        grid-template-columns: 1fr;
    }

    .berita-list {
        display: flex;
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .berita-card-large {
        min-height: auto;
        flex-direction: column;
        padding: 0;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        border-radius: var(--radius);
    }

    .berita-card-large .img-wrapper {
        position: relative;
        width: 100%;
        aspect-ratio: 2/1;
        max-height: 200px;
        height: auto;
        border-radius: var(--radius) var(--radius) 0 0;
    }

    .berita-card-large .content {
        width: 90%;
        align-self: center;
        margin-top: -40px;
        right: auto;
        bottom: auto;
        padding: 30px;
        border-radius: var(--radius);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 5;
    }

    .berita-card-small {
        height: auto;
        flex-direction: row;
        padding: 0;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        border-radius: var(--radius) !important;
        overflow: hidden;
        transform: translateZ(0);
    }

    .berita-card-small .img-wrapper {
        width: 35%;
        aspect-ratio: auto;
        height: 100%;
        margin-bottom: 0;
    }

    .berita-card-small .img-wrapper img {
        object-fit: cover;
    }

    .berita-card-small .content {
        width: 65%;
        padding: 20px;
    }

    /* Agenda Tablet Layout */
    .agenda-grid {
        grid-template-columns: 1fr 1fr;
    }

    .agenda-card {
        flex-direction: column;
    }

    .agenda-date {
        width: 100%;
        flex-direction: row;
        gap: 10px;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        justify-content: flex-start;
        padding: 16px;
    }

    .agenda-date .day {
        margin: 0;
        font-size: 1.5rem;
    }

    .agenda-img {
        width: 100%;
        aspect-ratio: 2/1;
        max-height: 160px;
        height: auto;
    }

    /* Galeri Tablet */
    .galeri-item {
        width: 180px;
        height: 180px;
    }

    .artikel-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-wrapper {
        height: 400px;
    }

    .site-footer .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    /* Hero Tablet */
    .hero {
        padding: 40px 24px 60px;
        border-radius: 0 0 30px 30px;
    }

    .container {
        padding: 0 24px;
    }

    .photo-collage {
        max-width: 100%;
        height: 260px;
    }

    .photo-card {
        transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .photo-card.pos-left {
        width: 260px;
        height: 195px;
        left: 22%;
        bottom: 0;
        transform: translateX(-50%) scale(0.9) rotate(-3deg);
        opacity: 0.8;
        z-index: 2;
    }

    .photo-card.pos-center {
        width: 320px;
        height: 240px;
        left: 50%;
        bottom: 10px;
        transform: translateX(-50%) scale(1);
        opacity: 1;
        z-index: 5;
        animation: popCenterTablet 0.6s cubic-bezier(.34, 1.56, .64, 1);
    }

    .photo-card.pos-right {
        width: 260px;
        height: 195px;
        left: 78%;
        right: auto;
        bottom: 0;
        transform: translateX(-50%) scale(0.9) rotate(3deg);
        opacity: 0.8;
        z-index: 2;
    }

    @keyframes popCenterTablet {
        0% {
            transform: translateX(-50%) scale(0.85);
        }

        55% {
            transform: translateX(-50%) scale(1.03);
        }

        100% {
            transform: translateX(-50%) scale(1);
        }
    }

    /* Services Tablet */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

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

    .section-title {
        font-size: 1.6rem !important;
    }

    .section-subtitle {
        font-size: 0.95rem !important;
        line-height: 1.5;
        margin-top: 8px;
    }

    .btn-see-all {
        padding: 6px 14px;
        font-size: 0.85rem;
    }

    /* Restructure Section Header Layout */
    .section-header {
        display: grid !important;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 8px 12px;
        margin-bottom: 24px !important;
    }

    .section-header>div:first-child {
        display: contents;
    }

    .section-title-wrap {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        margin-bottom: 0 !important;
    }

    .section-header .btn-see-all {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        margin-top: 0 !important;
        align-self: center;
    }

    .section-header .section-subtitle {
        grid-column: 1 / -1;
        grid-row: 2 / 3;
    }

    /* Berita */
    .berita-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .berita-card-large {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .berita-card-large .img-wrapper {
        aspect-ratio: 2/1;
        max-height: 140px;
        height: auto;
    }

    .berita-card-large .content {
        width: 92%;
        margin-top: -30px;
        padding: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    }

    .berita-card-large .title {
        font-size: 1.05rem;
        margin-top: 5px;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .berita-card-large .excerpt {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .berita-card-small {
        flex-direction: column;
        height: auto;
        padding: 0;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .berita-card-small .img-wrapper {
        width: 100%;
        aspect-ratio: 2/1;
        max-height: 140px;
        height: auto;
        margin-bottom: 0;
    }

    .berita-card-small .content {
        width: 100%;
        padding: 12px;
    }

    .berita-card-small .title {
        font-size: 0.95rem;
        margin-bottom: 6px;
        line-height: 1.3;
    }

    .berita-card-small .excerpt {
        font-size: 0.8rem;
    }

    /* Agenda */
    .agenda-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .agenda-card {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .agenda-date {
        padding: 12px 16px;
    }

    .agenda-date .day {
        font-size: 1.25rem;
    }

    .agenda-img {
        aspect-ratio: 2/1;
        max-height: 180px;
        height: auto;
    }

    .agenda-content {
        padding: 16px;
    }

    .agenda-title {
        font-size: 1.15rem;
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .agenda-detail {
        font-size: 0.85rem;
        margin-bottom: 4px;
    }

    /* Artikel */
    .artikel-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .artikel-card {
        padding: 16px;
        border-top: 4px solid #338D24;
    }

    .artikel-card .title {
        font-size: 0.95rem;
        margin-bottom: 6px;
        line-height: 1.3;
    }

    .artikel-card .excerpt {
        font-size: 0.8rem;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .artikel-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding-top: 12px;
    }

    .artikel-meta-left {
        gap: 6px;
        font-size: 0.75rem;
    }

    /* Galeri Marquee */
    .galeri-item {
        width: 140px;
        height: 140px;
    }

    .section-galeri .section-header {
        align-items: flex-start !important;
    }

    .galeri-deco-squares {
        display: none !important;
    }

    /* Video */
    .video-outer-wrapper {
        padding-left: 0 !important;
    }

    .video-bg-block {
        display: none;
    }

    .video-wrapper {
        height: 180px;
        min-height: 180px !important;
    }

    .section-video .section-header+div>div:last-child {
        display: none;
    }

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

    .marquee-item {
        margin: 0 10px;
        padding: 10px 15px;
        min-width: 120px;
        height: 60px;
        border-radius: 8px;
    }

    .marquee-item img {
        max-height: 35px;
    }

    /* Footer */
    /* Footer — Centered Mobile */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        text-align: center !important;
    }

    .footer-logo-area {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .footer-contact-info ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .footer-contact-info li {
        justify-content: center !important;
        text-align: center !important;
    }

    .social-icons {
        justify-content: center !important;
    }

    .footer-bottom-bar {
        flex-direction: column !important;
        gap: 10px !important;
        text-align: center !important;
    }

    .footer-contact-info h4::after,
    .footer-social h4::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    /* Hero Mobile */
    .hero {
        padding: 40px 20px 50px;
    }

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

    .hero h2 {
        font-size: 1.2rem;
    }

    .photo-collage {
        height: 240px;
        margin: 20px auto 0;
    }

    /* Transition override for extra smoothness on mobile */
    .photo-card {
        transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .photo-card.pos-left {
        width: 170px;
        height: 130px;
        left: 30%;
        bottom: 25px;
        transform: translateX(-50%) rotate(-3deg) scale(0.85);
        opacity: 0.6 !important;
        z-index: 2;
    }

    .photo-card.pos-center {
        width: 240px;
        height: 180px;
        left: 50%;
        bottom: 15px;
        transform: translateX(-50%) scale(1.1);
        z-index: 5;
        opacity: 1 !important;
        animation: popCenterMobile 0.6s cubic-bezier(.34, 1.56, .64, 1);
    }

    .photo-card.pos-right {
        width: 170px;
        height: 130px;
        left: 70%;
        bottom: 25px;
        transform: translateX(-50%) rotate(3deg) scale(0.85);
        opacity: 0.6 !important;
        z-index: 2;
    }

    @keyframes popCenterMobile {
        0% {
            transform: translateX(-50%) scale(0.9);
        }

        55% {
            transform: translateX(-50%) scale(1.12);
        }

        100% {
            transform: translateX(-50%) scale(1.1);
        }
    }

    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 24px 20px;
    }
}

@media (max-width: 649px) {
    .agenda-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* DARK MODE SUPPORT FOR NEW SECTIONS */
[data-theme="dark"] .page-section {
    background: var(--bg-body);
}

[data-theme="dark"] .page-section.bg-alt {
    background: var(--bg-body);
    /* slightly lighter dark bg */
}

[data-theme="dark"] .section-title {
    color: #ffffff !important;
}

[data-theme="dark"] .section-subtitle {
    color: #a0a0a0 !important;
}

[data-theme="dark"] .berita-card-large .content,
[data-theme="dark"] .berita-card-small,
[data-theme="dark"] .agenda-card,
[data-theme="dark"] .artikel-card {
    background: #2b2b2b;
    /* dark card bg */
    border: none;
    box-shadow: none;
}

[data-theme="dark"] .berita-card-large .title,
[data-theme="dark"] .berita-card-small .title,
[data-theme="dark"] .agenda-title,
[data-theme="dark"] .artikel-card .title {
    color: #ffffff;
}

[data-theme="dark"] .agenda-date {
    background: var(--orange);
    border-right: none;
    border-bottom: none;
    color: #ffffff;
}

[data-theme="dark"] .agenda-date .day,
[data-theme="dark"] .agenda-date .month,
[data-theme="dark"] .agenda-date .year {
    color: #ffffff;
}

[data-theme="dark"] .agenda-detail,
[data-theme="dark"] .berita-card-large .excerpt,
[data-theme="dark"] .berita-card-small .excerpt,
[data-theme="dark"] .artikel-card .excerpt {
    color: #bfbfbf;
}

[data-theme="dark"] .btn-see-all {
    color: #4CAF50 !important;
    border-color: #4CAF50 !important;
}

/* lighter green for visibility */

[data-theme="dark"] .sponsor-logo-box {
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .sponsor-bar {
    background: var(--bg-body);
}

[data-theme="dark"] .video-wrapper::before {
    opacity: 0.5;
}

[data-theme="dark"] .site-footer {
    color: var(--orange);
}

/* =========================================
   RESPONSIVE FOOTER
   ========================================= */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 30px 0 20px;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        margin-bottom: 24px;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-description {
        margin: 0 auto;
        font-size: 0.82rem;
    }

    .site-footer h4 {
        margin-bottom: 12px;
        font-size: 0.85rem;
    }

    .site-footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact-info ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-contact-info li {
        justify-content: center;
        text-align: center;
        margin-bottom: 8px;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding-top: 15px;
    }
}


/* ============================================
   LINK SECTION (MARQUEE)
   ============================================ */
.link-section {
    padding: 80px 0;
    background-color: var(--bg-white);
    overflow: hidden;
    position: relative;
}

[data-theme="dark"] .link-section {
    background-color: var(--bg-body);
}

.link-heading {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.link-divider {
    width: 80px;
    height: 4px;
    background-color: #DF5A39;
    margin: 0 auto 50px auto;
    border-radius: 2px;
}

.marquee-wrapper {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-bottom: 30px;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    min-width: 100%;
    flex-shrink: 0;
    animation: scrollX 30s linear infinite;
}

.marquee-wrapper:hover .marquee-group {
    animation-play-state: paused;
}

.marquee-wrapper.reverse .marquee-group {
    animation-direction: reverse;
    animation-duration: 35s;
}

@keyframes scrollX {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.marquee-item {
    flex: 0 0 auto;
    margin: 0 20px;
    padding: 15px 30px;
    background-color: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 90px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .marquee-item {
    background-color: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.marquee-item img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    filter: grayscale(10%);
    transition: filter 0.3s ease;
}

.marquee-item:hover img {
    filter: grayscale(0%);
}

.marquee-item:hover img {
    filter: grayscale(0%);
}

.marquee-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.marquee-item img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    filter: grayscale(10%);
    transition: filter 0.3s ease;
}

.marquee-item:hover img {
    filter: grayscale(0%);
}

.marquee-item:hover img {
    filter: grayscale(0%);
}

/* ============================================
   FULL-SCREEN SPLASH OVERLAY
   ============================================ */
.splash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.85);
    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: var(--orange);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 100;
    transition: all 0.3s ease;
}

.splash-close-top:hover {
    background: var(--orange);
    color: #fff;
    transform: rotate(90deg);
}

.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 50px;
    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;
}

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

.slide-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--orange-glow);
    color: var(--orange);
    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(232, 87, 58, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(232, 87, 58, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(232, 87, 58, 0);
    }
}

.slide-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.2;
    margin-bottom: 15px;
}

.slide-desc {
    font-size: 0.95rem;
    color: var(--text-body);
    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: 25px;
    left: 60px;
    display: flex;
    gap: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.4s ease;
}

.dot.active {
    width: 24px;
    background: var(--orange);
}

.splash-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0 60px 40px;
    display: none;
}

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

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
}

/* 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: 75%;
        height: auto;
        max-height: 90vh;
        border-radius: 20px;
    }

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

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

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

    .slide-content {
        max-width: 320px;
        margin: 0 auto;
        padding: 24px 20px 40px;
        text-align: center;
        order: 2;
        transform: translateY(10px);
    }

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

    .slide-desc {
        font-size: 0.9rem;
        margin-bottom: 20px;
        color: var(--text-body);
    }

    .slide-image {
        position: relative;
        width: 100%;
        height: 320px;
        order: 1;
        right: 0;
    }

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

    .carousel-nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .splash-modal {
        width: 80%;
        max-height: 85vh;
    }

    .slide-content {
        padding: 18px 12px 32px;
        max-width: 260px;
    }

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

    .slide-desc {
        font-size: 0.8rem;
    }

    .slide-image {
        height: 230px;
    }

    .slide-badge {
        margin-bottom: 15px;
        padding: 5px 12px;
        font-size: 0.65rem;
    }

    .splash-close-top {
        top: 10px;
        right: 10px;
        width: 34px;
        height: 34px;
    }
}

[data-theme="dark"] .splash-modal {
    background: var(--bg-card);
    border-color: var(--border-light);
}

[data-theme="dark"] .splash-close-top {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 4px 12px rgba(232, 87, 58, 0.3);
}

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

[data-theme="dark"] .dot {
    background: rgba(255, 255, 255, 0.15);
}

/* ============================================
   SERVICE CARDS DARK MODE OVERRIDES
   ============================================ */
[data-theme="dark"] .features-inner {
    background:
      linear-gradient(rgba(211, 67, 36, 0.2) 1px, transparent 1px),
      linear-gradient(90deg, rgba(211, 67, 36, 0.2) 1px, transparent 1px),
      linear-gradient(180deg, #BC381E 0%, #000000 100%); /* Oranye tua ke Hitam pekat sesuai gambar */
    background-size: 40px 40px, 40px 40px, 100% 100%;
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

[data-theme="dark"] .feature-card:not(:last-child)::after {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .feature-icon {
    color: #ffffff !important;
}

[data-theme="dark"] .feature-card h3 {
    color: #ffffff;
}

[data-theme="dark"] .feature-card p {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .feature-card:hover {
    background: rgba(211, 67, 36, 0.05);
}
/* --- Custom Orange Scrollbar --- */
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #EE5A36;
    border-radius: 6px;
    border: 3px solid #f1f1f1;
}
::-webkit-scrollbar-thumb:hover {
    background: #d94c2c;
}
/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #EE5A36 #f1f1f1;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
  :root {
    --nav-h: 60px;
    --radius: 12px;
    --brand-accent: var(--orange);
  }

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

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

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

  .nav-logo-img {
    height: 32px !important;
  }

  .navbar {
    top: 0 !important;
    bottom: auto !important;
    background: var(--nav-bg) !important;
    box-shadow: none;
    border-bottom: 1px solid var(--nav-border);
    height: 60px !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

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

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

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

  .nav-link {
    display: flex !important;
    width: 100% !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px 0 !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    color: var(--text-body) !important;
    gap: 3px !important;
    line-height: 1.1 !important;
    background: transparent !important;
    border-radius: 20px !important;
  }

  .nav-link:hover, .nav-item.mobile-open .nav-link, .nav-item.nav-open .nav-link {
    color: var(--brand-accent) !important;
    background: rgba(0, 0, 0, 0.04) !important;
  }
  [data-theme="dark"] .nav-link:hover {
    background: rgba(255, 255, 255, 0.04) !important;
  }

  .mobile-nav-icon {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    color: inherit;
  }

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

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

  /* 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 !important;
    border: 1px solid var(--dropdown-border) !important;
    border-radius: 20px !important;
    background: var(--dropdown-bg) !important;
    padding: 16px !important;
    margin: 0 !important;
    z-index: 1050 !important;
    box-shadow: 0 12px 48px rgba(0, 0, 0, .10) !important;
  }

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

  @keyframes popUp {
    from { opacity: 0; transform: translateY(20px) translateX(-50%) scale(0.95); }
    to { opacity: 1; transform: translateY(0) translateX(-50%) scale(1); }
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  /* Page Sections */
  .hero { padding-bottom: 110px !important; }
  .site-footer { padding-bottom: 110px !important; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 2.2rem !important; }
}

@media (max-width: 480px) {
  .nav-logo-img { height: 28px !important; }
  .hero h1 { font-size: 1.8rem !important; }
  .site-footer { padding-bottom: 110px !important; }
}

@media (max-width: 400px) {
  .navbar-inner { padding: 0 16px; height: 56px; }
  .nav-logo-img { height: 24px !important; }
}

@media (max-width: 350px) {
  .container { padding: 0 16px; }
  .navbar-inner { padding: 0 16px; }
  .hero h1 { font-size: 1.6rem !important; }

  /* --- Footer Compact --- */
  .site-footer { padding: 20px 0 15px !important; }
  .footer-content { gap: 16px !important; margin-bottom: 16px !important; }
  .footer-brand .logo-icon { width: 30px !important; height: 30px !important; border-radius: 8px !important; }
  .brand-title { font-size: 0.82rem !important; }
  .brand-sub-title { font-size: 0.7rem !important; }
  .footer-description { font-size: 0.75rem !important; }
  .site-footer h4 { font-size: 0.78rem !important; margin-bottom: 10px !important; }
  .footer-contact-info li { font-size: 0.75rem !important; gap: 6px !important; margin-bottom: 8px !important; }
  .footer-contact-info svg { width: 14px !important; height: 14px !important; }
  .social-icons { gap: 6px !important; }
  .social-icons a { width: 30px !important; height: 30px !important; border-radius: 6px !important; }
  .social-icons a svg { width: 14px !important; height: 14px !important; }
  .footer-bottom-bar { padding-top: 12px !important; font-size: 0.68rem !important; }
  .footer-bottom-links { gap: 10px !important; }
}

@media (max-width: 320px) {
  .container { padding: 0 14px; }
  .navbar-inner { padding: 0 14px; }
  .logo-wrapper { transform: scale(0.8) !important; transform-origin: left center !important; }
}

@media (max-width: 280px) {
  .container { padding: 0 8px; }
  .navbar-inner { padding: 0 8px; }
  .nav-links { width: calc(100% - 16px) !important; padding: 4px 8px !important; border-radius: 20px !important; }
  .nav-link { padding: 4px 0 !important; font-size: 8px !important; }
  .mobile-nav-icon { width: 14px !important; height: 14px !important; }
  .logo-wrapper { transform: scale(0.65) !important; transform-origin: left center !important; }

  /* --- Footer --- */
  .footer-brand .logo-icon { width: 26px !important; height: 26px !important; }
  .brand-title { font-size: 0.75rem !important; }
  .footer-description { font-size: 0.7rem !important; }
  .footer-contact-info li { font-size: 0.7rem !important; }
  .social-icons a { width: 26px !important; height: 26px !important; }
}

@media (max-width: 240px) {
  .container { padding: 0 6px; }
  .navbar-inner { padding: 0 6px; }
  .hero h1 { font-size: 1.35rem !important; }

  /* --- Footer --- */
  .site-footer { padding: 15px 0 10px !important; }
  .footer-content { gap: 12px !important; }
}

@media (max-width: 200px) {
  .container { padding: 0 4px; }
  .navbar-inner { padding: 0 4px; }
  .nav-links { width: calc(100% - 4px) !important; padding: 2px !important; }
  .logo-wrapper { transform: scale(0.55) !important; transform-origin: left center !important; }

  /* --- Footer --- */
  .footer-brand { gap: 6px !important; }
  .site-footer h4 { font-size: 0.7rem !important; }
  .footer-bottom-bar { font-size: 0.6rem !important; }
}

/* --- Custom Orange Scrollbar --- */
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #EE5A36;
    border-radius: 6px;
    border: 3px solid #f1f1f1;
}
::-webkit-scrollbar-thumb:hover {
    background: #d94c2c;
}
/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #EE5A36 #f1f1f1;
}

/* ===== More Dropdown (Two-Panel) ===== */
.has-more-dropdown { position: relative; }

.more-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 520px;
    background: var(--dropdown-bg);
    border: 1px solid var(--dropdown-border);
    border-radius: 16px;
    box-shadow: var(--dropdown-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 200;
    overflow: hidden;
    display: flex;
}

.nav-item.has-more-dropdown.nav-open .more-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.more-dropdown-sidebar {
    width: 200px;
    flex-shrink: 0;
    background: var(--mega-sidebar-bg);
    padding: 12px 8px;
    border-right: 1px solid var(--dropdown-border);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.more-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dropdown-text);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    user-select: none;
}

.more-category:hover,
.more-category.active {
    color: var(--dropdown-text-hover);
    background: rgba(238, 90, 54, 0.08);
}

.more-category.active {
    font-weight: 600;
    color: var(--dropdown-text-hover);
}

.more-dropdown-content {
    flex: 1;
    padding: 16px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
}

.more-panel {
    display: none;
    flex-direction: column;
    gap: 4px;
    animation: megaFadeIn 0.25s ease forwards;
}

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

.more-link {
    display: block;
    padding: 9px 12px;
    font-size: 0.875rem;
    color: var(--dropdown-text);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.more-link:hover {
    color: var(--dropdown-text-hover);
    background: rgba(238, 90, 54, 0.06);
    padding-left: 16px;
}

.nav-link-more { color: var(--orange) !important; }
.nav-link-more .dropdown-arrow { color: var(--orange) !important; }

[data-theme="dark"] .more-dropdown-menu { background: var(--dropdown-bg); border-color: var(--dropdown-border); }
[data-theme="dark"] .more-dropdown-sidebar { background: var(--mega-sidebar-bg); }

@media (max-width: 1024px) {
    .has-more-dropdown .more-dropdown-menu {
        position: fixed !important;
        bottom: 90px !important;
        top: auto !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: calc(100% - 32px) !important;
        max-width: 480px !important;
        max-height: calc(100vh - 160px) !important;
        overflow-y: auto !important;
        border-radius: 20px !important;
        flex-direction: column;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    .nav-item.has-more-dropdown.mobile-open .more-dropdown-menu,
    .nav-item.has-more-dropdown.nav-open .more-dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateX(-50%) translateY(0) !important;
    }
    .more-dropdown-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--dropdown-border);
        padding: 12px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }
    .more-category {
        padding: 8px 14px;
        font-size: 0.85rem;
        border: 1px solid var(--dropdown-border);
        border-radius: 20px;
        flex: 0 0 auto;
        justify-content: center;
        gap: 6px;
    }
    .more-dropdown-content { padding: 12px; }
    .more-panel { flex-direction: row; flex-wrap: wrap; gap: 8px; }
    .more-link {
        flex: 0 0 auto;
        font-size: 0.85rem;
        padding: 8px 14px;
        border: 1px solid rgba(0,0,0,0.08);
        border-radius: 8px;
    }
}
