/* BERITA */
/* Hindari panah ganda di tombol Summernote */
/* Contoh variabel warna (kalau kamu sudah define di :root) */

:root {
  --bs-primary: #029191;
  /* hijau tua */
  --bs-secondary: #548968;
  /* hijau abu-abu */
  --bs-success: #88af99;
  /* hijau sedang */
  --bs-white: #f9fbfa;
  /* putih sangat terang */
  --bs-gray-dark: #029191;
  /* hijau tua sebagai abu gelap */
  --bs-gray-light: #c3d6cd;
  /* hijau pucat sebagai abu terang */
  --bs-gray-medium: #548968;
  /* hijau abu-abu medium */
  --bs-gray-soft: #f9fbfa;
  /* putih sangat terang sebagai abu soft */
}

.td-ellipsis {
  max-width: 140px;
  /* otomatis diubah sesuai kebutuhan */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  /* penting untuk membuat ellipsis bekerja */
}

@media (max-width: 576px) {
  .td-ellipsis {
    max-width: 110px;
    /* lebih kecil saat layar HP */
  }
}

.course-item {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.course-item img {
  height: 300px;
  /* samakan tinggi gambar */
  object-fit: cover;
  width: 100%;
}

.course-item .text-center {
  flex-grow: 1;
  /* isi teks ikut menyesuaikan tinggi */
}

.team-item-fixed {
  display: flex;
  flex-direction: column;
  height: 100%;
  /* tinggi sama untuk semua card */
}

.team-item-fixed .team-info {
  padding: 20px;
  text-align: center;
  flex-grow: 1;
  /* isi bawah menyesuaikan ruang */
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* teks tetap centering */
}

.carousel-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .carousel-img {
    height: 240px;
  }
}

/* BREAK TEXT */
.breakable-text {
  white-space: normal !important;
  word-break: break-word !important;
}

/* NOTE EDITOR */
.note-editor .note-btn.dropdown-toggle::after {
  display: none !important;
}

/* FOTO SEJARAH SEKOLAH */
.image-wrapper {
  width: 100%;
  position: relative;
  padding-top: 56.25%;
  /* 16:9 */
  overflow: hidden;
  border-radius: 10px;
}

.image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.paragraph-with-photo {
  position: relative;
  overflow: hidden;
}

/* Gambar menggantikan huruf awal */
.inline-photo-kepsek {
  float: left;
  width: 560px;
  height: auto;
  margin-right: 20px;
  margin-bottom: 10px;
  border-radius: 3px;
  object-fit: cover;
}

/* .inline-photo-kepsek {
    max-width: 220px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
} */

@media (max-width: 768px) {
  .inline-photo-kepsek {
    max-width: 350px;
    margin-bottom: 15px;
  }

  .text-justify {
    text-align: justify;
  }
}

.inline-photo {
  float: left;
  width: 450px;
  /* Ukuran lebih besar */
  height: auto;
  margin-right: 20px;
  margin-bottom: 10px;
  border-radius: 3px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .inline-photo {
    width: 100%;
    float: none;
    margin-right: 0;
    margin-bottom: 15px;
    display: block;
  }
}

/* HEADER BERITA */
.header-berita {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  gap: 15px;
}

.header-berita h2 {
  margin: 0;
  font-size: 24px;
  color: var(--bs-gray-dark);
}

.berita-aksi-header {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* Seragamkan ukuran tombol */
.btn-berita-aksi {
  display: inline-flex;
  align-items: center;
  height: 37px;
  padding: 0 19px;
  background-color: var(--bs-primary);
  color: var(--bs-white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-berita-aksi:hover {
  background-color: #006877;
  /* versi lebih gelap dari var(--bs-primary) */
}

/* Dropdown Filter */
.dropdown-filter-berita {
  position: relative;
}

.dropdown-filter-berita .opsi-filter {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  background: var(--bs-white);
  border: 1px solid var(--bs-gray-light);
  padding: 5px 0;
  list-style: none;
  z-index: 999;
  min-width: 120px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-filter-berita:hover .opsi-filter {
  display: block;
}

.dropdown-filter-berita .opsi-filter li {
  padding: 5px 15px;
}

.dropdown-filter-berita .opsi-filter li a {
  text-decoration: none;
  color: var(--bs-gray-dark);
  display: block;
}

.dropdown-filter-berita .opsi-filter li:hover {
  background-color: var(--bs-gray-soft);
}

/* Input Pencarian */
.pencarian-berita .input-cari {
  height: 38px;
  padding: 0 10px;
  width: 200px;
  border: 1px solid var(--bs-gray-light);
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
}

.pencarian-berita .input-cari:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 3px rgba(0, 135, 165, 0.25);
}

/* SARANA PRASARANA */
.body-saranaprasarana {
  background-color: var(--bs-white);
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.sarana-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 70px;
}

.sarana-title {
  flex-shrink: 0;
  width: 200px;
}

.sarana-title h1 {
  font-size: 32px;
  font-weight: bold;
  color: var(--bs-gray-dark);
}

@media (max-width: 576px) {
  .sarana-title h1 {
    font-size: 24px;
  }
}

.sarana-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 1rem 0;
}

.sarana-card {
  min-width: 270px;
  flex-shrink: 0;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sarana-card .card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-height: 140px;
}

.sarana-card:hover {
  transform: scale(1.03);
}

.sarana-card h3 {
  font-size: 18px;
  margin-top: 10px;
  font-weight: bold;
  color: var(--bs-gray-dark);
}

.sarana-card p {
  font-size: 14px;
  color: var(--bs-gray-medium);
}

.sarana-card img,
.card-img-top {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
}

.swiper {
  padding: 0 20px 48px;
}

.swiper-wrapper {
  display: flex;
  align-items: stretch;
}

@media (max-width: 576px) {
  .swiper {
    padding: 0 20px 32px;
  }

  .sarana-card h3 {
    font-size: 16px;
  }

  .sarana-card p {
    font-size: 13px;
  }
}

/* SISWA DITERIMA */
#profile {
  background: var(--bs-white);
  border-radius: 15px;
  transition: all 0.3s ease-in-out;
  padding: 20px;
}

.avatar {
  width: 150px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid var(--bs-secondary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.avatar img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.profile-name {
  font-size: 1.5rem;
  color: var(--bs-gray-dark);
  font-weight: 700;
}

.profile-id {
  color: #7f8c8d;
  font-size: 0.95rem;
  font-weight: 500;
}

.status-badge {
  font-size: 0.85rem;
  padding: 14px 25px;
  border-radius: 25px;
  background: linear-gradient(90deg, var(--bs-success), #007e33);
  color: var(--bs-white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin-right: 35px;
}

.status-badge i {
  margin-right: 10px;
}

.header-siswa {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.header-siswa h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--bs-gray-dark);
  font-family: apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.aksi-header {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.pencarian-siswa {
  width: 270px;
}

.input-cari {
  width: 100%;
  padding: 0.5rem 1rem;
  border: 2px solid var(--bs-gray-light);
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
}

.input-cari:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 3px rgba(0, 135, 165, 0.25);
}

.tombol-filter {
  background-color: var(--bs-secondary);
  color: var(--bs-white);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.tombol-filter:hover {
  background-color: #d35400;
  /* versi lebih gelap dari var(--bs-secondary) */
}

.dropdown-filter {
  position: relative;
}

.opsi-filter {
  display: none;
  position: absolute;
  top: 110%;
  right: 0;
  background-color: var(--bs-white);
  border: 1px solid var(--bs-gray-light);
  border-radius: 8px;
  padding: 0.5rem 0;
  list-style: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 160px;
  z-index: 10;
}

.opsi-filter li {
  padding: 0.5rem 1rem;
}

.opsi-filter li a {
  text-decoration: none;
  color: var(--bs-gray-dark);
  display: block;
}

.opsi-filter li:hover {
  background-color: var(--bs-gray-soft);
}

.dropdown-filter:hover .opsi-filter {
  display: block;
}

.daftar-siswa {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.kartu-diterima {
  background-color: var(--bs-white);
  border-radius: 16px;
  padding: 1.5rem;
  width: 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.2s ease;
  position: relative;
}

.kartu-diterima:hover {
  transform: translateY(-4px);
}

.ikon-wrapper {
  position: absolute;
  top: 12px;
  right: 12px;
}

.ikon-menu {
  font-size: 1.3rem;
  cursor: pointer;
  color: #6b7280;
  background: transparent;
  border: none;
}

.menu-aksi {
  position: absolute;
  top: 21px;
  right: 0;
  background-color: var(--bs-white);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  display: none;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 10;
  width: 120px;
}

.menu-aksi li a {
  display: block;
  padding: 0.1rem 0.8rem;
  text-decoration: none;
  color: #24272c;
  font-size: 0.9rem;
  text-align: left;
}

.menu-aksi li a:hover {
  background-color: var(--bs-gray-soft);
}

.foto-profil {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--bs-secondary);
  margin: 0 auto 1rem;
}

.foto-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nama-siswa {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--bs-gray-dark);
}

.no-pendaftaran {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 1.2rem;
}

.tabel-info-siswa {
  width: 100%;
  font-size: 0.95rem;
  border-collapse: collapse;
}

.tabel-info-siswa td {
  padding: 6px 8px;
  vertical-align: top;
  color: #374151;
}

.tabel-info-siswa td:first-child {
  width: 40%;
  font-weight: 600;
  color: #1f2937;
  white-space: nowrap;
}

.tabel-info-siswa td:nth-child(2) {
  width: 10px;
  font-weight: bold;
  text-align: center;
}

.tabel-info-siswa i {
  color: #3b82f6;
  margin-right: 6px;
  width: 18px;
  text-align: center;
}

.info-siswa {
  text-align: left;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #374151;
  padding: 0 0.3rem;
}

.info-siswa p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.info-siswa i {
  color: #3b82f6;
  width: 20px;
  text-align: center;
}

.info-siswa span {
  font-weight: 600;
  min-width: 120px;
}

.email-siswa,
.telepon-siswa {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: var(--bs-gray-medium);
}

/* .email-siswa::before {
    content: '';
    margin-right: 0.4rem;
}

.telepon-siswa::before {
    content: '📞';
    margin-right: 0.4rem;
} */

/* END OF SISWA DITERIMA */
.step-circle {
  width: 32px;
  height: 32px;
  background-color: #f0f0f0;
  color: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: bold;
}

.hover-bg:hover {
  background-color: #f8f9fa;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.nav-link.active .step-circle {
  background-color: #198754;
  /* Bootstrap success */
  color: #fff;
}

/* .modal-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;  
    padding: 0;   
}

.modal-body iframe,
.modal-body img {
    max-width: 100%;
    max-height: 500px;   
    object-fit: contain;    
} */

.kursus-card {
  border-radius: 15px;
  padding: 20px;
  color: white;
  margin-bottom: 20px;
}
.kursus-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

.purple {
  background: #7c4dff;
}

.orange {
  background: #ff7043;
}

.green {
  background: #43a047;
}

.dark-purple {
  background: #512da8;
}

/* .kursus-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
} */

/* .kursus-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
} */

@media (max-width: 576px) {
  .kursus-image {
    width: 70px;
    height: 70px;
  }
}

/* Card Gelombang PPDB */
.gelombang-body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  /* background: #F8FAFC; */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
}

.gelombang-container {
  max-width: 90%;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gelombang-card {
  background: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.gelombang-card .gelombang-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.gelombang-number {
  text-align: center;
}

.gelombang-number span {
  display: block;
  font-size: 14px;
  color: #999;
}

.gelombang-number h2 {
  margin: 0;
  font-size: 32px;
  color: #555;
}

.gelombang-bar {
  width: 10px;
  height: 70px;
  border-radius: 20px;
  background: linear-gradient(to bottom, #aaa, #eee);
}

.gelombang-content {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.gelombang-content i {
  font-size: 28px;
  color: #999;
}

.gelombang-text {
  font-size: 14px;
  color: #666;
  margin-left: 20px;
}

.gelombang-text strong {
  display: block;
  font-size: 16px;
  margin-bottom: 7px;
}

/* Color themes per card */
.gelombang-card:nth-child(1) .gelombang-bar {
  background: linear-gradient(to bottom, #c720d3, #7d00e2);
}

.gelombang-card:nth-child(2) .gelombang-bar {
  background: linear-gradient(to bottom, #2acfb9, #00a5a5);
}

.gelombang-card:nth-child(3) .gelombang-bar {
  background: linear-gradient(to bottom, #ffb347, #ff6f00);
}

.gelombang-card:nth-child(4) .gelombang-bar {
  background: linear-gradient(to bottom, #ff5f6d, #d70000);
}

.gelombang-card:nth-child(1) .gelombang-text strong {
  color: #8e44ad;
}

.gelombang-card:nth-child(2) .gelombang-text strong {
  color: #00a5a5;
}

.gelombang-card:nth-child(3) .gelombang-text strong {
  color: #e67e22;
}

.gelombang-card:nth-child(4) .gelombang-text strong {
  color: #c0392b;
}

@media (max-width: 576px) {
  .gelombang-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .gelombang-card .gelombang-left {
    flex-direction: column;
    gap: 10px;
  }

  .gelombang-content {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .gelombang-text {
    margin-left: 0;
  }
}

/* End of Card Gelombang PPDB */

/* Timeline */
.timeline {
  padding: 2rem 1rem;
  text-align: center;
}

.timeline-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #029191;
  /* dari #1a237e jadi hijau tua */
}

.timeline-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;

  align-items: stretch;
  /* ⬅️ Bikin semua card sama tinggi */
}

.timeline-step {
  background: #c8f0dc;
  /* putih sangat terang */
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(42, 237, 94, 0.1);
  /* hijau tua shadow */
  padding: 1.5rem;
  width: 250px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  flex: 1;
  /* ⬅️ Bantu agar tinggi mengikuti card paling tinggi */
  min-height: 260px;
  /* (Opsional) Biar konsisten */
}

.timeline-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(46, 103, 61, 0.15);
  /* hover shadow */
}

.timeline-step h3 {
  font-size: 1.2rem;
  color: #548968;
  /* hijau abu-abu */
  margin-bottom: 0.5rem;
}

.timeline-step p {
  font-size: 0.95rem;
  color: #548968;
  /* ganti dari abu ke hijau abu */
}

.timeline-step .date,
.timeline-step .badge {
  margin-top: auto;
  /* dorong ke paling bawah */
}

.badge {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
  background: #88af99;
  /* hijau sedang */
  color: white;
  border-radius: 12px;
}

.active .badge {
  background-color: #029191;
  /* hijau tua */
}

/* Responsif Mobile */
@media (max-width: 768px) {
  .timeline-container {
    flex-direction: column;
    align-items: center;
  }
}

/* End of Timeline */

.required-label::after {
  content: " *";
  color: red;
  font-weight: bold;
}

.is-invalid {
  border: 2px solid red !important;
  background-color: #ffe6e6;
}

.form-control-color {
  width: 100%;
  height: 40px;
  padding: 3px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.step-indicator {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}

.step-indicator .step {
  padding: 10px 15px;
  border-radius: 7px;
  background-color: #f9fbfa;
  /* ganti dari #e9ecef */
  color: #88af99;
  /* ganti dari #6c757d */
  font-weight: bold;
  transition: all 0.3s;
}

.step-indicator .step.active {
  background-color: #029191;
  /* ganti dari #0d6efd */
  color: #f9fbfa;
  /* ganti dari #fff */
}

.step-content {
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* .step-indicator .step {
    padding: 10px 20px;
    background: #e0e0e0;
    border-radius: 5px;
    font-weight: bold;
}

.step-indicator .step.active {
    background: #007bff;
    color: #fff;
} */
/* Container untuk step wizard */
.wizard-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

/* Judul step */
.wizard-card h5 {
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Field (input/select/textarea) */
.wizard-card .form-control,
.wizard-card .form-select {
  border-radius: 0.5rem;
  box-shadow: none;
  border: 1px solid #ced4da;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.wizard-card .form-control:focus,
.wizard-card .form-select:focus {
  border-color: #5e72e4;
  box-shadow: 0 0 0 0.2rem rgba(94, 114, 228, 0.25);
}

/* Tombol navigasi */
.wizard-navigation {
  display: flex;
  justify-content: space-between;
}

.wizard-navigation .next-step {
  margin-left: auto;
  /* Mendorong tombol ke kanan */
}

.wizard-navigation .prev-step {
  display: none;
  /* Sembunyikan tombol "Sebelumnya" pada langkah awal */
}

.wizard-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

.wizard-navigation-pres {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

.wizard-navigation-pres .btn {
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
}

.wizard-navigation .btn {
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
}

.wizard-navigation .btn i {
  vertical-align: middle;
}

/* Tombol variasi */
.btn-outline-secondary {
  border-color: #c3d6cd;
  color: #c3d6cd;
}

.btn-outline-secondary:hover {
  background-color: #c3d6cd;
  color: #029191;
}

.btn-primary {
  background-color: #029191;
  border-color: #029191;
  color: #f9fbfa;
}

.btn-primary:hover {
  background-color: #245332;
  /* versi lebih gelap untuk efek hover */
  border-color: #245332;
  color: #f9fbfa;
}

/* Responsive tweaks */
@media (max-width: 576px) {
  .wizard-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .wizard-navigation .btn {
    width: 100%;
  }

  #profile {
    padding: 15px;
    text-align: center;
  }

  .avatar {
    width: 120px;
    height: 160px;
    margin: 0 auto;
  }

  .profile-name {
    font-size: 1.2rem;
  }

  .status-badge {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.8rem;
    padding: 10px 20px;
  }
}

/* Mobile default: sidebar sembunyi */
@media (max-width: 991.98px) {
  #sidenav-main {
    transform: translateX(-100%) !important;
    transition: transform 0.3s ease-in-out;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 260px;
    background: #fff;
    z-index: 1030;
  }

  #sidenav-main.active {
    transform: translateX(0) !important;
  }

  #sidenav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1020;
  }

  #sidenav-overlay.show {
    display: block;
  }
}

@media (max-width: 576px) {

  .carousel-caption-custom h1,
  .carousel-caption-custom h5,
  .carousel-caption-custom p {
    font-size: 0.9rem !important;
  }

  .carousel-caption-custom h1 {
    font-size: 1.2rem !important;
  }

  .carousel-caption-custom h5 {
    font-size: 1rem !important;
  }

  .carousel-caption-custom p {
    font-size: 0.9rem !important;
  }
}

/* @keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
} */