/* ===================================================
   SMK KHAIR TECH - Custom Design System & Core Styles
   Modern School & PPDB System
   =================================================== */

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

:root {
    --in-oklab: ;
    --in-oklch: ;

    /* ===================================================
       PALET WARNA RESMI: DOMINAN BIRU DENGAN GRADASI BIRU & KUNING
       =================================================== */
    /* Nuansa Biru (Dominan) */
    --primary-color: #0a2540;          /* Deep Midnight Navy */
    --primary-dark: #06182c;           /* Deepest Midnight Navy */
    --primary-blue: #1e40af;           /* Royal Blue */
    --primary-vibrant: #2563eb;        /* Vibrant Electric Blue */
    --primary-hover: #1d4ed8;          /* Bright Royal Blue Hover */
    --primary-light: #eff6ff;          /* Soft Ice Blue Tint */
    --primary-subtle: #dbeafe;         /* Pastel Blue */

    --secondary-color: #0284c7;        /* Ocean / Sky Blue */
    --secondary-hover: #0369a1;
    --secondary-light: #e0f2fe;

    /* Nuansa Kuning & Emas (Aksen & Gradasi) */
    --accent-color: #f59e0b;           /* Rich Amber Gold */
    --accent-yellow: #fbbf24;          /* Vivid Warm Yellow */
    --accent-bright: #facc15;          /* Radiant Sun Yellow */
    --accent-light: #fef9c3;           /* Soft Pastel Yellow */
    --accent-hover: #d97706;           /* Deep Gold Hover */

    --success-color: #10b981;
    --danger-color: #ef4444;
    --dark-bg: #07172c;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;

    /* Gradasi Biru, Kuning, dan Biru-Kuning */
    --gradient-blue: linear-gradient(135deg, #0a2540 0%, #1e40af 55%, #2563eb 100%);
    --gradient-blue-vibrant: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #38bdf8 100%);
    --gradient-yellow: linear-gradient(135deg, #f59e0b 0%, #fbbf24 60%, #facc15 100%);
    --gradient-yellow-hover: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    --gradient-blue-yellow: linear-gradient(135deg, #1e40af 0%, #0284c7 40%, #f59e0b 100%);
    --gradient-hero: linear-gradient(135deg, #06182c 0%, #0a2540 45%, #1e3a8a 100%);
    --gradient-border: linear-gradient(90deg, #1e40af 0%, #0284c7 45%, #f59e0b 100%);

    --card-shadow: 0 10px 25px -5px rgba(10, 37, 64, 0.08), 0 8px 10px -6px rgba(10, 37, 64, 0.04);
    --card-shadow-hover: 0 20px 35px -10px rgba(10, 37, 64, 0.16), 0 10px 15px -5px rgba(10, 37, 64, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@supports (linear-gradient(in oklab, white, black)) {
    :root {
        --in-oklab: in oklab;
        --in-oklch: in oklch;
    }
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-main);
    background-color: #f8fafc;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Fluid Scaling */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.3;
}

.text-primary-dark {
    color: var(--primary-color) !important;
}

.text-primary-blue {
    color: var(--primary-blue) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.text-accent-yellow {
    color: var(--accent-yellow) !important;
}

.text-gradient-blue-yellow {
    background: linear-gradient(135deg, #1e40af 0%, #0284c7 40%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-primary-dark {
    background-color: var(--primary-color) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #0a2540 0%, #1e40af 55%, #2563eb 100%) !important;
}

.bg-gradient-accent {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 60%, #facc15 100%) !important;
}

.bg-gradient-blue-yellow {
    background: linear-gradient(135deg, #1e40af 0%, #0284c7 40%, #f59e0b 100%) !important;
}

/* Header & Navbar - Royal Blue Gradient sesuai Referensi Mockup */
.top-bar {
    display: none !important;
}

.navbar-main {
    background: linear-gradient(90deg, #093375 0%, #0d47a1 50%, #1565c0 100%) !important;
    box-shadow: 0 4px 20px rgba(9, 51, 117, 0.25);
    transition: var(--transition);
    padding: 10px 0;
    position: relative;
    border-bottom: none;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.brand-text h1 {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    margin-bottom: 0;
    color: #ffffff !important;
    white-space: nowrap;
}

.brand-text span {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.75) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: block;
    white-space: nowrap;
}

.navbar-nav .nav-link {
    font-weight: 600;
    font-size: 0.80rem !important;
    color: rgba(255, 255, 255, 0.92) !important;
    padding: 5px 8px !important;
    white-space: nowrap !important;
    transition: var(--transition);
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.navbar-nav .nav-link:hover {
    color: #ffc107 !important;
    background-color: rgba(255, 255, 255, 0.12);
}

.navbar-nav .nav-link.nav-link-active-gold,
.navbar-nav .nav-link.active {
    background-color: #ffc107 !important;
    color: #0a1e3b !important;
    font-weight: 700 !important;
    padding: 5px 14px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-navbar-ppdb {
    background: #ffc107 !important;
    color: #0a1e3b !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    padding: 5px 12px !important;
    border: none !important;
    font-size: 0.76rem !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
    transition: var(--transition) !important;
}

.btn-navbar-ppdb:hover {
    background: #ffb300 !important;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 193, 7, 0.45) !important;
}

.btn-navbar-admin {
    background: #ffffff !important;
    color: #093375 !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    padding: 5px 12px !important;
    border: none !important;
    font-size: 0.76rem !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15) !important;
    transition: var(--transition) !important;
}

.btn-navbar-admin:hover {
    background: #f1f5f9 !important;
    color: #0d47a1 !important;
    transform: translateY(-2px);
}

/* Ornamen Dot Grid di Navbar Atas Kanan */
.navbar-dot-grid {
    position: absolute;
    top: 6px;
    right: 12px;
    width: 64px;
    height: 48px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.35) 1.5px, transparent 1.5px);
    background-size: 10px 10px;
    pointer-events: none;
    opacity: 0.6;
}

/* Smooth Scroll & Scroll Margin Offset untuk Sticky Navbar */
html {
    scroll-behavior: smooth;
}

section[id],
div[id] {
    scroll-margin-top: 125px;
}

/* ===================================================
   BUTTONS: ROYAL NAVY, GOLDEN AMBER & PILL STYLES
   Sesuai Palet Resmi Mockup
   =================================================== */
.btn-primary-custom {
    background: linear-gradient(135deg, #093375 0%, #0d47a1 50%, #1565c0 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: none !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 15px rgba(9, 51, 117, 0.25) !important;
    transition: var(--transition) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 50%, #2563eb 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35) !important;
}

.btn-accent-custom {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 50%, #f59e0b 100%) !important;
    color: #0a1e3b !important;
    font-weight: 700 !important;
    border: none !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.35) !important;
    transition: var(--transition) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
}

.btn-accent-custom:hover {
    background: linear-gradient(135deg, #ffb300 0%, #f59e0b 100%) !important;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45) !important;
}

.btn-outline-royal {
    background: #ffffff !important;
    color: #093375 !important;
    font-weight: 700 !important;
    border: 2px solid #2563eb !important;
    padding: 8px 22px !important;
    border-radius: 50px !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.10) !important;
    transition: var(--transition) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    text-decoration: none !important;
}

.btn-outline-royal:hover {
    background: #2563eb !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3) !important;
}

.btn-blue-yellow {
    background: linear-gradient(135deg, #093375 0%, #1565c0 45%, #ffc107 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: none !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 15px rgba(9, 51, 117, 0.25) !important;
    transition: var(--transition) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.btn-blue-yellow:hover {
    background: linear-gradient(135deg, #1565c0 0%, #2563eb 50%, #ffc107 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4) !important;
}

/* ===================================================
   MODERN CARDS & SECTION HEADERS
   =================================================== */
.card-modern {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(9, 51, 117, 0.06);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.card-modern:hover {
    transform: translateY(-5px);
    border-color: #93c5fd;
    box-shadow: 0 20px 40px rgba(9, 51, 117, 0.12);
}

/* Section Header & Kapsul Tag */
.section-header {
    margin-bottom: 44px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.80rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #0284c7;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 14px;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.08);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #093375;
    position: relative;
    margin-bottom: 14px;
}

.section-header .section-title::after {
    content: '';
    display: block;
    width: 54px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, #1565c0 0%, #ffc107 100%);
    margin: 14px auto 0;
}

.text-start.section-header .section-title::after,
.section-header-start .section-title::after {
    margin-left: 0 !important;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Ornamen Dot Grid di Sudut Section */
.section-bg-dot-grid {
    position: absolute;
    width: 90px;
    height: 90px;
    background-image: radial-gradient(#93c5fd 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    pointer-events: none;
    opacity: 0.55;
    z-index: 0;
}

/* ===================================================
   KOMPONEN PROFIL SEKOLAH (#profil)
   =================================================== */
.profil-img-frame {
    border-radius: 20px;
    border: 4px solid #ffffff;
    box-shadow: 0 16px 40px rgba(9, 51, 117, 0.12);
    overflow: hidden;
    position: relative;
}

.profil-badge-float {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 16px;
    border-left: 4px solid #ffc107;
    box-shadow: 0 8px 24px rgba(9, 51, 117, 0.12);
    backdrop-filter: blur(8px);
}

.card-visi {
    background: #f0f7ff;
    border-radius: 16px;
    border-left: 4px solid #1565c0;
    padding: 16px 18px;
    transition: var(--transition);
}

.card-visi:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(21, 101, 192, 0.10);
}

.card-misi {
    background: #fffbeb;
    border-radius: 16px;
    border-left: 4px solid #ffc107;
    padding: 16px 18px;
    transition: var(--transition);
}

.card-misi:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(255, 193, 7, 0.15);
}

/* ===================================================
   JURUSAN TABS & CONTENT (#jurusan)
   =================================================== */
.nav-pills-custom {
    background: #ffffff;
    padding: 6px;
    border-radius: 50px;
    display: inline-flex;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(9, 51, 117, 0.05);
}

.nav-pills-custom .nav-link {
    color: #475569;
    font-weight: 700;
    font-size: 0.90rem;
    border-radius: 50px;
    padding: 9px 24px;
    background: transparent;
    border: none;
    margin: 0 3px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-pills-custom .nav-link:hover {
    color: #1565c0;
    background: #f0f7ff;
}

.nav-pills-custom .nav-link.active {
    background: linear-gradient(135deg, #093375 0%, #0d47a1 50%, #1565c0 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(9, 51, 117, 0.3) !important;
    border: none !important;
}

.badge-jurusan-bidang {
    background: #e0f2fe;
    color: #0284c7;
    border: 1px solid #bae6fd;
    padding: 5px 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.76rem;
    letter-spacing: 0.3px;
    display: inline-block;
}

/* ===================================================
   BIAYA & SYARAT PPDB (#biaya)
   =================================================== */
.table-biaya-custom thead th {
    background-color: #f0f7ff !important;
    color: #093375 !important;
    font-weight: 700;
    border-bottom: 2px solid #bae6fd;
}

.table-biaya-custom tfoot th {
    background-color: #f8fafc !important;
    border-top: 2px solid #093375;
}

.card-syarat-modern {
    background: linear-gradient(145deg, #093375 0%, #0d47a1 55%, #1565c0 100%) !important;
    border-radius: 20px !important;
    box-shadow: 0 16px 40px rgba(9, 51, 117, 0.22) !important;
    border: none !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card-syarat-modern .list-check-icon {
    color: #ffc107 !important;
    font-size: 1.15rem;
}

/* ===================================================
   AGENDA KEGIATAN (#agenda)
   =================================================== */
.agenda-badge-bar {
    background: linear-gradient(135deg, #093375 0%, #1565c0 100%);
    color: #ffffff;
    border-radius: 12px;
    padding: 8px 12px;
}

.agenda-badge-time {
    background: #ffc107;
    color: #0a1e3b;
    font-weight: 700;
    border-radius: 50px;
    padding: 3px 10px;
    font-size: 0.72rem;
}

/* ===================================================
   KONTAK, APK BOX & MAPS FRAME (#kontak)
   =================================================== */
.box-apk-android {
    background: linear-gradient(135deg, #093375 0%, #0d47a1 50%, #1565c0 100%);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(9, 51, 117, 0.18);
}

.maps-player-frame {
    border-radius: 20px;
    border: 4px solid #ffffff;
    box-shadow: 0 16px 40px rgba(9, 51, 117, 0.12);
    overflow: hidden;
}

/* Jurusan Detail Content Alignment (Desktop sejajar foto, Mobile rapi) */
@media (min-width: 992px) {
    .jurusan-content-right {
        padding-top: clamp(80px, 8.5vw, 130px);
    }
}
@media (max-width: 991.98px) {
    .jurusan-content-right {
        padding-top: 1.25rem;
    }
}

/* Footer: Royal Navy Gradient dengan Garis Gradasi Biru-Kuning */
.footer-main {
    background: linear-gradient(180deg, #093375 0%, #06182c 100%) !important;
    color: #cbd5e1;
    padding-top: 70px;
    padding-bottom: 30px;
    border-top: 4px solid;
    border-image: linear-gradient(90deg, #1565c0 0%, #0284c7 40%, #ffc107 80%, #fbbf24 100%) 1;
}

.footer-main h5 {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 22px;
    font-weight: 700;
}

.footer-main a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-main a:hover {
    color: #ffc107;
    padding-left: 4px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    margin-right: 8px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-icon:hover {
    background: #ffc107;
    color: #093375;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(255, 193, 7, 0.4);
    border-color: #ffc107;
}

/* Floating Action / Back to Top */
#backToTop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a2540 0%, #1e40af 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 6px 20px rgba(10, 37, 64, 0.35);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: var(--transition);
}

#backToTop:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #0a2540;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .section-title {
        font-size: 1.75rem;
    }

    /* Mobile Navbar Header: Pastikan 1 baris & Toggler selalu di kanan */
    .navbar-main .container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .navbar-brand {
        flex: 1 1 auto;
        max-width: calc(100% - 56px);
        min-width: 0;
    }

    .navbar-brand img {
        height: 44px;
        flex-shrink: 0;
    }

    .brand-text {
        min-width: 0;
        overflow: hidden;
    }

    .brand-text h1 {
        font-size: 1.05rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .brand-text span {
        font-size: 0.65rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        letter-spacing: 0.2px;
    }

    .navbar-toggler {
        flex: 0 0 auto;
        margin-left: auto;
        padding: 8px 10px;
        border-radius: 8px;
        background-color: rgba(255, 255, 255, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        line-height: 1;
    }

    /* Mobile Navbar Dropdown: Mengambang di atas konten (overlay) */
    .navbar-main {
        position: relative;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: linear-gradient(180deg, #093375 0%, #0d47a1 100%) !important;
        border-radius: 0 0 16px 16px;
        padding: 18px 24px 22px;
        margin-top: 0;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-top: 3px solid #ffc107;
        z-index: 1060;
        max-height: 80vh;
        overflow-y: auto;
    }

    .navbar-nav {
        margin-bottom: 12px !important;
    }

    .navbar-nav .nav-link {
        padding: 10px 14px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: #ffffff !important;
        font-size: 0.92rem;
    }

    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }
}

/* ===================================================
   FIXED HERO IMAGE RATIO – 2.57:1 PERMANEN
   =================================================== */
.hero-slider-container {
    position: relative;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 2.57 / 1 !important;
    overflow: hidden;
}

.hero-slider-container .hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ===================================================
   LIGHTBOX / POP UP MODAL MEDIA INTERAKTIF
   Untuk #agenda, #berita, dan #galeri
   =================================================== */
.item-media-clickable {
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.item-media-clickable:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
}

.mmv-image-stage {
    min-height: 280px;
    max-height: 520px;
    background: #000000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mmv-image-stage.no-images,
.mmv-image-stage[style*="display: none"] {
    display: none !important;
    min-height: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.mmv-img {
    max-height: 520px;
    width: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.2s ease;
}

.mmv-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.70);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    z-index: 10;
}

.mmv-nav-btn:hover {
    background: #e11d48;
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
}

.mmv-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mmv-dot.active {
    width: 22px;
    border-radius: 10px;
    background: #ffffff;
}

/* ===================================================
   KONSEP BACKGROUND SECTION SESUAI SPESIFIKASI USER
   Ornamen transparan 5–12%, CSS/SVG/pseudo-elements,
   Keterbacaan teks terjaga maksimal, Card dominan putih
   =================================================== */

/* ========================================================
   MODERN BRANDED SECTION BACKGROUND SYSTEM (Blue & Yellow Minimal)
   Sesuai referensi gambar terbaru media_1794239173000_cef86ea5.jpg:
   - Tidak ada shape besar yang keluar dari batas halaman
   - Gradasi bersih: putih ke biru muda
   - Dot pattern di sudut dengan jarak teratur (CSS radial-gradient)
   - Ornamen lingkaran outline transparan (cyan & kuning)
   - Detail aksen kecil garis biru-kuning di bawah judul
   - Card konten putih solid dengan keterbacaan tinggi
   ======================================================== */

.section-modern-canvas,
.section-bg-profil,
.section-bg-jurusan,
.section-bg-biaya,
.section-bg-agenda,
.section-bg-berita,
.section-bg-galeri,
.section-bg-kontak {
    background: linear-gradient(180deg, #ffffff 0%, #f4f8fe 50%, #ebf3fc 100%) !important;
    position: relative;
    overflow: hidden;
}

/* Pastikan semua card konten dalam section tetap putih solid & elevasi halus */
.section-modern-canvas .card:not(.card-syarat-modern),
.section-modern-canvas .card-modern:not(.card-syarat-modern),
.section-bg-profil .card,
.section-bg-jurusan .card,
.section-bg-biaya .card:not(.card-syarat-modern),
.section-bg-agenda .card,
.section-bg-berita .card,
.section-bg-galeri .card,
.section-bg-kontak .card,
.section-bg-profil .card-modern,
.section-bg-jurusan .card-modern,
.section-bg-biaya .card-modern:not(.card-syarat-modern),
.section-bg-agenda .card-modern,
.section-bg-berita .card-modern,
.section-bg-galeri .card-modern,
.section-bg-kontak .card-modern {
    background-color: #ffffff !important;
    position: relative;
    z-index: 1;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(13, 71, 161, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.7);
}

/* 1. Dot Pattern Sudut Menggunakan CSS radial-gradient (ringan & responsif) */
.corner-dots {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    background-image: radial-gradient(#60a5fa 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    width: 80px;
    height: 96px;
    opacity: 0.65;
}
.corner-dots-tl { top: 25px; left: 30px; }
.corner-dots-tr { top: 25px; right: 30px; }
.corner-dots-bl { bottom: 25px; left: 30px; }
.corner-dots-br { bottom: 25px; right: 30px; }

/* 2. Ornamen Lingkaran Outline Transparan */
.corner-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.corner-ring-cyan {
    border: 3.5px solid rgba(56, 189, 248, 0.45);
}
.corner-ring-yellow {
    border: 3.5px solid rgba(250, 204, 21, 0.5);
}

/* 3. Detail Aksen Garis Kecil Biru & Kuning di Bawah Judul */
.section-title-divider {
    width: 46px;
    height: 4px;
    border-radius: 2px;
    margin: 10px auto 16px;
    background: linear-gradient(to right, #093375 50%, #ffc107 50%);
}

/* 4. Total Pembayaran Awal Bar (Card Biaya) */
.total-pembayaran-bar {
    background: #f8fafc;
    border-radius: 14px;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e2e8f0;
}
.total-badge-pill {
    background: #0d47a1;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.15rem;
    padding: 8px 22px;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(13, 71, 161, 0.25);
}

/* 5. Card Syarat Pendaftaran Biru Gelap + White Dots */
.card-syarat-modern {
    background: linear-gradient(145deg, #093375 0%, #0d47a1 55%, #1565c0 100%) !important;
    border-radius: 20px !important;
    box-shadow: 0 16px 40px rgba(9, 51, 117, 0.2) !important;
    border: none !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.card-syarat-dots-tr {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 80px;
    height: 64px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.35) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    pointer-events: none;
    z-index: 0;
}
.card-syarat-dots-br {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 96px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.35) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    pointer-events: none;
    z-index: 0;
}

/* 6. Tombol Aksen Kuning Emas */
.btn-accent-yellow {
    background: #ffc107 !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    border-radius: 999px !important;
    padding: 12px 24px !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4) !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
}
.btn-accent-yellow:hover {
    background: #ffb300 !important;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 193, 7, 0.5) !important;
}

/* ========================================================
   RESPONSIF MOBILE: BACKGROUND ORNAMEN SECTION
   ======================================================== */
@media (max-width: 767.98px) {
    .corner-dots {
        width: 64px !important;
        height: 64px !important;
        opacity: 0.45 !important;
    }
    .corner-ring {
        transform: scale(0.7);
    }
    .total-pembayaran-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ========================================================
   MODAL ARSIP SEMUA BERITA & POP-UP QUICK VIEW
   ======================================================== */
.arsip-card-hover {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.arsip-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12) !important;
}
.arsip-img-zoom {
    transition: transform 0.35s ease;
}
.arsip-card-hover:hover .arsip-img-zoom {
    transform: scale(1.05);
}
.arsip-card-title {
    cursor: pointer;
    transition: color 0.15s ease;
}
.arsip-card-title:hover {
    color: #0284c7 !important;
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.filter-pills-bar::-webkit-scrollbar {
    height: 4px;
}
.filter-pills-bar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* Stacked Modal Multi-Level Layering (Zero-Lag Popup & Anti-Rollback) */
#modalSemuaBerita {
    z-index: 1055;
}
#modalMediaViewer {
    z-index: 1070 !important;
}
.modal-backdrop + .modal-backdrop {
    z-index: 1065 !important;
}



