/* ==========================================
   SCROLLBAR & UTILITIES
   ========================================== */
.pengumuman-scroll-area {
  height: 350px;
  overflow-y: auto;
  padding-right: 8px;
}

.pengumuman-scroll-area-mobile {
  max-height: 300px;
  overflow-y: auto;
  padding-right: 5px;
}

.pengumuman-scroll-area::-webkit-scrollbar,
.pengumuman-scroll-area-mobile::-webkit-scrollbar {
  width: 5px;
}

.pengumuman-scroll-area::-webkit-scrollbar-track,
.pengumuman-scroll-area-mobile::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.pengumuman-scroll-area::-webkit-scrollbar-thumb,
.pengumuman-scroll-area-mobile::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}

.pengumuman-scroll-area::-webkit-scrollbar-thumb:hover,
.pengumuman-scroll-area-mobile::-webkit-scrollbar-thumb:hover {
  background: #eab676; /* Disamakan dengan aksen ICPI */
}

.hover-link-title {
  transition: color 0.2s ease;
}
.hover-link-title:hover {
  color: #eab676 !important;
}

.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kegiatan-card-horizontal {
  border-left: 5px solid #f7931e !important;
}

#kegiatanCarouselDesktop {
  height: 450px; /* Disesuaikan agar pas dengan gambar */
}

/* ==========================================
   HERO SECTION (RESPONSIVE)
   ========================================== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh; /* Default Mobile: Full Screen */
  display: flex;
  align-items: center;
  background-image: url("../../img/bandung.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Tinggi khusus untuk layar desktop */
@media (min-width: 992px) {
  .hero-section {
    min-height: 650px; 
  }
}

/* OVERLAY & GRADIENT JALUR GANDA */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 25, 30, 0.85) 0%, rgba(30, 35, 40, 0.7) 40%, rgba(10, 45, 80, 0.4) 100%);
  z-index: 1;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), transparent 50%, rgba(0, 0, 0, 0.2));
  z-index: 1;
}

/* KONTEN HERO */
.hero-container {
  position: relative;
  z-index: 2;
}

.hero-title {
  color: #fbbf24 !important; /* Warna kuning emas elegan */
  letter-spacing: 1px;
  line-height: 1.2;
}

.hero-tagline {
  font-size: clamp(16px, 1.8vw, 22px);
  letter-spacing: 2px;
}

/* TOMBOL HERO */
.btn-hero {
  min-height: 50px;
  border: none;
}

.btn-primary-custom {
  color: #ffffff !important;
  background: #eab676;
  box-shadow: 0 6px 15px rgba(234, 182, 118, 0.3);
}

.btn-primary-custom:hover {
  background: #d4a260;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(234, 182, 118, 0.5);
}

.btn-white-custom {
  color: #064785 !important;
  background: #ffffff;
  border: 1px solid #ffffff;
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.1);
}

.btn-white-custom:hover {
  background: #e5e7eb;
  transform: translateY(-3px);
}

/* ==========================================
   HIGHLIGHT SLIDER (DEWAN PIMPINAN)
   ========================================== */
.highlight-slider {
  position: relative;
  max-width: 1300px;
  margin: auto;
}

/* KONTEN DESKTOP */
.highlight-content {
  display: flex;
  align-items: center;
  gap: 25px;
  max-width: 1160px;
  min-height: 255px;
  margin: auto;
}

.highlight-photo {
  width: 190px;
  height: 255px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 10px;
}

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

.highlight-info {
  min-height: 190px;
  flex: 1;
  padding: 25px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.highlight-info h3 {
  color: #f7931e;
  font-family: Georgia, serif;
  font-size: 27px;
  margin: 0 0 2px;
}

.highlight-position {
  color: #aaa;
  font-family: Georgia, serif;
  font-size: 16px;
  margin-bottom: 15px;
}

.highlight-info p {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.55;
  max-width: 900px;
  margin-bottom: 17px;
}

.btn-highlight {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  background: #eab676;
  color: #ffffff !important;
  padding: 12px 22px;
  border-radius: 14px;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-highlight:hover {
  background: #d4a260;
  transform: translateY(-2px);
}

/* PANAH NAVIGASI DEWAN PIMPINAN */
.highlight-prev,
.highlight-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #d89000;
  font-size: 60px;
  font-weight: 200;
  line-height: 1;
  z-index: 5;
  transition: all 0.3s ease;
}

.highlight-prev { left: -65px; }
.highlight-next { right: -65px; }

.highlight-prev:hover,
.highlight-next:hover {
  color: #ffad00;
  transform: translateY(-50%) scale(1.15);
}

/* KONTEN MOBILE DEWAN PIMPINAN */
.highlight-mobile-card {
  max-width: 320px;
  margin: 0 auto;
  background: #202020;
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.highlight-mobile-card > img {
  width: 100% !important;
  height: auto !important;
  max-height: 380px;
  object-fit: contain !important;
  background: #1a1a1a;
  display: block;
}

.highlight-mobile-info {
  padding: 25px 20px;
  color: #ffffff;
}

.highlight-mobile-info h4 {
  color: #f7931e;
  font-family: Georgia, serif;
  font-size: 22px;
  margin-bottom: 5px;
}

.mobile-arrow {
  top: auto;
  bottom: -20px;
  font-size: 45px;
}
.highlight-prev.mobile-arrow { left: 20%; }
.highlight-next.mobile-arrow { right: 20%; }

/* ==========================================
   MAKSUD & TUJUAN (PURPOSE CARD)
   ========================================== */
.purpose-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.purpose-icon-box {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.purpose-text {
  font-size: 14px;
  font-weight: 500;
  color: #2b2b2b;
  line-height: 1.6;
  text-align: left;
}

.purpose-card:hover {
  transform: translateY(-3px);
  border-color: #f7931e;
  box-shadow: 0 10px 20px rgba(247, 147, 30, 0.08);
}

.purpose-card:hover .purpose-icon-box {
  transform: scale(1.1);
}

/* Background Ikon Halus */
.bg-success-light { background-color: rgba(40, 167, 69, 0.08); }
.bg-primary-light { background-color: rgba(13, 110, 253, 0.08); }
.bg-warning-light { background-color: rgba(255, 193, 7, 0.08); }
.bg-danger-light { background-color: rgba(220, 53, 69, 0.08); }
.bg-info-light { background-color: rgba(13, 202, 240, 0.08); }

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 1400px) {
  .highlight-prev { left: 5px; }
  .highlight-next { right: 5px; }
  .highlight-content { max-width: 1000px; }
}

@media (max-width: 991px) {
  .highlight-partner-section { padding: 50px 0; }
}

@media (max-width: 768px) {
  .purpose-card {
    flex-direction: column; /* Mengubah card ke bawah di HP */
    text-align: center;
    padding: 20px 15px;
  }
  .purpose-text { text-align: center; }
}

@media (max-width: 576px) {
  .highlight-mobile-card > img {
    max-height: 300px; 
  }
}
