/* ============================================================================
   PONDOK PESANTREN AL-MUMTAZ BATU BARA - MODERN DESIGN SYSTEM v4.0
   Brand Identity: Royal Purple (#6D28D9 / #5B21B6) & Sunset Orange (#F97316 / #EA580C)
   100% Fully Responsive: Mobile (320px - 768px), Tablet (768px - 1024px), PC (>1024px)
   ============================================================================ */

/* ===== 1. CSS VARIABLES & DESIGN TOKENS ===== */
:root {
    /* Purple Palette */
    --purple-950: #17072E;
    --purple-900: #2E1065;
    --purple-800: #4C1D95;
    --purple-700: #5B21B6;
    --purple-600: #6D28D9;
    --purple-500: #7C3AED;
    --purple-400: #9333EA;
    --purple-300: #C084FC;
    --purple-200: #DDD6FE;
    --purple-100: #EDE9FE;
    --purple-50:  #F5F3FF;

    /* Orange Palette */
    --orange-950: #431407;
    --orange-900: #7C2D12;
    --orange-800: #9A3412;
    --orange-700: #C2410C;
    --orange-600: #EA580C;
    --orange-500: #F97316;
    --orange-400: #FB923C;
    --orange-300: #FDBA74;
    --orange-200: #FED7AA;
    --orange-100: #FFEDD5;
    --orange-50:  #FFF7ED;

    /* Semantic Neutral Surfaces */
    --bg-page: #FBF9FE;
    --bg-card: #FFFFFF;
    --bg-section-alt: #F6F2FC;
    --text-primary: #1E1236;
    --text-secondary: #4A4063;
    --text-muted: #786E91;
    --border-color: #ECE5F8;
    --border-hover: rgba(109, 40, 217, 0.25);

    /* Core Gradients (Purple to Orange) */
    --gradient-primary: linear-gradient(135deg, #5B21B6 0%, #7C3AED 35%, #C026D3 68%, #F97316 100%);
    --gradient-primary-reverse: linear-gradient(135deg, #F97316 0%, #FB923C 30%, #7C3AED 72%, #5B21B6 100%);
    --gradient-orange: linear-gradient(135deg, #FB923C 0%, #F97316 48%, #EA580C 100%);
    --gradient-purple: linear-gradient(135deg, #7C3AED 0%, #6D28D9 50%, #4C1D95 100%);
    --gradient-dark: linear-gradient(135deg, #1C0A3B 0%, #3B0764 42%, #581C87 75%, #9A3412 100%);
    --gradient-hero: linear-gradient(125deg, rgba(23, 7, 46, 0.95) 0%, rgba(59, 7, 100, 0.90) 38%, rgba(109, 40, 217, 0.65) 72%, rgba(249, 115, 22, 0.70) 100%);
    --gradient-text: linear-gradient(120deg, #6D28D9 0%, #A855F7 45%, #F97316 100%);
    --gradient-text-light: linear-gradient(110deg, #FFFFFF 0%, #FED7AA 50%, #FDBA74 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(109, 40, 217, 0.08), rgba(249, 115, 22, 0.08));
    --gradient-mesh:
        radial-gradient(at 10% 12%, rgba(124, 58, 237, 0.12) 0px, transparent 48%),
        radial-gradient(at 90% 15%, rgba(249, 115, 22, 0.10) 0px, transparent 48%),
        radial-gradient(at 50% 95%, rgba(168, 85, 247, 0.08) 0px, transparent 55%);

    /* Depth & Shadows */
    --shadow-sm: 0 2px 8px -2px rgba(46, 16, 101, 0.06);
    --shadow-card: 0 4px 20px -4px rgba(46, 16, 101, 0.08), 0 1px 3px rgba(46, 16, 101, 0.04);
    --shadow-card-hover: 0 20px 40px -12px rgba(109, 40, 217, 0.28), 0 4px 12px -2px rgba(249, 115, 22, 0.16);
    --shadow-purple: 0 12px 32px -8px rgba(109, 40, 217, 0.45);
    --shadow-orange: 0 12px 32px -8px rgba(249, 115, 22, 0.50);
    --shadow-xl: 0 32px 70px -20px rgba(30, 10, 60, 0.35);

    /* Radii */
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 26px;
    --radius-full: 9999px;

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition: 0.35s var(--ease-out);
    --transition-fast: 0.2s var(--ease-out);

    /* Fonts */
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== 2. RESET & BASE STYLES ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body.nav-open {
    /* Smooth mobile nav state */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    overflow-wrap: break-word;
    word-break: break-word;
}

p {
    line-height: 1.75;
    overflow-wrap: break-word;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast), background var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
}

::selection {
    background: var(--purple-600);
    color: #FFFFFF;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-section-alt);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--purple-500), var(--orange-500));
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--purple-700), var(--orange-600));
}

:focus-visible {
    outline: 2.5px solid var(--orange-400);
    outline-offset: 3px;
    border-radius: 6px;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 576px) {
    .container { padding: 0 20px; }
}
@media (min-width: 768px) {
    .container { padding: 0 28px; }
}
@media (min-width: 1200px) {
    .container { padding: 0 32px; }
}

.ms-2 { margin-left: 0.35rem; }

/* ===== 3. KEYFRAME ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(45px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes floatSlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(16px, -18px) scale(1.04); }
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes waPulse {
    0% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0); }
}
@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.8; }
}
@keyframes pulseBadge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
    50% { box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.18); }
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes shimmerGlow {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Animation utility classes */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeInUp 0.8s var(--ease-out) forwards;
}
.fade-in-delay-1 { animation-delay: 0.12s; }
.fade-in-delay-2 { animation-delay: 0.24s; }
.fade-in-delay-3 { animation-delay: 0.36s; }
.fade-in-delay-4 { animation-delay: 0.48s; }
.slide-in-right {
    opacity: 0;
    transform: translateX(36px);
    animation: slideInRight 0.85s var(--ease-out) 0.15s forwards;
}
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out),
                box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 4. NAVBAR & NAVIGATION ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(110deg,
        rgba(30, 10, 65, 0.96) 0%,
        rgba(76, 29, 149, 0.94) 38%,
        rgba(126, 34, 206, 0.92) 68%,
        rgba(234, 88, 12, 0.92) 100%);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    box-shadow: 0 8px 32px -8px rgba(30, 10, 65, 0.45);
    transition: background var(--transition), box-shadow var(--transition);
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--orange-400) 25%, var(--purple-300) 50%, var(--orange-400) 75%, transparent 100%);
    background-size: 200% 100%;
    animation: gradientShift 6s ease infinite;
    opacity: 0.9;
}

.navbar.scrolled {
    background: linear-gradient(110deg,
        rgba(23, 7, 46, 0.98) 0%,
        rgba(59, 7, 100, 0.97) 40%,
        rgba(109, 40, 217, 0.96) 70%,
        rgba(217, 83, 14, 0.96) 100%);
    box-shadow: 0 12px 36px -8px rgba(23, 7, 46, 0.65);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 12px 0;
    position: relative;
    z-index: 2;
    transition: padding var(--transition-fast);
}

.navbar.scrolled .nav-wrapper {
    padding: 8px 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 54px);
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px -2px rgba(0, 0, 0, 0.28), inset 0 0 0 1.5px rgba(255, 255, 255, 0.85);
    transition: transform var(--ease-spring) 0.35s, box-shadow var(--transition);
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo:hover .logo-icon {
    transform: rotate(-6deg) scale(1.06);
    box-shadow: 0 8px 20px -3px rgba(249, 115, 22, 0.5), inset 0 0 0 2px var(--orange-300);
}

.logo-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.logo-text h1 {
    font-size: clamp(0.74rem, 2.4vw, 0.94rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.22;
    letter-spacing: -0.01em;
    white-space: normal;
    word-break: break-word;
}

.logo-text span {
    font-size: clamp(0.5rem, 1.6vw, 0.64rem);
    font-weight: 700;
    color: var(--orange-200);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Desktop Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.86rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.nav-links > li > a:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.14);
}

.nav-links > li > a.active {
    color: var(--purple-900);
    background: #FFFFFF;
    font-weight: 700;
    box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.3);
}

.nav-links > li > a.active i {
    color: var(--orange-500);
}

/* Dropdown (Desktop) */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}

.dropdown-toggle i {
    font-size: 0.65rem;
    transition: transform 0.35s var(--ease-spring);
}

.dropdown:hover .dropdown-toggle i,
.dropdown.open .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px) scale(0.96);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    min-width: 250px;
    border-radius: var(--radius-lg);
    padding: 10px;
    box-shadow: 0 24px 60px -16px rgba(30, 10, 60, 0.35), 0 0 0 1px rgba(109, 40, 217, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.25s;
    z-index: 500;
    list-style: none;
}

/* Invisible hover bridge */
.dropdown-menu::after {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
}

/* Little pointer triangle */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: #FFFFFF;
    border-top: 1px solid rgba(109, 40, 217, 0.08);
    border-left: 1px solid rgba(109, 40, 217, 0.08);
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu,
.dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    margin: 2px 0;
    border-radius: var(--radius-md);
    color: var(--text-primary) !important;
    font-size: 0.86rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
    background: var(--purple-50);
    color: var(--purple-700) !important;
    transform: translateX(4px);
}

.dropdown-menu a i {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--purple-50);
    color: var(--purple-600);
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.dropdown-menu li:nth-child(even) a i {
    background: var(--orange-50);
    color: var(--orange-500);
}

.dropdown-menu a:hover i {
    background: var(--gradient-primary);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(109, 40, 217, 0.4);
}

/* Hamburger Button */
.hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #FFFFFF;
    font-size: 1.25rem;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: auto;
    padding: 0;
    transition: all var(--transition-fast);
    z-index: 1001;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.35);
    transform: scale(1.04);
}

.hamburger.active {
    background: var(--gradient-primary);
    border-color: var(--orange-400);
    color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.45);
}

.hamburger i {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hamburger.active i {
    transform: rotate(90deg);
}

/* Mobile Navigation Backdrop */
.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 5, 30, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nav-backdrop.show {
    opacity: 1;
    visibility: visible;
}

/* Mobile Navbar Media Query */
@media (max-width: 820px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        gap: 4px;
        padding: 0;
        margin-top: 0;
        border-top: 1px solid transparent;
        position: static;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        transform: none;
        transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.35s ease,
                    padding 0.35s ease,
                    margin 0.35s ease,
                    visibility 0.35s ease;
        z-index: 999;
    }

    .nav-links.open,
    .nav-links.active {
        max-height: 85vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        opacity: 1;
        visibility: visible;
        padding: 12px 12px 16px;
        margin-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.16);
        background: rgba(18, 6, 40, 0.55);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-radius: var(--radius-lg);
        box-shadow: 0 16px 36px -10px rgba(15, 5, 30, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }

    .nav-links > li {
        width: 100%;
    }

    .nav-links > li > a {
        width: 100%;
        padding: 12px 16px;
        font-size: 0.92rem;
        border-radius: var(--radius-md);
        color: rgba(255, 255, 255, 0.92);
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        white-space: normal;
        background: transparent;
        transition: all var(--transition-fast);
    }

    .nav-links > li > a:hover {
        background: rgba(255, 255, 255, 0.14);
        color: #FFFFFF;
        transform: translateX(4px);
    }

    .nav-links > li > a.active {
        background: var(--gradient-primary);
        color: #FFFFFF;
        box-shadow: 0 4px 16px rgba(109, 40, 217, 0.4);
        font-weight: 700;
    }

    .nav-links > li > a.active i {
        color: var(--orange-300);
    }

    /* Mobile Dropdown */
    .dropdown {
        position: static;
        width: 100%;
    }

    .dropdown-toggle {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 12px 16px !important;
        border-radius: var(--radius-md);
        color: rgba(255, 255, 255, 0.92) !important;
        font-size: 0.92rem;
        font-weight: 600;
        text-align: left;
        background: transparent;
        transition: all var(--transition-fast);
    }

    .dropdown:hover .dropdown-toggle,
    .dropdown.open > .dropdown-toggle {
        background: rgba(255, 255, 255, 0.14);
        color: #FFFFFF !important;
    }

    .dropdown-toggle i {
        font-size: 0.72rem;
        transition: transform 0.3s var(--ease-spring);
    }

    .dropdown.open > .dropdown-toggle i {
        transform: rotate(180deg);
        color: var(--orange-300);
    }

    .dropdown-menu {
        position: static;
        transform: none !important;
        width: 100%;
        min-width: 100%;
        box-shadow: none;
        background: rgba(18, 6, 36, 0.55);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: var(--radius-md);
        padding: 6px;
        margin: 6px 0 10px;
        display: none;
        list-style: none;
    }

    .dropdown-menu::before,
    .dropdown-menu::after {
        display: none;
    }

    .dropdown.open > .dropdown-menu,
    .dropdown-menu.open {
        display: flex;
        flex-direction: column;
        gap: 3px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        animation: fadeInDown 0.3s ease;
    }

    .dropdown-menu a {
        color: rgba(255, 255, 255, 0.92) !important;
        padding: 10px 14px;
        font-size: 0.88rem;
        border-radius: var(--radius-sm);
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 0;
        transition: all var(--transition-fast);
    }

    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.14);
        color: #FFFFFF !important;
        transform: translateX(4px);
    }

    .dropdown-menu a i,
    .dropdown-menu li:nth-child(even) a i {
        background: rgba(255, 255, 255, 0.12);
        color: var(--orange-300);
        width: 30px;
        height: 30px;
        border-radius: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
        flex-shrink: 0;
        transition: all var(--transition-fast);
    }

    .dropdown-menu a:hover i {
        background: var(--gradient-primary);
        color: #FFFFFF;
        box-shadow: 0 4px 12px rgba(109, 40, 217, 0.4);
    }
}

/* Small screen navbar tweaks */
@media (max-width: 480px) {
    .nav-wrapper {
        padding: 10px 0;
    }
    .logo {
        gap: 8px;
        max-width: calc(100% - 50px);
    }
    .logo-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        padding: 3px;
    }
    .logo-text h1 {
        font-size: clamp(0.7rem, 2.9vw, 0.82rem);
        line-height: 1.2;
    }
    .logo-text span {
        font-size: 0.53rem;
        letter-spacing: 0.05em;
    }
    .hamburger {
        width: 38px;
        height: 38px;
        font-size: 1.15rem;
        border-radius: 10px;
    }
}

/* ===== 5. HERO SECTION (HOME) ===== */
.hero-section {
    position: relative;
    min-height: 84vh;
    display: flex;
    align-items: center;
    padding: 60px 0 130px;
    background-image: url('Background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    isolation: isolate;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--gradient-hero);
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 85% 18%, rgba(249, 115, 22, 0.45), transparent 42%),
        radial-gradient(circle at 10% 85%, rgba(147, 51, 234, 0.50), transparent 46%),
        radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1.2px) 0 0 / 24px 24px;
    -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent);
    mask-image: linear-gradient(180deg, #000 75%, transparent);
}

.hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.hero-text {
    width: 100%;
    color: #FFFFFF;
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #FFFFFF;
    padding: 7px 18px 7px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.3);
}

.badge i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-orange);
    color: #FFFFFF;
    font-size: 0.65rem;
    animation: pulseBadge 2.4s ease infinite;
}

.hero-text h2 {
    font-size: clamp(2.1rem, 5.8vw, 4.2rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    text-shadow: 0 6px 36px rgba(15, 5, 30, 0.4);
}

.hero-text h2 .highlight {
    display: inline-block;
    background: linear-gradient(100deg, #FFFFFF 0%, #FED7AA 35%, #F97316 75%, #F43F5E 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 4px 20px rgba(249, 115, 22, 0.45));
}

.hero-text p {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.92);
    margin: 20px auto 32px;
    max-width: 640px;
    line-height: 1.75;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

@media (min-width: 540px) {
    .hero-buttons {
        flex-direction: row;
        gap: 14px;
    }
    .hero-btn,
    .hero-btn-outline {
        width: auto;
        max-width: none;
    }
}

.hero-btn,
.hero-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-align: center;
    width: 100%;
    max-width: 320px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.hero-btn {
    background: var(--gradient-orange);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 12px 30px -8px rgba(249, 115, 22, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 75%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    transition: left 0.75s var(--ease-out);
}

.hero-btn:hover::before {
    left: 140%;
}

.hero-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -8px rgba(249, 115, 22, 0.85);
    color: #FFFFFF;
}

.hero-btn-outline {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-btn-outline:hover {
    background: #FFFFFF;
    color: var(--purple-900);
    border-color: #FFFFFF;
    transform: translateY(-4px);
    box-shadow: 0 14px 34px -8px rgba(0, 0, 0, 0.4);
}

.hero-btn-outline:hover i {
    color: var(--orange-500);
}

/* Hero Feature Pills */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 28px;
}

.hero-feature-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(20, 6, 45, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 7px 16px 7px 8px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    color: #FFFFFF;
    transition: all var(--transition-fast);
}

.hero-feature-item i {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    color: var(--orange-300);
    font-size: 0.72rem;
}

.hero-feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--orange-300);
    transform: translateY(-3px);
}

/* Hero Image */
.hero-image {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.hero-image-wrapper {
    position: relative;
    max-width: 380px;
    width: 100%;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(249, 115, 22, 0.6) 45%, rgba(168, 85, 247, 0.6));
    transform: rotate(3deg);
    opacity: 0.7;
    transition: transform var(--transition);
}

.hero-image-wrapper img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 26px;
    border: 4px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 32px 70px -20px rgba(15, 5, 30, 0.7);
    transition: transform 0.6s var(--ease-out);
}

.hero-image-wrapper:hover img {
    transform: translateY(-6px) scale(1.02);
}
.hero-image-wrapper:hover::before {
    transform: rotate(5deg) scale(1.02);
}

.floating-badge {
    position: absolute;
    bottom: -12px;
    left: -12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 18px 10px 10px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text-primary);
    box-shadow: 0 16px 36px -10px rgba(15, 5, 30, 0.45);
    animation: float 4.5s ease-in-out infinite;
}

.floating-badge i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #FFFFFF;
    font-size: 0.85rem;
}

/* Mobile Hero Breakpoint */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 44px 0 105px;
    }
    .hero-image-wrapper {
        max-width: 320px;
    }
    .floating-badge {
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.74rem;
        padding: 8px 14px 8px 8px;
        white-space: nowrap;
    }
}

/* Desktop Hero Breakpoint */
@media (min-width: 900px) {
    .hero-section {
        min-height: 88vh;
        padding: 80px 0 150px;
    }
    .hero-grid {
        flex-direction: row;
        align-items: center;
        gap: 60px;
    }
    .hero-text {
        text-align: left;
        flex: 1 1 55%;
    }
    .hero-text p {
        margin: 22px 0 34px;
        padding-left: 18px;
        border-left: 3.5px solid var(--orange-400);
    }
    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }
    .hero-btn,
    .hero-btn-outline {
        width: auto;
    }
    .hero-features {
        justify-content: flex-start;
    }
    .hero-image {
        flex: 1 1 45%;
        margin-top: 0;
    }
    .hero-image-wrapper {
        max-width: 440px;
    }
}

/* ===== 6. STATISTIK SECTION (OVERLAPPING CARDS) ===== */
.stats-section {
    position: relative;
    z-index: 10;
    margin-top: -68px;
    padding-bottom: 50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: var(--radius-xl);
    padding: 14px;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(109, 40, 217, 0.08);
    position: relative;
    overflow: hidden;
}

.stats-grid::before {
    content: '';
    position: absolute;
    left: 20px;
    right: 20px;
    top: 0;
    height: 3.5px;
    background: var(--gradient-primary);
    border-radius: 0 0 6px 6px;
}

.stat-item-big {
    text-align: center;
    padding: 20px 10px;
    border-radius: var(--radius-lg);
    background: transparent;
    position: relative;
    transition: all var(--transition);
}

.stat-item-big:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 220px;
    margin: 0 auto;
    width: 100%;
}

.stat-item-big:hover {
    transform: translateY(-6px);
    background: var(--purple-50);
    box-shadow: var(--shadow-card);
}

.stat-item-big i {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: var(--purple-50);
    color: var(--purple-600);
    transition: all var(--ease-spring) 0.35s;
}

.stat-item-big:nth-child(even) i {
    background: var(--orange-50);
    color: var(--orange-500);
}

.stat-item-big:hover i {
    background: var(--gradient-primary);
    color: #FFFFFF;
    transform: scale(1.1) rotate(-6deg);
    box-shadow: var(--shadow-purple);
}

.stat-item-big .number {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    line-height: 1.15;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: block;
}

.stat-item-big .label {
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 600;
    display: block;
    margin-top: 4px;
    letter-spacing: 0.02em;
}

@media (max-width: 480px) {
    .stats-section {
        margin-top: -60px;
        padding-bottom: 36px;
    }
    .stats-grid {
        padding: 12px 8px;
        gap: 6px;
        border-radius: var(--radius-lg);
    }
    .stat-item-big {
        padding: 14px 6px;
    }
    .stat-item-big i {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-bottom: 6px;
        border-radius: 11px;
    }
    .stat-item-big .number {
        font-size: 1.45rem;
    }
    .stat-item-big .label {
        font-size: 0.72rem;
    }
}

@media (min-width: 600px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        padding: 18px;
    }
    .stat-item-big:last-child:nth-child(odd) {
        grid-column: auto;
        max-width: none;
    }
}

@media (min-width: 900px) {
    .stats-section {
        margin-top: -85px;
        padding-bottom: 70px;
    }
    .stats-grid {
        grid-template-columns: repeat(5, 1fr);
        padding: 20px;
        border-radius: 32px;
    }
    .stat-item-big {
        padding: 26px 14px;
    }
    .stat-item-big + .stat-item-big::before {
        content: '';
        position: absolute;
        left: 0;
        top: 24%;
        bottom: 24%;
        width: 1px;
        background: var(--border-color);
    }
}

/* ===== 7. SAMBUTAN SECTION ===== */
.sambutan-section {
    padding: 50px 0 70px;
    background: var(--bg-page);
    position: relative;
    overflow: hidden;
}

.sambutan-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.12), transparent 70%);
    pointer-events: none;
}

.sambutan-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.10), transparent 70%);
    pointer-events: none;
}

.sambutan-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 32px 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    position: relative;
    z-index: 1;
}

.sambutan-left {
    text-align: center;
    width: 100%;
}

.sambutan-left .foto-pimpinan {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto 18px;
    padding: 5px;
    background: var(--gradient-primary);
    box-shadow: 0 16px 36px -10px rgba(109, 40, 217, 0.5);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--ease-spring) 0.35s;
}

.sambutan-left .foto-pimpinan::after {
    content: '';
    position: absolute;
    inset: -9px;
    border-radius: 50%;
    border: 2px dashed rgba(249, 115, 22, 0.45);
    animation: spin 24s linear infinite;
    pointer-events: none;
}

.sambutan-left .foto-pimpinan:hover {
    transform: scale(1.05);
}

.sambutan-left .foto-pimpinan img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #FFFFFF;
}

.avatar-fallback {
    background: var(--gradient-primary) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.avatar-fallback i {
    font-size: 3.2rem;
    color: #FFFFFF;
}

.sambutan-left h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
}

.sambutan-left .jabatan {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.84rem;
    margin-top: 4px;
}

.badge-sambutan {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--orange-50);
    color: var(--orange-600);
    border: 1px solid var(--orange-100);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    margin-top: 12px;
}

.sambutan-right {
    text-align: center;
    width: 100%;
    position: relative;
}

.sambutan-right h3 {
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.sambutan-right h3 span {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.sambutan-right .sub-judul {
    font-size: 0.95rem;
    color: var(--purple-600);
    font-weight: 700;
    margin-bottom: 16px;
}

.sambutan-right p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.85;
    margin-bottom: 16px;
}

/* Gradient Pill Buttons */
.btn-sambutan,
.btn-more-news,
.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    background-size: 160% 160%;
    background-position: 0% 50%;
    color: #FFFFFF;
    padding: 14px 30px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-purple);
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.btn-sambutan:hover,
.btn-more-news:hover,
.map-btn:hover {
    color: #FFFFFF;
    transform: translateY(-4px);
    background-position: 100% 50%;
    box-shadow: var(--shadow-orange);
}

.btn-sambutan i,
.btn-more-news i {
    transition: transform var(--transition-fast);
}

.btn-sambutan:hover i,
.btn-more-news:hover i {
    transform: translateX(4px);
}

@media (max-width: 480px) {
    .sambutan-wrapper {
        padding: 24px 16px;
        gap: 24px;
        border-radius: var(--radius-lg);
    }
    .sambutan-left .foto-pimpinan {
        width: 140px;
        height: 140px;
        margin-bottom: 14px;
    }
    .sambutan-right h3 {
        font-size: 1.35rem;
    }
    .sambutan-right .sub-judul {
        font-size: 0.88rem;
    }
    .sambutan-right p {
        font-size: 0.9rem;
        line-height: 1.75;
        text-align: left;
    }
    .btn-sambutan {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 900px) {
    .sambutan-section {
        padding: 70px 0 100px;
    }
    .sambutan-wrapper {
        flex-direction: row;
        align-items: center;
        gap: 56px;
        padding: 56px;
        border-radius: 36px;
    }
    .sambutan-left {
        flex: 0 0 280px;
    }
    .sambutan-left .foto-pimpinan {
        width: 210px;
        height: 210px;
    }
    .sambutan-right {
        text-align: left;
        flex: 1 1 auto;
    }
}

/* ===== 8. SECTION TITLES & HEADINGS ===== */
.section-title {
    font-size: clamp(1.6rem, 3.8vw, 2.5rem);
    font-weight: 800;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.section-title span {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    margin: 14px auto 0;
    background: var(--gradient-primary);
    border-radius: 999px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: clamp(0.88rem, 1.8vw, 1.05rem);
    max-width: 600px;
    margin: 0 auto 38px;
    line-height: 1.7;
}

/* ===== 9. FITUR UNGGULAN (FEATURES) ===== */
.features-section {
    padding: 60px 0;
    background: var(--bg-section-alt);
    position: relative;
    overflow: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    position: relative;
    z-index: 1;
}

.feature-card {
    padding: 32px 24px;
    text-align: center;
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(109, 40, 217, 0.2);
}

.feature-card i {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: var(--gradient-primary);
    color: #FFFFFF;
    box-shadow: var(--shadow-purple);
    transition: transform var(--ease-spring) 0.35s;
}

.feature-card:nth-child(even) i {
    background: var(--gradient-primary-reverse);
    box-shadow: var(--shadow-orange);
}

.feature-card:hover i {
    transform: scale(1.1) rotate(-6deg);
}

.feature-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

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

@media (min-width: 640px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 1024px) {
    .features-section { padding: 90px 0; }
    .features-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* ===== 10. AGENDA KEGIATAN ===== */
.agenda-section {
    padding: 60px 0;
    background: var(--bg-page);
}

.agenda-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.agenda-card {
    display: flex;
    gap: 18px;
    align-items: center;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 18px 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.agenda-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(109, 40, 217, 0.2);
}

.agenda-date {
    background: var(--gradient-primary);
    color: #FFFFFF;
    border-radius: 18px;
    padding: 14px 12px;
    text-align: center;
    min-width: 82px;
    flex-shrink: 0;
    box-shadow: var(--shadow-purple);
    transition: transform var(--ease-spring) 0.35s;
}

.agenda-card:hover .agenda-date {
    transform: scale(1.05) rotate(-3deg);
}

.agenda-date .day {
    font-size: 1.45rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.agenda-date .month {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    letter-spacing: 0.06em;
    margin-top: 5px;
    opacity: 0.95;
}

.agenda-info h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.35;
}

.agenda-info p {
    color: var(--text-secondary);
    font-size: 0.86rem;
    margin-top: 3px;
}

.agenda-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--orange-50);
    color: var(--orange-600);
    border: 1px solid var(--orange-100);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-top: 10px;
}

@media (max-width: 480px) {
    .agenda-card {
        padding: 14px 14px;
        gap: 14px;
        border-radius: var(--radius-lg);
    }
    .agenda-date {
        min-width: 68px;
        padding: 10px 6px;
        border-radius: 14px;
    }
    .agenda-date .day {
        font-size: 1.25rem;
    }
    .agenda-date .month {
        font-size: 0.6rem;
    }
    .agenda-info h4 {
        font-size: 0.95rem;
        line-height: 1.3;
    }
    .agenda-info p {
        font-size: 0.82rem;
    }
    .agenda-tag {
        font-size: 0.65rem;
        padding: 3px 10px;
        margin-top: 6px;
    }
}

@media (min-width: 768px) {
    .agenda-section { padding: 90px 0; }
    .agenda-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .agenda-card { padding: 22px; }
}

/* ===== 11. BERITA CARDS (HOME & LIST) ===== */
.news-section {
    padding: 70px 0;
    background: var(--bg-section-alt);
    position: relative;
    overflow: hidden;
}

.news-section::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 8%;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.news-section::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: 5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.news-card,
.post-card {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    box-shadow: 0 4px 20px -2px rgba(109, 40, 217, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    isolation: isolate;
}

/* Gradient top-edge highlight that illuminates smoothly on hover */
.news-card::before,
.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: var(--gradient-primary);
    z-index: 4;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card:hover::before,
.post-card:hover::before {
    transform: scaleX(1);
}

.news-card:hover,
.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px -8px rgba(109, 40, 217, 0.18), 0 6px 18px -4px rgba(249, 115, 22, 0.12);
    border-color: rgba(124, 58, 237, 0.35);
}

.news-card .news-img,
.post-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--gradient-primary);
}

/* Sleek gradient overlay over the image */
.news-card .news-img::after,
.post-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(23, 7, 46, 0.05) 0%, transparent 40%, rgba(23, 7, 46, 0.5) 100%);
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.4s ease;
}

.news-card:hover .news-img::after,
.post-card:hover .post-thumb::after {
    opacity: 0.8;
}

.news-card .news-img img,
.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card:hover .news-img img,
.post-card:hover .post-thumb img {
    transform: scale(1.08);
}

/* Floating Category Badges on Thumbnails */
.news-category,
.post-category {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--purple-700);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 5px 13px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.news-card:hover .news-category,
.post-card:hover .post-category {
    transform: translateY(-2px);
    background: #FFFFFF;
    color: var(--orange-600);
}

.news-card .news-body,
.post-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Meta Data Pills (Date, Author) */
.news-meta,
.post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.news-date,
.news-author,
.post-meta span {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--purple-700);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--purple-50);
    padding: 4px 11px;
    border-radius: var(--radius-full);
    border: 1px solid var(--purple-100);
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.news-author,
.post-meta span:last-child {
    color: var(--text-muted);
    background: var(--bg-section-alt);
    border-color: var(--border-color);
}

.news-date i,
.news-author i,
.post-meta span i {
    color: var(--orange-500);
    font-size: 0.74rem;
}

.news-card .news-body h4,
.post-body h3 {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.42;
    color: var(--text-primary);
    margin: 6px 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.85em;
    transition: color 0.3s ease;
}

.news-card:hover .news-body h4,
.post-card:hover .post-body h3 {
    color: var(--purple-600);
}

.news-card .news-body p,
.post-body p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.62;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Read More Action Link with Animated Arrow Circle */
.news-card .news-body a,
.post-readmore {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: var(--purple-700);
    font-weight: 700;
    font-size: 0.86rem;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.news-card .news-body a i,
.post-readmore i {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--purple-50);
    border: 1px solid var(--purple-100);
    color: var(--purple-600);
    font-size: 0.72rem;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.news-card:hover .news-body a,
.post-card:hover .post-readmore,
.news-card .news-body a:hover,
.post-readmore:hover {
    color: var(--orange-600);
    border-color: rgba(249, 115, 22, 0.28);
}

.news-card:hover .news-body a i,
.post-card:hover .post-readmore i,
.news-card .news-body a:hover i,
.post-readmore:hover i {
    transform: translateX(4px);
    background: var(--gradient-orange);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

/* "Lihat Semua Berita" Button */
.btn-more-news {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--gradient-primary);
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 0.94rem;
    padding: 13px 32px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-purple);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-more-news i {
    font-size: 0.82rem;
    transition: transform 0.3s ease;
}

.btn-more-news:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px -8px rgba(109, 40, 217, 0.45), 0 4px 12px rgba(249, 115, 22, 0.3);
    color: #FFFFFF !important;
}

.btn-more-news:hover i {
    transform: translateX(5px);
}

@media (max-width: 580px) {
    .news-card .news-body,
    .post-body {
        padding: 18px 16px;
    }
    .news-card .news-body h4,
    .post-body h3 {
        font-size: 1rem;
        min-height: auto;
    }
    .news-card .news-body p,
    .post-body p {
        font-size: 0.85rem;
        margin-bottom: 14px;
    }
    .btn-more-news {
        width: 100%;
        max-width: 320px;
    }
}

@media (min-width: 600px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
}

@media (min-width: 1024px) {
    .news-section {
        padding: 95px 0;
    }
    .news-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

/* ===== 12. SUBPAGE HERO & HEADERS ===== */
.page-hero,
.article-hero,
.page-header {
    background: var(--gradient-dark);
    background-size: 200% 200%;
    animation: gradientShift 12s ease infinite;
    padding: 60px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.page-hero::before,
.article-hero::before,
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 90% 15%, rgba(249, 115, 22, 0.45), transparent 42%),
        radial-gradient(circle at 10% 85%, rgba(168, 85, 247, 0.40), transparent 45%),
        radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1.2px) 0 0 / 22px 22px;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.breadcrumb a {
    color: #FFFFFF;
}
.breadcrumb a:hover {
    color: var(--orange-200);
}
.breadcrumb i {
    font-size: 0.65rem;
    color: var(--orange-300);
}

.page-hero h1,
.article-hero h1,
.page-header .page-title {
    font-size: clamp(1.8rem, 4.2vw, 3rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 12px;
    text-shadow: 0 4px 24px rgba(15, 5, 30, 0.35);
}

.page-hero h1 span,
.page-header .page-title span {
    background: var(--gradient-text-light);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.page-hero p,
.page-header .page-sub {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(0.9rem, 1.8vw, 1.05rem);
    max-width: 600px;
    margin: 0 auto;
}

.header-line {
    width: 60px;
    height: 4px;
    border-radius: 999px;
    background: var(--gradient-orange);
    margin: 18px auto 0;
}

.article-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gradient-orange);
    color: #FFFFFF;
    padding: 5px 16px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
    box-shadow: var(--shadow-orange);
}

.article-meta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 8px;
    flex-wrap: wrap;
    background: rgba(20, 6, 45, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.article-meta i {
    color: var(--orange-300);
}

@media (min-width: 900px) {
    .page-hero,
    .article-hero,
    .page-header {
        padding: 90px 0 100px;
    }
}

/* ===== 13. BLOG PAGE LAYOUT (BERITA.HTML) ===== */
.blog-section {
    padding: 50px 0 90px;
    background: var(--bg-page);
    position: relative;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
}

.blog-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* Category Filter Tabs (Horizontal scroll on touch devices) */
.category-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 32px;
    padding: 6px;
    background: var(--bg-card);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 16px -2px rgba(109, 40, 217, 0.06);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.category-filter::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-btn i {
    color: var(--orange-500);
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.filter-btn:hover {
    color: var(--purple-700);
    background: var(--purple-50);
    border-color: var(--purple-100);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: var(--shadow-purple);
}

.filter-btn.active i {
    color: #FFFFFF;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
}

/* Pagination Controls */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 48px;
    padding-top: 24px;
}

.page-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.page-btn:hover:not(:disabled) {
    background: var(--purple-50);
    color: var(--purple-700);
    border-color: var(--purple-200);
    transform: translateY(-2px);
}

.page-btn.active {
    background: var(--gradient-primary);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: var(--shadow-purple);
}

.page-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

/* Sidebar Widgets */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.sidebar-widget {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    padding: 24px 22px;
    box-shadow: 0 4px 20px -2px rgba(109, 40, 217, 0.06);
    position: relative;
}

.sidebar-widget h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.sidebar-widget h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 44px;
    height: 3px;
    border-radius: 999px;
    background: var(--gradient-primary);
}

.sidebar-widget h4 i {
    color: var(--orange-500);
}

.popular-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popular-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 10px;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.popular-item:hover {
    background: var(--purple-50);
    border-color: var(--purple-100);
    transform: translateX(4px);
}

.popular-thumb {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--gradient-primary);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.popular-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.popular-item:hover .popular-thumb img {
    transform: scale(1.08);
}

.popular-info {
    min-width: 0;
    flex: 1;
}

.popular-info h5 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.38;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.popular-item:hover .popular-info h5 {
    color: var(--purple-700);
}

.popular-info span {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.popular-info span i {
    color: var(--orange-500);
}

/* Sidebar Category List */
.sidebar-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-category-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    background: var(--bg-section-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-category-list li a:hover {
    background: #FFFFFF;
    border-color: var(--purple-300);
    color: var(--purple-700);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.sidebar-category-list .count {
    background: var(--purple-100);
    color: var(--purple-700);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 11px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.sidebar-category-list li a:hover .count {
    background: var(--gradient-primary);
    color: #FFFFFF;
}

/* Sidebar CTA Card (PSB Promotion) */
.sidebar-cta-card {
    background: var(--gradient-dark);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    color: #FFFFFF;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 36px -8px rgba(23, 7, 46, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.sidebar-cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 10%, rgba(249, 115, 22, 0.4), transparent 50%),
                radial-gradient(circle at 10% 90%, rgba(124, 58, 237, 0.4), transparent 50%);
    pointer-events: none;
}

.sidebar-cta-card h4 {
    position: relative;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #FFFFFF;
}

.sidebar-cta-card h4 i {
    color: var(--orange-300);
}

.sidebar-cta-card p {
    position: relative;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.55;
    margin-bottom: 20px;
}

.sidebar-cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #FFFFFF;
    color: var(--purple-950) !important;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 12px 22px;
    border-radius: var(--radius-full);
    width: 100%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: all var(--transition-fast);
}

.sidebar-cta-btn:hover {
    background: var(--gradient-orange);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange);
}

.sidebar-cta-btn:hover i {
    color: #FFFFFF !important;
}

@media (min-width: 640px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 26px;
    }
}

@media (min-width: 1024px) {
    .blog-layout {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 40px;
    }
    .blog-sidebar {
        position: sticky;
        top: 96px;
        align-self: start;
    }
}

/* ===== 14. DETAIL ARTIKEL (BERITA/*.HTML) ===== */
.article-section {
    padding: 30px 0 80px;
    background: var(--bg-page);
}

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

.article-main {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    min-width: 0;
}

.article-featured-img {
    width: 100%;
    max-height: 480px;
    overflow: hidden;
    position: relative;
    background: var(--gradient-primary);
}

.article-featured-img img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.article-featured-img .img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 20px 14px;
    background: linear-gradient(to top, rgba(20, 6, 45, 0.85) 0%, transparent 100%);
    color: #FFFFFF;
    font-size: 0.82rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}
.article-featured-img .img-caption i {
    color: var(--orange-300);
}

.article-body {
    padding: 26px 20px;
}

.article-body > p:first-of-type {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-primary);
    font-weight: 500;
}

.article-body h2 {
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    font-weight: 800;
    margin: 32px 0 14px;
    position: relative;
    padding-left: 16px;
}

.article-body h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 4.5px;
    background: var(--gradient-primary);
    border-radius: 999px;
}

.article-body p {
    color: var(--text-secondary);
    font-size: 0.96rem;
    line-height: 1.85;
    margin-bottom: 16px;
}

.article-body blockquote {
    background: var(--gradient-subtle);
    border-left: 4.5px solid var(--orange-500);
    padding: 20px 24px;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    margin: 24px 0;
    font-style: italic;
    color: var(--text-primary);
    font-size: 0.98rem;
    line-height: 1.8;
}

.article-body ul,
.article-body ol {
    margin: 16px 0 20px 24px;
    color: var(--text-secondary);
}

.article-body li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05), rgba(124, 58, 237, 0.04));
    border: 1.5px dashed var(--orange-400);
    border-radius: var(--radius-xl);
    padding: 22px 26px;
    margin: 26px 0;
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.06);
}

.highlight-box p {
    margin-bottom: 12px;
    font-size: 0.94rem;
    color: var(--text-primary);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.6;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

.highlight-box i {
    color: var(--orange-500);
    font-size: 1.1rem;
    width: 22px;
    flex-shrink: 0;
    text-align: center;
    margin-top: 2px;
}

.highlight-box strong {
    color: var(--text-primary);
    font-weight: 700;
    min-width: 155px;
    flex-shrink: 0;
    white-space: nowrap;
}

.highlight-box p > span:last-child,
.highlight-box span.val {
    flex: 1;
    min-width: 0;
    color: var(--text-secondary);
}

@media (max-width: 640px) {
    .highlight-box {
        padding: 18px 18px;
    }
    .highlight-box p {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
        padding-left: 30px;
        position: relative;
    }
    .highlight-box i {
        position: absolute;
        left: 0;
        top: 2px;
    }
    .highlight-box strong {
        min-width: unset;
        white-space: normal;
    }
    .highlight-box p > span:last-child,
    .highlight-box span.val {
        padding-left: 0;
    }
}

.article-share {
    margin-top: 40px;
    padding: 20px 24px;
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px -2px rgba(109, 40, 217, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.article-share > span,
.share-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.article-share > span i,
.share-label i {
    color: var(--orange-500);
    font-size: 1.05rem;
}

.share-buttons {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF !important;
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    overflow: visible;
    flex-shrink: 0;
    line-height: 1;
}

.share-btn i {
    font-size: 1.15rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF !important;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-4px) scale(1.08);
}

.share-btn:hover i {
    transform: scale(1.05);
}

/* Brand Colors & Vibrant Glowing Shadows */
.share-btn.wa { background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); }
.share-btn.fb { background: linear-gradient(135deg, #1877F2 0%, #0D65D9 100%); }
.share-btn.tw { background: linear-gradient(135deg, #18181B 0%, #09090B 100%); }
.share-btn.tg { background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%); }
.share-btn.copy { background: var(--gradient-primary); }

.share-btn.wa:hover { box-shadow: 0 10px 24px -2px rgba(37, 211, 102, 0.55); }
.share-btn.fb:hover { box-shadow: 0 10px 24px -2px rgba(24, 119, 242, 0.55); }
.share-btn.tw:hover { box-shadow: 0 10px 24px -2px rgba(24, 24, 27, 0.55); }
.share-btn.tg:hover { box-shadow: 0 10px 24px -2px rgba(42, 171, 238, 0.55); }
.share-btn.copy:hover { box-shadow: 0 10px 24px -2px rgba(124, 58, 237, 0.55); }

/* Floating Tooltip Pill Above Button */
.share-btn .tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: var(--purple-950);
    color: #FFFFFF !important;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
    box-shadow: 0 6px 18px rgba(15, 5, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 100;
    line-height: 1.2;
}

.share-btn .tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--purple-950);
}

.share-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 640px) {
    .article-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 18px 18px;
    }
    .share-buttons {
        width: 100%;
        justify-content: flex-start;
        gap: 10px;
    }
    .share-btn {
        width: 44px;
        height: 44px;
    }
}

.article-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.article-nav-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-nav-card:hover {
    border-color: var(--purple-300);
    transform: translateY(-4px);
    box-shadow: 0 10px 24px -4px rgba(109, 40, 217, 0.12);
}

.article-nav-card .nav-label {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--orange-500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-nav-card .nav-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 768px) {
    .article-body { padding: 40px; }
    .article-nav { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
    .article-layout {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 36px;
    }
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--purple-950);
    color: #FFFFFF;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 0.86rem;
    font-weight: 600;
    z-index: 10000;
    opacity: 0;
    transition: all 0.4s var(--ease-spring);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ===== 15. SUBPAGES (PROFILE, VISI-MISI, STRUKTUR, SEJARAH, DLL) ===== */
.page {
    padding: 50px 0 70px;
    background: var(--bg-page);
    position: relative;
    overflow: hidden;
}

.page::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: var(--gradient-mesh);
}

.page-title {
    font-size: clamp(1.6rem, 3.8vw, 2.3rem);
    font-weight: 800;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.page-title i {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #FFFFFF;
    font-size: 1.45rem;
    box-shadow: var(--shadow-purple);
}

.page-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.page-tagline {
    text-align: center;
    color: var(--purple-600);
    font-style: italic;
    font-size: 0.98rem;
    font-weight: 600;
    margin: -14px 0 20px;
}
.page-tagline i {
    color: var(--orange-500);
    margin-right: 6px;
}

.section-divider {
    width: 70px;
    height: 4px;
    background: var(--gradient-primary);
    border: none;
    margin: 0 auto 32px;
    border-radius: 999px;
}

/* Profile Card */
.profile-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 28px 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.profile-card p {
    color: var(--text-secondary);
    font-size: 0.96rem;
    line-height: 1.85;
    margin-bottom: 14px;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 26px;
}

.stat-item {
    text-align: center;
    padding: 20px 12px;
    border-radius: var(--radius-lg);
    background: var(--bg-section-alt);
    border: 1px solid transparent;
    transition: all var(--transition);
}

.stat-item:hover {
    transform: translateY(-6px);
    background: var(--bg-card);
    border-color: var(--purple-200);
    box-shadow: var(--shadow-card-hover);
}

.stat-item i {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    background: var(--gradient-primary);
    color: #FFFFFF;
    box-shadow: var(--shadow-purple);
}

.stat-item:nth-child(even) i {
    background: var(--gradient-primary-reverse);
    box-shadow: var(--shadow-orange);
}

.stat-item h4 {
    font-size: 1.45rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.stat-item span {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
}

@media (min-width: 768px) {
    .profile-card { padding: 44px; }
    .profile-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

/* Visi & Misi */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

.vm-box {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 28px 22px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.vm-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.vm-box:hover::before {
    transform: scaleX(1);
}

.vm-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(109, 40, 217, 0.2);
}

.vm-box h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.vm-box h3 i {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #FFFFFF;
    font-size: 1.15rem;
    box-shadow: var(--shadow-purple);
    flex-shrink: 0;
}

.vm-box:nth-child(even) h3 i {
    background: var(--gradient-primary-reverse);
    box-shadow: var(--shadow-orange);
}

.vm-box ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vm-box li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--text-secondary);
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: var(--bg-section-alt);
    font-size: 0.92rem;
    line-height: 1.65;
    transition: all var(--transition-fast);
}

.vm-box li:hover {
    background: var(--purple-50);
    transform: translateX(4px);
}

.vm-box li i {
    color: var(--purple-600);
    font-size: 0.95rem;
    margin-top: 3px;
    flex-shrink: 0;
}

@media (min-width: 800px) {
    .vm-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
    .vm-box { padding: 36px 30px; }
}

/* Struktur Tree List (Visi-Misi Page) */
.struktur-wrapper {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 28px 20px;
    margin-top: 36px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

.struktur-wrapper h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.struktur-wrapper h3 i {
    color: var(--orange-500);
}

.tree-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-section-alt);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    flex-wrap: wrap;
    position: relative;
    border-left: 3.5px solid var(--purple-600);
    transition: all var(--transition-fast);
}

.tree-item:hover {
    background: var(--purple-50);
    transform: translateX(6px);
}

.tree-item i {
    color: var(--purple-600);
    font-size: 1.1rem;
}

.tree-item .role {
    font-weight: 800;
    color: var(--text-primary);
    min-width: 140px;
    font-size: 0.88rem;
}

.tree-item .name {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.88rem;
}

@media (min-width: 768px) {
    .struktur-wrapper { padding: 40px; }
    .tree-item { flex-wrap: nowrap; padding: 14px 20px; }
}

/* Sejarah Timeline */
.timeline {
    position: relative;
    padding-left: 28px;
    margin-top: 10px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 3px;
    background: var(--gradient-primary);
    border-radius: 999px;
}

.timeline-item {
    padding: 22px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    margin-bottom: 22px;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: all var(--transition);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -27px;
    top: 24px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: 3.5px solid #FFFFFF;
    box-shadow: 0 0 0 2px var(--purple-300);
    transition: transform var(--ease-spring) 0.3s;
}

.timeline-item:hover::before {
    transform: scale(1.3);
    box-shadow: 0 0 0 4px var(--orange-400);
}

.timeline-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(109, 40, 217, 0.2);
}

.timeline-item .year {
    display: inline-flex;
    align-items: center;
    background: var(--gradient-primary);
    color: #FFFFFF;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 8px;
    box-shadow: var(--shadow-purple);
}

.timeline-item h4 {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 6px 0 8px;
}

.timeline-item p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.75;
}

@media (min-width: 768px) {
    .timeline { padding-left: 36px; }
    .timeline-item { padding: 26px 28px; }
    .timeline-item::before { left: -35px; width: 18px; height: 18px; }
}

/* Generic Subpage Cards Grid */
.struktur-grid,
.sarana-grid,
.info-grid,
.teacher-grid,
.pimpinan-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

.struktur-card,
.sarana-card,
.info-card,
.teacher-card,
.pimpinan-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    padding: 28px 22px;
    text-align: center;
    transition: all var(--transition);
}

.struktur-card::before,
.sarana-card::before,
.info-card::before,
.teacher-card::before,
.pimpinan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.struktur-card:hover::before,
.sarana-card:hover::before,
.info-card:hover::before,
.teacher-card:hover::before,
.pimpinan-card:hover::before {
    transform: scaleX(1);
}

.struktur-card:hover,
.sarana-card:hover,
.info-card:hover,
.teacher-card:hover,
.pimpinan-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(109, 40, 217, 0.2);
}

/* Card Icons */
.struktur-card .icon,
.sarana-card .icon,
.info-card i {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--purple-50);
    color: var(--purple-600);
    transition: all var(--ease-spring) 0.35s;
}

.sarana-card .icon {
    background: var(--orange-50);
    color: var(--orange-500);
}

.struktur-card:hover .icon,
.sarana-card:hover .icon,
.info-card:hover i {
    background: var(--gradient-primary);
    color: #FFFFFF;
    transform: scale(1.1) rotate(-6deg);
    box-shadow: var(--shadow-purple);
}

.struktur-card h4,
.sarana-card h4,
.info-card h4,
.teacher-card h4,
.pimpinan-card h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.struktur-card .jabatan,
.sarana-card .status,
.info-card .tag,
.teacher-card .role,
.pimpinan-card .jabatan {
    display: inline-block;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.struktur-card .jabatan {
    background: var(--gradient-primary);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(109, 40, 217, 0.35);
}

.sarana-card .status {
    background: #DCFCE7;
    color: #15803D;
    border: 1px solid #BBF7D0;
}

.info-card .tag {
    background: var(--gradient-primary);
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.teacher-card .role,
.pimpinan-card .jabatan {
    background: var(--orange-50);
    color: var(--orange-600);
    border: 1px solid var(--orange-100);
}

.struktur-card .desc,
.sarana-card p,
.info-card p,
.teacher-card .bio,
.pimpinan-card .bio {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.65;
}

.divider-light {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple-200), transparent);
    margin: 12px auto;
    width: 60%;
}

/* Pimpinan & Teacher Avatars */
.pimpinan-card .foto {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 16px;
    padding: 4.5px;
    background: var(--gradient-primary);
    color: #FFFFFF;
    font-size: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 32px -8px rgba(109, 40, 217, 0.45);
    position: relative;
    transition: transform var(--ease-spring) 0.35s;
}

.pimpinan-card .foto::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px dashed rgba(249, 115, 22, 0.4);
    animation: spin 24s linear infinite;
    pointer-events: none;
}

.pimpinan-card:hover .foto {
    transform: scale(1.05);
}

.pimpinan-card .foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3.5px solid #FFFFFF;
}

.teacher-avatar {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    margin: 0 auto 14px;
    background: var(--purple-50);
    border: 2.5px solid var(--purple-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--purple-600);
    transition: all var(--ease-spring) 0.35s;
}

.teacher-card:hover .teacher-avatar {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #FFFFFF;
    transform: scale(1.1) rotate(-6deg);
    box-shadow: var(--shadow-purple);
}

@media (max-width: 480px) {
    .struktur-card,
    .sarana-card,
    .info-card,
    .teacher-card,
    .pimpinan-card {
        padding: 20px 14px;
    }
    .pimpinan-card .foto {
        width: 120px;
        height: 120px;
    }
    .teacher-avatar {
        width: 66px;
        height: 66px;
        font-size: 1.45rem;
    }
}

@media (min-width: 600px) {
    .struktur-grid,
    .sarana-grid,
    .info-grid,
    .teacher-grid,
    .pimpinan-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .pimpinan-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; }
    .teacher-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .info-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .sarana-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
    .struktur-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}

@media (min-width: 1180px) {
    .sarana-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
    .struktur-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* Map Section */
.map-section {
    padding: 50px 0 70px;
    background: var(--bg-section-alt);
}

.map-title {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 800;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 6px;
}

.map-title i {
    color: var(--orange-500);
    margin-right: 8px;
}

.map-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 24px;
}

.map-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    padding: 5px;
    background: var(--gradient-primary);
    box-shadow: var(--shadow-card-hover);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 380px;
    border-radius: 20px;
    border: 0;
}

.map-actions {
    text-align: center;
    margin-top: 24px;
}

/* ===== 16. GALERI & LIGHTBOX ===== */
.gallery-section {
    padding: 40px 0 80px;
    background: var(--bg-page);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-card);
    position: relative;
    transition: all var(--transition);
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.gallery-item .image-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--purple-100);
}

.gallery-item .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.gallery-item:hover .image-wrapper img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.6), rgba(249, 115, 22, 0.5));
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .view-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.2rem;
    opacity: 0;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all var(--ease-spring) 0.35s;
}

.gallery-item:hover .view-icon {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.gallery-item .gallery-number {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(15, 5, 30, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 600px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .gallery-item .image-wrapper { height: 210px; }
}

@media (min-width: 1024px) {
    .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .gallery-item .image-wrapper { height: 240px; }
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(12, 4, 25, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 92vw;
    max-height: 80vh;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 92vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.15rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }

.lightbox-close:hover { background: var(--orange-500); border-color: var(--orange-500); transform: rotate(90deg); }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--gradient-primary); border-color: transparent; }

.lightbox-counter {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.lightbox-info {
    position: absolute;
    bottom: 68px;
    left: 50%;
    transform: translateX(-50%);
    color: #FFFFFF;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 22px;
    border-radius: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    max-width: calc(100% - 40px);
}

.lightbox-info h4 { font-size: 0.92rem; font-weight: 700; }
.lightbox-info p { font-size: 0.74rem; opacity: 0.7; margin-top: 2px; }

/* ===== 17. FOOTER ===== */
footer {
    background: linear-gradient(160deg, #130626 0%, #1D0A38 45%, #270D4A 75%, #38123E 100%);
    color: #D9D2EA;
    padding: 60px 0 28px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, var(--purple-500), #E0559A, var(--orange-500), #E0559A, var(--purple-500));
    background-size: 200% 100%;
    animation: gradientShift 6s ease infinite;
}

footer::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 85% 0%, rgba(249, 115, 22, 0.16), transparent 42%),
        radial-gradient(circle at 12% 100%, rgba(124, 58, 237, 0.22), transparent 46%);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    transform: translateY(-4px) rotate(-6deg);
    box-shadow: 0 10px 24px -6px rgba(249, 115, 22, 0.5);
    border-color: transparent;
}

.footer-divider {
    width: 70px;
    height: 3px;
    border: none;
    background: var(--gradient-primary);
    border-radius: 999px;
}

.footer-info {
    text-align: center;
    max-width: 640px;
}

.footer-info .footer-brand {
    font-size: 1.18rem;
    font-weight: 800;
    color: #FFFFFF;
}

.footer-info .footer-brand i {
    margin-right: 8px;
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.footer-info p {
    margin-top: 6px;
    font-size: 0.86rem;
    color: rgba(225, 218, 240, 0.8);
    line-height: 1.65;
}

.footer-info .footer-address {
    font-size: 0.82rem;
    color: rgba(225, 218, 240, 0.65);
    margin-top: 6px;
}
.footer-info .footer-address i {
    color: var(--orange-400);
}

.footer-bottom {
    margin-top: 14px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    text-align: center;
    font-size: 0.76rem;
    color: rgba(225, 218, 240, 0.5);
}

/* ===== 18. FLOATING ACCESSORIES ===== */
/* WhatsApp Floating */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 20px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #FFFFFF;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 9999;
    border: 3px solid rgba(255, 255, 255, 0.9);
    animation: waPulse 2.4s ease-out infinite;
    transition: transform var(--ease-spring) 0.35s;
    box-shadow: 0 10px 28px -6px rgba(37, 211, 102, 0.6);
}

.wa-float:hover {
    transform: scale(1.1) translateY(-4px);
    color: #FFFFFF;
}

.wa-float .wa-tooltip {
    position: absolute;
    right: 72px;
    background: var(--purple-950);
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition-fast);
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.wa-float .wa-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid var(--purple-950);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.wa-float:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.wa-status-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 13px;
    height: 13px;
    background: var(--orange-500);
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    animation: dotPulse 1.8s infinite ease-in-out;
}

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3.5px;
    background: linear-gradient(90deg, var(--purple-600), #E0559A, var(--orange-500));
    z-index: 10002;
    transition: width 0.08s linear;
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.6);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 20px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--gradient-primary);
    color: #FFFFFF;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all var(--transition);
    z-index: 9998;
    box-shadow: var(--shadow-purple);
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-orange);
}

@media (max-width: 600px) {
    footer {
        padding: 50px 0 94px;
    }
}

/* Small mobile accessories positioning */
@media (max-width: 480px) {
    .wa-float {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        bottom: max(18px, env(safe-area-inset-bottom, 18px));
        right: 14px;
    }
    .back-to-top {
        width: 42px;
        height: 42px;
        bottom: max(18px, env(safe-area-inset-bottom, 18px));
        left: 14px;
    }
}

/* Subpage Footnotes */
.subpage-note {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.94rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.subpage-note i {
    color: var(--orange-500);
}

/* Accessibility Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .fade-in, .slide-in-right, .reveal { opacity: 1 !important; transform: none !important; }
}
