.hero-section .carousel-item {
            height: 100vh;
            width: 100%;
        }

        .hero-section .slide-bg {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }

        .hero-section .carousel-inner {
            width: 100%;
            height: 100vh;
        }

        /* Hilangkan padding navbar di hero */
        .hero-section .container-fluid {
            padding-left: 0;
            padding-right: 0;
        }
        :root {
            --primary: #00f0ff;
            --secondary: #749bba;
            --navy-dark: #0a192f;
            --navy-light: #112240;
            --glass-bg: rgba(255, 255, 255, 0.05);
            --glass-border: rgba(255, 255, 255, 0.1);
            --text-muted-custom: rgb(173, 194, 216);
            --bg-color: #0a192f;
            --text-color: #e6f1ff;
            --orb-opacity: 0.3;
            --bg-gradient: radial-gradient(circle at 50% 50%, var(--navy-light) 0%, var(--bg-color) 100%);
        }

        /* Light Mode Variables */
        [data-bs-theme="light"] {
            --bg-color: #f8fafc;
            --text-color: #0f172a;
            --navy-dark: #ffffff;
            --glass-bg: rgba(0, 0, 0, 0.03);
            --glass-border: rgba(0, 0, 0, 0.08);
            --text-muted-custom: #334155; 
            --orb-opacity: 0; 
            --bg-gradient: radial-gradient(circle at 50% 50%, rgba(203, 213, 225, 0.15) 0%, var(--bg-color) 100%);
        }

        body {
            font-family: 'Outfit', sans-serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            overflow-x: hidden;
            transition: background-color 0.5s ease, color 0.5s ease;
        }

        /* --- Ambient Background --- */
        .ambient-bg {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            z-index: -1;
            overflow: hidden;
            background: var(--bg-gradient);
            transition: background 0.5s ease;
        }
        .orb {
            position: absolute;
            border-radius: 50%;
            filter: blur(100px);
            opacity: var(--orb-opacity);
            animation: floatOrb 25s infinite ease-in-out, morphShape 20s infinite alternate;
            transition: opacity 0.5s ease;
        }
        .orb-1 { width: 600px; height: 600px; background: var(--primary); top: -150px; left: -150px; }
        .orb-2 { width: 500px; height: 500px; background: var(--secondary); bottom: -100px; right: -100px; animation-delay: -5s; }

        @keyframes floatOrb {
            0%, 100% { transform: translate(0, 0); }
            50% { transform: translate(100px, 80px); }
        }
        @keyframes morphShape {
            0% { border-radius: 50%; }
            50% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
            100% { border-radius: 50%; }
        }

        /* --- Typography & Colors --- */
        .font-syne { font-family: 'Syne', sans-serif; }
        .text-neon { color: var(--primary); text-shadow: 0 0 10px rgba(0, 240, 255, 0.5); }
        .text-muted { color: var(--text-muted-custom) !important; transition: color 0.5s; } 

        /* --- Navbar --- */
        .navbar {
            transition: all 0.4s ease;
            padding: 1rem 0;
            background: transparent;
            border-bottom: 1px solid transparent;
        }
        .navbar.scrolled {
            background: rgba(10, 25, 47, 0.85);
            backdrop-filter: blur(12px);
            padding: 0.5rem 0;
            border-bottom: 1px solid var(--glass-border);
            box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
        }
        [data-bs-theme="light"] .navbar.scrolled {
            background: rgba(255, 255, 255, 0.85);
            box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
        }
        
        .nav-link {
            color: var(--text-muted-custom) !important;
            font-weight: 500;
            margin: 0 10px;
            position: relative;
            transition: color 0.3s;
        }
        .nav-link:hover, .nav-link.active {
            color: var(--primary) !important;
        }
        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: var(--primary);
            transition: width 0.3s;
        }
        .nav-link.active::after { width: 100%; }

        /* Scroll Progress Bar */
        #scrollProgress {
            position: fixed;
            top: 0; left: 0; height: 3px;
            background: var(--primary);
            z-index: 9999;
            width: 0%;
            transition: width 0.1s;
            box-shadow: 0 0 10px var(--primary);
        }

        /* --- Glass Cards --- */
        .glass-card {
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            padding: 2rem;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            color: var(--text-color);
            height: 100%;
        }
        .glass-card:hover {
            transform: translateY(-8px);
            background: rgba(255, 255, 255, 0.08);
            border-color: var(--primary);
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
        }

        /* --- Hero Carousel --- */
        .hero-section { min-height: 100vh; display: flex; align-items: center; position: relative; }
        .carousel-item { min-height: 100vh; }
        .slide-bg {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            object-fit: cover; z-index: -1;
        }
        .carousel-text{
            margin-left: 20px;
        }
        .slide-overlay {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(to right, rgba(10,25,47,0.95) 0%, rgba(10,25,47,0.4) 100%);
            z-index: -1;
        }
        [data-bs-theme="light"] .slide-overlay {
            background: linear-gradient(to right, rgba(248,250,252,0.95) 0%, rgba(248,250,252,0.4) 100%);
        }
        .carousel-control-prev, .carousel-control-next { width: 5%; bottom: 20px; top: auto; }
        .carousel-control-prev { left: 45%; }
        .carousel-control-next { right: 45%; }
        .carousel-control-icon {
            width: 50px; height: 50px;
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(5px);
            border-radius: 50%;
            border: 1px solid var(--glass-border);
            display: flex; align-items: center; justify-content: center;
            color: white;
        }
        .carousel-control-icon:hover { background: var(--primary); color: var(--navy-dark); }
        .carousel-top{margin-top: 30%;}
        /* --- Animation Scroll Observer --- */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease-out;
        }
        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* --- Stats Counters --- */
        .stat-item h2 { font-size: 3.5rem; font-weight: 700; color: var(--text-color); font-family: 'Syne', sans-serif; }
        .stat-item p { color: var(--secondary); letter-spacing: 2px; text-transform: uppercase; font-size: 0.9rem; }

        /* --- Services Cards --- */
        .service-icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: var(--primary);
            transition: transform 0.3s;
        }
        .glass-card:hover .service-icon { transform: scale(1.2) rotate(10deg); }

        /* --- Articles --- */
        .article-badge {
            font-size: 0.75rem;
            padding: 4px 10px;
            border-radius: 20px;
            font-weight: 600;
            margin-bottom: 10px;
            display: inline-block;
        }
        .badge-penindakan { background: rgba(255, 0, 0, 0.2); color: #ff6b6b; border: 1px solid #ff6b6b; }
        .badge-sosialisasi { background: rgba(0, 240, 255, 0.2); color: var(--primary); border: 1px solid var(--primary); }
        .badge-regulasi { background: rgba(255, 255, 0, 0.2); color: #ffe66d; border: 1px solid #ffe66d; }
        .badge-kapasitas { background: rgba(100, 255, 100, 0.2); color: #6bff6b; border: 1px solid #6bff6b; }

        /* --- Social Media --- */
        .sosmed-card { text-align: center; padding: 2rem; transition: transform 0.3s; }
        .sosmed-card:hover { transform: translateY(-5px); }
        .sosmed-icon { font-size: 3rem; margin-bottom: 1rem; }
        .bg-ig { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }
        .bg-tt { background: linear-gradient(45deg, #00f2ea, #ff0050); }
        .bg-fb { background: #1877f2; }
        .bg-x { background: #000000; }

        /* --- Map & Charts --- */
        #map { height: 400px; width: 100%; border-radius: 16px; border: 1px solid var(--glass-border); z-index: 1; }
        .chart-container { position: relative; height: 300px; width: 100%; }

        /* --- Publications Carousel --- */
        .pub-carousel {
            display: flex;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            gap: 20px;
            padding: 20px 0;
            scrollbar-width: none;
        }
        .pub-carousel::-webkit-scrollbar { display: none; }
        .pub-item {
            min-width: 250px;
            scroll-snap-align: center;
            cursor: pointer;
            transition: transform 0.3s;
        }
        .pub-item:hover { transform: scale(1.05); }
        .pdf-cover {
            aspect-ratio: 3/4;
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            color: var(--primary);
            margin-bottom: 10px;
        }

        /* --- FAB & Chatbot --- */
        .fab-container {
            position: fixed; bottom: 30px; right: 30px; z-index: 1050;
            display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
        }
        .fab-main {
            width: 60px; height: 60px; border-radius: 50%;
            background: var(--primary); color: var(--navy-dark);
            border: none; font-size: 1.5rem; cursor: pointer;
            box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
            transition: transform 0.3s;
        }
        .fab-main:hover { transform: scale(1.1); }
        .fab-menu {
            display: none; flex-direction: column; gap: 10px;
            background: var(--navy-dark); padding: 15px;
            border-radius: 16px; border: 1px solid var(--glass-border);
            backdrop-filter: blur(10px);
        }
        .fab-menu.show { display: flex; animation: fadeIn 0.3s; }
        .fab-btn {
            background: transparent; border: 1px solid var(--glass-border);
            color: var(--text-color); padding: 8px 15px; border-radius: 8px;
            text-align: left; font-size: 0.9rem; cursor: pointer;
            display: flex; align-items: center; gap: 10px;
        }
        .fab-btn:hover { background: rgba(255,255,255,0.1); border-color: var(--primary); }

        #chatWindow {
            position: fixed; bottom: 110px; right: 30px;
            width: 380px; height: 500px;
            background: rgba(10, 25, 47, 0.95);
            backdrop-filter: blur(20px);
            border: 1px solid var(--primary);
            border-radius: 20px;
            display: none; z-index: 99999;
            flex-direction: column;
            box-shadow: 0 0 40px rgba(0, 240, 255, 0.15), 0 20px 50px rgba(0,0,0,0.5);
            overflow: hidden;
            animation: chatPopIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        @keyframes chatPopIn { from { opacity: 0; transform: scale(0.8) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

        .chat-header {
            padding: 15px 20px; background: linear-gradient(90deg, var(--navy-light), var(--navy-dark));
            border-bottom: 1px solid var(--glass-border);
            display: flex; justify-content: space-between; align-items: center;
        }
        .chat-header-title { display: flex; align-items: center; gap: 10px; font-weight: bold; color: var(--primary); font-family: 'Syne', sans-serif; }
        .chat-status-dot { width: 8px; height: 8px; background: #00ff00; border-radius: 50%; box-shadow: 0 0 10px #00ff00; }
        .chat-close-btn { background: transparent; border: none; color: var(--text-muted-custom); cursor: pointer; font-size: 1.2rem; }
        .chat-body { flex: 1; padding: 20px; overflow-y: auto; background: rgba(0,0,0,0.2); display: flex; flex-direction: column; gap: 15px; }
        .chat-message { max-width: 80%; padding: 12px 16px; border-radius: 12px; font-size: 0.9rem; line-height: 1.5; }
        .msg-bot { align-self: flex-start; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border); color: var(--text-color); border-bottom-left-radius: 2px; }
        .msg-user { align-self: flex-end; background: var(--primary); color: var(--navy-dark); border-bottom-right-radius: 2px; font-weight: 500; }
        .chat-input-area { padding: 15px; border-top: 1px solid var(--glass-border); display: flex; gap: 10px; background: var(--navy-dark); }
        .chat-input-field { flex: 1; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); border-radius: 50px; padding: 10px 20px; color: white; outline: none; }
        .chat-send-btn { width: 45px; height: 45px; border-radius: 50%; background: var(--primary); border: none; color: var(--navy-dark); display: flex; align-items: center; justify-content: center; cursor: pointer; }

        /* Light Mode Chat Fixes */
        [data-bs-theme="light"] #chatWindow { background: rgba(255, 255, 255, 0.95) !important; border-color: #cbd5e1 !important; }
        [data-bs-theme="light"] .chat-header { background: linear-gradient(90deg, #f1f5f9, #ffffff) !important; border-color: #e2e8f0 !important; }
        [data-bs-theme="light"] .chat-header-title { color: #0f172a !important; }
        [data-bs-theme="light"] .chat-body { background: #f8fafc !important; }
        [data-bs-theme="light"] .msg-bot { background: #ffffff !important; border-color: #e2e8f0 !important; color: #334155 !important; }
        [data-bs-theme="light"] .msg-user { color: #0f172a !important; }
        [data-bs-theme="light"] .chat-input-area { background: #ffffff !important; border-color: #e2e8f0 !important; }
        [data-bs-theme="light"] .chat-input-field { background: #f1f5f9 !important; border-color: #cbd5e1 !important; color: #0f172a !important; }

        /* High Contrast Fixes */
        body.high-contrast-active { background-color: #000000 !important; color: #ffffff !important; }
        body.high-contrast-active .ambient-bg, body.high-contrast-active .orb { display: none !important; }
        body.high-contrast-active h1, body.high-contrast-active h2, body.high-contrast-active h3, body.high-contrast-active h4, body.high-contrast-active p, body.high-contrast-active span, body.high-contrast-active a { color: #ffffff !important; text-shadow: none !important; }
        body.high-contrast-active .text-neon, body.high-contrast-active .text-primary, body.high-contrast-active a:hover { color: #ffff00 !important; text-decoration: underline !important; }
        body.high-contrast-active .navbar { background: #000000 !important; border-bottom: 2px solid #ffffff !important; backdrop-filter: none !important; }
        body.high-contrast-active .glass-card { background: #000000 !important; border: 2px solid #ffffff !important; box-shadow: none !important; backdrop-filter: none !important; }
        body.high-contrast-active .slide-overlay { display: none !important; }
        body.high-contrast-active .btn { background: #000000 !important; border: 2px solid #ffffff !important; color: #ffffff !important; border-radius: 0 !important; }
        body.high-contrast-active .btn:hover { background: #ffffff !important; color: #000000 !important; }
        body.high-contrast-active .btn-danger { border-color: #ff0000 !important; color: #ff0000 !important; }
        body.high-contrast-active .btn-danger:hover { background: #ff0000 !important; color: #fff !important; }
        body.high-contrast-active .fab-menu { background: #000000 !important; border: 2px solid #ffffff !important; }
        body.high-contrast-active .fab-btn { border: 1px solid #ffffff !important; color: #ffffff !important; }
        body.high-contrast-active #chatWindow { background: #000000 !important; border: 2px solid #ffffff !important; }
        body.high-contrast-active .chat-header { background: #000000 !important; border-bottom: 1px solid #ffffff !important; }
        body.high-contrast-active .chat-header-title { color: #ffff00 !important; }
        body.high-contrast-active .msg-bot { background: #000000 !important; border: 1px solid #ffffff !important; color: #ffffff !important; }
        body.high-contrast-active .msg-user { background: #ffffff !important; color: #000000 !important; }
        body.high-contrast-active .chat-input-field { background: #000000 !important; border: 1px solid #ffffff !important; color: #ffffff !important; }

        /* Accessibility Classes */
        body.dyslexia-font { font-family: 'OpenDyslexic', sans-serif; }
        body.font-large { font-size: 1.5rem; }
        #backToTop { position: fixed; bottom: 100px; right: 30px; width: 50px; height: 50px; background: var(--secondary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 1040; }
        #backToTop.show { opacity: 1; visibility: visible; }
        /* Social Media Post Cards */
        .sosmed-post-card {
            aspect-ratio: 1;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            cursor: pointer;
            height: 100%;
        }

        .sosmed-post-card:hover {
            transform: translateY(-8px) scale(1.03);
            box-shadow: 0 20px 40px rgba(0,0,0,0.4);
            border-color: var(--primary);
        }

        .sosmed-post-card img {
            transition: transform 0.5s ease;
        }

        .sosmed-post-card:hover img {
            transform: scale(1.1);
        }

        .sosmed-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            padding: 15px;
        }

        .sosmed-post-card:hover .sosmed-overlay {
            opacity: 1;
        }

        /* Custom column for 5 items */
        .col-lg-2-4 {
            flex: 0 0 20%;
            max-width: 20%;
        }

        @media (max-width: 992px) {
            .col-lg-2-4 {
                flex: 0 0 33.333%;
                max-width: 33.333%;
            }
        }

        @media (max-width: 768px) {
            .col-lg-2-4 {
                flex: 0 0 50%;
                max-width: 50%;
            }
        }