html, body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: #334155; /* Slate 700 */
    line-height: 1.7;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    color: #0f172a; /* Slate 900 */
    font-weight: 700;
    letter-spacing: -0.025em; /* Tight tracking for modern look */
}

a { text-decoration: none; transition: all 0.3s ease; }

/* === 1. NAVIGATION BAR (Glassmorphism Pill) === */
.navbar-floating {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%; /* Sedikit lebih lebar */
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 100px; /* Full Rounded */
    padding: 12px 30px;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.navbar-floating.scrolled {
    top: 10px;
    width: 95%;
    background: rgba(255, 255, 255, 0.95);
}

.nav-link {
    font-weight: 600;
    color: #475569 !important;
    font-size: 0.95rem;
    margin: 0 8px;
    padding: 8px 16px !important;
    border-radius: 50px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
    background: rgba(79, 70, 229, 0.05);
}

/* === DESKTOP NAVIGATION ENHANCEMENT === */
@media (min-width: 992px) {
    /* 1. Efek Hover Garis Bawah Modern (Floating Underline) */
    .nav-link {
        position: relative;
        transition: all 0.3s ease !important;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--primary-gradient);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateX(-50%);
        border-radius: 2px;
    }

    .nav-link:hover {
        color: var(--primary) !important;
        background: transparent !important; /* Hilangkan bg-abu default */
    }

    .nav-link:hover::after {
        width: 25px; /* Garis kecil elegan di bawah */
    }

    /* 2. Animasi Dropdown (Tentang Kami & Layanan) */
    .nav-item.dropdown .dropdown-menu {
        display: block; /* Kita kontrol via opacity & visibility */
        visibility: hidden;
        opacity: 0;
        transform: translateY(15px) scale(0.95);
        transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
        border: none;
        box-shadow: var(--shadow-lg);
        border-radius: 20px !important;
        padding: 12px;
        margin-top: 10px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
    }

    .nav-item.dropdown:hover .dropdown-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .dropdown-item {
        border-radius: 12px;
        padding: 10px 18px !important;
        font-weight: 500;
        transition: all 0.2s ease;
        color: #475569;
    }

    .dropdown-item:hover {
        background: var(--primary-gradient);
        color: white !important;
        transform: translateX(5px); /* Geser sedikit ke kanan saat hover */
    }

    /* 3. Navbar Pill Elasticity saat Scroll */
    .navbar-floating.scrolled {
        padding: 8px 30px; /* Lebih ramping saat di-scroll */
        background: rgba(255, 255, 255, 0.85) !important;
    }
}

/* === INTERACTIVE BUTTONS (SHIMMER EFFECT) === */
.btn-gradient-theme {
    position: relative;
    overflow: hidden;
}

.btn-gradient-theme::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: all 0.6s;
}

.btn-gradient-theme:hover::before {
    left: 100%; /* Efek kilatan cahaya saat tombol disentuh */
}

/* === SMOOTH HERO BUTTONS === */
.btn-outline-light.backdrop-blur:hover {
    background: white !important;
    color: var(--primary) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.btn-nav-primary {
    background: var(--primary-gradient);
    color: white !important;
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    border: none;
}
.btn-nav-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(79, 70, 229, 0.4);
}

@media (max-width: 991.98px) {
    
    /* 2. Mengecilkan Logo */
    .navbar-brand img {
        max-height: 45px !important; /* Mengecilkan logo agar navbar ikut ramping */
        width: auto;
    }

    /* 3. Mengecilkan tombol toggle (burger menu) */
    .navbar-toggler {
        padding: 0 !important;
    }
    .navbar-toggler i {
        font-size: 1.5rem !important; /* Ikon menu lebih kecil */
    }

    /* 4. Memperbaiki tampilan saat menu dibuka (Gambar 2 Anda) */
    /* Mengurangi radius agar tidak terlihat seperti oval raksasa */
    .navbar-floating:has(.navbar-collapse.show),
    .navbar-floating.menu-opened {
        border-radius: 20px !important;
        padding: 15px !important;
    }

    /* 5. Mengatur ukuran teks di dalam menu agar tidak terlalu besar */
    .nav-link {
        font-size: 0.9rem !important;
        padding: 10px 15px !important;
    }

    /* 6. Mengecilkan tombol PPDB di dalam menu mobile */
    .btn-gradient-theme {
        font-size: 0.85rem !important;
        padding: 8px 20px !important;
    }
    
    /* 1. Kontainer Utama saat Terbuka */
    .navbar-floating:has(.navbar-collapse.show) {
        border-radius: 28px !important; /* Radius lebih proporsional */
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px);
        padding: 20px !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* 2. Styling List Menu */
    .navbar-nav {
        padding-top: 15px;
    }

    .nav-item {
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.3s ease;
    }

    /* Animasi muncul satu per satu saat menu dibuka */
    .navbar-collapse.show .nav-item {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Delay staggered animation (tambah jika menu lebih banyak) */
    .navbar-collapse.show .nav-item:nth-child(1) { transition-delay: 0.1s; }
    .navbar-collapse.show .nav-item:nth-child(2) { transition-delay: 0.15s; }
    .navbar-collapse.show .nav-item:nth-child(3) { transition-delay: 0.2s; }
    .navbar-collapse.show .nav-item:nth-child(4) { transition-delay: 0.25s; }
    .navbar-collapse.show .nav-item:nth-child(5) { transition-delay: 0.3s; }

    .nav-link {
        font-size: 1.1rem !important;
        padding: 12px 20px !important;
        margin-bottom: 5px;
        border-radius: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* 3. Dropdown (Layanan & Tentang Kami) */
    .dropdown-menu {
        border: none;
        background: #f1f5f9; /* Background abu muda agar kontras */
        border-radius: 18px !important;
        padding: 10px;
        margin: 5px 10px 15px 10px !important;
        box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
    }

    .dropdown-item {
        padding: 10px 15px !important;
        border-radius: 12px;
        font-weight: 500;
        color: #475569;
    }

    .dropdown-item:active {
        background: var(--primary-gradient);
        color: white;
    }

    /* 4. Animasi Ikon Toggle (Menu ke Close) */
    .navbar-toggler i {
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        display: inline-block;
    }
    
    .navbar-toggler[aria-expanded="true"] i {
        transform: rotate(90deg);
        color: var(--primary) !important;
    }
}

/* === 2. HERO SECTION (Cinematic) === */
.hero-section {
    position: relative;
    min-height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%; height: 100%; object-fit: cover;
}

/* Overlay Gradient Modern (Dark Blue to Purple) */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.8) 50%, rgba(15, 23, 42, 1) 100%);
    z-index: 0;
}

.hero-content { position: relative; z-index: 2; max-width: 900px; padding: 0 20px; }

.badge-hero {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #a5b4fc;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    margin-bottom: 25px;
    display: inline-block;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(to right, #ffffff, #c7d2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 40px;
    font-weight: 300;
}

.btn-hero {
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.btn-hero-primary {
    background: var(--primary);
    color: white;
    border: none;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
}
.btn-hero-primary:hover {
    background: #4338ca;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.4);
}
.btn-hero-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
}
.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* === 3. STATS (Floating Cards) === */
.stats-section {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    padding-bottom: 60px;
}
.stats-box {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.03);
}
.stat-item {
    padding: 10px;
}
.stat-icon-wrap {
    width: 70px; height: 70px;
    background: #e0e7ff;
    color: var(--primary);
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transform: rotate(-5deg);
    transition: 0.3s;
}
.stat-item:hover .stat-icon-wrap { transform: rotate(0deg) scale(1.1); background: var(--primary); color: white; }
.stat-number { font-size: 3rem; font-weight: 800; color: #1e293b; line-height: 1; }
.stat-label { color: #64748b; font-weight: 500; font-size: 1.1rem; }

/* === GENERAL LAYOUT UTILS === */
.section-padding { padding: 100px 0; }
.sub-title {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 15px;
}
.section-heading {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

/* === 4. CARDS (News & Programs) === */
.modern-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
}

.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-color);
    border-color: transparent;
}

.card-img-holder {
    width: 100%;
    /* Ganti height tetap dengan aspect-ratio agar responsif */
    aspect-ratio: 16 / 10; 
    overflow: hidden;
    position: relative;
    background-color: #e2e8f0; /* Warna loading sementara */
}

.card-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Memastikan gambar mengisi area tanpa gepeng */
    transition: transform 0.6s ease;
}

.modern-card:hover .card-img-holder img { transform: scale(1.1); }

.card-body-custom { padding: 30px; }

.card-date {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 10px;
    display: flex; align-items: center; gap: 6px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}
.card-title a { color: #1e293b; }
.card-title a:hover { color: var(--primary); }

.btn-card-link {
    color: var(--primary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.btn-card-link:hover { gap: 10px; }

/* === 5. AGENDA (Timeline Modern) === */
.agenda-card-modern {
    display: flex;
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
    transition: 0.3s;
}
.agenda-card-modern:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--primary);
}
.date-box {
    background: #eff6ff;
    color: var(--primary);
    border-radius: 12px;
    width: 80px; height: 80px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-right: 20px;
}
.date-box .d-day { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.date-box .d-month { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }

/* === 6. FOOTER (Clean Dark) === */
.footer-modern {
    background: #0f172a;
    color: #94a3b8;
    padding-top: 80px;
    font-size: 0.95rem;
}
.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    display: block;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.footer-widget-title {
    color: white;
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 1.1rem;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #94a3b8; transition: 0.3s; }
.footer-links a:hover { color: white; padding-left: 5px; }

.social-btn {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    display: inline-flex; align-items: center; justify-content: center;
    color: white;
    margin-right: 10px;
    transition: 0.3s;
}
.social-btn:hover { background: var(--primary); transform: translateY(-3px); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 30px 0;
    margin-top: 60px;
}

/* === FLOATING ACTION === */
.floating-container { position: fixed; bottom: 30px; right: 30px; z-index: 999; }
.floating-button { 
    width: 65px; height: 65px; 
    border-radius: 20px; /* Squircle */
    border: none; 
    background: var(--primary); 
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
    color: white; 
    display: flex; align-items: center; justify-content: center; 
    cursor: pointer; 
    transition: 0.3s;
}
.floating-button:hover { transform: scale(1.05); }
.floating-menu {
    position: absolute; bottom: 80px; right: 0;
    display: flex; flex-direction: column; gap: 15px;
    opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: all 0.3s;
}
.floating-container.active .floating-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.menu-item {
    width: 55px; height: 55px; border-radius: 15px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.2s;
}
.menu-item:hover { transform: translateX(-5px); }

/* Responsive Fixes */
@media (max-width: 991px) {
    .navbar-floating { width: 92%; padding: 10px 20px; }
    .hero-title { font-size: 2.5rem; }
    .stats-section { margin-top: 0; padding-top: 50px; }
    .stats-box { padding: 20px; }
}

/* === PROGRAM UNGGULAN SECTION === */
.program-section {
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Dekorasi Background (Lingkaran samar) */
.bg-decoration-1 {
    position: absolute;
    top: -100px; right: -50px;
    width: 300px; height: 300px;
    background: var(--primary);
    opacity: 0.05;
    border-radius: 50%;
    filter: blur(80px);
}

.program-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    margin-bottom: 20px; /* Jarak bawah aman */
}

.program-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.pc-img-wrapper {
    height: 400px;
    position: relative;
    overflow: hidden;
}

.pc-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.program-card-modern:hover .pc-img-wrapper img {
    transform: scale(1.1);
}

/* Overlay gradient pada gambar saat hover */
.pc-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    opacity: 0;
    transition: 0.3s;
}
.program-card-modern:hover .pc-overlay { opacity: 1; }

/* Icon Melayang */
.pc-icon-box {
    width: 70px; height: 70px;
    background: white;
    border-radius: 15px;
    
    /* Gunakan posisi Absolute relatif terhadap KARTU, bukan gambar */
    position: absolute;
    top: 365px; /* Tinggi gambar (200px) - Setengah tinggi ikon (35px) = 165px */
    right: 30px;
    
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    font-size: 1.8rem;
    color: var(--primary);
    transition: 0.4s;
    z-index: 10;
}

/* Saat hover card, icon jadi berwarna gradient */
.program-card-modern:hover .pc-icon-box {
    background: var(--primary-gradient);
    color: white;
    transform: rotateY(180deg); /* Efek putar */
}
.program-card-modern:hover .pc-icon-box i {
    transform: rotateY(-180deg); /* Icon diputar balik biar tetap terbaca */
}

.pc-body {
    padding: 45px 30px 30px 30px; /* Padding atas besar utk kompensasi icon */
}

.pc-title {
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #1e293b;
}

.pc-desc {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Batasi 3 baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pc-link {
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    display: inline-flex; align-items: center; gap: 5px;
    transition: 0.3s;
}
.pc-link:hover { gap: 10px; color: var(--primary-dark); }

/* === EKSTRAKURIKULER SECTION === */
.ekstra-section {
    background-color: #f8fafc; /* Sedikit abu-abu biar kontras dengan card putih */
    position: relative;
}

/* Filter Buttons */
.filter-buttons {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 5px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.btn-filter {
    border: none;
    background: transparent;
    color: #64748b;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-filter:hover {
    color: var(--primary);
    background: #f1f5f9;
}

.btn-filter.is-checked {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 10px rgba(var(--primary), 0.3);
}

/* Card Ekskul */
.ekstra-item {
    padding: 10px; /* Jarak antar item grid */
}

.ekstra-card-modern {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px; /* Tinggi Tetap agar rapi */
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.ekstra-img-wrap {
    height: 100%;
    width: 100%;
    position: relative;
}

.ekstra-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Efek Zoom saat Hover */
.ekstra-card-modern:hover .ekstra-img-wrap img {
    transform: scale(1.1);
}

/* Overlay Gradient Gelap di Bawah */
.ekstra-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
    opacity: 0.9;
    transition: 0.3s;
}

/* Badge Kategori di Pojok Atas */
.ekstra-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,0.3);
    z-index: 2;
}

/* Konten Text di Bawah */
.ekstra-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    z-index: 2;
    transform: translateY(10px);
    transition: 0.4s;
}

.ekstra-card-modern:hover .ekstra-content {
    transform: translateY(0);
}

.ekstra-name {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.ekstra-schedule {
    color: #cbd5e1;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.4s 0.1s; /* Delay sedikit */
}

/* Jadwal muncul saat hover */
.ekstra-card-modern:hover .ekstra-schedule {
    opacity: 1;
    transform: translateY(0);
}

/* Tombol Panah Kecil */
.btn-arrow-action {
    position: absolute;
    bottom: 25px;
    right: 25px;
    width: 40px; height: 40px;
    background: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    opacity: 0;
    transform: scale(0.5);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 3;
}
.ekstra-card-modern:hover .btn-arrow-action {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 576px) {
    /* Container utama dipaksa lebar penuh */
    .ekstra-grid {
        margin: 0 !important; 
        width: 100% !important;
        display: block !important;
    }

    /* Item dipaksa 50% dengan padding agar ada jarak (Gutter) */
    .ekstra-item, .grid-sizer {
        width: 49% !important;
        padding: 6px !important; /* Memberi jarak antar kartu 12px */
        box-sizing: border-box !important;
        float: left;
    }

    /* Penyesuaian tampilan kartu di mobile */
    .ekstra-card-modern {
        height: 230px !important; /* Tinggi lebih pendek agar proporsional */
        border-radius: 16px !important;
    }

    .ekstra-name {
        font-size: 0.95rem !important;
    }

    .ekstra-content {
        padding: 12px !important;
    }
}

/* === PRESTASI SECTION === */
.prestasi-section {
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

/* Dekorasi Background Abstrak */
.prestasi-bg-decor {
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1) 0%, transparent 70%);
    top: -100px; left: -100px;
    z-index: 0;
}

.prestasi-card-modern {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
}

.prestasi-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.prestasi-img-box {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.prestasi-img-box img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.prestasi-card-modern:hover .prestasi-img-box img {
    transform: scale(1.1);
}

/* Overlay Gradient Halus */
.prestasi-img-box::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(to top, rgba(255,255,255,1), transparent);
}

/* Badge Juara (Medal Look) */
.medal-badge {
    position: absolute;
    top: 15px; right: 15px;
    width: 45px; height: 45px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 2;
    border: 2px solid white;
}

/* Warna-warni Medali */
.medal-gold { background: linear-gradient(135deg, #FFD700, #FDB931); }
.medal-silver { background: linear-gradient(135deg, #E0E0E0, #BDBDBD); }
.medal-bronze { background: linear-gradient(135deg, #CD7F32, #A0522D); }
.medal-default { background: var(--primary-gradient); }

/* Tag Tingkat (Nasional, dll) */
.level-tag {
    position: absolute;
    top: 15px; left: 15px;
    padding: 5px 12px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #334155;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 2;
    display: flex; align-items: center; gap: 5px;
}
.level-tag i { color: var(--primary); }

.prestasi-body {
    padding: 20px 25px 30px 25px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.prestasi-juara-text {
    display: inline-block;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.prestasi-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.prestasi-date {
    font-size: 0.85rem;
    color: #94a3b8;
    display: flex; align-items: center; justify-content: center; gap: 5px;
}

/* === FASILITAS SECTION === */
.fasilitas-section {
    background-color: #ffffff;
    position: relative;
}

.fasilitas-container {
    position: relative;
    max-width: 1000px; /* Batasi lebar agar fokus */
    margin: 0 auto;
}

/* 1. Main Slider (Gambar Besar) */
.fasilitas-main {
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 20px;
    position: relative;
}

.fasilitas-main .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

/* Efek Zoom halus saat aktif */
.fasilitas-main .swiper-slide-active img {
    transform: scale(1.05);
}

/* Overlay Gradient untuk Teks */
.fasilitas-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%);
    z-index: 1;
}

/* Caption Box (Glassmorphism) */
.fasilitas-caption-box {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px; /* Agar tidak mentok kanan */
    z-index: 2;
    color: white;
    max-width: 600px;
    
    /* Animasi masuk */
    opacity: 0;
    transform: translateY(20px);
    transition: 0.5s ease 0.3s; /* Delay biar smooth */
}

.fasilitas-main .swiper-slide-active .fasilitas-caption-box {
    opacity: 1;
    transform: translateY(0);
}

.f-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.f-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 12px;
    border-left: 4px solid var(--accent); /* Aksen warna kuning/orange */
    display: inline-block;
}

/* 2. Thumbnail Slider (Kecil) */
.fasilitas-thumbs {
    box-sizing: border-box;
    padding: 10px 0;
}

.fasilitas-thumbs .swiper-slide {
    width: 20%;
    height: 80px;
    opacity: 0.4;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    border: 2px solid transparent;
}

.fasilitas-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* State Aktif Thumbnail */
.fasilitas-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 3. Custom Navigation Buttons */
.nav-fasilitas {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px; height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.3);
}

.nav-fasilitas:hover {
    background: white;
    color: var(--primary);
    box-shadow: 0 0 15px rgba(255,255,255,0.5);
}

.nav-prev { left: 20px; }
.nav-next { right: 20px; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .fasilitas-main { height: 350px; }
    .f-title { font-size: 1.5rem; }
    .fasilitas-caption-box { bottom: 20px; left: 20px; right: 20px; }
    .f-desc { font-size: 0.9rem; padding: 10px; }
    .nav-fasilitas { width: 40px; height: 40px; font-size: 1.2rem; }
}

/* === FAQ SECTION === */
.faq-section {
    background-color: #f8fafc;
    position: relative;
    overflow: visible; /* Biar shadow gak kepotong */
}

/* Dekorasi Background Bulat Samar */
.faq-bg-decor {
    position: absolute;
    top: 50%; left: -100px;
    width: 300px; height: 300px;
    background: var(--primary);
    opacity: 0.05;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

/* 1. KOTAK KIRI (Sticky Support) */
.faq-support-box {
    position: sticky; /* Kuncinya disini: Sticky */
    top: 120px; /* Jarak dari atas saat discroll (sesuaikan tinggi navbar) */
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.03);
    text-align: center;
    z-index: 2;
}

.faq-illustration {
    width: 80%;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

.btn-contact-support {
    display: flex; align-items: center; justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    transition: 0.3s;
    margin-bottom: 10px;
}

.btn-wa { background: #dcfce7; color: #166534; }
.btn-wa:hover { background: #bbf7d0; transform: translateY(-3px); }

.btn-email { background: #f1f5f9; color: #475569; }
.btn-email:hover { background: #e2e8f0; transform: translateY(-3px); }


/* 2. KOTAK KANAN (Accordion Cards) */
.faq-list {
    position: relative;
    z-index: 2;
}

.accordion-item-modern {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    margin-bottom: 15px; /* Jarak antar item */
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item-modern:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Header Accordion */
.accordion-header-modern button {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    background: white;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: #1e293b;
    font-size: 1.05rem;
    transition: 0.3s;
}

/* Icon Indikator (+ / -) */
.faq-icon {
    width: 32px; height: 32px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    transition: 0.3s;
    flex-shrink: 0;
    margin-left: 15px;
}

/* State Saat Terbuka (Active) */
.accordion-header-modern button:not(.collapsed) {
    background: var(--bg-body); /* Sedikit abu */
    color: var(--primary);
}

.accordion-header-modern button:not(.collapsed) .faq-icon {
    background: var(--primary);
    color: white;
    transform: rotate(180deg); /* Putar icon */
}

.accordion-body-modern {
    padding: 0 25px 25px 25px;
    color: #64748b;
    line-height: 1.7;
    background: var(--bg-body); /* Samakan dengan header aktif */
    border-top: none;
}

/* === TESTIMONI SECTION === */
.testimoni-section {
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Dekorasi Background Grid Halus */
.testimoni-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    z-index: 0;
}

.testimoni-card-modern {
    background: white;
    padding: 40px 30px 30px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
    border-top: 5px solid var(--primary); /* Aksen warna di atas */
}

.testimoni-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Ikon Kutip Raksasa di Background */
.quote-watermark {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.1;
    font-family: serif;
    line-height: 1;
    pointer-events: none;
}

/* Teks Testimoni */
.testi-text {
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* Bagian Profil User */
.testi-user {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
}

.user-avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.user-info h6 {
    margin: 0;
    font-weight: 700;
    color: #1e293b;
    font-size: 0.95rem;
}

.user-info span {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Bintang Rating */
.rating-stars {
    color: #f59e0b; /* Warna Emas/Kuning */
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.pagination { margin-top: 1rem; }
.pagination .page-item.active .page-link { background-color: #949494 !important; border-color: #949494 !important; color: white !important; border-radius: 5px !important; }
.pagination .page-link { color: var(--dark-grey); border: 1px solid #dee2e6; margin-right: 5px; border-radius: 5px !important; transition: all 0.2s ease-in-out; }
.pagination .page-link:hover { background-color: var(--secondary-color)!important; color: var(--primary-color)!important; border-color: #dee2e6; }
