/* ========================================================== */
/* CUSTOM STYLES - DIEKSTRAK DARI FILE BACKUP (ORIGINAL)      */
/* ========================================================== */

/* 1. HEADER LINE ANIMATION (SCANNER BEAM) */
.header-line-container {
    position: absolute;
    bottom: -8px; 
    left: 0; 
    width: 100%; 
    height: 10px; 
    pointer-events: none;
    z-index: 100;
    overflow: visible;
}

.scanner-beam {
    position: absolute;
    top: 0;
    width: 5px;  
    height: 5px; 
    background: #39ff14;
    box-shadow: 
        0 0 15px #39ff14,
        0 0 30px #39ff14,
        0 0 60px #32cd32,
        0 0 80px #32cd32,
        inset 0 0 4px #ffffff;
    border-radius: 50%; 
    will-change: left;
    transform: translateZ(0); 
    animation: green-patrol 10s ease-in-out infinite;
}

.scanner-beam:nth-child(1) { animation-delay: 0s; }
.scanner-beam:nth-child(2) { animation-delay: 0.2s; opacity: 0.8; }
.scanner-beam:nth-child(3) { animation-delay: 0.4s; opacity: 0.6; }

@keyframes green-patrol {
    0% { left: -20px; opacity: 1; }
    20% { left: 100%; opacity: 1; }
    20.01% { opacity: 0; } 
    49.99% { opacity: 0; left: 100%; }
    50% { left: 100%; opacity: 1; }
    70% { left: -20px; opacity: 1; }
    70.01% { opacity: 0; }
    100% { left: -20px; opacity: 0; }
}

/* 2. TOP LOADING BAR (NEON GLOW) */
.top-loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    
    /* Naik 10% dari 4px menjadi 4.4px */
    height: 6px; 
    
    width: 0%;
    background: linear-gradient(90deg, var(--accent), #00f2ff);
    box-shadow: 0 0 10px #00f2ff, 0 0 20px var(--accent);
    z-index: 99999; 
    transition: width 0.3s ease;
    border-radius: 0 2px 2px 0;
}

/* 3. VARIABLES & THEME */
:root {
    --bg-body: #ffffff;      
    --text-main: #1e293b;    
    --text-muted: #64748b;   
    --glass-bg: rgba(226, 232, 240, 0.85); 
    --card-bg: #ffffff;
    --section-bg: #f1f5f9;   
    --primary: #0f172a;      
    --accent: #2563eb;       
    --border-color: rgba(0,0,0,0.08);
}

[data-theme="dark"] {
    --bg-body: #0f172a;      
    --text-main: #f8fafc;    
    --text-muted: #94a3b8;   
    --glass-bg: rgba(15, 23, 42, 0.8); 
    --card-bg: #1e293b;      
    --section-bg: #020617;   
    --primary: #f8fafc;      
    --accent: #3b82f6;       
    --border-color: rgba(255,255,255,0.1);
}

body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    overflow-x: hidden; 
    color: var(--text-main);
    background-color: var(--bg-body);
    padding-bottom: 70px;
    transition: background-color 0.3s, color 0.3s;
}

/* 4. NAVBAR & MENU */
.navbar-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: 0.3s;
}
.navbar-brand span { color: var(--text-main) !important; }

.nav-link { 
    font-weight: 600; 
    color: var(--text-main); 
    margin: 0 8px; 
    font-size: 0.95rem; 
}
.nav-link:hover, .nav-link.active, .nav-link:focus, .nav-link.show { 
    color: var(--accent) !important; 
}

.dropdown-menu { 
    background: var(--glass-bg) !important; 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}
.dropdown-item { 
    color: var(--text-main); 
    transition: 0.2s;
    border-radius: 8px;
    margin: 2px 5px;
    width: auto;
}
.dropdown-item:hover, .dropdown-item:focus, .dropdown-item:active { 
    background: rgba(37, 99, 235, 0.1) !important; 
    color: var(--accent) !important; 
    transform: translateX(5px);
}

.btn-theme-toggle {
    background: transparent; border: 1px solid var(--border-color);
    color: var(--text-main); width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s; cursor: pointer;
}
.btn-theme-toggle:hover { background: var(--section-bg); color: var(--accent); }

/* 5. CAROUSEL & CARDS */
.carousel-item { 
    height: 85vh; min-height: 600px; background: #000; 
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); 
}
.carousel-item.active .hero-img { transform: scale(1.05); transition: transform 6s linear; }
.hero-img { object-fit: cover; width: 100%; height: 100%; opacity: 0.7; }

.feature-card {
    background: var(--card-bg); 
    padding: 2.5rem 2rem; 
    border-radius: 20px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    height: 100%; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    position: relative; overflow: hidden; z-index: 1;
}
.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.2);
}
.feature-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 5px;
    background: linear-gradient(90deg, var(--accent), #60a5fa);
    transition: width 0.5s ease-in-out;
}
.feature-card:hover::after { width: 100%; }
.feature-card i { transition: transform 0.3s ease; }
.feature-card:hover i { transform: scale(1.15) rotate(-5deg); color: var(--accent) !important; }
.feature-card h5 { color: var(--text-main); transition: color 0.3s; }
.feature-card:hover h5 { color: var(--accent); }
.feature-card p { color: var(--text-muted); }

/* 6. INFO SECTION & FOOTER (BASE) */
.info-section-bottom {
    background-color: #0f172a !important; 
    color: #cbd5e1 !important;
    padding: 80px 0 100px 0; 
    margin-top: 100px;
    font-size: 0.95rem;
    position: relative;
    z-index: 100;
}
/* OVERRIDE INFO SECTION (COMPACT) */
.info-section-bottom {
    background-color: #0f172a !important;
    color: #e2e8f0 !important;
    padding: 15px 0 25px 0 !important; 
    margin-top: 10px !important;       
    font-size: 0.8rem !important; 
    position: relative;
    z-index: 100;
}
.info-section-bottom h5 {
    color: #ffffff !important; font-weight: 700; margin-bottom: 10px !important;
    font-size: 0.9rem !important; text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 5px; display: inline-block;
}
.info-logos img { height: 35px !important; background: #fff; padding: 3px; border-radius: 4px; margin-right: 8px; margin-bottom: 5px; }
.info-links li { margin-bottom: 6px !important; line-height: 1.4 !important; }
.info-section-bottom .text-muted { color: #94a3b8 !important; }
.info-section-bottom .text-primary { color: #3b82f6 !important; }

.footer-glass {
    position: fixed; bottom: 0; left: 0; width: 100%; z-index: 1050;
    background: var(--glass-bg); 
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--border-color);
    padding: 15px 0; text-align: center; font-size: 0.85rem;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
}

/* 7. HOVER DROPDOWN DESKTOP */
@media (min-width: 992px) {
    .navbar .dropdown-menu {
        display: block; opacity: 0; visibility: hidden;
        transform: translateY(20px); transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        pointer-events: none; margin-top: 0;
    }
    .navbar .nav-item.dropdown:hover .dropdown-menu {
        opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
    }
    .navbar .dropdown-menu { top: 90%; }
}

/* 8. MODAL STYLES */
.modal-win11 .modal-dialog {
    transform: scale(0.95) translateY(10px); 
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease-out;
}

/* State Akhir (Saat sudah muncul/Show) */
.modal-win11.show .modal-dialog {
    transform: scale(1) translateY(0); 
    opacity: 1;
}

/* State Keluar (Saat tombol close diklik) - WAJIB ADA CLASS .modal-hiding */
.modal-win11.modal-hiding .modal-dialog {
    transform: scale(0.9) translateY(20px) !important; /* Efek Zoom Out ke bawah */
    opacity: 0 !important;                             /* Fade Out */
    transition: transform 0.2s ease-in, opacity 0.2s ease-in !important;
}
.modal-win11 .modal-content {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}
[data-theme="dark"] .modal-win11 .modal-content {
    background: rgba(15, 23, 42, 0.75) !important; 
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f8fafc !important; 
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}
[data-theme="dark"] .modal-win11 .modal-body * { color: #e2e8f0 !important; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.modal-win11 .modal-body *:not(img):not(video):not(iframe):not(.btn) { background-color: transparent !important; }
.modal-win11 .modal-body { color: #000000 !important; font-weight: 500 !important; line-height: 1.6 !important; }
[data-theme="dark"] .btn-close-win11 { filter: invert(1) grayscale(100%) brightness(200%); opacity: 1; }
.modal-body iframe { width: 100% !important; height: auto; min-height: 400px; border-radius: 8px; border: 1px solid var(--border-color); }
.modal-body { animation: contentFade .3s ease; }
@keyframes contentFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* 9. UTILS & FIXES */
.text-muted { color: var(--text-muted) !important; }
a { color: var(--accent); } a:hover { color: var(--text-main); }
.content-loader { display: flex; justify-content: center; align-items: center; min-height: 200px; }

/* 10. ANIMASI SLIDE UP (MOBILE MENU) */
@media (max-width: 991.98px) {
    .navbar-collapse.show .navbar-nav { opacity: 1 !important; transform: translateY(0) !important; transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) !important; }
    .navbar-collapse.collapsing .navbar-nav { opacity: 0 !important; transform: translateY(-30px) !important; transition: all 0.2s ease-out !important; }
    .navbar-collapse .navbar-nav { opacity: 0; transform: translateY(-30px); }
    .navbar-collapse .nav-item { transform: none !important; transition: none !important; opacity: 1; }
}

/* 11. FOOTER PROGRESS BAR & BEACON PULSE */
.footer-progress-bar {
    position: absolute; top: 0; left: 0; height: 4px; 
    background: linear-gradient(90deg, var(--accent), #00f2ff);
    box-shadow: 0 0 10px #00f2ff, 0 0 20px var(--accent);
    width: 0%; transition: width 0.1s linear; z-index: 1060; border-radius: 0 2px 2px 0;
}

@keyframes beacon-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); opacity: 1; }
    60% { box-shadow: 0 0 0 25px rgba(37, 99, 235, 0); opacity: 0.6; }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); opacity: 0; }
}
.btn-back-to-top {
    position: fixed; bottom: 80px; right: 30px; width: 50px; height: 50px; border-radius: 50%;
    background: var(--accent); color: #fff; border: none;
    box-shadow: 0 0 15px var(--accent); z-index: 1070; 
    opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.8);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex; justify-content: center; align-items: center; cursor: pointer;
}
.btn-back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.btn-back-to-top::before { content: ''; position: absolute; inset: 0; border-radius: 50%; z-index: -1; animation: none; }
.btn-back-to-top.show::before { animation: beacon-pulse 1.5s ease-out infinite; }
.btn-back-to-top:hover { background: #fff; color: var(--accent); transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.2); }

/* 12. FIX FINAL: HEADER & FOOTER OVERRIDES (PENTING!) */
.navbar-glass, .footer-glass {
    background-color: rgba(15, 23, 42, 0.55) !important; 
    backdrop-filter: blur(25px); border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}
.info-section-bottom {
    background-color: rgba(15, 23, 42, 0.9) !important; 
    backdrop-filter: blur(25px); color: #cbd5e1 !important;
}
.navbar-brand span, .navbar-brand small, .navbar-nav .nav-link, .footer-glass, .btn-theme-toggle {
    color: #f1f5f9 !important; text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--accent) !important; background: rgba(255,255,255,0.1); border-radius: 5px;
}
.navbar-toggler { border-color: rgba(255,255,255,0.2) !important; }
.navbar-toggler-icon { filter: invert(1) grayscale(100%) brightness(200%); }
.dropdown-menu { background-color: rgba(15, 23, 42, 0.65) !important; }
.dropdown-item { color: #e2e8f0 !important; }
.dropdown-item:hover { background-color: rgba(255,255,255,0.1) !important; }

/* 13. SWIPER ZOOM EFFECTS */
/* Pastikan kodenya seperti ini agar tidak terlalu nge-zoom */
.myTeacherSwiper .swiper-slide-active img {
    /* ... border & shadow ... */
    
    /* [PENTING] Scale 1.0 saja (ukuran asli kotak) atau maksimal 1.02 */
    transform: scale(1.0) !important; 
    
    position: relative;
    z-index: 5; 
}
.myFacilitySwiper .facility-card-wrapper { transform: scale(0.75) !important; opacity: 0.5; filter: blur(1px); transition: all 0.5s; border-radius: 16px; }
/* Fasilitas Active - SUPER GLOW CYAN */
.myFacilitySwiper .swiper-slide-active .facility-card-wrapper { 
    transform: scale(1.25) !important; 
    opacity: 1; 
    filter: blur(0); 
    z-index: 10; 
    
    /* Border Cyan Solid */
    border: 3px solid #0dcaf0 !important; 
    
    /* DOUBLE GLOW CYAN: Inti Terang + Pendaran Luar */
    box-shadow: 
        0 0 25px rgba(13, 202, 240, 0.8), 
        0 0 50px rgba(13, 202, 240, 0.4) !important; 
        
    background-color: var(--card-bg); /* Pastikan background tidak transparan agar glow kontras */
}
.myEkskulSwiper .ekskul-card-wrapper { transform: scale(0.85) !important; opacity: 0.6; filter: blur(1px); transition: all 0.5s; border-radius: 16px; }
.myEkskulSwiper .swiper-slide-active .ekskul-card-wrapper { transform: scale(1.15) !important; opacity: 1; filter: blur(0); z-index: 10; box-shadow: 0 30px 60px rgba(0,0,0,0.35) !important; border: 1px solid rgba(255,255,255,0.2); background-color: var(--card-bg); }
/* GABUNGAN STYLE GALLERY FOTO & VIDEO */
.myGallerySwiper .gallery-card-wrapper,
.myVideoSwiper .video-card-wrapper { 
    transform: scale(0.85) !important; 
    opacity: 0.6; 
    filter: blur(1px); 
    transition: all 0.5s; 
    border-radius: 16px; 
}

.myGallerySwiper .swiper-slide-active .gallery-card-wrapper,
.myVideoSwiper .swiper-slide-active .video-card-wrapper { 
    transform: scale(1.15) !important; 
    opacity: 1; 
    filter: blur(0); 
    z-index: 10; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.35) !important; 
    border: 1px solid rgba(255,255,255,0.2); 
    background-color: var(--card-bg); 
}
.swiper-pagination { bottom: 0px !important; }

/* ========================================================== */
/* FIX FINAL: MODAL SYSTEM (LAYOUT + SCROLL + SUPER BEACON)   */
/* ========================================================== */

/* 1. ANIMASI BEACON (Pulse Cahaya Biru Neon) */
@keyframes super-beacon {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
        border-color: rgba(59, 130, 246, 0.8);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(59, 130, 246, 0); /* Jarak sebar cahaya */
        border-color: rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
        border-color: rgba(59, 130, 246, 0);
    }
}

/* 2. KONFIGURASI DIALOG (TENGAN & LEBAR) */
.modal-win11 .modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
    margin: auto;
    /* PENTING: Jangan hidden, agar cahaya bisa keluar */
    overflow: visible !important; 
}

/* 3. KONFIGURASI CONTENT (KOTAK UTAMA) */
.modal-win11 .modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 90vh; /* Maksimal 90% layar */
    
    /* PENTING: Reset overflow agar shadow terlihat */
    overflow: visible !important; 
    
    /* Style Dasar */
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #0f172a !important; /* Warna Solid Gelap (Wajib Solid) */
    box-shadow: 0 10px 50px rgba(0,0,0,0.5); /* Bayangan dasar */
}

/* 4. TRIGGER ANIMASI SAAT MUNCUL (.show) */
.modal-win11.show .modal-content {
    /* Animasi berjalan 2 detik, infinite loop */
    animation: super-beacon 2s infinite;
}

/* 5. KONFIGURASI SCROLL (HANYA DI BODY) */
.modal-win11 .modal-body {
    overflow-y: auto !important; /* Scroll vertikal aktif */
    overflow-x: hidden;
    flex: 1 1 auto;
    padding: 25px 30px 40px 30px !important;
}

/* 6. HEADER FIXED (TOMBOL CLOSE GAK IKUT SCROLL) */
.modal-win11 .d-flex.justify-content-end.p-3 {
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 1050;
    /* Background transparan biar nyatu */
    background: transparent; 
}

/* 7. CUSTOM SCROLLBAR (CHROME/EDGE/SAFARI) */
.modal-win11 .modal-body::-webkit-scrollbar { width: 8px; }
.modal-win11 .modal-body::-webkit-scrollbar-track { background: #1e293b; border-radius: 4px; }
.modal-win11 .modal-body::-webkit-scrollbar-thumb { background-color: var(--accent); border-radius: 4px; border: 2px solid #1e293b; }

/* ========================================================== */
/* CUSTOM SWEETALERT 2 (DARK MODE INTEGRATION)                */
/* ========================================================== */
div:where(.swal2-container) div:where(.swal2-popup) {
    background: rgba(15, 23, 42, 0.95) !important; /* Biru Gelap Pekat */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

div:where(.swal2-container) h2:where(.swal2-title),
div:where(.swal2-container) div:where(.swal2-html-container) {
    color: #f1f5f9 !important; /* Text Putih */
}

/* Icon Checkmark Hijau diubah jadi Biru/Sesuai Tema */
div:where(.swal2-icon).swal2-success {
    border-color: #3b82f6 !important; 
    color: #3b82f6 !important;
}
div:where(.swal2-icon).swal2-success [class^=swal2-success-line] {
    background-color: #3b82f6 !important;
}
div:where(.swal2-icon).swal2-success .swal2-success-ring {
    border: .25em solid rgba(59, 130, 246, 0.3) !important;
}

/* ========================================================== */
/* STATISTIC CARDS GLOW EFFECT (SUBTLE)                       */
/* ========================================================== */

.stat-card {
    background: rgba(255, 255, 255, 0.03); /* Transparan gelap */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    height: 100%;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Efek Hover: Naik dikit & Glow menguat */
.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* VARIAN WARNA GLOW (Sesuai Icon) */

/* 1. KUNING (Guru) */
.stat-card.glow-warning { box-shadow: 0 0 15px rgba(255, 193, 7, 0.05), inset 0 0 10px rgba(255, 193, 7, 0.02); }
.stat-card.glow-warning:hover { box-shadow: 0 10px 30px rgba(255, 193, 7, 0.15), inset 0 0 15px rgba(255, 193, 7, 0.05); border-color: rgba(255, 193, 7, 0.3); }

/* 2. HIJAU (Siswa) */
.stat-card.glow-success { box-shadow: 0 0 15px rgba(25, 135, 84, 0.05), inset 0 0 10px rgba(25, 135, 84, 0.02); }
.stat-card.glow-success:hover { box-shadow: 0 10px 30px rgba(25, 135, 84, 0.15), inset 0 0 15px rgba(25, 135, 84, 0.05); border-color: rgba(25, 135, 84, 0.3); }

/* 3. BIRU (Rombel) */
.stat-card.glow-primary { box-shadow: 0 0 15px rgba(13, 110, 253, 0.05), inset 0 0 10px rgba(13, 110, 253, 0.02); }
.stat-card.glow-primary:hover { box-shadow: 0 10px 30px rgba(13, 110, 253, 0.15), inset 0 0 15px rgba(13, 110, 253, 0.05); border-color: rgba(13, 110, 253, 0.3); }

/* 4. CYAN/INFO (Alumni) */
.stat-card.glow-info { box-shadow: 0 0 15px rgba(13, 202, 240, 0.05), inset 0 0 10px rgba(13, 202, 240, 0.02); }
.stat-card.glow-info:hover { box-shadow: 0 10px 30px rgba(13, 202, 240, 0.15), inset 0 0 15px rgba(13, 202, 240, 0.05); border-color: rgba(13, 202, 240, 0.3); }

/* 5. MERAH (Ekskul) */
.stat-card.glow-danger { box-shadow: 0 0 15px rgba(220, 53, 69, 0.05), inset 0 0 10px rgba(220, 53, 69, 0.02); }
.stat-card.glow-danger:hover { box-shadow: 0 10px 30px rgba(220, 53, 69, 0.15), inset 0 0 15px rgba(220, 53, 69, 0.05); border-color: rgba(220, 53, 69, 0.3); }

/* ========================================================== */
/* KEPALA SEKOLAH GLOW FRAME (REVISI: SOFT & ELEGANT GOLD)    */
/* ========================================================== */

.kepsek-frame-glow {
    /* 1. Border: Sedikit lebih transparan (0.5) biar menyatu */
    border: 3px solid rgba(255, 193, 7, 0.5) !important; 
    
    /* 2. Glow Default: Sangat lembut (hanya 15px sebarannya, opacity 0.15) */
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.15) !important; 

    /* Transisi Membal Halus */
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); 
    position: relative;
    z-index: 1;
}

/* Efek saat Mouse Hover (Terang tapi Tidak Menyilaukan) */
.kepsek-frame-glow:hover {
    /* Glow Meningkat tapi tetap wajar (30px, opacity 0.4) */
    box-shadow: 0 0 30px rgba(255, 193, 7, 0.4) !important; 
    
    /* Warna Border jadi lebih tegas saat disorot */
    border-color: rgba(255, 193, 7, 0.9) !important; 
    
    /* Foto jadi lurus & zoom sedikit */
    transform: rotate(0deg) scale(1.05) !important; 
    z-index: 10;
}

/* ========================================================== */
/* PROGRAM CARD GLOW (BLUE NEON) - VERSI LEBIH TEBAL          */
/* ========================================================== */

.program-card-glow {
    /* Background sedikit transparan (Glassmorphism Dark) */
    background-color: var(--card-bg); 
    
    /* [UBAH DISINI] Border jadi 3px agar tegas */
    border: 3px solid rgba(59, 130, 246, 0.3) !important; 
    
    /* Glow Biru Sangat Tipis (Default) */
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.05) !important;
    
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 16px; 
}

/* Efek Saat Mouse Hover (Sorot) */
.program-card-glow:hover {
    /* Card naik ke atas */
    transform: translateY(-8px);
    
    /* Warna Border jadi Solid/Jelas (Ukuran tetap 3px) */
    border-color: rgba(59, 130, 246, 0.9) !important;
    
    /* Glow Biru Menyebar & Terang */
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.25) !important;
}

//* ========================================================== */
/* DATA GURU - COMPACT PORTRAIT FIX                           */
/* ========================================================== */

/* 1. Container Utama: Padding Kecil Saja */
.myTeacherSwiper {
    padding-top: 30px !important;    /* Cukup 30px */
    padding-bottom: 40px !important; /* Cukup 40px */
    overflow: hidden !important;     
}

/* 2. Slide Inner: Pastikan Overflow Visible untuk Efek Glow */
.myTeacherSwiper .swiper-slide-active .teacher-card-wrapper {
    overflow: visible !important; 
    z-index: 100;
}

/* 3. Style Foto (Kondisi Normal) */
.myTeacherSwiper .swiper-slide img {
    transition: all 0.5s ease;
    border-radius: 16px;
    filter: grayscale(100%) opacity(0.6); 
    transform: scale(0.9); 
}


/* 4. Kondisi AKTIF (Tengah) - SUPER GLOW BIRU */
.myTeacherSwiper .swiper-slide-active img {
    /* Border Biru Solid & Tebal */
    border: 4px solid #3b82f6 !important; 
    
    /* DOUBLE GLOW: 
       Layer 1 (0-30px): Cahaya inti sangat terang (opacity 0.9)
       Layer 2 (0-60px): Pendaran luar yang luas (opacity 0.5) 
    */
    box-shadow: 
        0 0 30px rgba(59, 130, 246, 0.9),
        0 0 60px rgba(59, 130, 246, 0.5) !important; 
    
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05); 
    position: relative;
    z-index: 5; 
}

/* 4. Fix Agar Teks & Badge Selalu Di Atas Glow/Foto */
.myTeacherSwiper .swiper-slide-active .position-absolute {
    z-index: 50 !important; /* Pastikan teks di atas foto yang di-zoom */
}

/* 5. Wrapper Reset */
.myTeacherSwiper .teacher-card-wrapper {
    transition: transform 0.4s ease;
    background: transparent !important;
}

/* 6. Buka Kuncian Overflow Khusus Slide Aktif (Biar Glow/Kepala nongol dikit jika perlu) */
.myTeacherSwiper .swiper-slide-active .teacher-card-wrapper .position-relative {
    overflow: visible !important;
    z-index: 100;
}

/* ========================================================== */
/* FACILITY CARD GLOW (CYAN/INFO THEME)                       */
/* ========================================================== */

.facility-card-glow {
    background-color: var(--card-bg); 
    /* Border Cyan Tipis (Default) */
    border: 3px solid rgba(13, 202, 240, 0.3) !important; 
    
    /* Glow Cyan Lembut */
    box-shadow: 0 0 15px rgba(13, 202, 240, 0.1) !important;
    
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 16px; 
    overflow: hidden;
}

/* Efek Saat Mouse Hover */
.facility-card-glow:hover {
    transform: translateY(-8px); /* Naik dikit */
    
    /* Border Jadi Tegas */
    border-color: rgba(13, 202, 240, 0.9) !important;
    
    /* Glow Menyala Terang */
    box-shadow: 0 15px 40px rgba(13, 202, 240, 0.3) !important;
    z-index: 10;
}

/* ========================================================== */
/* EKSKUL CARD GLOW (GREEN/SUCCESS THEME)                     */
/* ========================================================== */

.ekskul-card-glow {
    background-color: var(--card-bg); 
    /* Border Hijau Tipis */
    border: 3px solid rgba(25, 135, 84, 0.3) !important; 
    
    /* Glow Hijau Lembut */
    box-shadow: 0 0 15px rgba(25, 135, 84, 0.1) !important;
    
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 16px; 
    overflow: hidden;
}

/* Efek Saat Mouse Hover */
.ekskul-card-glow:hover {
    transform: translateY(-8px);
    
    /* Border Jadi Tegas */
    border-color: rgba(25, 135, 84, 0.9) !important;
    
    /* Glow Menyala Terang */
    box-shadow: 0 15px 40px rgba(25, 135, 84, 0.3) !important;
    z-index: 10;
}

/* ========================================================== */
/* EKSKUL SECTION - FIX SIZE & GAP                            */
/* ========================================================== */

/* 1. STYLE UMUM (KARTU PINGGIR / TIDAK AKTIF) */
/* Kita buat ukurannya KECIL (0.75) dan agak transparan */
.myEkskulSwiper .swiper-slide .ekskul-card-glow {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* [UBAH DISINI] Turunkan drastis biar terlihat jauh & kecil */
    transform: scale(0.75) !important; 
    
    opacity: 0.5; /* Redupkan biar mata fokus ke tengah */
    filter: blur(2px) grayscale(80%); /* Blur dikit biar estetik */
    
    /* Reset border & shadow untuk yang pinggir */
    border: 1px solid rgba(255,255,255,0.1) !important;
    box-shadow: none !important;
}

/* 2. STYLE KHUSUS (KARTU TENGAH / AKTIF) */
/* Kita buat ukurannya BESAR (1.1) dan GLOWING */
.myEkskulSwiper .swiper-slide-active .ekskul-card-glow {
    /* [UBAH DISINI] Zoom secukupnya, jangan terlalu raksasa biar gak nabrak */
    transform: scale(1.1) !important; 
    
    opacity: 1;
    filter: blur(0) grayscale(0%);
    z-index: 20; /* Pastikan di atas layer lain */
    
    /* GLOW HIJAU NEON KUAT (Sesuai request sebelumnya) */
    border: 3px solid #2ecc71 !important; 
    box-shadow: 
        0 0 30px rgba(46, 204, 113, 0.9),
        0 0 60px rgba(46, 204, 113, 0.5) !important; 
        
    background-color: var(--card-bg); 
}

/* ========================================================== */
/* GALLERY - HYPER GLOW NEON BLUE (ELECTRIC THEME)            */
/* ========================================================== */

/* 1. KARTU PINGGIR (Kecil, Jauh, & Redup) */
.myGallerySwiper .swiper-slide .gallery-card-wrapper {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Scale kecil biar jaraknya lega */
    transform: scale(0.75) !important; 
    opacity: 0.5;
    filter: blur(2px) grayscale(80%);
    /* Border tipis transparan saat tidak aktif */
    border: 1px solid rgba(255,255,255,0.1) !important;
    box-shadow: none !important;
}

/* 2. KARTU TENGAH (Besar, Fokus, & Menyala Biru) */
.myGallerySwiper .swiper-slide-active .gallery-card-wrapper {
    /* Zoom membesar */
    transform: scale(1.1) !important;
    opacity: 1;
    filter: blur(0) grayscale(0%);
    z-index: 20;
    
    /* BORDER NEON BLUE SOLID (Warna Biru Elektrik) */
    border: 3px solid #00e5ff !important; 
    
    /* DOUBLE GLOW NEON BLUE */
    /* Layer 1: Inti cahaya sangat terang (Opacity 0.9) */
    /* Layer 2: Pendaran cahaya luas (Opacity 0.5) */
    box-shadow: 
        0 0 30px rgba(0, 229, 255, 0.9),
        0 0 60px rgba(0, 229, 255, 0.5) !important;
        
    /* Background solid agar glow kontras */
    background-color: var(--card-bg);
}

/* ========================================================== */
/* VIDEO - HYPER GLOW RED (YOUTUBE NEON)                      */
/* ========================================================== */

/* 1. KARTU PINGGIR (Kecil & Redup) */
.myVideoSwiper .swiper-slide .video-card-wrapper { 
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: scale(0.75) !important; /* Jauhkan jarak */
    opacity: 0.5; 
    filter: blur(2px) grayscale(80%); 
    border: 1px solid rgba(255,255,255,0.1) !important;
}

/* 2. KARTU TENGAH (Besar & Menyala Merah) */
.myVideoSwiper .swiper-slide-active .video-card-wrapper { 
    transform: scale(1.1) !important; 
    opacity: 1; 
    filter: blur(0) grayscale(0%); 
    z-index: 20; 
    
    /* BORDER RED NEON SOLID */
    border: 3px solid #ff0055 !important; 
    
    /* DOUBLE GLOW RED NEON */
    box-shadow: 
        0 0 30px rgba(255, 0, 85, 0.9), 
        0 0 60px rgba(255, 0, 85, 0.5) !important; 
        
    background-color: var(--card-bg); 
}

