/* ==========================================================================
   CSS RESET, VARIABEL TEMA & CONFIG GLOBAL (BEAT UI PREMIUM)
   ========================================================================== */
:root {
    --primary-color: #0b5394;
    --secondary-color: #e0f2fe;
    --accent-color: #f59e0b;
    --text-main: #1f2937;
    --text-light: #6b7280;
    --bg-color: #f8fafc;
    --section-bg: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --card-bg: #ffffff;
    --btn-text: #ffffff;
    --input-bg: #ffffff;
    --input-border: rgba(0, 0, 0, 0.1);
    
    /* Config Layout Admin */
    --admin-bg: #f8fafc;
    --admin-sidebar: rgba(255, 255, 255, 0.7);
    --admin-text: #334155;
    --admin-text-light: #64748b;
    --admin-border: #e2e8f0;
    --admin-card-bg: #ffffff;
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 80px;
    --dt-header-bg: #f8fafc;
    --dt-row-border: #f1f5f9;
}

/* Kredensial Dark Mode Global */
[data-theme="dark"] {
    --primary-color: #38bdf8;
    --secondary-color: #1e293b;
    --text-main: #f1f5f9;
    --text-light: #94a3b8;
    --bg-color: #0f172a;
    --section-bg: #1e293b;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-bg: #1e293b;
    --btn-text: #0f172a;
    --input-bg: #0f172a;
    --input-border: rgba(255, 255, 255, 0.2);
    
    /* Admin Dark Mode */
    --admin-bg: #0f172a;
    --admin-sidebar: rgba(30, 41, 59, 0.7);
    --admin-text: #f1f5f9;
    --admin-text-light: #94a3b8;
    --admin-border: #334155;
    --admin-card-bg: #1e293b;
    --dt-header-bg: #1e293b;
    --dt-row-border: #334155;
}

html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background-color: var(--bg-color); color: var(--text-main); overflow-x: hidden; position: relative; transition: background-color 0.3s, color 0.3s; }

/* Animasi Scroll Ringan */
.animate-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.animate-on-scroll.show { opacity: 1; transform: translateY(0); }

/* HARDWARE ACCELERATION: Mengunci lag pada orbs latar belakang gantung */
.bg-shape { 
    position: fixed; 
    border-radius: 50%; 
    filter: blur(100px); 
    z-index: -1; 
    opacity: 0.4; 
    pointer-events: none;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}
.shape-1 { width: 400px; height: 400px; background: rgba(11, 83, 148, 0.2); top: -100px; left: -100px; }
.shape-2 { width: 500px; height: 500px; background: rgba(245, 158, 11, 0.15); bottom: -200px; right: -100px; }

/* Jalankan animasi mengambang hanya jika di desktop/perangkat bertenaga */
@media (min-width: 769px) {
    .bg-shape { animation: float 12s infinite alternate ease-in-out; }
    @keyframes float { 
        0% { transform: translate3d(0, 0, 0); } 
        100% { transform: translate3d(30px, 40px, 0); } 
    }
}

/* ==========================================================================
   NAVBAR & PORTAL HEADER UTAMA
   ========================================================================== */
nav { position: fixed; top: 0; width: 100%; padding: 18px 5%; display: flex; justify-content: space-between; align-items: center; background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--glass-border); z-index: 1000; transition: all 0.3s ease; transform: translateZ(0); }
nav.scrolled { padding: 14px 5%; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03); background: var(--section-bg); }
.logo { font-size: 1.15rem; font-weight: 700; color: var(--primary-color); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo i { font-size: 1.35rem; color: var(--accent-color); }

.nav-links { display: flex; align-items: center; gap: 25px; list-style: none; }
.nav-links > li { padding: 8px 0; }
.nav-links a { text-decoration: none; color: var(--text-main); font-weight: 600; font-size: 0.9rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary-color); }
.menu-toggle { display: none; font-size: 1.3rem; cursor: pointer; color: var(--primary-color); }

.btn-theme-toggle { background: none; border: none; font-size: 1.1rem; color: var(--text-main); cursor: pointer; transition: color 0.3s; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1005; }
.btn-theme-toggle:hover { color: var(--primary-color); }
.btn-login { background-color: var(--primary-color) !important; color: var(--btn-text) !important; padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); transition: transform 0.2s; position: relative; z-index: 1005; }
.btn-login:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); }

/* --- MEGA MENU DESIGN CONCEPT --- */
.has-dropdown { position: relative; }
.mega-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(15px); width: 880px; background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.08); opacity: 0; visibility: hidden; transition: all 0.3s ease; padding: 25px; z-index: 1001; pointer-events: none; margin-top: 10px; }
.mega-dropdown-wrapper:hover .mega-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.mega-menu::before { content: ''; position: absolute; top: -25px; left: 0; width: 100%; height: 25px; background: transparent; }
.mega-menu-inner { display: flex; gap: 30px; }
.mega-links-area { flex: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mega-col h4 { font-size: 0.85rem; color: var(--primary-color); margin-bottom: 12px; border-bottom: 2px solid var(--secondary-color); padding-bottom: 6px; display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.mega-col ul { list-style: none; }
.mega-col ul li { margin-bottom: 10px; }
.mega-col ul li a { color: var(--text-light); font-weight: 500; font-size: 0.85rem; transition: all 0.2s; display: block; padding: 2px 0; }
.mega-col ul li a:hover { color: var(--primary-color); transform: translateX(4px); }

.mega-banner-area { flex: 0.9; display: flex; }
.mega-banner-card { position: relative; width: 100%; min-height: 220px; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 16px rgba(0,0,0,0.05); display: flex; align-items: flex-end; transform: translateZ(0); }
.mega-banner-card img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.mega-dropdown-wrapper:hover .mega-banner-card img { transform: scale(1.03); }
.mega-banner-overlay { position: relative; z-index: 1; background: linear-gradient(to top, rgba(11, 83, 148, 0.95), rgba(11, 83, 148, 0.1)); width: 100%; padding: 20px 15px; color: white; pointer-events: none; }
.badge-promo { display: inline-block; background: var(--accent-color); color: white; font-size: 0.65rem; font-weight: 700; padding: 3px 8px; border-radius: 50px; margin-bottom: 8px; text-transform: uppercase; }
.mega-banner-overlay h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 12px; line-height: 1.3; color: white;}
.btn-banner { display: inline-block; background: rgba(255,255,255,0.2); backdrop-filter: blur(5px); color: white !important; padding: 6px 14px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; text-decoration: none; border: 1px solid rgba(255,255,255,0.3); pointer-events: auto; }
.btn-banner:hover { background: white; color: #0b5394 !important; }

/* Simple Dropdown */
.simple-dropdown { position: absolute; top: 100%; left: 0; min-width: 180px; background: var(--glass-bg); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.05); opacity: 0; visibility: hidden; transform: translateY(15px); transition: all 0.3s ease; padding: 10px 0; z-index: 1001; margin-top: 10px; }
.simple-dropdown-wrapper:hover .simple-dropdown { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;}
.simple-dropdown::before { content: ''; position: absolute; top: -25px; left: 0; width: 100%; height: 25px; background: transparent; }
.simple-dropdown ul { list-style: none; }
.simple-dropdown ul li a { display: block; padding: 8px 16px; color: var(--text-light); font-weight: 500; font-size: 0.85rem; }
.simple-dropdown ul li a:hover { background: var(--secondary-color); color: var(--primary-color); }

/* ==========================================================================
   LANDING PAGE SECTIONS & UI PROPORSI PADAT
   ========================================================================== */
.section-badge { display: inline-block; background: rgba(11, 83, 148, 0.08); color: var(--primary-color); padding: 5px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }

.hero { min-height: 90vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 5%; }
.hero-badge { background: var(--glass-bg); border: 1px solid var(--glass-border); padding: 6px 14px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; color: var(--primary-color); margin-bottom: 20px; }
.hero h1 { font-size: 2.8rem; font-weight: 700; line-height: 1.25; margin-bottom: 18px; max-width: 850px; color: var(--primary-color); letter-spacing: -0.5px; }
.hero p { font-size: 1.05rem; color: var(--text-light); max-width: 580px; margin-bottom: 35px; line-height: 1.55; }
.hero-buttons { display: flex; gap: 15px; }

.btn-primary { background-color: var(--primary-color) !important; color: var(--btn-text) !important; padding: 12px 28px; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 0.95rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); transition: all 0.2s; display: inline-block; border: none; cursor: pointer; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1); opacity: 0.95; }
.btn-secondary { background: var(--glass-bg); border: 1px solid var(--glass-border); color: var(--text-main); padding: 12px 28px; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: all 0.2s; display: inline-block; }
.btn-secondary:hover { background: var(--section-bg); transform: translateY(-2px); }

.partners { padding: 35px 5%; border-top: 1px solid var(--glass-border); background: var(--glass-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform: translateZ(0); }
.partners-title { color: var(--text-light); font-size: 0.8rem; margin-bottom: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; text-align: center; }
.partners-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 35px; }
.partner-logo { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; font-weight: 700; color: var(--text-light); transition: all 0.3s; cursor: default; }
.partner-logo:hover { color: var(--primary-color); transform: translateY(-2px); }

.about { padding: 80px 5%; background: var(--section-bg); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }
.about-container { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; gap: 50px; }
.about-image { flex: 1; }
.image-glass-frame { width: 100%; height: 350px; border-radius: 20px; overflow: hidden; box-shadow: 0 15px 30px rgba(0,0,0,0.04); transform: translateZ(0); }
.about-content { flex: 1; }
.about-content h2 { font-size: 2rem; font-weight: 700; color: var(--primary-color); margin-bottom: 15px; line-height: 1.3; }
.about-content p { color: var(--text-light); font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; }
.about-features li { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-main); font-weight: 600; }
.about-features i { color: var(--accent-color); font-size: 1.1rem; }

.gallery-section { padding: 80px 5%; background: var(--bg-color); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; max-width: 1140px; margin: 0 auto; }
.gallery-item { position: relative; border-radius: 16px; overflow: hidden; height: 220px; box-shadow: 0 8px 16px rgba(0,0,0,0.03); cursor: pointer; transform: translateZ(0); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 15px; background: linear-gradient(to top, rgba(0,0,0,0.75), transparent); color: white; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 { font-size: 0.95rem; font-weight: 600; color: white;}

.stats { padding: 60px 5%; background: var(--primary-color); position: relative; overflow: hidden; transition: background 0.3s; }
[data-theme="dark"] .stats { background: var(--card-bg); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 25px; max-width: 1140px; margin: 0 auto; text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 700; color: white; margin-bottom: 6px; }
[data-theme="dark"] .stat-number { color: var(--primary-color); }
.stat-label { color: var(--secondary-color); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
[data-theme="dark"] .stat-label { color: var(--text-light); }

.services { padding: 80px 5%; background: var(--section-bg);}
.section-header { text-align: center; margin-bottom: 45px; }
.section-header h2 { font-size: 2rem; font-weight: 700; color: var(--primary-color); margin-bottom: 12px; }
.section-header p { color: var(--text-light); font-size: 0.95rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; max-width: 1140px; margin: 0 auto; }
.service-card { background: var(--card-bg); border-radius: 16px; padding: 30px 25px; transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid var(--glass-border); box-shadow: 0 4px 15px rgba(0,0,0,0.01); }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05); background: var(--section-bg); }
.icon-wrapper { width: 50px; height: 50px; background: var(--secondary-color); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.icon-wrapper i { font-size: 1.5rem; color: var(--primary-color); }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--text-main); }
.service-card p { color: var(--text-light); font-size: 0.85rem; line-height: 1.5; }

.video-wrapper { max-width: 800px; margin: 0 auto; border-radius: 16px; overflow: hidden; box-shadow: 0 15px 30px rgba(0,0,0,0.08); aspect-ratio: 16 / 9; background: #000; transform: translateZ(0); }

.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.news-card { background: var(--card-bg); border-radius: 16px; overflow: hidden; transition: transform 0.3s; border: 1px solid var(--glass-border); transform: translateZ(0); }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
.news-img { position: relative; height: 180px; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.news-card:hover .news-img img { transform: scale(1.03); }
.news-date { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,0.9); backdrop-filter: blur(5px); padding: 4px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; color: #0b5394; }
.news-content { padding: 20px; }
.news-content h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-main); margin-bottom: 8px; line-height: 1.35; }
.news-content p { color: var(--text-light); font-size: 0.85rem; line-height: 1.5; margin-bottom: 15px; }
.news-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--primary-color); text-decoration: none; font-size: 0.85rem; transition: gap 0.3s; }
.news-link:hover { gap: 10px; }

.testimonials { padding: 80px 5%; background: var(--bg-color); border-top: 1px solid var(--glass-border); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; max-width: 1140px; margin: 0 auto; }
.testi-card { background: var(--card-bg); border-radius: 16px; padding: 30px 25px; border: 1px solid var(--glass-border); transition: transform 0.3s ease; }
.testi-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.03); }
.quote-icon { font-size: 1.6rem; color: var(--secondary-color); margin-bottom: 15px; }
.testi-content p { color: var(--text-main); font-size: 0.95rem; line-height: 1.55; margin-bottom: 20px; font-style: italic; }
.testi-user { display: flex; align-items: center; gap: 12px; }
.user-avatar { width: 42px; height: 42px; background: var(--primary-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.1rem; }
.user-info h4 { font-size: 0.9rem; font-weight: 700; color: var(--text-main); }
.user-info span { font-size: 0.8rem; color: var(--text-light); }

.parallax-cta { position: relative; padding: 100px 5%; background-image: url('https://picsum.photos/seed/umpoparallax/1920/1080'); background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; text-align: center; color: white; overflow: hidden; transform: translate3d(0,0,0); backface-visibility: hidden; }
.parallax-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(11, 83, 148, 0.85), rgba(6, 43, 90, 0.9)); z-index: 1; pointer-events: none; }
.parallax-content { position: relative; z-index: 2; max-width: 750px; margin: 0 auto; }
.parallax-content h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 15px; line-height: 1.3; color: white;}
.parallax-content p { font-size: 1.05rem; margin-bottom: 25px; line-height: 1.6; color: #e0f2fe; }
.parallax-btn { background: white !important; color: #0b5394 !important; font-size: 0.95rem; padding: 14px 35px; display: inline-block; border-radius: 50px; font-weight: 600; text-decoration: none; transition: transform 0.3s; }
.parallax-btn:hover { transform: translateY(-3px); opacity: 0.95; }
[data-theme="dark"] .parallax-btn { background: var(--primary-color) !important; color: var(--btn-text) !important; }

.contact-section { padding: 80px 5%; background: var(--section-bg); }
.contact-container { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: var(--bg-color); border-radius: 24px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
.contact-form-area { padding: 40px; }
.contact-form-area h2 { font-size: 1.8rem; font-weight: 700; color: var(--primary-color); margin-bottom: 12px; }
.form-contact .input-group { margin-bottom: 16px; }
.form-contact label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--text-main); }
/* Input dinamis, anti-buta warna */
.form-contact input, .form-contact textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--input-border); background: var(--input-bg); color: var(--text-main); border-radius: 10px; font-size: 0.9rem; outline: none; transition: border 0.3s ease; }
.form-contact input:focus, .form-contact textarea:focus { border-color: var(--primary-color); }
.contact-map-area { width: 100%; height: 100%; min-height: 380px; transform: translateZ(0); }
.map-wrapper { width: 100%; height: 100%; }

/* MEGA FOOTER COMPLEX */
.complex-footer { background: linear-gradient(135deg, #021226, #062b5a); color: #e2e8f0; padding: 70px 5% 35px; font-size: 0.85rem; position: relative; }
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 35px; margin-bottom: 40px; }
.footer-row-bottom { margin-bottom: 0; padding-top: 35px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-widget .footer-logo { font-size: 1.35rem; font-weight: 700; color: #ffffff; text-decoration: none; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-widget .footer-logo i { color: #f59e0b; }
.widget-title { color: #38bdf8; font-size: 0.95rem; font-weight: 600; margin-bottom: 18px; }
.widget-links { list-style: none; }
.widget-links li { margin-bottom: 10px; }
.widget-links a { color: #cbd5e1; text-decoration: none; transition: color 0.3s; }
.widget-links a:hover { color: #ffffff; }
.footer-contact-info { list-style: none; }
.footer-contact-info li { display: flex; gap: 12px; margin-bottom: 12px; color: #cbd5e1; line-height: 1.5; }
.footer-contact-info i { color: #e2e8f0; margin-top: 3px; }
.mb-4 { margin-bottom: 25px; }
.social-icons { display: flex; gap: 12px; }
.social-icons a { color: #ffffff; background: rgba(255, 255, 255, 0.08); width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: all 0.3s; }
.social-icons a:hover { background: #38bdf8; transform: translateY(-2px); }
.footer-copyright { background: #010e1f; text-align: center; padding: 18px 5%; color: #94a3b8; font-size: 0.8rem; }

.back-to-top { position: fixed; bottom: 25px; right: 25px; width: 40px; height: 40px; background-color: var(--primary-color); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 1.1rem; opacity: 0; visibility: hidden; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 999; }
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background-color: #38bdf8; color: white; transform: translateY(-2px); }

/* ==========================================================================
   BACK-END ADMIN DASHBOARD & CUSTOM DATATABLES (PROPORSI PADAT)
   ========================================================================== */
.admin-sidebar { width: var(--sidebar-width); background: var(--admin-sidebar); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-right: 1px solid var(--admin-border); display: flex; flex-direction: column; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: fixed; height: 100vh; z-index: 1000; box-shadow: 4px 0 24px rgba(0,0,0,0.01); top: 0; left: 0; }
.admin-sidebar.collapsed { width: var(--sidebar-collapsed-width); }
.sidebar-brand { height: 70px; display: flex; align-items: center; padding: 0 25px; font-size: 1.15rem; font-weight: 700; color: var(--primary-color); border-bottom: 1px solid var(--admin-border); text-decoration: none; white-space: nowrap; overflow: hidden; transition: all 0.4s; }
.sidebar-brand i { min-width: 25px; font-size: 1.35rem; color: var(--accent-color); }
.admin-sidebar.collapsed .brand-text { opacity: 0; display: none; }

.sidebar-menu { padding: 15px 0; list-style: none; flex: 1; overflow-y: auto; }
.sidebar-menu li { margin-bottom: 4px; }
.sidebar-menu a { display: flex; align-items: center; padding: 10px 22px; color: var(--admin-text-light); text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: all 0.3s; white-space: nowrap; }
.sidebar-menu a i { min-width: 25px; font-size: 1.1rem; color: var(--admin-text-light); text-align: center; }
.sidebar-menu a span { transition: opacity 0.3s; }
.sidebar-menu a:hover, .sidebar-menu a.active { background: linear-gradient(90deg, rgba(11, 83, 148, 0.04), transparent); color: var(--primary-color); border-right: 3px solid var(--primary-color); }
.sidebar-menu a:hover i, .sidebar-menu a.active i { color: var(--primary-color); }
.admin-sidebar.collapsed .sidebar-menu a { padding: 10px 0; justify-content: center; border-right: none; }
.admin-sidebar.collapsed .sidebar-menu a:hover, .admin-sidebar.collapsed .sidebar-menu a.active { background: rgba(11, 83, 148, 0.04); }
.admin-sidebar.collapsed .sidebar-menu a span { opacity: 0; display: none; }

.admin-main { flex: 1; margin-left: var(--sidebar-width); display: flex; flex-direction: column; width: calc(100% - var(--sidebar-width)); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.admin-main.collapsed { margin-left: var(--sidebar-collapsed-width); width: calc(100% - var(--sidebar-collapsed-width)); }

.admin-topbar { height: 70px; background: var(--admin-sidebar); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--admin-border); display: flex; align-items: center; justify-content: space-between; padding: 0 25px; position: sticky; top: 0; z-index: 99; box-shadow: 0 4px 24px rgba(0,0,0,0.01); }
.topbar-left { display: flex; align-items: center; gap: 15px; }
.btn-toggle, .btn-theme-toggle { background: none; border: none; font-size: 1.1rem; color: var(--admin-text); cursor: pointer; transition: color 0.3s; padding: 4px; }
.btn-toggle:hover, .btn-theme-toggle:hover { color: var(--primary-color); }
.topbar-right { display: flex; align-items: center; gap: 15px; }

.user-profile-wrapper { position: relative; }
.user-profile { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 4px 8px; border-radius: 50px; }
.user-profile:hover { background: rgba(0,0,0,0.02); }
.user-avatar { width: 32px; height: 32px; background: linear-gradient(135deg, var(--primary-color), #2563eb); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 8px rgba(11,83,148,0.15); font-size: 0.9rem; }
.user-name { font-weight: 600; font-size: 0.85rem; display: flex; align-items: center; gap: 6px; }
.user-name i { font-size: 0.75rem; color: var(--admin-text-light); }

.profile-dropdown-menu { position: absolute; top: 120%; right: 0; width: 190px; background: var(--admin-card-bg); backdrop-filter: blur(20px); border: 1px solid var(--admin-border); border-radius: 12px; box-shadow: 0 12px 35px rgba(0,0,0,0.06); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.3s ease; padding: 8px 0; z-index: 1000; }
.profile-dropdown-menu.show { opacity: 1; visibility: visible; transform: translateY(0); }
.user-profile.active .user-name i { transform: rotate(180deg); }
.profile-dropdown-menu a { display: flex; align-items: center; gap: 10px; padding: 8px 16px; color: var(--admin-text); text-decoration: none; font-size: 0.8rem; font-weight: 500; transition: background 0.2s; }
.profile-dropdown-menu a:hover { background: rgba(11,83,148,0.04); color: var(--primary-color); }
.profile-dropdown-menu hr { border: none; border-top: 1px solid var(--admin-border); margin: 4px 0; }
.profile-dropdown-menu a.text-danger { color: #ef4444; }
.profile-dropdown-menu a.text-danger:hover { background: #fee2e2; }

.admin-content { padding: 20px 25px; flex: 1; position: relative; z-index: 2; width: 100%; max-width: 100vw; }
.page-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 18px; color: var(--primary-color); }

/* RE-DESIGN DATATABLES (Berdasarkan Komplain Klien & Referensi) */
.table-glass-card { background: var(--admin-card-bg); border-radius: 12px; padding: 18px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01); border: 1px solid var(--admin-border); margin-top: 15px; width: 100%; overflow: hidden; }
.table-responsive-wrapper { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

.dataTables_wrapper .dataTables_filter input { border: 1px solid var(--admin-border); border-radius: 50px; padding: 5px 12px; margin-left: 6px; outline: none; background: transparent; color: var(--admin-text); font-size: 0.8rem; }
.dataTables_wrapper .dataTables_filter input:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(11, 83, 148, 0.08); }
.dataTables_wrapper .dataTables_length select { border: 1px solid var(--admin-border); border-radius: 6px; padding: 3px 6px; background: transparent; color: var(--admin-text); outline: none; font-size: 0.8rem;}
.dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter { color: var(--admin-text-light) !important; font-size: 0.8rem; margin-bottom: 12px;}
.dataTables_wrapper .dataTables_paginate .paginate_button { color: var(--admin-text) !important; font-size: 0.8rem; padding: 3px 8px; border-radius: 6px; }
.dataTables_wrapper .dataTables_paginate .paginate_button.current { background: transparent !important; border: 1px solid var(--admin-border) !important; font-weight: 600; }

table.dataTable { border-collapse: collapse; width: 100%; margin-bottom: 12px !important;}
table.dataTable thead th { background-color: var(--dt-header-bg); border-bottom: none !important; color: var(--admin-text-light); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 10px 12px; white-space: nowrap; }
table.dataTable tbody td { border-bottom: 1px solid var(--dt-row-border); padding: 10px 12px; color: var(--admin-text); font-size: 0.85rem; vertical-align: middle; white-space: nowrap; }
table.dataTable tbody tr:hover { background-color: rgba(0,0,0,0.01); }
[data-theme="dark"] table.dataTable tbody tr:hover { background-color: rgba(255,255,255,0.015); }

/* Tombol Aksi Tabel Bundar Mini */
.btn-action-edit { background: rgba(2, 132, 199, 0.08); color: #0284c7; border: none; width: 28px; height: 32px; border-radius: 6px; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; justify-content: center; }
.btn-action-edit:hover { background: #0284c7; color: white; }
.btn-action-delete { background: rgba(239, 68, 68, 0.08); color: #ef4444; border: none; width: 28px; height: 32px; border-radius: 6px; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; justify-content: center; }
.btn-action-delete:hover { background: #ef4444; color: white; }

/* ==========================================================================
   PERFORMA: FACADE UI (SAMPUL STATIS UNTUK YOUTUBE & MAPS)
   ========================================================================== */

/* YouTube Facade */
.video-facade-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    aspect-ratio: 16 / 9;
    background: #000;
    cursor: pointer;
    transform: translateZ(0);
}
.video-facade-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s;
}
.video-facade-wrapper:hover img { opacity: 0.6; }
.play-button-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: white; gap: 15px;
}
.play-icon {
    width: 70px; height: 70px;
    background: rgba(255,0,0,0.9);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; padding-left: 5px;
    box-shadow: 0 10px 20px rgba(255,0,0,0.3);
    transition: transform 0.3s, background 0.3s;
}
.video-facade-wrapper:hover .play-icon { transform: scale(1.1); background: #ff0000; }
.play-button-overlay span { font-weight: 600; font-size: 0.95rem; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.video-facade-wrapper iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

/* Google Maps Facade */
.map-facade-wrapper {
    width: 100%; height: 100%; min-height: 380px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.3s ease; text-align: center;
    background-image: radial-gradient(var(--glass-border) 1px, transparent 1px);
    background-size: 20px 20px;
}
.map-facade-wrapper:hover { background-color: var(--secondary-color); }
.map-placeholder-content { padding: 30px; }
.map-icon { font-size: 3rem; color: var(--primary-color); margin-bottom: 15px; }
.map-placeholder-content h3 { color: var(--text-main); font-size: 1.2rem; margin-bottom: 10px; }
.map-placeholder-content p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 20px; }
.btn-load-map { display: inline-block; background: var(--primary-color); color: white; padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; }
.map-facade-wrapper iframe {
    width: 100%; height: 100%; border: 0; display: block;
}

/* ==========================================================================
   RESPONSIVE DESIGN ADAPTIF TOTAL
   ========================================================================== */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.3rem; }
    .about-container { flex-direction: column; text-align: center; }
    .about-features li { justify-content: center; }
    .contact-container { grid-template-columns: 1fr; }
    .contact-map-area { min-height: 320px; }
    .mega-menu { width: 90vw; }
    .mega-menu-inner { flex-direction: column; gap: 15px; }
    .mega-banner-area { width: 100%; }
    .mega-banner-card { min-height: 140px; }
    .footer-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: var(--section-bg); padding: 15px; box-shadow: 0 8px 16px rgba(0,0,0,0.05); text-align: left; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s ease; max-height: 80vh; overflow-y: auto; }
    .nav-links.active { opacity: 1; visibility: visible; transform: translateY(0); }
    .menu-toggle { display: block; }
    
    .mega-menu::before, .simple-dropdown::before { display: none !important; }
    .has-dropdown:hover .mega-menu, .has-dropdown:hover .simple-dropdown, .mega-dropdown-wrapper:hover .mega-menu { transform: none !important; }
    .has-dropdown .mega-menu, .has-dropdown .simple-dropdown { position: static !important; transform: none !important; width: 100% !important; box-shadow: none !important; padding: 12px !important; border: none !important; border-left: 3px solid var(--secondary-color) !important; border-radius: 0 10px 10px 0 !important; background: var(--bg-color) !important; display: none !important; opacity: 1 !important; visibility: visible !important; margin-top: 8px !important; pointer-events: auto !important; }
    .has-dropdown.active-dropdown .mega-menu, .has-dropdown.active-dropdown .simple-dropdown { display: block !important; }
    
    .mega-links-area { grid-template-columns: 1fr; gap: 12px; }
    .mega-col h4 { border-bottom: none; margin-bottom: 8px; font-size: 0.9rem; }
    .nav-links li { width: 100%; margin-bottom: 8px; }
    .nav-links a { display: block; padding: 8px 0; }
    .btn-login { text-align: center; margin-top: 8px; }
    
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 0.95rem; padding: 0 5px; }
    .hero-buttons { flex-direction: column; width: 100%; max-width: 280px; margin: 0 auto; }
    .btn-primary, .btn-secondary { width: 100%; }
    
    .image-glass-frame { height: 260px; }
    .section-header h2 { font-size: 1.6rem; }
    .contact-form-area { padding: 25px 15px; }
    .partners-grid { gap: 15px; }
    .stat-number { font-size: 2rem; }
    .gallery-item { height: 180px; }
    .parallax-cta { background-attachment: scroll; padding: 60px 5%; }
    .parallax-content h2 { font-size: 1.6rem; }
    .footer-row { grid-template-columns: 1fr; gap: 25px; }
    .widget-title { margin-bottom: 12px; }
    
    /* Responsive Off-Canvas Admin */
    .admin-sidebar { transform: translateX(-100%); width: var(--sidebar-width) !important; }
    .admin-sidebar.show-mobile { transform: translateX(0); }
    .sidebar-overlay.show { display: block; opacity: 1; }
    .admin-main, .admin-main.collapsed { margin-left: 0 !important; width: 100% !important; }
    .dataTables_wrapper .dataTables_filter { float: none; text-align: left; margin-top: 8px; }
    .dataTables_wrapper .dataTables_filter input { width: 100%; margin-left: 0; margin-top: 4px; }
}