/* ===== FONTS ===== */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}

/* ===== HEADER ===== */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ===== ribbon title  ===== */
.ribbon-container {
    position: relative;
    width: 100%;
    max-width: 400px; /* bisa sesuaikan lebar */
    height: 80px;
    margin: 20px auto;
    }
    
.ribbon-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: #f1f1f1;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transform: skewX(-20deg);
    border-radius: 5px;
    }
    
.ribbon-foreground {
    position: absolute;
    top: 0;
    left: 20px;
    width: 60px; /* lebar pita hijau */
    height: 50px;
    background: #00b44b;
    transform: skewX(-20deg);
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    }
    
    .ribbon-text {
    position: absolute;
    top: 50%;
    left: 95px;
    transform: translateY(-90%);
    font-size: 24px;
    font-weight: bold;
    color: #333;
    }
/* ===== CONTAINER ===== */
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* ===== LOGO AREA ===== */
.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo {
  height: 50px;
}
.site-title {
  font-size: 20px;
  font-weight: 600;
  color: #004b87;
}

/* ===== NAVIGATION ===== */
.nav-area {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  justify-content: flex-end;
}
.navbar {
  display: flex;
}
.main-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 25px;
}
.main-menu li {
  position: relative;
}
.main-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 10px 5px;
  transition: color 0.3s ease;
}
.main-menu a:hover,
.main-menu .active {
  color: #0077B6;
}

/* ===== NAVBAR ===== */
.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.main-menu li {
  position: relative;
}

.main-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 10px 15px;
  display: block;
  transition: background 0.3s ease;
}

.main-menu a:hover {
  background-color: #f0f0f0;
  border-radius: 4px;
}

/* ===== MEGA MENU ===== */
.mega-dropdown {
  position: relative;
}

.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  z-index: 1000;
  width: 600px;
  display: flex;
  gap: 40px;
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mega-dropdown:hover .mega-menu {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.mega-column {
  flex: 1;
}

.mega-column h4 {
  font-size: 16px;
  margin-bottom: 10px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}

.mega-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-column li {
  margin-bottom: 8px;
}

.mega-column a {
  color: #333;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s;
}

.mega-column a:hover {
  color: #0077B6;
}


/* ===== DROPDOWN ===== */
.dropdown:hover > .submenu,
.dropdown-sub:hover > .submenu-right,
.mega-dropdown:hover > .mega-menu {
  display: block;
}
.submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    min-width: 220px; /* atur lebar minimal submenu */
}

.submenu li {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    word-break: break-word;
    white-space: normal;
    overflow-wrap: anywhere;
}

.submenu li:last-child {
    border-bottom: none;
}

.submenu li a {
    display: block;
    color: #333;
    text-decoration: none;
}

.submenu li a:hover {
    background-color: #f0f0f0;
    color: #000;
}
.dropdown-menu {
    min-width: 220px !important;
    white-space: normal !important;
    word-break: break-word !important;
}


.mega-menu {
  display: none;
  position: absolute;
  background-color: #ffffff;
  top: 100%;
  left: 0;
  z-index: 999;
  padding: 10px 0;
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.submenu li,
.submenu-right li {
  width: 100%;
}
.submenu-right {
  left: 100%;
  top: 0;
}
.mega-menu {
  display: flex;
  gap: 30px;
  padding: 20px;
}
.mega-column h4 {
  font-size: 14px;
  margin-bottom: 10px;
  color: #0077B6;
}
.mega-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mega-column ul li a {
  display: block;
  padding: 6px 0;
  color: #333;
  text-decoration: none;
}
.mega-column ul li a:hover {
  color: #0077B6;
}

/* ===== BUTTON DAFTAR ===== */
.right-area {
  margin-left: 20px;
}
.btn-daftar {
  font-family: 'Poppins', sans-serif;
  background-color: #FFA500;
  color: #ffffff;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(255, 165, 0, 0.3);
  text-decoration: none;
  position: relative;
}
.btn-daftar::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 10%;
  width: 80%;
  height: 3px;
  background-color: #FFD580;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.btn-daftar:hover::after {
  transform: scaleX(1);
}
.btn-daftar:hover {
  background-color: #ffb733;
  color: #fff;
  border-color: #ffb733;
}

/* === PRODI === */

.program-card {
    background-color: #fff;
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: scale(1.02);
}

.jenjang-box {
    width: 150px;
    background: linear-gradient(135deg, #016123, #00d86c);
    padding: 20px;
    text-align: center;
    position: relative;
    flex-shrink: 0;
}

.icon-background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.08; /* transparansi icon */
    transform: translate(-50%, -50%);
    z-index: 1;
}

.jenjang-overlay {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.jenjang-text {
    font-size: 48px;
    font-weight: 800;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    letter-spacing: 2px;
}

.icon-wrapper img.prodi-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 0 2px rgba(0, 0, 0, 0.4));
}

/* === SLIDER CUSTOM STYLE === */
.slider-item {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 60px;
    color: #fff;
}

.slider-overlay {
    position: absolute;
    top: 0; left: 0;
    right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.slider-caption {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.85);
    color: #000;
    max-width: 600px;
    padding: 30px;
    border-radius: 12px;
    transform: translateX(-100%);
    opacity: 0;
    transition: all 0.6s ease;
}

.carousel-item:hover .slider-caption {
    transform: translateX(0);
    opacity: 1;
}

.slider-pretitle {
    font-weight: bold;
    color: #0077B6;
    margin-bottom: 10px;
}

.slider-caption h3 {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.slider-caption p {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.slider-caption a.btn {
    background-color: #00B4D8;
    border: none;
    color: #fff;
    padding: 10px 25px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.slider-caption a.btn:hover {
    background-color: #0077B6;
}

/* Dot indikator */
.dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #0077B6;
}


/* ===== BAHASA SECTION ===== */
.language-switcher {
    display: block !important;
    color: #000 !important;
    font-size: 14px;
    margin-bottom: 10px;
}

.language-switcher a {
    text-decoration: none;
    margin: 0 5px;
    color: #333;
}

.language-switcher a.active-lang {
    font-weight: bold;
    color: #0077B6;
}
.topbar {
    font-size: 14px;
    background-color: #f8f9fa;
    color: #333;
}

.topbar a {
    color: #0077B6;
    margin: 0 5px;
    text-decoration: none;
}

.topbar a:hover,
.topbar a.active {
    text-decoration: underline;
    font-weight: bold;
}

.topbar-left,
.topbar-right {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
}

/* ===== Video Loop SECTION ===== */
.video-background-section {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
}

.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.youtube-background {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.video-overlay {
  position: absolute;
  bottom: 30px;
  width: 100%;
  text-align: center;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.video-wrapper:hover .video-overlay {
  opacity: 1;
}

.btn-watch-now {
  background-color: rgba(0, 123, 255, 0.85);
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 25px;
  font-size: 16px;
  transition: background-color 0.3s;
}

.btn-watch-now:hover {
  background-color: rgba(0, 86, 179, 0.95);
}


/* ===== PROGRAM STUDI SECTION ===== */
.program-studi-section {
  background-color: #f7f9fc;
  padding: 50px 20px;
}
.program-studi-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.program-studi-container .card {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.program-studi-container .card:hover {
  transform: translateY(-5px);
}
.program-studi-container .card h3 {
  color: #0077B6;
  font-size: 18px;
  margin-bottom: 10px;
}
.program-studi-container .card p {
  color: #555;
  font-size: 14px;
}

/* ===== BERITA SECTION ===== */
.berita-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.berita-section .container {
  max-width: 1200px;
  margin: auto;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: #006620;
}

.berita-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.berita-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  overflow: hidden;
  width: 100%;
  max-width: 350px;
  transition: transform 0.3s ease;
}

.berita-card:hover {
  transform: translateY(-5px);
}

.berita-img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.berita-content {
  padding: 20px;
}

.berita-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #001f54;
}

.berita-summary {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 15px;
}

.read-more {
  display: inline-block;
  font-size: 0.9rem;
  color: #0077b6;
  text-decoration: none;
  font-weight: 600;
}

.read-more:hover {
  text-decoration: underline;
}

.berita-detail {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  font-family: 'Poppins', sans-serif;
}

.berita-img-detail {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin: 20px 0;
}

.back-btn {
  display: inline-block;
  margin-top: 20px;
  color: #0077B6;
  text-decoration: none;
  font-weight: 500;
}
.back-btn:hover {
  text-decoration: underline;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav {
    font-size: 18px;
    padding: 6px 10px;
  }

  .berita-section h2 {
    font-size: 24px;
  }

  .program-studi-container,
  .berita-container {
    gap: 20px;
  }
}
/* ===== SECTION KOLABORASI & PRESTASI ===== */
.kolab-prestasi-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

.kolab-prestasi-section .container {
  max-width: 1200px;
  margin: auto;
}

.kolab-prestasi-section .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #003566;
}

.kolab-prestasi-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.item-card {
  background-color: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.item-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.item-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.item-card h3 {
  font-size: 1.1rem;
  color: #0077b6;
  margin: 16px;
}

.item-card p {
  font-size: 0.95rem;
  color: #444;
  margin: 0 16px 16px;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .kolab-prestasi-container {
    grid-template-columns: 1fr;
  }
}

.read-more-btn {
  display: inline-block;
  margin: 0 16px 20px;
  padding: 8px 16px;
  background-color: #0077B6;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.read-more-btn:hover {
  background-color: #005f8f;
}

/* ===== SECTION kerjasama ===== */
.detail-section {
  padding: 40px 20px;
}

.detail-section .container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.detail-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin: 20px 0;
}

.detail-content {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 30px;
  text-align: justify;
}

.back-link {
  display: inline-block;
  text-decoration: none;
  color: #0077B6;
  border: 1px solid #0077B6;
  padding: 10px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background-color: #0077B6;
  color: #fff;
}

/* Pastikan aturan umum untuk gambar ini ada di bagian atas file style.css Anda.
   Ini adalah safeguard agar semua gambar responsif secara default. */
img {
    max-width: 100%; /* Memastikan gambar tidak melebihi lebar kontainernya */
    height: auto;    /* Menjaga rasio aspek gambar */
    display: block;  /* Membantu menghilangkan spasi di bawah gambar */
}

/* ===== SECTION TESTIMONI ALUMNI ===== */
.testimoni-alumni-section {
    padding: 60px 20px;
    background-color: #eef4f9; /* Warna latar belakang yang sedikit berbeda */
    text-align: center;
}

.testimoni-alumni-section .container {
    max-width: 1200px;
    margin: auto;
}

.testimoni-alumni-section .section-title {
    margin-bottom: 40px;
    color: #003566;
}

.testimoni-container {
    display: grid;
    /* Membuat kolom responsif, mirip dengan kolab-prestasi-container */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px; /* Jarak antar kartu, sesuai kolab-prestasi */
    justify-content: center;
}

.testimoni-card {
    background-color: #ffffff; /* Latar belakang putih */
    border-radius: 8px; /* Sudut sedikit membulat, sesuai item-card */
    overflow: hidden; /* Penting untuk gambar yang object-fit */
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* Bayangan soft */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px; /* Padding card disesuaikan */
    display: flex;
    flex-direction: column;
    align-items: center; /* Konten di tengah secara horizontal */
    text-align: center;
}

.testimoni-card:hover {
    transform: translateY(-5px); /* Efek hover naik sedikit */
    box-shadow: 0 8px 20px rgba(0,0,0,0.1); /* Efek bayangan lebih tebal */
}

/* Gambar Alumni di dalam Kartu */
.alumni-img {
    width: 80px !important;  /* PAKSA: Lebar gambar tetap 80px */
    height: 80px !important; /* PAKSA: Tinggi gambar tetap 80px */
    border-radius: 50%; /* Membuat gambar menjadi lingkaran */
    object-fit: cover; /* Memastikan gambar mengisi area tanpa distorsi */
    margin-bottom: 15px; /* Jarak bawah dari gambar ke teks testimoni */
    border: 3px solid #0077B6; /* Border warna tema, sedikit lebih tipis dari sebelumnya */
    box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* Bayangan untuk gambar */
}

.testimoni-text {
    font-size: 0.95rem; /* Ukuran font disesuaikan agar mirip p pada item-card */
    color: #444;
    line-height: 1.5; /* Line height disesuaikan */
    margin: 0 0 10px 0; /* Margin atas, kanan, bawah, kiri. Hapus margin-bottom yang spesifik */
    font-style: italic;
    flex-grow: 1; /* Biarkan teks testimoni mengambil ruang sebanyak mungkin */
}

.alumni-name {
    font-size: 1.1rem; /* Ukuran font disesuaikan */
    font-weight: 700;
    color: #004b87;
    margin-bottom: 5px;
}

.alumni-title {
    font-size: 0.85rem; /* Ukuran font disesuaikan */
    color: #777;
    margin-bottom: 15px; /* Tambahkan margin bawah untuk memisahkan dari read more */
}

/* Tombol "Baca Selengkapnya" untuk Testimoni Alumni */
.testimoni-card .read-more-btn {
    display: inline-block;
    margin-top: auto; /* Mendorong tombol ke bawah jika flex-direction column */
    padding: 8px 16px;
    background-color: #0077B6;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.testimoni-card .read-more-btn:hover {
    background-color: #005f8f;
}


/* Responsif untuk testimoni */
@media (max-width: 768px) {
    .testimoni-container {
        grid-template-columns: 1fr; /* Satu kolom di layar kecil */
    }
    .testimoni-card {
        padding: 15px; /* Kurangi padding kartu di layar kecil */
    }
    .alumni-img {
        width: 70px !important;
        height: 70px !important;
    }
}

/* ===== SECTION VIDEO LATAR BELAKANG ===== */
.video-background-section {
    position: relative;
    width: 100%;
    /* Menggunakan tinggi viewport yang lebih umum, atau bisa juga tinggi tetap */
    height: 60vh; /* Contoh: Mengambil 60% dari tinggi viewport */
    /* Jika ingin tinggi tetap, contoh: height: 400px; */
    overflow: hidden; /* Penting: Pastikan video tidak meluap keluar dari section ini */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff; /* Warna teks di atas video */
    text-align: center;
}

/* ===== SECTION VIDEO LATAR BELAKANG ===== */
.video-background-section {
    position: relative;
    width: 100%;
    /* Mengurangi tinggi section untuk memperkecil area total,
       sehingga video (yang object-fit: contain) akan mengisi lebih banyak dari tinggi yang tersedia. */
    /* Coba mulai dengan 56.25% untuk rasio 16:9 agar video mengisi lebar penuh dan tinggi proporsional */
    /* Jika ini masih menghasilkan bar hitam di samping, mungkin video Anda tidak 16:9 */
    /* Sesuaikan nilai 'vh' (viewport height) ini */
    height: 80vh; /* Nilai awal yang cukup baik, bisa diatur lebih rendah atau lebih tinggi */
    overflow: hidden; /* Penting: Pastikan video tidak meluap */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    background-color: #fff; /* Latar belakang hitam jika ada bar */
    margin-bottom: 45px;
}

.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Pastikan wrapper mengambil seluruh tinggi section */
    z-index: 1;
    margin: 0;
    padding: 0;
    background-color: #fff; /* Latar belakang hitam untuk bar */
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    /* object-fit: contain; akan memastikan video tidak terpotong */
    object-fit: contain; /* Ini tetap harus 'contain' jika ingin video tidak terpotong */
    object-position: center; /* Pusatkan video di dalam area */
    display: block; /* Menghilangkan spasi ekstra */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Lapisan gelap transparan */
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-content {
    z-index: 3;
    max-width: 800px;
    padding: 20px;
}

.overlay-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.overlay-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.btn-watch-now {
    display: inline-block;
    background-color: #0077B6;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-watch-now:hover {
    background-color: #005f8f;
}

/* Responsif untuk video background */
@media (max-width: 768px) {
    .video-background-section {
        height: 50vh; /* Tinggi lebih pendek di mobile */
    }
    .overlay-content h1 {
        font-size: 2rem;
    }
    .overlay-content p {
        font-size: 1rem;
    }
    .btn-watch-now {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* ===== SECTION BANNER PANGGILAN AKSI (CTA) ===== */
.cta-banner-section {
    position: relative; /* Penting agar overlay bisa diposisikan relatif terhadap ini */
    padding: 60px 20px;
    text-align: center;
    color: #fff;
    /* Hapus background-color yang lama */
    /* background-color: #003566; */

    /* Tambahkan background image */
    background-image: url('../img/banner.jpg'); /* Ganti dengan path gambar Anda */
    background-size: cover; /* Membuat gambar menutupi seluruh area banner, bisa terpotong */
    background-repeat: no-repeat; /* Agar gambar tidak diulang */
    background-position: center; /* Agar gambar diposisikan di tengah */
}

.cta-banner-section .container {
    max-width: 900px;
    margin: auto;
    position: relative; /* Agar konten berada di atas background */
    z-index: 10; /* Pastikan teks dan tombol berada di atas background */
}

.cta-banner-section h2 {
    font-size: 1.8rem; /* Ukuran font judul */
    margin-bottom: 30px;
    line-height: 1.4;
}

.cta-banner-section .btn-cta {
    display: inline-block;
    background-color: transparent; /* Latar belakang transparan */
    color: #fff;
    border: 2px solid #fff; /* Border putih */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Anda mungkin perlu menambahkan sedikit overlay agar teks lebih mudah dibaca */
.cta-banner-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Contoh overlay gelap, sesuaikan opacity sesuai kebutuhan */
    z-index: 1; /* Di bawah konten container */
}

.cta-banner-section .btn-cta:hover {
    background-color: #0077B6; /* Warna latar belakang saat hover */
    border-color: #0077B6; /* Warna border saat hover */
    color: #fff;
}

/* Responsif untuk CTA Banner */
@media (max-width: 768px) {
    .cta-banner-section h2 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    .cta-banner-section .btn-cta {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

/* ===== SECTION JURUSAN / UNIT ===== */
.jurusan-unit-section {
    padding: 60px 20px;
    background-color: #f9f9f9; /* Latar belakang abu-abu muda */
    text-align: center;
}

.jurusan-unit-section .container {
    max-width: 1200px; /* Lebar maksimum konten */
    margin: auto;
}

.jurusan-unit-section .section-title {
    font-size: 2.2rem;
    color: #003566; /* Warna biru gelap */
    margin-bottom: 20px;
    text-align: center;
}

.jurusan-unit-section .section-description {
    font-size: 1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 50px auto; /* Margin bawah lebih besar */
    line-height: 1.6;
}

.cards-container {
    display: grid; /* Menggunakan Grid untuk tata letak kartu */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Kolom responsif */
    gap: 30px; /* Jarak antar kartu */
    justify-content: center; /* Pusatkan kartu jika tidak mengisi penuh lebar */
}

.unit-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Bayangan lebih halus */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column; /* Konten diatur secara vertikal */
    align-items: center; /* Pusatkan konten horizontal */
    text-align: center;
}

.unit-card:hover {
    transform: translateY(-8px); /* Efek naik saat hover */
    box-shadow: 0 8px 25px rgba(0,0,0,0.15); /* Bayangan lebih kuat saat hover */
}

.unit-card .icon-wrapper {
    width: 80px; /* Ukuran wadah ikon */
    height: 80px;
    background-color: #e0f2f7; /* Warna latar belakang ikon */
    border-radius: 50%; /* Bentuk lingkaran */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px; /* Jarak antara ikon dan judul */
}

.unit-card .icon-wrapper img {
    width: 50px; /* Ukuran ikon di dalam lingkaran */
    height: 50px;
    object-fit: contain;
}

.unit-card h3 {
    font-size: 1.4rem;
    color: #004b87; /* Warna biru lebih gelap untuk judul kartu */
    margin-bottom: 10px;
}

.unit-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1; /* Agar deskripsi mengisi ruang yang tersedia */
}

.unit-card .read-more-link {
    display: inline-block;
    color: #0077B6; /* Warna biru untuk link */
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.unit-card .read-more-link:hover {
    color: #005f8f; /* Warna biru lebih gelap saat hover */
    text-decoration: underline; /* Garis bawah saat hover */
}

/* Responsif untuk Jurusan/Unit Section */
@media (max-width: 768px) {
    .jurusan-unit-section .section-title {
        font-size: 1.8rem;
    }
    .jurusan-unit-section .section-description {
        margin-bottom: 30px;
    }
    .cards-container {
        grid-template-columns: 1fr; /* Satu kolom di layar kecil */
    }
    .unit-card {
        padding: 25px;
    }
}