        /* --- CUSTOM BRANDING VARIABLES --- */
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #333;
            background-color: #fff;
        }
   :root {
       --primary-color: #003366;
       --secondary-color: #f4c430;
       --text-color: #333;
       --light-bg: #f9f9f9;
       --urgent-color: #d32f2f;
       --info-color: #1976d2;
       --event-color: #388e3c;
   }
        /* --- NAVBAR & NAV LINKS STYLES --- */
        .navbar {
            background-color: var(--primary-color);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .navbar-brand span {
            font-size: 1.25rem;
            font-weight: bold;
        }

        .nav-link {
            color: rgba(255, 255, 255, 0.9) !important;
            font-weight: 500;
            transition: all 0.3s;
        }

        .nav-link:hover,
        .nav-link:focus {
            color: var(--secondary-color) !important;
        }

                .dropdown-clickable .dropdown-menu.mega-dropdown {
                    max-height: 75vh;
                    /* Menu tidak akan pernah melosot keluar dari layar */
                    overflow-y: auto;
                    /* Otomatis memunculkan skrol jika konten kepanjangan */
                    overflow-x: hidden;
                    /* Mencegah skrol horizontal yang merusak layout */
                    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
                }
        
                /* Kustomisasi Scrollbar agar Tampil Cantik, Tipis, dan Modern (Webkit Browser) */
                .dropdown-clickable .dropdown-menu.mega-dropdown::-webkit-scrollbar {
                    width: 6px;
                    /* Lebar scrollbar dibuat tipis (6px) agar estetik */
                }
        
                .dropdown-clickable .dropdown-menu.mega-dropdown::-webkit-scrollbar-track {
                    background: #f1f1f1;
                    /* Warna latar belakang jalur skrol */
                    border-radius: 4px;
                }
        
                .dropdown-clickable .dropdown-menu.mega-dropdown::-webkit-scrollbar-thumb {
                    background: #003366;
                    /* Warna bar skrol disamakan dengan warna utama navbar Anda */
                    border-radius: 4px;
                }
        
                .dropdown-clickable .dropdown-menu.mega-dropdown::-webkit-scrollbar-thumb:hover {
                    background: #002244;
                    /* Warna saat kursor mouse menyentuh skrol */
                }
.kotak-utama {
    position: fixed;
    /* Posisi tetap di tengah layar */
    top: 50%;
    left: 50%;
}
                .form-layang {
                    position: relative;
                    /* margin-bottom: 15px;
                    margin-top: 15px; */
                }
        
                /* Styling input */
                .form-layang input {
                    width: 100%;
                    padding-top: 12px;
                    padding-bottom: 10px;
                    /* padding-bottom: 2px; */
                    padding-left: 10px;
                    font-size: 16px;
                    border: 1px solid #54549d;
                    border-radius: 5px;
                    outline: #8688ab;
                    transition: all 0.3s ease;
                    color: blue;
                }
        
                /* Styling label */
                .form-layang label {
                    position: absolute;
                    top: 35%;
                    left: 10px;
                    transform: translateY(-50%);
                    /* background-color: white; */
                    padding: 0 5px;
                    transition: all 0.3s ease;
                    color: #3737ed;
                    font-size: 14px;
                    font-weight: bolder;
                }


#myTab {
    border-bottom: 2px solid #cbd5e1;
    gap: 4px;
    /* Memberikan jarak antar tab */
}

/* State: Tidak Aktif (Default) */
#myTab .nav-link {
    color: #1e293b !important;
    /* Warna teks biru gelap/slate agar sangat kontras dan mudah dibaca */
    font-weight: 600;
    border: none;
    padding: 12px 20px;
    position: relative;
    background-color: #c9c9f6;
    /* Background abu-abu terang agar bentuk tab terlihat jelas */
    border-radius: 8px 8px 0 0;
    transition: all 0.2s ease-in-out;
}

/* State: Hover (Saat kursor diarahkan ke tab tidak aktif) */
#myTab .nav-link:hover {
    color: #2563eb !important;
    background-color: #d0e0f6;
    /* Warna background kebiruan lembut saat di-hover */
}

/* State: Aktif */
#myTab .nav-link.active {
    color: #1d4ed8 !important;
    /* Warna teks biru utama */
    background-color: #a7a7ea !important;
    /* Background putih bersih agar kontras dengan #F6F5F5 */
    border: none;
}

/* Garis Indikator Gradasi di bawah Tab Aktif */
#myTab .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #1e3a8a 100%);
    border-radius: 4px 4px 0 0;
}

/* Saat input fokus atau memiliki value, label akan melayang ke atas */
                .form-layang input:focus+label,
                .form-layang input:not(:placeholder-shown)+label {
                    top: 0px;
                    left: 5px;
                    font-size: 14px;
                    background-color: white;
                    /* color: #697565; */
                    /* Ubah warna label saat melayang */
                }
        
                /* Styling input ketika difokuskan */
                .form-layang input:focus {
                    outline: none;
                    /* box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7); */
                    /* background-color: #d6e7f5; */
                }

/* ===================================================
   STYLING CAROUSEL HERO FULL RESPONSIVE
   =================================================== */

/* 1. Pengaturan Container Carousel & Slide */
#heroCarousel {
    position: relative;
    width: 100%;
    /* Atur tinggi carousel di desktop (bisa disesuaikan, misal 500px - 600px) */
    height: 350px;
    overflow: hidden;
}

#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
    height: 100%;
}

/* Mengatur background image agar ter-cover rapi dan di tengah */
#heroCarousel .carousel-item {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
/* Menyesuaikan kecepatan durasi fade agar tidak terlalu mendadak */
#heroCarousel.carousel-fade .carousel-item {
    transition-opacity: 0.8s ease-in-out;
}

/* 2. Styling Box Caption (Teks di atas Gambar) */
#heroCarousel .carousel-caption {
    background: rgba(31, 15, 247, 0.1);
    /* Latar belakang gelap transparan */
    backdrop-filter: blur(4px);
    /* Efek blur halus di belakang teks (modern look) */
    -webkit-backdrop-filter: blur(4px);
    border-radius: 12px;
    padding: 1.5rem 2rem !important;

    /* Batasi tinggi caption maksimal 80% dari tinggi carousel */
    max-height: 80%;
    max-width: 850px;
    margin: 0 auto;

    /* Posisi caption di tengah vertikal dan horizontal */
    top: 50%;
    bottom: auto !important;
    transform: translateY(-50%);

    /* Jika konten sangat panjang di device kecil, caption bisa di-scroll */
    overflow-y: auto;
}

/* Kustomisasi scrollbar internal caption agar rapi */
#heroCarousel .carousel-caption::-webkit-scrollbar {
    width: 4px;
}

#heroCarousel .carousel-caption::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
}

/* 3. Pembatasan Jumlah Baris Teks (CSS Line Clamp) */

/* Pembatasan Judul (Maksimal 2 baris) */
#heroCarousel .carousel-caption .title-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.5rem;
}

/* Pembatasan Deskripsi / Teks Panjang (Maksimal 3 baris) */
#heroCarousel .carousel-caption .lead-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 15;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 1rem;
}

/* Efek Bayangan Teks agar lebih terbaca */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Background & Dasar Section */
.announcement-section {
    background: linear-gradient(180deg, #fdfbf7 0%, #ffffff 100%);
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

/* Ukuran Font Tambahan */
.extra-small {
    font-size: 0.75rem;
}

/* Pembatas Baris Teks (Text Clamping) */
.title-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Kartu Pengumuman Base Style */
.announcement-card {
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    top: 0;
}

/* Efek Akses Warna Sisi Kiri */
.card-danger {
    border-left: 5px solid #dc3545 !important;
}

.card-success {
    border-left: 5px solid #198754 !important;
}

/* Animasi Hover Kartu */
.announcement-card:hover {
    top: -8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
}

.announcement-card:hover .icon-arrow {
    transform: translateX(4px);
}

/* Animasi Panah Link */
.card-link .icon-arrow,
.btn-view-all .link-arrow {
    transition: transform 0.25s ease;
}

.btn-view-all:hover .link-arrow {
    transform: translateX(3px);
}
/* Efek Hover pada Kartu Berita */
.news-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Efek Zoom-In Gambar */
.news-img {
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.news-card:hover .news-img {
    transform: scale(1.12);
    /* Efek perbesaran/zoom in */
}

/* Animasi Panah Link */
.read-more-link .icon-arrow {
    transition: transform 0.25s ease;
    display: inline-block;
}

.read-more-link:hover .icon-arrow {
    transform: translateX(5px);
}

/* 4. Respon Tampilan Mobile / Layar Kecil (HP) */
@media (max-width: 768px) {
    #heroCarousel {
        height: 400px;
        /* Menyesuaikan tinggi di layar HP */
    }

    #heroCarousel .carousel-caption {
        padding: 1rem !important;
        width: 90%;
    }

    #heroCarousel .carousel-caption h2.display-4 {
        font-size: 1.4rem !important;
        /* Memperkecil judul di HP */
    }

    #heroCarousel .carousel-caption p.lead {
        font-size: 0.85rem !important;
        /* Memperkecil teks di HP */
    }

    /* Di layar HP, batasi deskripsi maksimal 2 baris */
    #heroCarousel .carousel-caption .lead-clamp {
        -webkit-line-clamp: 2;
    }

    #heroCarousel .carousel-caption .btn {
        padding: 6px 16px !important;
        font-size: 0.85rem;
    }
}
        /* Desktop Dropdown Hover Effect */
        @media (min-width: 992px) {
 
            /* --- SOLUSI AMPUH MEGA DROPDOWN KONTROL LAYAR --- */
            /* 1. Jadikan kontainer utama navbar sebagai acuan koordinat (bukan tombol menu) */
            .navbar .container-fluid {
                position: relative;
            }

            /* 2. Set posisi menu Fakultas agar mengikuti kontainer besar */
            .mega-dropdown {
                width: 750px;
                /* Ukuran lebar menu tetap aman & isi tidak hancur */
                left: auto !important;
                right: 0 !important;
                /* Mengunci sisi kanan agar sejajar dengan batas kanan navbar */
                transform: none !important;
                /* Hapus transform karena merusak posisi pinggir */
            }

            /* Perbaikan otomatis untuk dropdown kecil lainnya (Aplikasi & Akademik) */
            .navbar-nav .dropdown-menu-end {
                right: 0 !important;
                left: auto !important;
                transform: none !important;
            }
            
        }

        .dropdown-menu {
            border-top: 3px solid var(--secondary-color);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        }

        .dropdown-item {
            transition: all 0.2s;
        }

        .dropdown-item:hover {
            background-color: #f5f5f5;
            color: var(--bs-primary);
            padding-left: 1.5rem;
        }

        /* Mega Dropdown Faculty Card Styling */
        .faculty-group {
            background: #f9f9f9;
            border-radius: 8px;
            padding: 12px;
            transition: all 0.3s;
            border: 1px solid #eee;
            height: 100%;
        }

        .faculty-group:hover {
            background: #fff9e6;
            border-color: var(--secondary-color);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }

        .faculty-icon-box {
            background: var(--secondary-color);
            color: var(--bs-primary);
            width: 35px;
            height: 35px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            font-size: 1.1rem;
        }

        /* --- RUNNING TICKER --- */
        .ticker-bar {
            background: linear-gradient(90deg, #d32f2f, #b71c1c);
            color: white;
            overflow: hidden;
            position: relative;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            height: 40px;
            display: flex;
            align-items: center;
        }

        .ticker-label {
            background: var(--secondary-color);
            color: var(--bs-primary);
            padding: 0 15px;
            font-weight: bold;
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            height: 100%;
            z-index: 2;
            box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
        }

        .ticker-label i {
            animation: pulse 1.5s infinite;
        }

        @keyframes pulse {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.5;
            }
        }

        .ticker-content-wrapper {
            flex: 1;
            overflow: hidden;
        }

        .ticker-content {
            display: inline-flex;
            white-space: nowrap;
            animation: ticker 35s linear infinite;
        }

        .ticker-content:hover {
            animation-play-state: paused;
        }

        .ticker-item {
            padding: 0 30px;
            font-size: 0.9rem;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        @keyframes ticker {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-50%);
            }
        }

        /* --- HERO SLIDESHOW (CAROUSEL) --- */
        .carousel-item {
            height: 350px;
            background-size: cover;
            background-position: center;
        }

        .carousel-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 51, 102, 0.6);
        }

        .carousel-caption {
            z-index: 2;
            bottom: 25%;
        }

        /* --- APPS DROPDOWN --- */
        .app-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            color: white;
        }

        .app-simasi {
            background: linear-gradient(135deg, #667eea, #764ba2);
        }

        .app-simaba {
            background: linear-gradient(135deg, #f093fb, #f5576c);
        }

        .app-siaksi {
            background: linear-gradient(135deg, #4facfe, #00f2fe);
        }

        /* --- FEEDS SIDEBAR SCROLL --- */
        .feeds-container {
            max-height: 550px;
            overflow-y: auto;
        }

        .author-role-badge {
            font-size: 0.7rem;
            padding: 2px 8px;
            border-radius: 10px;
        }

        /* --- FOOTER CUSTOMS --- */
        footer {
            background-color: var(--primary-color);
        }
        