/* ==========================================================================
   1. GLOBAL & VARIABLES
   ========================================================================== */
:root {
    --primary-color: #ae00ff; /* KODE WARNA KHAS POLBIN */
    --primary-dark: #8000bd;
    --secondary-color: #1a1a2e; /* Biru Gelap Elegan */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --font-main: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Helper Class untuk Warna & Gradient */
.text-primary-custom { color: var(--primary-color) !important; }
.bg-primary-custom { background-color: var(--primary-color) !important; }
.bg-gradient-primary {
    background: linear-gradient(135deg, #ae00ff 0%, #6a00f4 100%);
}

/* Tombol Kustom */
.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    border-radius: 50px;
    padding: 10px 25px;
    transition: 0.3s;
}
.btn-primary-custom:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 5px 15px rgba(174, 0, 255, 0.4);
    transform: translateY(-2px);
}

/* ==========================================================================
   2. HEADER & NAVBAR SECTION
   ========================================================================== */
/* Topbar (Baris paling atas) */
.topbar {
    background-color: var(--secondary-color);
    color: white;
    font-size: 0.85rem;
    padding: 8px 0;
}
.topbar a { color: white; text-decoration: none; transition: 0.3s; }
.topbar a:hover { color: var(--primary-color); }

/* Navbar Utama */
.navbar {
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    background: white;
    padding: 15px 0;
}
.navbar {
    top: 0;
    width: 100%;
    z-index: 9999 !important; /* Angka tertinggi biar selalu di depan */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Bayangan biar manis */
}
.nav-link {
    font-weight: 600;
    color: var(--secondary-color) !important;
    margin-right: 15px;
    transition: 0.3s;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

/* Dropdown Menu yang Cantik */
.navbar .dropdown-menu {
    border: none;
    border-top: 3px solid var(--primary-color);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 0;
}
.dropdown-item:hover {
    background-color: rgba(174, 0, 255, 0.05);
    color: var(--primary-color);
    padding-left: 1.5rem; /* Efek geser saat hover */
    transition: 0.3s;
}
/* Submenu & dropdown item: hanya huruf awal besar */
.navbar .dropdown-menu,
.navbar .dropdown-item {
    text-transform: capitalize;
}

/* Kalau mau submenu level 2 juga aman */
.navbar .dropdown-menu .dropdown-menu {
    text-transform: capitalize;
}




/* ==========================================================================
   3. INDEX (HALAMAN UTAMA) SECTION
   ========================================================================== */

/* --- Hero Slider --- */
.hero-slider { height: 85vh; width: 100%; }
.swiper-slide {
    background-size: cover;
    background-position: center;
}
.hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    display: flex; align-items: center;
}
/* Kotak Teks di Hero */
.hero-content-box {
    background: rgba(255, 255, 255, 0.1); /* Efek kaca transparan */
    backdrop-filter: blur(5px);
    border-left: 5px solid var(--primary-color);
    padding: 40px;
    max-width: 650px;
}

/* --- Quick Access Bar (Melayang) --- */
.quick-access-bar {
    position: relative;
    margin-top: -60px; /* Supaya naik ke atas banner */
    z-index: 20;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--primary-color);
}

/* --- Statistik Icons --- */
.stats-icon-wrapper {
    transition: 0.3s;
}
.stats-icon-wrapper:hover { transform: translateY(-10px); }

/* --- Kartu Program Studi (Hover Effect) --- */
.prodi-card {
    height: 380px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.prodi-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}
.prodi-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.95), transparent);
    padding: 20px;
    color: white;
    transform: translateY(60px); /* Sembunyikan deskripsi dulu */
    transition: 0.4s;
}
.prodi-card:hover img { transform: scale(1.1); }
.prodi-card:hover .prodi-overlay { transform: translateY(0); }
.prodi-desc { opacity: 0; transition: 0.4s; }
.prodi-card:hover .prodi-desc { opacity: 1; }
/* ===============================
   GLOBAL PRODI STYLE
================================ */
.prodi-overlay .badge {
    padding: 6px 12px;
    font-size: 0.75rem;
}

.prodi-link {
    transition: all 0.3s ease;
}

.prodi-link:hover {
    opacity: 0.85;
    transform: translateX(4px);
}

/* ===============================
   BISNIS DIGITAL – EMAS
================================ */
.prodi-bisnis .badge {
    background-color: #ffc303;
    color: #000;
}

.prodi-bisnis .prodi-link {
    color: #ffc303;
}

/* ===============================
   KSI – CYAN
================================ */
.prodi-ksi .badge {
    background-color: #00ceff;
    color: #fff;
}

.prodi-ksi .prodi-link {
    color: #00ceff;
}

/* ===============================
   TRPPL – HIJAU
================================ */
.prodi-trppl .badge {
    background-color: #5eff00;
    color: #000;
}

.prodi-trppl .prodi-link {
    color: #5eff00;
}






/* --- Berita & Tabs --- */
.nav-pills .nav-link.active {
    background-color: var(--primary-color);
}
.nav-pills .nav-link {
    color: var(--secondary-color);
}
.heading-modern {
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
    font-weight: 800;
}

/* --- Video Section --- */
.video-section {
    position: relative;
    padding: 100px 0;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.play-btn {
    width: 70px; height: 70px;
    background: white; color: var(--primary-color);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    animation: pulse-anim 2s infinite;
}
@keyframes pulse-anim {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* ==========================================================================
   4. FOOTER SECTION
   ========================================================================== */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding-top: 60px;
    border-top: 5px solid var(--primary-color);
}
footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
}
footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: 0.3s;
}
footer a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}
.footer-bottom {
    background-color: #0f0f1c; /* Lebih gelap dari footer */
    padding: 20px 0;
    margin-top: 40px;
    font-size: 0.85rem;
}



/* ==========================================================================
   5. TAMBAHAN: NESTED DROPDOWN (MENU TINGKAT 3)
   ========================================================================== */

/* Aturan Khusus Desktop (Layar Lebar) */
@media (min-width: 992px) {
    /* Membuat sub-menu muncul di sebelah kanan induknya */
    .dropdown-menu .dropdown-submenu {
        position: relative;
    }
    .dropdown-menu .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%; /* Geser ke kanan */
        margin-top: -6px;
        margin-left: 0; /* Jarak sedikit */
        border-radius: 10px;
        display: none; /* Sembunyi dulu */
    }
    /* Munculkan saat di-hover */
    .dropdown-menu .dropdown-submenu:hover > .dropdown-menu {
        display: block;
        animation: fadeInRight 0.3s ease;
    }
}

/* Animasi Muncul dari Kiri ke Kanan (Desktop) */
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Aturan Khusus Mobile (HP/Tablet) */
@media (max-width: 991px) {
    .dropdown-menu .dropdown-submenu > .dropdown-menu {
        display: block; /* Selalu tampil di mobile tapi rata */
        margin-left: 20px; /* Geser masuk ke dalam biar terlihat itu anak menu */
        border-left: 2px solid var(--primary-color); /* Garis penanda */
        border: none;
        box-shadow: none;
        background: transparent;
    }
    /* Ubah warna link di mobile biar jelas */
    .dropdown-menu .dropdown-submenu > .dropdown-menu .dropdown-item {
        color: #666;
        font-size: 0.9rem;
    }
}





/* ==========================================================================
   6. HALAMAN DALAM (SUB-PAGES)
   ========================================================================== */

/* Header Halaman (Breadcrumb) */
.page-header {
    background: linear-gradient(rgba(26, 26, 46, 0.8), rgba(26, 26, 46, 0.8)), url('/public/img/icon/POLBIN.png');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: white;
    margin-bottom: 50px;
}
.breadcrumb-item a { color: #ccc; text-decoration: none; }
.breadcrumb-item.active { color: var(--primary-color); font-weight: bold; }

/* Sidebar Menu (Menu Navigasi Samping) */
.sidebar-menu {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}
.sidebar-header {
    background: var(--secondary-color);
    color: white;
    padding: 15px 20px;
    font-weight: bold;
    border-bottom: 3px solid var(--primary-color);
}
.sidebar-link {
    display: block;
    padding: 12px 20px;
    color: #555;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    transition: 0.3s;
}
.sidebar-link:hover, .sidebar-link.active {
    background: #f8f9fa;
    color: var(--primary-color);
    padding-left: 25px; /* Efek geser kanan */
    font-weight: 600;
}

/* Foto Direktur & Konten */
.director-photo-frame {
    position: relative;
    padding: 10px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 10px;
}
.director-photo-frame img {
    border-radius: 5px;
}
.quote-box {
    border-left: 4px solid var(--primary-color);
    background: #f9f9f9;
    padding: 20px;
    font-style: italic;
    color: #555;
    margin: 20px 0;
}


/* ==========================================================================
   7. KHUSUS HALAMAN SAMBUTAN (REVISI)
   ========================================================================== */

/* Breadcrumb yang lebih bersih */
.breadcrumb-item + .breadcrumb-item::before {
    color: var(--primary-color); /* Warna pemisah jadi ungu */
}
.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}
.breadcrumb-item.active {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--primary-color);
    text-underline-offset: 5px;
}

/* Foto Direktur Style "Executive" */
.director-image-wrapper {
    position: relative;
    padding: 15px; /* Memberi ruang untuk border belakang */
    margin-bottom: 20px;
}
.director-image-wrapper img {
    border-radius: 10px;
    position: relative;
    z-index: 2; /* Supaya gambar ada di depan aksen */
    box-shadow: 0 10px 40px rgba(0,0,0,0.15); /* Bayangan lebih lembut tapi tebal */
    width: 100%; /* Memaksa gambar memenuhi kolom */
    transition: transform 0.3s;
}
.director-image-wrapper:hover img {
    transform: translateY(-5px);
}
/* Kotak Aksen di Belakang Foto */
.director-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 90%;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border-radius: 15px;
    transform: rotate(-3deg); /* Miring sedikit biar artistik */
    z-index: 1;
}
.director-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 20px; right: -10px;
    width: 80px; height: 80px;
    background: var(--primary-color); /* Kotak ungu kecil di pojok */
    opacity: 0.2;
    z-index: 0;
    border-radius: 10px;
}

/* Quote yang lebih nendang */
.quote-modern {
    border-left: 5px solid var(--primary-color);
    background: white;
    padding: 25px 30px;
    font-size: 1.1rem;
    font-style: italic;
    color: #444;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-radius: 0 15px 15px 0;
    margin: 30px 0;
    position: relative;
}
.quote-modern::before {
    content: '\f10d'; /* Kode icon kutip FontAwesome */
    font-family: "Font Awesome 6 Free"; 
    font-weight: 900;
    position: absolute;
    top: -20px; left: 20px;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
}




/* ==========================================================================
   8. HALAMAN VISI MISI (MODERN STYLE)
   ========================================================================== */

/* Kotak Visi (Vision Box) */
.vision-box {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    position: relative;
    box-shadow: 0 20px 50px rgba(174, 0, 255, 0.15); /* Bayangan Ungu Halus */
    border-top: 5px solid var(--primary-color);
    overflow: hidden;
}
.vision-box::before {
    content: '\f06e'; /* Icon Mata (Vision) FontAwesome */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: -20px; right: 20px;
    font-size: 8rem;
    color: var(--primary-color);
    opacity: 0.05; /* Transparan jadi background */
    transform: rotate(-15deg);
}

/* Kartu Misi (Mission List) */
.mission-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    border-left: 5px solid transparent; /* Garis default transparan */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.mission-card:hover {
    transform: translateX(10px); /* Geser kanan dikit saat hover */
    border-left-color: var(--primary-color); /* Muncul garis ungu */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.mission-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(174, 0, 255, 0.2); /* Angka besar transparan */
    margin-right: 20px;
}
.mission-icon {
    width: 60px; height: 60px;
    background: rgba(174, 0, 255, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
}



/* ==========================================================================
   9. REVISI VISI MISI (LUXURY VISUAL STYLE)
   ========================================================================== */

/* Visi Banner Section */
.visi-banner-section {
    position: relative;
    padding: 100px 0;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /* Overlay gelap agar teks terbaca */
    background-image: linear-gradient(to right, rgba(26, 26, 46, 0.9), rgba(26, 26, 46, 0.7));
}

/* Kotak Visi Mengambang (Glassmorphism Dark) */
.vision-glass-box {
    background: rgba(255, 255, 255, 0.1); /* Putih transparan */
    backdrop-filter: blur(15px); /* Efek kaca buram */
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 5px solid var(--primary-color); /* Aksen Ungu */
    padding: 50px;
    border-radius: 20px;
    color: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Kartu Misi Bergambar (Mission Image Card) */
.mission-img-card {
    background: white;
    border-radius: 15px;
    overflow: hidden; /* Supaya gambar zoom tidak keluar kotak */
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    height: 100%; /* Agar tinggi kartu seragam dalam satu baris */
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 3px solid transparent;
}
.mission-img-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(174, 0, 255, 0.15);
    border-bottom-color: var(--primary-color);
}

/* Area Gambar di Kartu Misi */
.mission-img-wrapper {
    height: 220px; /* Tinggi gambar fix */
    overflow: hidden;
    position: relative;
}
.mission-img-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease; /* Animasi zoom halus */
}
.mission-img-card:hover .mission-img-wrapper img {
    transform: scale(1.1); /* Efek Zoom saat hover */
}

/* Nomor Misi di atas Gambar */
.mission-badge-num {
    position: absolute;
    top: 20px; left: 20px;
    background: var(--primary-color);
    color: white;
    width: 45px; height: 45px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 2;
}




/* ==========================================================================
   10. STRUKTUR ORGANISASI (HIERARCHY STYLE)
   ========================================================================== */

/* Kartu Pejabat (Person Card) */
.person-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-color); /* Topi Ungu */
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}
.person-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(174, 0, 255, 0.15);
}

/* Foto Pejabat */
.person-img-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    position: relative;
}
.person-img-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%; /* Bulat */
    border: 4px solid rgba(174, 0, 255, 0.1);
    padding: 3px; /* Jarak antara foto dan border */
}

/* Jabatan Badge */
.role-badge {
    background: rgba(174, 0, 255, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: inline-block;
}

/* Email Link */
.email-link {
    color: #888;
    font-size: 0.9rem;
    text-decoration: none;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}
.email-link:hover {
    color: var(--primary-color);
}
.email-link i { margin-right: 5px; }

/* Garis Konektor (Visual Tree) */
.connector-line-v {
    width: 2px;
    height: 40px;
    background: #ddd;
    margin: 0 auto;
}
.connector-line-h {
    height: 2px;
    background: #ddd;
    width: 50%; /* Sesuaikan nanti */
    margin: 0 auto 40px;
}

/* Gambar Struktur Full (Paling Bawah) */
.full-chart-container {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}



/* ==========================================================================
   11. STRUKTUR ORGANISASI (EXECUTIVE GRID STYLE)
   ========================================================================== */

/* Section Title dengan Garis Ungu */
.structure-group-title {
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}
.structure-group-title::after {
    content: '';
    display: block;
    width: 50%;
    height: 4px;
    background: var(--primary-color);
    margin-top: 5px;
    border-radius: 2px;
}

/* Kartu Staff (Staff Card) */
.staff-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%; /* Agar tinggi kartu sama rata */
    border: 1px solid #f0f0f0;
}
.staff-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(174, 0, 255, 0.15);
    border-color: rgba(174, 0, 255, 0.3);
}

/* Foto Staff (Portrait Mode - Besar) */
.staff-img-box {
    width: 100%;
    height: 320px; /* Tinggi fix biar rapi */
    overflow: hidden;
    position: relative;
    background-color: #f8f9fa; /* Placeholder color */
}
.staff-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Foto akan menyesuaikan kotak tanpa gepeng */
    object-position: top; /* Fokus ke wajah (atas) */
    transition: transform 0.5s;
}
.staff-card:hover .staff-img-box img {
    transform: scale(1.05); /* Zoom dikit pas hover */
}

/* Badge Jabatan */
.staff-role-badge {
    position: absolute;
    bottom: 15px; left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Info Staff Text */
.staff-info {
    padding: 20px;
}
.staff-nuptk {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
    display: block;
    font-family: monospace; /* Font ala kode biar kesan Nomer */
}
.staff-email {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 600;
}
.staff-email:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}




/* ==========================================================================
   12. KHUSUS PRODI TRPPL (ECO-TECH STYLE - REVISI NEON)
   ========================================================================== */

/* Gradasi Khusus TRPPL (Ungu ke Neon Green) */
.bg-gradient-env {
    background: linear-gradient(135deg, #ae00ff 0%, #5eff00 100%); /* Warna Baru */
}
.text-env {
    color: #5eff00 !important; /* Warna Baru */
}

/* Kotak Profil Prodi */
.prodi-profile-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-left: 5px solid #5eff00; /* Warna Baru */
    position: relative;
}

/* List Misi dengan Icon Daun */
.mission-list-env li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    color: #555;
}
.mission-list-env li::before {
    content: '\f06c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0; top: 2px;
    color: #5eff00; /* Warna Baru */
    font-size: 1.2rem;
}

/* Dosen Card Mini (Compact) */
.lecturer-card-mini {
    background: white;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid #eee;
}
.lecturer-card-mini:hover {
    border-color: #5eff00; /* Warna Baru */
    transform: translateX(5px);
}
.lecturer-img-small {
    width: 70px; height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid #5eff00; /* Warna Baru */
}

/* ==========================================================================
   13. REVISI TRPPL (AESTHETIC VISUALS - NEON VERSION)
   ========================================================================== */

/* --- 1. Kaprodi Featured Box (UKURAN BESAR SEPERTI DIREKTUR) --- */
.kaprodi-large-wrapper {
    position: relative;
    margin: 40px 0; /* Jarak atas bawah dari teks */
}
.kaprodi-large-img-box {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.kaprodi-large-img-box img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}
.kaprodi-large-wrapper:hover .kaprodi-large-img-box img {
    transform: scale(1.03);
}
/* Bingkai Neon di belakang foto */
.kaprodi-large-wrapper::before {
    content: '';
    position: absolute;
    top: -15px; left: -15px;
    width: 100%; height: 100%;
    border: 3px solid #5eff00; /* Warna Neon Baru */
    border-radius: 20px;
    z-index: 0;
    opacity: 0.6;
}
/* Label Jabatan Mengambang */
.kaprodi-floating-badge {
    position: absolute;
    bottom: 20px; left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 10px 25px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    z-index: 2;
    width: 80%;
}


/* --- 2. Cinematic Competency Cards (Update Warna Neon) --- */
.comp-cinematic-card {
    position: relative;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-bottom: 3px solid #5eff00; /* Warna Baru */
}
.comp-bg-img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
/* Overlay Gradient Neon */
.comp-overlay-gradient {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 60%, rgba(94, 255, 0, 0.2) 100%); /* Warna Baru Pudar */
    transition: 0.5s;
}
.comp-content-layer {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 30px;
    color: white;
    z-index: 2;
}
.comp-icon-large {
    font-size: 3rem;
    color: #5eff00; /* Warna Baru */
    margin-bottom: 15px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: 0.5s;
}
.comp-details-list {
    max-height: 0; overflow: hidden; opacity: 0;
    transition: all 0.6s ease-in-out;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 0;
}
.comp-details-list ul li { margin-bottom: 8px; display: flex; align-items: center; }
.comp-details-list ul li i { color: #5eff00; margin-right: 10px; } /* Warna Baru */

/* --- EFEK HOVER --- */
.comp-cinematic-card:hover .comp-bg-img { transform: scale(1.1); }
.comp-cinematic-card:hover .comp-overlay-gradient {
    /* Ubah jadi gradasi NEON menyala saat hover */
    background: linear-gradient(to top, rgba(94, 255, 0, 0.9) 0%, rgba(94, 255, 0, 0.4) 100%); /* Warna Baru */
}
.comp-cinematic-card:hover .comp-icon-large {
    color: white;
    transform: translateY(-10px);
}
.comp-cinematic-card:hover .comp-details-list {
    max-height: 300px; opacity: 1; margin-top: 20px; padding-top: 20px;
}





/* ==========================================================================
   14. KHUSUS PRODI BISNIS DIGITAL (GOLDEN STYLE)
   ========================================================================== */

/* Warna Utama BD (#ffc303) */
:root {
    --bd-color: #ffc303;
}

/* Gradasi Emas */
.bg-gradient-bd {
    background: linear-gradient(135deg, #1a1a2e 0%, #ffc303 100%);
}
.text-bd {
    color: var(--bd-color) !important;
}
.border-bd {
    border-color: var(--bd-color) !important;
}

/* Hero Badge */
.badge-bd {
    background-color: var(--bd-color);
    color: #000; /* Teks hitam biar terbaca di background kuning */
    font-weight: 800;
}

/* Kompetensi Card (Style Corporate) */
.comp-bd-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    height: 100%;
    border-bottom: 4px solid #eee;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.comp-bd-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 0%; height: 100%;
    background: var(--bd-color);
    z-index: -1;
    transition: 0.4s;
}
.comp-bd-card:hover {
    border-bottom-color: var(--bd-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 195, 3, 0.2);
}
/* Efek Hover Fill Background */
/* .comp-bd-card:hover::before { width: 100%; } */ /* Opsional kalau mau full kuning */

.comp-bd-icon {
    width: 60px; height: 60px;
    background: rgba(255, 195, 3, 0.15);
    color: #b38b00; /* Kuning gelap biar kontras */
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: 0.3s;
}
.comp-bd-card:hover .comp-bd-icon {
    background: var(--bd-color);
    color: black;
    transform: rotate(15deg);
}

/* Lecturer Card BD */
.lecturer-bd-wrapper {
    text-align: center;
    background: white;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: 0.3s;
}
.lecturer-bd-wrapper:hover {
    border-color: var(--bd-color);
    transform: translateY(-10px);
}
.lecturer-bd-img {
    width: 120px; height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 4px solid rgba(255, 195, 3, 0.3);
    padding: 3px;
}

/* ==========================================================================
   15. REVISI BISNIS DIGITAL (FIX & VISUALS)
   ========================================================================== */

/* --- 1. FIX BORDER KAPRODI (Hapus Hijau, Paksa Emas) --- */
/* Kita buat class khusus 'kaprodi-bd-wrapper' */
.kaprodi-bd-wrapper {
    position: relative;
    margin: 40px 0;
}
.kaprodi-bd-wrapper::before {
    content: '';
    position: absolute;
    top: -15px; left: -15px;
    width: 100%; height: 100%;
    border: 3px solid #ffc303; /* EMAS (Fix) */
    border-radius: 20px;
    z-index: 0;
    opacity: 0.6;
}
.kaprodi-bd-wrapper .kaprodi-large-img-box {
    box-shadow: 0 15px 30px rgba(255, 195, 3, 0.2); /* Bayangan Emas */
}

/* --- 2. COMPETENCY CARDS GOLD EDITION (Cinematic) --- */
.comp-bd-cinematic {
    position: relative;
    height: 400px; /* Tinggi kartu */
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-bottom: 4px solid #ffc303; /* Garis Bawah Emas */
}

/* Background Image */
.comp-bd-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Overlay Gradient (Hitam ke Emas Transparan) */
.comp-bd-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 60%, rgba(255, 195, 3, 0.1) 100%);
    transition: 0.5s;
}

/* Konten */
.comp-bd-content {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 30px;
    color: white;
    z-index: 2;
}

/* Ikon */
.comp-bd-icon-lg {
    font-size: 3rem;
    color: #ffc303; /* Ikon Emas */
    margin-bottom: 10px;
    transition: 0.5s;
    text-shadow: 0 5px 10px rgba(0,0,0,0.5);
}

/* List Detail (Sembunyi dulu) */
.comp-bd-list {
    max-height: 0; overflow: hidden; opacity: 0;
    transition: all 0.5s ease;
    border-top: 1px solid rgba(255, 195, 3, 0.3);
    margin-top: 0;
}
.comp-bd-list ul li {
    margin-bottom: 5px; font-size: 0.85rem; display: flex; align-items: start;
}
.comp-bd-list ul li i {
    color: #ffc303; margin-right: 8px; margin-top: 4px;
}

/* --- EFEK HOVER --- */
.comp-bd-cinematic:hover .comp-bd-bg { transform: scale(1.1); } /* Zoom Gambar */
.comp-bd-cinematic:hover .comp-bd-overlay {
    /* Saat hover, gradasi jadi emas dominan */
    background: linear-gradient(to top, rgba(255, 195, 3, 0.95) 0%, rgba(255, 195, 3, 0.6) 100%);
}
.comp-bd-cinematic:hover .comp-bd-icon-lg {
    color: #000; /* Ikon jadi hitam biar kontras */
    transform: translateY(-10px);
}
.comp-bd-cinematic:hover .comp-bd-content {
    color: #000; /* Teks jadi hitam */
}
.comp-bd-cinematic:hover .comp-bd-content p {
    color: #333 !important; /* Deskripsi kecil jadi abu gelap */
}
.comp-bd-cinematic:hover .comp-bd-list {
    max-height: 250px; opacity: 1; margin-top: 15px; padding-top: 15px;
    border-top-color: rgba(0,0,0,0.2);
}
.comp-bd-cinematic:hover .comp-bd-list ul li i { color: #000; } /* Bullet icon jadi hitam */






/* ==========================================================================
   16. KHUSUS PRODI KSI (CYBER BLUE STYLE)
   ========================================================================== */

/* Warna Utama KSI (#00ceff) */
:root {
    --ksi-color: #00ceff;
}

/* Text & Background Utilities */
.text-ksi { color: var(--ksi-color) !important; }
.bg-ksi { background-color: var(--ksi-color) !important; }
.border-ksi { border-color: var(--ksi-color) !important; }

/* Badge Hero */
.badge-ksi {
    background: linear-gradient(135deg, #00ceff 0%, #0081ff 100%);
    color: white;
    box-shadow: 0 0 15px rgba(0, 206, 255, 0.5); /* Efek Glowing */
}

/* --- KAPRODI WRAPPER (CYBER EDITION) --- */
.kaprodi-ksi-wrapper {
    position: relative;
    margin: 40px 0;
}
.kaprodi-ksi-wrapper::before {
    content: '';
    position: absolute;
    top: -10px; left: -10px;
    width: 100%; height: 100%;
    border: 2px solid var(--ksi-color);
    border-radius: 15px;
    z-index: 0;
    opacity: 0.7;
    box-shadow: 0 0 20px rgba(0, 206, 255, 0.2); /* Glow Effect */
}
.kaprodi-ksi-img-box {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: #000; /* Background hitam buat foto */
}
.kaprodi-ksi-img-box img {
    width: 100%; height: auto;
    filter: grayscale(20%); /* Sedikit hitam putih biar cool */
    transition: 0.5s;
}
.kaprodi-ksi-wrapper:hover .kaprodi-ksi-img-box img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* --- COMPETENCY CARDS (CYBER CINEMATIC) --- */
.comp-ksi-cinematic {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    border-bottom: 4px solid var(--ksi-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); /* Bayangan lebih gelap */
    background: #0f0f0f;
}

.comp-ksi-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    transition: transform 0.8s ease;
    opacity: 0.6; /* Gambar agak gelap */
}

.comp-ksi-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0, 206, 255, 0.9) 0%, rgba(0,0,0,0.8) 60%, rgba(0,0,0,0.2) 100%);
    opacity: 0; /* Default sembunyi, muncul pas hover */
    transition: 0.5s;
}
/* Overlay default yang selalu ada (biar teks terbaca) */
.comp-ksi-overlay-default {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}

.comp-ksi-content {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 30px;
    color: white;
    z-index: 2;
}

.comp-ksi-icon {
    font-size: 3.5rem;
    color: var(--ksi-color);
    margin-bottom: 15px;
    text-shadow: 0 0 10px var(--ksi-color); /* Neon Icon */
    transition: 0.5s;
}

.comp-ksi-list {
    max-height: 0; overflow: hidden; opacity: 0;
    transition: all 0.5s ease;
    border-top: 1px solid rgba(0, 206, 255, 0.3);
    margin-top: 0;
}
.comp-ksi-list ul li {
    margin-bottom: 5px; font-size: 0.85rem; display: flex; align-items: center;
    color: #e0e0e0;
}
.comp-ksi-list ul li i {
    color: var(--ksi-color); margin-right: 10px;
}

/* HOVER EFFECTS */
.comp-ksi-cinematic:hover .comp-ksi-bg { transform: scale(1.1); opacity: 0.3; }
.comp-ksi-cinematic:hover .comp-ksi-overlay { opacity: 1; }
.comp-ksi-cinematic:hover .comp-ksi-icon { transform: translateY(-10px) scale(0.8); color: white; }
.comp-ksi-cinematic:hover .comp-ksi-list {
    max-height: 250px; opacity: 1; margin-top: 15px; padding-top: 15px;
}



/* ==========================================================================
   17. PORTAL BERITA & KEGIATAN (MAGAZINE STYLE)
   ========================================================================== */

/* Headline Besar (Hero News) */
.news-hero-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 350px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.news-hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.news-hero-card:hover .news-hero-bg {
    transform: scale(1.08); /* Efek zoom saat disentuh */
}
.news-hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(17, 17, 37, 0.95) 0%, rgba(17, 17, 37, 0.2) 100%);
}
.news-hero-content {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 30px;
    color: white;
}

/* Kartu Berita Kecil (Grid News) */
.news-grid-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    height: 100%;
    border: 1px solid #f0f0f0;
}
.news-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(174, 0, 255, 0.15);
    border-color: rgba(174, 0, 255, 0.3);
}
.news-img-box {
    height: 180px;
    overflow: hidden;
}
.news-img-box img {
    width: 100%; height: 100%; object-fit: cover;
    transition: 0.5s;
}
.news-grid-card:hover .news-img-box img {
    transform: scale(1.1);
}

/* Badge Kategori */
.badge-category {
    background: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 4px;
}

/* Kalender Kegiatan (Date Box) */
.agenda-date-box {
    background: rgba(174, 0, 255, 0.1);
    color: var(--primary-color);
    min-width: 60px;
    text-align: center;
    border-radius: 8px;
    padding: 8px 5px;
    border: 1px solid rgba(174, 0, 255, 0.2);
}
.agenda-date-box .day { font-size: 1.5rem; font-weight: 800; line-height: 1; display: block;}
.agenda-date-box .month { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }

/* Custom Scrollbar untuk Widget Pengumuman biar gak kepanjangan */
.widget-scroll {
    max-height: 500px;
    overflow-y: auto;
}
.widget-scroll::-webkit-scrollbar { width: 6px; }
.widget-scroll::-webkit-scrollbar-track { background: #f1f1f1; }
.widget-scroll::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }
.widget-scroll::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }





/* ==========================================================================
   18. FIX TAB BUTTON & DETAIL PAGES
   ========================================================================== */

/* Memaksa Teks Tab yang Aktif jadi PUTIH TEBAL */
.nav-pills .nav-link.active {
    background-color: var(--primary-color) !important; /* Ungu */
    color: #ffffff !important; /* Putih Mutlak */
    font-weight: 800 !important; /* Bold Banget */
    box-shadow: 0 5px 15px rgba(174, 0, 255, 0.4); /* Efek Glowing dikit */
}

/* Teks Tab yang TIDAK Aktif (Biar kontras juga) */
.nav-pills .nav-link {
    color: #555;
    font-weight: 600;
}


/* INI UNTUK Color warna judul di detail berita pengumuman agenda */
.breadcrumb,
.breadcrumb a,
.breadcrumb-item.active {
    color: #ae00ff; /* ungu elegan */
}



/* ==========================================================================
   20. MITRA LOGO EFFECTS
   ========================================================================== */

/* Default: Logo Hitam Putih & Agak Transparan 
.logo-grayscale {
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.4s ease;
    cursor: pointer;
}
*/
/* Hover: Logo jadi Berwarna & Jelas */
.card-mitra:hover .logo-grayscale {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1); /* Zoom dikit */
}

/* Efek Card Mitra saat di-hover */
.card-mitra {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-mitra:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}




/* Card Hover Effect khusus Riset (Garis kiri warna biru) */
.card-hover-left {
    border-left: 4px solid transparent;
    transition: 0.3s;
}
.card-hover-left:hover {
    border-left-color: var(--primary-color);
    transform: translateX(5px);
}

/* Pembatas kolom statistik */
.divide-cols > div {
    position: relative;
}
@media (min-width: 768px) {
    .divide-cols > div:not(:last-child)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 20%;
        height: 60%;
        width: 1px;
        background-color: #eee;
    }
}


/* Card Prodi Zoom Effect */
.card-prodi .zoom-effect {
    transition: transform 0.5s ease;
}
.card-prodi:hover .zoom-effect {
    transform: scale(1.1); /* Gambar membesar dikit */
}
.hover-top {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-top:hover {
    transform: translateY(-10px); /* Card naik ke atas */
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
}