/* ============================================================
   MAMBAUL ULUM — front-page.css
   Styles for all homepage section classes
   ============================================================ */

/* ── BASE SECTION ─────────────────────────────────────────── */
.site-main { display: block; }

.section {
  padding: 5rem 0;
}

.section--light {
  background: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── SECTION HEADER ────────────────────────────────────────── */
.section-header { margin-bottom: 3rem; }

.section-header--center { text-align: center; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary, #037075);
  margin-bottom: 0.75rem;
  position: relative;
}

.section-header--center .section-label::before,
.section-header--center .section-label::after {
  content: '—';
  color: var(--color-gold, #C9A84C);
  margin: 0 0.4rem;
}

.section-title {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--color-navy, #0d1f2d);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-title span { color: var(--color-primary, #037075); }

.section-title--white { color: #fff; }
.section-title--white span { color: var(--color-gold, #C9A84C); }

.section-desc {
  font-size: 1rem;
  color: var(--color-text-muted, #6b7280);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.75;
}

.section-desc--white { color: rgba(255,255,255,0.75); }

.section-footer-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ── GEOMETRIC PATTERN BG ─────────────────────────────────── */
/* geo-pattern: only applies to non-hero sections — section-hero handles its own bg */
.geo-pattern:not(.section-hero) {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-body, 'Nunito Sans', sans-serif);
}

.btn-lg { padding: 14px 30px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.84rem; }

.btn-primary {
  background: #037075;
  color: #fff;
}
.btn-primary:hover {
  background: #025a5e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(3,112,117,0.35);
}

.btn-gold {
  background: #C9A84C;
  color: var(--color-navy, #0d1f2d);
}
.btn-gold:hover {
  background: #b8962e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.4);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.btn-outline-cyan {
  background: transparent;
  border-color: var(--color-primary, #037075);
  color: var(--color-primary, #037075);
}
.btn-outline-cyan:hover {
  background: #037075;
  color: #fff;
}

/* ── BADGES ────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.badge-cyan {
  background: rgba(3,112,117,0.12);
  color: var(--color-primary, #037075);
  border: 1px solid rgba(3,112,117,0.25);
}

.badge-gold {
  background: rgba(201,168,76,0.15);
  color: #9a7a20;
  border: 1px solid rgba(201,168,76,0.3);
}

/* ── HERO SECTION ─────────────────────────────────────────── */
.section-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #0d1f2d;
  background-image: linear-gradient(135deg, #0d1f2d 0%, #012e32 55%, #037075 100%);
  background-size: cover;
  background-position: center;
  /* Topbar ~36px + Navbar ~68px + WP admin bar 32px + buffer = 160px */
  padding: 160px 0 80px;
  overflow: hidden;
}

/* Without WP admin bar (logged out users) */
body:not(.admin-bar) .section-hero {
  padding-top: 130px;
}

/* When hero_image is set — override with image + overlay */
.section-hero[style] {
  background-color: #0d1f2d;
  background-image:
    linear-gradient(135deg, rgba(13,31,45,0.9) 0%, rgba(1,46,50,0.85) 100%),
    var(--hero-bg, none);
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,31,45,0.4) 0%, transparent 100%);
  pointer-events: none;
}

/* Particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  color: rgba(201,168,76,0.15);
  font-size: 1.5rem;
  animation: float-up 8s linear infinite;
}

.p1 { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.p2 { left: 25%; animation-delay: 2s; animation-duration: 10s; font-size: 1rem; }
.p3 { left: 60%; animation-delay: 4s; animation-duration: 14s; }
.p4 { left: 75%; animation-delay: 1s; animation-duration: 11s; font-size: 0.8rem; }
.p5 { left: 90%; animation-delay: 3s; animation-duration: 9s; }

@keyframes float-up {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-100px) rotate(180deg); opacity: 0; }
}

/* Hero Content Layout */
.section-hero .container {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {}

.hero-bismillah {
  margin-bottom: 1.25rem;
  animation: fadeInDown 0.6s ease both;
}

.text-arabic {
  font-family: var(--font-arabic, 'Amiri', serif);
  direction: rtl;
  font-size: 1.4rem;
  color: var(--color-gold, #C9A84C);
  line-height: 1.8;
}

.hero-title {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  animation: fadeInUp 0.7s ease 0.1s both;
}

.hero-title__location {
  display: block;
  font-size: 0.72em;
  color: var(--color-gold, #C9A84C);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.hero-tagline {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1rem;
  font-style: italic;
  animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 520px;
  animation: fadeInUp 0.7s ease 0.3s both;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  animation: fadeInUp 0.7s ease 0.4s both;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  animation: fadeInUp 0.7s ease 0.5s both;
}

.trust-item {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Hero Visual (Quran Card) */
.hero-visual {
  animation: fadeInRight 0.8s ease 0.3s both;
}

.hero-quran-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-quran-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #037075, #C9A84C);
}

.quran-verse .text-arabic {
  font-size: 2rem;
  line-height: 2;
  margin-bottom: 1rem;
}

.quran-trans {
  font-style: italic;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.quran-ref {
  font-size: 0.8rem;
  color: var(--color-primary, #037075);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.3);
  border-bottom: 2px solid rgba(255,255,255,0.3);
  transform: rotate(45deg);
  margin: 0.4rem auto 0;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── STATS SECTION ────────────────────────────────────────── */
.section-stats {
  background: #0d1f2d;
  background-image: linear-gradient(135deg, #0d1f2d 0%, #012e32 100%);
  padding: 3rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-item {
  text-align: center;
  padding: 1.75rem 1rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.stat-item:hover {
  background: rgba(3,112,117,0.12);
  transform: translateY(-4px);
  border-color: rgba(3,112,117,0.3);
}

.stat-icon {
  font-size: 2rem;
  line-height: 1;
}

.stat-number {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-gold, #C9A84C);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.02em;
}

/* ── ABOUT SECTION ────────────────────────────────────────── */
.section-about {
  padding: 5rem 0;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {}

.about-img-wrap {
  position: relative;
}

.about-main-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  display: block;
}

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #0d1f2d, #037075);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.about-img-placeholder .text-arabic {
  font-size: 2.5rem;
  color: var(--color-gold, #C9A84C);
}

.about-img-placeholder p {
  color: rgba(255,255,255,0.6);
  font-style: italic;
}

.about-badge-float {
  position: absolute;
  top: 2rem;
  left: -1.5rem;
  background: #037075;
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(3,112,117,0.4);
}

.badge-year {
  display: block;
  font-family: var(--font-display, serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.badge-label {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.85;
}

.about-mini-stats {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.mini-stat {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0,0,0,0.06);
}

.mini-stat__icon { font-size: 1.5rem; flex-shrink: 0; }

.mini-stat strong {
  display: block;
  font-size: 0.85rem;
  color: var(--color-navy, #0d1f2d);
}

.mini-stat small {
  font-size: 0.74rem;
  color: var(--color-text-muted, #6b7280);
}

/* About Content */
.about-content {}

.about-intro {
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--color-text, #1f2937);
  margin-bottom: 1rem;
}

.about-intro strong { color: var(--color-primary, #037075); }

.about-keypoints {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.about-keypoints li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text, #1f2937);
  padding: 0.65rem 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid var(--color-primary, #037075);
}

.kp-icon {
  color: var(--color-gold, #C9A84C);
  font-size: 0.8rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.about-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

/* ── PROGRAM SECTION ──────────────────────────────────────── */
.section-program {
  padding: 5rem 0;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.program-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  border: 2px solid rgba(0,0,0,0.06);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #037075, #C9A84C);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.program-card:hover::before { transform: scaleX(1); }

.program-card:hover {
  border-color: rgba(3,112,117,0.25);
  box-shadow: 0 16px 50px rgba(3,112,117,0.12);
  transform: translateY(-6px);
}

.program-card__icon {
  font-size: 2.5rem;
  line-height: 1;
}

.program-card__body { flex: 1; }

.program-card__body .badge {
  margin-bottom: 0.6rem;
  display: inline-block;
}

.program-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy, #0d1f2d);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.program-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.program-card__title a:hover { color: var(--color-primary, #037075); }

.program-card__usia {
  font-size: 0.82rem;
  color: var(--color-text-muted, #6b7280);
  margin-bottom: 0.5rem;
}

.program-card__desc {
  font-size: 0.87rem;
  color: var(--color-text-muted, #6b7280);
  line-height: 1.65;
}

.program-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.07);
  margin-top: auto;
}

.status-dot {
  font-size: 0.8rem;
  font-weight: 600;
}

.status-buka { color: var(--color-primary, #037075); }
.status-tutup { color: #dc3545; }
.status-segera { color: #f59e0b; }

.program-card__link {
  color: var(--color-primary, #037075);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  transition: gap 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.program-card__link:hover { gap: 0.55rem; }

/* ── PRESTASI SECTION ─────────────────────────────────────── */
.section-prestasi {
  padding: 5rem 0;
  background: #0d1f2d;
  background-image: linear-gradient(135deg, #0d1f2d 0%, #012e32 100%);
  position: relative;
  overflow: hidden;
}

.prestasi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.prestasi-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.3s;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.prestasi-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.35);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.prestasi-card__medal {
  font-size: 2.2rem;
  flex-shrink: 0;
  line-height: 1;
}

.prestasi-card__body { flex: 1; }

.prestasi-card__title {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.prestasi-card__peserta {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
}

.prestasi-card__meta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.prestasi-year {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

/* ── WHY US SECTION ───────────────────────────────────────── */
.section-why {
  padding: 5rem 0;
  background: #f8f9fa;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.why-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem 1.75rem;
  text-align: center;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(3,112,117,0.14);
  border-color: rgba(3,112,117,0.2);
}

.why-card__icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(3,112,117,0.12), rgba(201,168,76,0.08));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(3,112,117,0.15);
}

.why-card__icon { font-size: 2rem; line-height: 1; }

.why-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy, #0d1f2d);
  margin-bottom: 0.4rem;
}

.why-card__highlight {
  font-size: 0.82rem;
  color: var(--color-primary, #037075);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.why-card__desc {
  font-size: 0.87rem;
  color: var(--color-text-muted, #6b7280);
  line-height: 1.65;
}

/* ── SAMBUTAN SECTION ─────────────────────────────────────── */
.section-sambutan {
  padding: 5rem 0;
  background: #0d1f2d;
  background-image: linear-gradient(135deg, #0d1f2d 0%, #012e32 60%, #025a5e 100%);
  position: relative;
  overflow: hidden;
}

.sambutan-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 4rem;
  align-items: center;
}

.sambutan-photo {
  position: relative;
  text-align: center;
}

.sambutan-photo img {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 20px;
  border: 4px solid rgba(201,168,76,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  display: block;
  margin: 0 auto;
}

.sambutan-photo-placeholder {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 3/4;
  background: rgba(255,255,255,0.06);
  border-radius: 20px;
  border: 4px solid rgba(201,168,76,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto;
}

.sambutan-photo-name {
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: #C9A84C;
  color: var(--color-navy, #0d1f2d);
  padding: 0.65rem 1.5rem;
  border-radius: 10px;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(201,168,76,0.4);
}

.sambutan-photo-name strong { display: block; font-size: 0.88rem; font-weight: 700; }
.sambutan-photo-name span { font-size: 0.72rem; opacity: 0.75; }

.sambutan-content { padding-bottom: 1rem; }

.sambutan-arabic {
  font-family: var(--font-arabic, 'Amiri', serif);
  font-size: 1.5rem;
  color: var(--color-gold, #C9A84C);
  direction: rtl;
  text-align: right;
  line-height: 2;
  margin-bottom: 0.5rem;
}

.sambutan-bismillah-note {
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
  text-align: right;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.sambutan-content p {
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.sambutan-highlight-quote {
  background: rgba(201,168,76,0.1);
  border-left: 4px solid var(--color-gold, #C9A84C);
  padding: 1.25rem 1.5rem;
  border-radius: 0 12px 12px 0;
  margin: 1.5rem 0;
}

.sambutan-quote {
  font-style: italic;
  color: rgba(255,255,255,0.85);
  font-size: 0.97rem;
  line-height: 1.7;
}

.quote-mark {
  font-size: 3rem;
  color: var(--color-gold, #C9A84C);
  line-height: 0.5;
  display: block;
  margin-bottom: 0.5rem;
  font-family: Georgia, serif;
}

.sambutan-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

/* ── KEGIATAN / VIDEO SECTION ─────────────────────────────── */
.section-kegiatan {
  padding: 5rem 0;
  background: #f8f9fa;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.video-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
}

.video-embed-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-embed-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.video-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #0d1f2d, #037075);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-placeholder__inner { text-align: center; }

.video-placeholder__icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.5rem;
}

.video-card__title {
  padding: 0.85rem 1rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-navy, #0d1f2d);
  border-top: 1px solid rgba(0,0,0,0.06);
}

.kegiatan-posts-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-navy, #0d1f2d);
  margin: 3rem 0 1.5rem;
  text-align: center;
}

.kegiatan-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.kegiatan-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s;
}

.kegiatan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ── CTA SECTION ──────────────────────────────────────────── */
.section-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, #037075 0%, #025a5e 50%, #0d1f2d 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(201,168,76,0.1) 0%, transparent 60%);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.cta-badge {
  display: inline-block;
  background: rgba(201,168,76,0.2);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--color-gold, #C9A84C);
  padding: 5px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.section-cta h2 {
  font-family: var(--font-display, serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-cta p {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.cta-deadline {
  font-size: 0.88rem;
  color: var(--color-gold, #C9A84C);
  font-weight: 600;
  margin-bottom: 2rem !important;
}

.cta-actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── ANIMATION KEYFRAMES ──────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .section-hero .container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-desc { max-width: 100%; }
  .section-hero { min-height: 80vh; padding: 120px 0 60px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-visual { max-width: 460px; margin: 0 auto; }
  .about-badge-float { display: none; }

  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .prestasi-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }

  .sambutan-grid { grid-template-columns: 1fr; gap: 3rem; }
  .sambutan-photo { max-width: 300px; margin: 0 auto; }

  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .kegiatan-posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section-hero { padding: 100px 0 50px; }
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .stat-number { font-size: 2rem; }

  .program-grid { grid-template-columns: 1fr; }
  .prestasi-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }

  .video-grid { grid-template-columns: 1fr; }
  .kegiatan-posts-grid { grid-template-columns: 1fr; }

  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 300px; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-trust { flex-direction: column; gap: 0.5rem; }
  .about-mini-stats { flex-direction: column; }
  .about-cta { flex-direction: column; }
  .sambutan-cta { flex-direction: column; }
}
