/* ===== FONTS ===== */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f6fa;
}

/* ===== HEADER ===== */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 8px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ===== TOPBAR ===== */
.topbar {
  font-size: 13px;
  background-color: #0d1b4c;
  color: #ccc;
  padding: 6px 0;
  border-bottom: none;
}

.topbar a {
  color: #e0c96e;
  margin: 0 5px;
  text-decoration: none;
  font-weight: 500;
}

.topbar a:hover,
.topbar a.active {
  text-decoration: underline;
  color: #ffd700;
}

.topbar .btn-outline-primary {
  color: #e0c96e;
  border-color: #e0c96e;
  font-size: 12px;
}

.topbar .btn-outline-primary:hover {
  background-color: #e0c96e;
  color: #0d1b4c;
}

.topbar-btn-login {
  color: #e0c96e !important;
  border: 1px solid #e0c96e !important;
  font-size: 12px;
}

.topbar-btn-login:hover {
  background-color: #e0c96e !important;
  color: #0d1b4c !important;
}

.topbar-link {
  color: #ccc !important;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.topbar-link:hover {
  color: #e0c96e !important;
}

.topbar-left,
.topbar-right {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  align-items: center;
}

/* ===== HERO REDESIGN ===== */
.hero-redesign {
  position: relative;
  overflow: hidden;
}

.hero-redesign .slider-item {
  height: 550px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-redesign .slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(13, 27, 76, 0.75) 0%, rgba(0, 75, 180, 0.55) 100%);
  z-index: 1;
}

.hero-title-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  pointer-events: auto;
}

.hero-logo {
  height: 80px;
  margin-bottom: 15px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.hero-main-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 2px 3px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 8px;
  line-height: 1.2;
}

.hero-highlight {
  color: #e0c96e;
}

.hero-arabic {
  font-size: 1.6rem;
  color: #e0c96e;
  margin-bottom: 20px;
  text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.3);
  direction: rtl;
}

.btn-hero-welcome {
  background: linear-gradient(135deg, #e0c96e, #c4a74a);
  color: #0d1b4c;
  padding: 12px 35px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(224, 201, 110, 0.4);
  text-decoration: none;
  display: inline-block;
}

.btn-hero-welcome:hover {
  background: linear-gradient(135deg, #c4a74a, #a88f3d);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 201, 110, 0.5);
  color: #0d1b4c;
}

.hero-redesign .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid #fff;
}

.hero-redesign .carousel-indicators button.active {
  background-color: #e0c96e;
  border-color: #e0c96e;
}

/* ===== SECTION TITLES ===== */
.section-title-new {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #0d1b4c;
  margin-bottom: 10px;
  position: relative;
}

.section-title-new::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #004bb4, #e0c96e);
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: #666;
  font-size: 1rem;
  margin-bottom: 40px;
}

/* Old section title - keep for backward compat */
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: #004bb4;
}

/* ===== INFO SPLIT SECTION ===== */
.info-split-section {
  background-color: #fff;
}

.info-slider-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.info-slider-img {
  height: 350px;
  object-fit: cover;
}

.info-slider-caption {
  padding: 20px;
  background: #fff;
}

.info-slider-caption h5 {
  color: #0d1b4c;
  font-weight: 600;
  margin-bottom: 8px;
}

.info-slider-caption p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.info-right-panel {
  height: 100%;
}

.info-panel-block {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.info-panel-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0d1b4c;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 3px solid #e0c96e;
}

.info-panel-title i {
  color: #e0c96e;
  margin-right: 8px;
}

.info-scroll-list {
  max-height: 200px;
  overflow-y: auto;
}

.info-scroll-list::-webkit-scrollbar {
  width: 4px;
}

.info-scroll-list::-webkit-scrollbar-thumb {
  background: #e0c96e;
  border-radius: 4px;
}

.info-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.info-list-item:last-child {
  border-bottom: none;
}

.info-date-badge {
  min-width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #004bb4, #0094d8);
  color: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-date-badge.announcement {
  background: linear-gradient(135deg, #e0c96e, #c4a74a);
  font-size: 1.3rem;
}

.info-date-num {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

.info-date-day {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-list-text h6 {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
}

.info-list-text h6 a {
  color: inherit;
  text-decoration: none;
}

.info-list-text h6 a:hover {
  color: #004bb4;
}

.info-list-text small {
  font-size: 0.75rem;
}

/* ===== OFFER GRID (ACTIVITY PHOTOS) ===== */
.offer-grid-section {
  background: linear-gradient(180deg, #f5f6fa 0%, #eef1f8 100%);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.offer-grid-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.offer-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.offer-grid-item:hover img {
  transform: scale(1.08);
}

.offer-grid-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(13, 27, 76, 0.85));
  padding: 20px 15px 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.offer-grid-item:hover .offer-grid-overlay {
  opacity: 1;
}

.offer-grid-overlay h5 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
}

.offer-grid-item a {
  display: block;
  height: 100%;
  text-decoration: none;
}

/* ===== LEADERSHIP / SERVICE CARDS ===== */
.leadership-section {
  background-color: #fff;
}

.leadership-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.leadership-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.leadership-icon-circle {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #004bb4, #0094d8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 75, 180, 0.3);
}

.leadership-card h5 {
  font-weight: 700;
  color: #0d1b4c;
  margin-bottom: 10px;
  font-size: 1rem;
}

.leadership-card p {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ===== BLUE BRANDED SECTION ===== */
.blue-branded-section {
  background: linear-gradient(135deg, #0d1b4c 0%, #004bb4 100%);
  padding: 60px 0;
}

.featured-event-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.featured-event-card:hover {
  transform: translateY(-5px);
}

.featured-event-card img {
  height: 350px;
  object-fit: cover;
  width: 100%;
}

.featured-event-body {
  padding: 20px;
}

.featured-event-body h5 {
  color: #0d1b4c;
  font-weight: 700;
  font-size: 1.1rem;
}

.featured-event-body small {
  color: #666;
}

.hot-event-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.hot-event-card:hover {
  transform: translateY(-5px);
}

.hot-event-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.hot-event-body {
  padding: 15px;
}

.hot-event-body h6 {
  font-weight: 600;
  color: #0d1b4c;
  font-size: 0.85rem;
  margin-bottom: 5px;
}

.hot-event-body small {
  color: #888;
}

/* ===== IBAFI BANNER ===== */
.ibafi-banner-section {
  background: linear-gradient(135deg, #e0c96e 0%, #c4a74a 40%, #967b30 100%);
  padding: 50px 0;
}

.ibafi-banner-content {
  color: #fff;
}

.ibafi-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: #0d1b4c;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.ibafi-subtitle {
  color: #0d1b4c;
  font-size: 1rem;
  font-weight: 500;
}

.ibafi-cards-row {
  display: flex;
  gap: 15px;
  overflow-x: auto;
}

.ibafi-card {
  min-width: 200px;
  flex: 1;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.ibafi-card:hover {
  transform: translateY(-5px);
}

.ibafi-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.ibafi-card-body {
  padding: 12px;
}

.ibafi-card-body h6 {
  font-size: 0.8rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.3;
}

/* ===== UNIT CARDS ===== */
.unit-cards-section {
  background: linear-gradient(180deg, #f5f6fa 0%, #eef1f8 100%);
}

.unit-card-new {
  background: #fff;
  border-radius: 16px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.unit-card-new:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.unit-icon-circle {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #eef4ff, #dde8f7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 12px rgba(0, 75, 180, 0.1);
}

.unit-icon-circle img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.unit-card-new h4 {
  font-weight: 700;
  color: #0d1b4c;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.unit-card-new p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.btn-unit-link {
  color: #004bb4;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.btn-unit-link:hover {
  color: #e0c96e;
}

.btn-unit-link i {
  transition: transform 0.3s ease;
}

.btn-unit-link:hover i {
  transform: translateX(5px);
}

/* ===== PARTNERSHIPS ===== */
.partnerships-section {
  background-color: #fff;
}

.partner-logo {
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.partner-logo:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* ===== VIDEO CONFERENCE ===== */
.video-conference-section {
  background: linear-gradient(180deg, #f5f6fa 0%, #eef1f8 100%);
}

.video-thumb-card {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.video-thumb-card:hover {
  transform: translateY(-5px);
}

.video-thumb-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-thumb-card:hover img {
  transform: scale(1.05);
}

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, color 0.3s ease;
}

.video-thumb-card:hover .video-play-icon {
  transform: translate(-50%, -60%) scale(1.2);
  color: #e0c96e;
}

.video-thumb-title {
  background: linear-gradient(transparent, rgba(13, 27, 76, 0.85));
  color: #fff;
  padding: 15px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ===== CTA GOLDEN BANNER ===== */
.cta-golden-section {
  background: linear-gradient(135deg, #e0c96e 0%, #c4a74a 100%);
  padding: 60px 20px;
  text-align: center;
}

.cta-golden-section h2 {
  color: #0d1b4c;
  font-size: 1.6rem;
  font-weight: 700;
  max-width: 800px;
  margin: 0 auto 25px;
  line-height: 1.4;
}

.btn-cta-golden {
  display: inline-block;
  background-color: #0d1b4c;
  color: #e0c96e;
  border: 2px solid #0d1b4c;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-cta-golden:hover {
  background-color: transparent;
  color: #0d1b4c;
  border-color: #0d1b4c;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero-redesign .slider-item {
    height: 400px;
  }

  .hero-main-title {
    font-size: 1.8rem;
  }

  .hero-arabic {
    font-size: 1.2rem;
  }

  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ibafi-cards-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .hero-redesign .slider-item {
    height: 350px;
  }

  .hero-main-title {
    font-size: 1.4rem;
  }

  .hero-arabic {
    font-size: 1rem;
  }

  .hero-logo {
    height: 50px;
  }

  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-slider-img {
    height: 250px;
  }

  .section-title-new {
    font-size: 1.5rem;
  }

  .ibafi-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-redesign .slider-item {
    height: 280px;
  }

  .hero-main-title {
    font-size: 1.1rem;
  }

  .hero-arabic {
    font-size: 0.85rem;
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }

  .btn-hero-welcome {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
}

/* ===== KEEP EXISTING STYLES FOR OTHER PAGES ===== */

/* ribbon title */
.ribbon-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  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: 30px;
  height: 50px;
  background: #004bb4;
  transform: skewX(-20deg);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.ribbon-text {
  position: absolute;
  top: 50%;
  left: 95px;
  transform: translateY(-90%);
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

/* Dropdown */
.dropdown-menu {
  min-width: 220px !important;
  white-space: normal !important;
  word-break: break-word !important;
}

/* Button Daftar */
.btn-daftar {
  font-family: 'Poppins', sans-serif;
  background-color: #e0c96e;
  color: #0d1b4c;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(224, 201, 110, 0.3);
  text-decoration: none;
}

.btn-daftar:hover {
  background-color: #c4a74a;
  color: #fff;
}

/* Program cards */
.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, #0d1b4c, #0094d8);
  padding: 20px;
  text-align: center;
  position: relative;
  flex-shrink: 0;
}

.jenjang-overlay {
  position: relative;
  z-index: 2;
  padding: 20px;
}

/* Berita */
.berita-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.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-detail {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
}

.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: #004bb4;
  text-decoration: none;
  font-weight: 500;
}

.back-btn:hover {
  text-decoration: underline;
}

/* Detail Section */
.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: #004bb4;
  border: 1px solid #004bb4;
  padding: 10px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background-color: #004bb4;
  color: #fff;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Language Switcher */
.lang-link {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.lang-link.active,
.lang-link:hover {
  opacity: 1;
}