/* ── RESET & VARIABEL ── */
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}

:root {
  /* ⭐ Warna Emas (Sesuai Website) */
  --emas:        #c8a75a;
  --emas-muda:   #dbb96a;
  --emas-pucat:  #f5e9c8;
  --emas-gelap:  #a8893e;
  --emas-tua:    #8a6f2e;

  /* ⭐ Warna Netral Slate (Bersih & Terang) */
  --coklat-tua:  #334155;
  --coklat:      #475569;
  --krem:        #f8fafc;
  --krem-2:      #f1f5f9;
  --putih:       #ffffff;
  --abu-muda:    #f1f5f9;
  --abu:         #94a3b8;

  --teks:        #1e293b;
  --teks-muted:  #64748b;

  --font-display: 'Poppins', 'Segoe UI', sans-serif;
  --font-arabic:  'Amiri', 'Traditional Arabic', serif;
  --font-body:    'Jost', 'Segoe UI', sans-serif;

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --shadow-gold: 0 8px 32px rgba(200,167,90,0.18);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.05);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--krem);
  color: var(--teks);
  overflow-x: hidden;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--emas-gelap);
  margin-bottom: 10px;
}
.section-eyebrow--gold { color: var(--emas-muda); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--teks);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-title em {
  font-style: italic;
  color: var(--emas);
}
.section-title--light { color: var(--putih); }
.section-title--light em { color: var(--emas-muda); }

.section-subtitle {
  font-size: 15.5px;
  color: var(--teks-muted);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header--light .section-subtitle { color: rgba(255,255,255,0.7); }

/* ── CONTAINER & SECTION ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

.section { padding: 96px 0; }
.section--light  { background: var(--putih); }
.section--cream  { background: var(--krem); }
.section--dark   { background: var(--teks); position: relative; overflow: hidden; }
.section--gold   { background: var(--krem-2); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 13px 28px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}
.btn--gold {
  background: linear-gradient(135deg, var(--emas), var(--emas-gelap));
  color: var(--putih);
  box-shadow: 0 4px 20px rgba(200,167,90,0.35);
}
.btn--gold:hover {
  background: linear-gradient(135deg, var(--emas-muda), var(--emas));
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,167,90,0.45);
}
.btn--ghost {
  background: rgba(255,255,255,0.12);
  color: var(--putih);
  border: 1.5px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  border-color: var(--emas-muda);
  color: var(--emas-muda);
  transform: translateY(-2px);
}
.btn--outline-dark {
  background: transparent;
  color: var(--teks-muted);
  border: 1.5px solid rgba(100,116,139,0.25);
  font-size: 13px;
  padding: 10px 22px;
}
.btn--outline-dark:hover {
  border-color: var(--emas);
  color: var(--emas-gelap);
  background: var(--emas-pucat);
}
.btn--full { width: 100%; justify-content: center; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ════════════════════════════════════
   HEADER: TOPBAR (info kontak) + NAVBAR (menu)
   ════════════════════════════════════ */
#site-header {
  position: relative;
  z-index: 1000;
}

/* ── TOPBAR: logo, nama, kontak, sosial ── */
.topbar {
  background: var(--putih);
  border-bottom: 1px solid var(--krem-2);
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--teks);
  line-height: 1.2;
}
.brand-tagline {
  font-size: 11px;
  color: var(--teks-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--teks);
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s;
}
.contact-pill:hover { color: var(--emas-gelap); }
.contact-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--emas-pucat);
  color: var(--emas-gelap);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-sep {
  width: 1px;
  height: 22px;
  background: var(--krem-2);
}

.topbar-social { display: flex; align-items: center; gap: 10px; }
.social-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--krem-2);
  color: var(--teks);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.social-circle:hover {
  background: var(--emas);
  color: var(--putih);
  transform: translateY(-2px);
}

/* ── NAVBAR: baris menu ── */
#navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 0 2rem;
  height: 58px;
  background: linear-gradient(135deg, var(--emas-pucat), #f6ecd2);
  border-bottom: 1px solid rgba(200,167,90,0.3);
  transition: box-shadow 0.3s, transform 0.35s ease;
}
#navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
#navbar.nav-hidden {
  transform: translateY(-100%);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

/* ── HEADER BOXED (desktop): sejajar dengan hero & konten ── */
@media (min-width: 1025px) {
  #site-header {
    width: calc(100% - 4rem);
    max-width: 1036px;
    margin: 20px auto 0;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  }
  .topbar { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .topbar-inner { max-width: 100%; padding: 16px 1.75rem; }
  #navbar { border-radius: 0 0 var(--radius-lg) var(--radius-lg); padding: 0 1.5rem; }
  .nav-inner { max-width: 100%; }
}

.nav-brand-mobile.nav-brand { display: none; }

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-emblem svg { display: block; }

.nav-title { display: flex; flex-direction: column; }
.nav-title-main {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--putih);
  line-height: 1.2;
}

.nav-title-sub {
  font-size: 10.5px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  position: relative;
  color: var(--emas-tua);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 6px;
  transition: all 0.2s;
  letter-spacing: 0.2px;
}
.nav-links a:hover { color: var(--emas-gelap); background: rgba(255,255,255,0.45); }
.nav-links a.active { color: var(--emas-gelap); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 3px;
  height: 2px;
  background: var(--emas-gelap);
  border-radius: 2px;
}

.nav-cta {
  background: linear-gradient(135deg, var(--emas), var(--emas-gelap)) !important;
  color: var(--putih) !important;
  border-radius: 20px !important;
  padding: 7px 18px !important;
  font-weight: 600 !important;
  margin-left: 6px;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: linear-gradient(135deg, var(--emas-muda), var(--emas)) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,167,90,0.3);
}

/* ── HAMBURGER ICON ── */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}
.hamburger:focus,
.hamburger:active {
  outline: none;
  box-shadow: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--putih);
  border-radius: 2px;
  transition: all 0.3s;
}
#navbar.scrolled .hamburger span { background: var(--teks); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: var(--putih) !important; }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); background: var(--putih) !important; }

/* ════════════════════════════════════
   HERO — SLIDER FOTO
   ════════════════════════════════════ */
.hero {
  position: relative;
  /* sejajar dengan .container (lebar 1100px + padding 2rem) */
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 2rem 0;
}

.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  min-height: 320px;
  max-height: 560px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #1e293b;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, 0.45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s;
}
.hero-arrow:hover { background: rgba(15, 23, 42, 0.75); }
.hero-arrow svg { width: 20px; height: 20px; }
.hero-arrow--prev { left: 18px; }
.hero-arrow--next { right: 18px; }

.hero-dots {
  display: none;
}
.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.hero-dot.active {
  background: var(--emas-muda);
  transform: scale(1.2);
}

@media (max-width: 640px) {
  .hero { padding: 16px 1rem 0; }
  .hero-slider { aspect-ratio: 4 / 3; min-height: 240px; max-height: 480px; border-radius: var(--radius-md); }
  .hero-arrow { width: 36px; height: 36px; }
  .hero-arrow svg { width: 16px; height: 16px; }
  .hero-dots { flex-wrap: wrap; justify-content: center; max-width: 80%; gap: 6px; }
  .hero-dot { width: 6px; height: 6px; }
}

/* ════════════════════════════════════
   PROFIL
   ════════════════════════════════════ */
.profil-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.profil-visual { position: relative; }

.profil-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.profil-img-frame img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.profil-img-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(200,167,90,0.3);
  z-index: 1;
  pointer-events: none;
}
.profil-img-accent {
  position: absolute;
  bottom: -12px; right: -12px;
  width: 60%;
  height: 60%;
  border: 1.5px solid rgba(200,167,90,0.3);
  border-radius: var(--radius-md);
  z-index: -1;
}

.profil-badge {
  position: absolute;
  top: -20px; left: -20px;
  background: var(--teks);
  border: 1px solid rgba(200,167,90,0.3);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--shadow-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.profil-badge strong {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--emas-muda);
  font-weight: 700;
  line-height: 1;
}
.profil-badge span {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.profil-body { padding-bottom: 16px; }

.profil-quote {
  background: var(--krem-2);
  border-left: 3px solid var(--emas);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  margin: 22px 0;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--teks);
  font-style: italic;
  line-height: 1.6;
}
.profil-quote-arabic {
  display: block;
  font-family: var(--font-arabic);
  font-size: 20px;
  color: var(--emas-gelap);
  margin-bottom: 8px;
  direction: rtl;
  font-style: normal;
}

.profil-desc {
  font-size: 14.5px;
  color: var(--teks-muted);
  line-height: 1.85;
  margin-bottom: 22px;
}

.profil-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.profil-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--teks);
  font-weight: 500;
}
.profil-list-dot {
  width: 7px;
  height: 7px;
  background: var(--emas);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ════════════════════════════════════
   TARGET LULUSAN & BLOG (kartu bergambar)
   ════════════════════════════════════ */
.tl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.tl-card {
  display: block;
  border-radius: 0;
}

.tl-card-img {
  position: relative;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.tl-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.tl-card:hover .tl-card-img img {
  transform: scale(1.06);
}

.tl-card-body {
  position: relative;
  background: var(--krem-2);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 26px 26px 76px;
  margin: -24px 14px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.tl-card-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--teks);
  margin-bottom: 10px;
}
.tl-card-body p {
  font-size: 14px;
  color: var(--teks-muted);
  line-height: 1.65;
  margin-bottom: 0;
  padding-right: 50px;
}

.tl-arrow {
  position: absolute;
  right: 26px;
  bottom: 26px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--emas);
  background: transparent;
  color: var(--emas-gelap);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}
.tl-card:hover .tl-arrow,
.tl-card .tl-arrow:hover {
  background: var(--emas);
  color: var(--putih);
  transform: translateX(3px);
}

.blog-date {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--emas-gelap);
  margin-bottom: 10px;
}

@media (max-width: 1024px) {
  .tl-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 700px) {
  .tl-grid { grid-template-columns: 1fr; }
  .tl-card-body { margin: -20px 10px 0; padding: 22px 20px 26px; }
}


.program-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

.program-card {
  background: var(--putih);
  border-radius: var(--radius-md);
  padding: 28px 26px 30px;
  border: 1px solid rgba(200,167,90,0.12);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  flex: 1 1 300px;
  max-width: 360px;
}
.program-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emas-gelap), var(--emas-muda));
  opacity: 0;
  transition: opacity 0.3s;
}
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.06);
  border-color: rgba(200,167,90,0.3);
}
.program-card:hover::before { opacity: 1; }

.program-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.program-icon {
  width: 52px;
  height: 52px;
  background: var(--krem-2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.program-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--emas-gelap);
  background: var(--emas-pucat);
  padding: 4px 11px;
  border-radius: 20px;
}

.program-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--teks);
  margin-bottom: 10px;
  line-height: 1.3;
}
.program-card p {
  font-size: 13.5px;
  color: var(--teks-muted);
  line-height: 1.75;
}

/* ════════════════════════════════════
   TENAGA PENGAJAR
   ════════════════════════════════════ */
.pengajar-search {
  position: relative;
  max-width: 380px;
  margin: 0 auto 40px;
}
.pengajar-search-icon {
  position: absolute;
  top: 50%; left: 18px;
  transform: translateY(-50%);
  width: 17px; height: 17px;
  color: var(--teks-muted);
  pointer-events: none;
}
.pengajar-search-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 18px 12px 44px;
  border-radius: 24px;
  border: 1.5px solid rgba(100,116,139,0.2);
  background: var(--putih);
  color: var(--teks);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pengajar-search-input::placeholder { color: var(--teks-muted); }
.pengajar-search-input:focus {
  border-color: var(--emas);
  box-shadow: 0 0 0 3px rgba(200,167,90,0.15);
}

.pengajar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 1024px) {
  .pengajar-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .pengajar-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (max-width: 480px) {
  .pengajar-grid { grid-template-columns: 1fr; gap: 14px; }
}

.pengajar-card {
  background: var(--putih);
  border-radius: var(--radius-md);
  border: 1px solid rgba(200,167,90,0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
}
.pengajar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
  border-color: rgba(200,167,90,0.3);
}
.pengajar-card.hidden { display: none; }

.pengajar-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--av-bg, var(--coklat-tua));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.pengajar-avatar::after {
  content: attr(data-initials);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--av-text, var(--emas-muda));
  letter-spacing: 1px;
  opacity: 0.9;
  z-index: 1;
}
.pengajar-avatar::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 25%, rgba(255,255,255,0.06) 0%, transparent 55%),
    radial-gradient(circle at 75% 75%, rgba(255,255,255,0.04) 0%, transparent 45%);
}

.pengajar-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}
.pengajar-avatar:has(img)::after { display: none; }

.pengajar-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 4px;
}

.pengajar-no-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  color: var(--emas-gelap);
  background: var(--emas-pucat);
  border: 1px solid rgba(200,167,90,0.3);
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  align-self: flex-start;
  margin-bottom: 2px;
}

.pengajar-body h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--teks);
  line-height: 1.35;
}

.pengajar-mapel {
  font-size: 11.5px;
  color: var(--teks-muted);
  line-height: 1.55;
  flex: 1;
}

.pengajar-actions {
  display: flex;
  gap: 7px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.pgj-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  line-height: 1;
}

.pgj-btn--video {
  background: var(--krem-2);
  color: var(--teks-muted);
  border: 1px solid var(--krem-2);
}
.pgj-btn--video:hover {
  background: var(--teks);
  color: var(--emas-muda);
  border-color: var(--teks);
}

.pgj-btn--wa {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}
.pgj-btn--wa:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

/* ── Modal Video ── */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.video-modal.open {
  opacity: 1;
  pointer-events: all;
}
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.85);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.video-modal-box {
  position: relative;
  background: var(--putih);
  border: 1px solid rgba(200,167,90,0.3);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 760px;
  overflow: hidden;
  transform: scale(0.94) translateY(16px);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.video-modal.open .video-modal-box {
  transform: scale(1) translateY(0);
}
.video-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teks-muted);
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
}
.video-modal-close:hover {
  background: var(--emas-pucat);
  color: var(--emas-gelap);
  border-color: var(--emas);
}
.video-modal-title {
  padding: 20px 60px 16px 24px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--teks);
  line-height: 1.3;
}
.video-modal-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
}
.video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ════════════════════════════════════
   GALERI
   ════════════════════════════════════ */
.galeri-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}

.galeri-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 12px;
}

.galeri-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.galeri-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.galeri-item:hover img { transform: scale(1.07); }
.galeri-item:hover .galeri-caption { opacity: 1; }

.galeri-item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.galeri-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(30,41,59,0.85), transparent);
  padding: 18px 16px 16px;
  opacity: 0;
  transition: opacity 0.3s;
}
.galeri-caption span {
  color: var(--emas-pucat);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ════════════════════════════════════
   KONTAK & FORM
   ════════════════════════════════════ */
.kontak-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.kontak-desc {
  font-size: 14.5px;
  color: var(--teks-muted);
  line-height: 1.8;
  margin-bottom: 36px;
}

.kontak-items {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.kontak-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.kontak-icon {
  width: 44px;
  height: 44px;
  background: var(--emas-pucat);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(200,167,90,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kontak-item strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--emas-gelap);
  font-weight: 700;
  margin-bottom: 5px;
}
.kontak-item span {
  font-size: 14px;
  color: var(--teks-muted);
  line-height: 1.6;
}

/* FORM */
.form-card {
  background: var(--putih);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(200,167,90,0.15);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.form-card-header {
  background: var(--teks);
  padding: 28px 32px 24px;
  text-align: center;
  border-bottom: 1px solid rgba(200,167,90,0.15);
}
.form-card-header svg { margin: 0 auto 12px; display: block; }
.form-card-header h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--emas-muda);
  margin-bottom: 6px;
}
.form-card-header p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.form-body { padding: 28px 32px 32px; }

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--emas-gelap);
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid rgba(100,116,139,0.2);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--teks);
  background: var(--putih);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--abu); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emas);
  box-shadow: 0 0 0 3px rgba(200,167,90,0.12);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

/* ════════════════════════════════════
   FOOTER
   ════════════════════════════════════ */
.site-footer {
  background: #2b3a52;
}

.footer-top { padding: 56px 0 40px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.95fr 1.05fr minmax(200px, 1.3fr);
  gap: 40px;
}

.footer-brand-name {
  font-family: var(--font-display, serif);
  font-size: 30px;
  font-weight: 700;
  color: #dbb96a;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  max-width: 260px;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dbb96a, #a8893e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}
.footer-socials a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(200,167,90,0.4);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0; padding: 0;
}
.footer-col ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.footer-col ul a:hover { color: #dbb96a; }

.footer-kontak-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
  line-height: 1.5;
}
.footer-kontak-item svg {
  color: #dbb96a;
  flex-shrink: 0;
}

.footer-alamat-item {
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 14px;
}

.footer-map {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 180px;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 4px;
  border: 1px solid rgba(200,167,90,0.25);
}
.footer-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.9);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0;
}
.footer-bottom-inner { text-align: center; }
.footer-bottom-inner span {
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
}

/* ════════════════════════════════════
   TOAST
   ════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--teks);
  border: 1px solid rgba(200,167,90,0.3);
  color: var(--emas-muda);
  padding: 14px 22px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s;
  z-index: 9999;
  max-width: 380px;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ════════════════════════════════════
   RESPONSIVE & MENU HAMBURGER (DENGAN PERBAIKAN WARNA PUTIH)
   ════════════════════════════════════ */
@media (max-width: 900px) {
  .profil-grid, .kontak-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-map-col { grid-column: 1 / -1; }
  .galeri-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .galeri-item--large { grid-column: span 2; height: 240px; grid-row: span 1; }
  .galeri-item { height: 180px; }
  .profil-badge { top: -16px; left: -10px; }
}

@media (max-width: 1024px) {
  .topbar { display: none; }
  .nav-brand-mobile.nav-brand { display: flex; }
  #navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 0 1.5rem;
    height: 70px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--krem-2);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    backdrop-filter: blur(12px);
    transition: background 0.4s, border-color 0.4s, box-shadow 0.4s, transform 0.35s ease;
  }
  #navbar.nav-hidden {
    transform: translateY(-100%);
  }
  #navbar.scrolled {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: var(--krem-2);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.04);
  }
  .nav-inner { justify-content: space-between; }
  .nav-title-main { color: var(--emas-gelap); }
  #navbar.scrolled .nav-title-main { color: var(--emas-gelap); }
  .nav-title-sub { color: var(--teks-muted); }
  #navbar.scrolled .nav-title-sub { color: var(--teks-muted); }
  .hamburger { display: flex; }
  .hamburger span { background: var(--teks); }
  #navbar.scrolled .hamburger span { background: var(--teks); }

  body { padding-top: 70px; }

  /* OVERLAY MENU LENGKAP WARNA EMAS */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--emas);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding-top: 80px;
    padding-bottom: 20px;
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
    overflow-y: auto;
    gap: 0;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
    margin: 0;
  }

  .nav-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--putih) !important;
    background: transparent;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.2s;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background-color: rgba(255, 255, 255, 0.15) !important;
  }

  .nav-links a.active {
    color: var(--putih) !important;
  }

  .nav-links a:not(.nav-cta):not([aria-label])::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--putih);
    border-bottom: 2px solid var(--putih);
    transform: rotate(-45deg);
    margin-right: 4px;
    opacity: 0.9;
    flex-shrink: 0;
  }

  .nav-links a.active::after {
    display: none !important;
  }

  .nav-links a.nav-cta {
    background: var(--emas-gelap) !important;
    border-radius: 30px !important;
    margin: 14px 24px !important;
    padding: 14px 22px !important;
    justify-content: center;
    border-bottom: none !important;
  }
  .nav-links a.nav-cta::after { display: none; }

  /* ── SAAT MENU TERBUKA, PASTIKAN LATAR NAVBAR TRANSPARAN ── */
  #navbar.menu-open {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  #navbar.menu-open .nav-title-main { color: var(--putih); }
  #navbar.menu-open .nav-title-sub { color: rgba(255,255,255,0.8); }

  /* ── PASTIKAN TEKS MENU HAMBURGER SELALU PUTIH ── */
  #navbar.menu-open .nav-links a,
  #navbar.menu-open .nav-links a:link,
  #navbar.menu-open .nav-links a:visited,
  #navbar.menu-open .nav-links a:hover,
  #navbar.menu-open .nav-links a:active,
  #navbar.menu-open .nav-links a:focus,
  #navbar.menu-open .nav-links a.active,
  #navbar.menu-open .nav-links a.nav-cta,
  #navbar.menu-open.scrolled .nav-links a,
  #navbar.menu-open.scrolled .nav-links a:hover,
  #navbar.menu-open.scrolled .nav-links a.active {
    color: #ffffff !important;
  }

  #navbar.menu-open .nav-links a.nav-cta {
    background: rgba(255, 255, 255, 0.2) !important;
  }

  #navbar.menu-open .nav-links a:hover,
  #navbar.menu-open .nav-links a.active {
    background: rgba(255, 255, 255, 0.15) !important;
  }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  #navbar { padding: 0 1rem; }
  .program-card { flex-basis: 100%; max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > .footer-col:nth-child(4) { grid-column: 1 / -1; }
  .footer-map-col { grid-column: 1 / -1; }
  .form-body { padding: 22px 20px 26px; }
  .form-card-header { padding: 24px 20px 20px; }
}

/* ── tambahan untuk mengatasi jika navbar.scrolled dan menu terbuka ── */
#navbar.menu-open.scrolled .nav-links a {
  color: #ffffff !important;
}

/* ════════════════════════════════════
   BACK TO TOP
   ════════════════════════════════════ */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--emas), var(--emas-gelap));
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, box-shadow 0.25s ease;
  z-index: 998;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
  .back-to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}
/* ════════════════════════════════════
   DIPINDAHKAN DARI <style> INLINE index.html
   ════════════════════════════════════ */
    /* ===== NAVBAR ===== */
    .nav-emblem {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .custom-logo {
      max-height: 50px;
      width: auto;
      display: block;
      border-radius: 4px;
    }
    .nav-brand {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
    }
    .nav-title {
      display: flex;
      flex-direction: column;
      line-height: 1.2;
    }
    .footer-col {
      min-width: 0;
    }
    .footer-brand p {
      color: #ccc;
    }
    @media (max-width: 768px) {
      .custom-logo {
        max-height: 40px;
      }
      .nav-title-main {
        font-size: 0.9rem;
      }
      .nav-title-sub {
        font-size: 0.65rem;
      }
    }

    /* ===== KBM SECTION ===== */
    .kbm-section {
      background: #fcf9f2;
      padding: 60px 0;
    }
    .kbm-section .section-header {
      text-align: center;
      margin-bottom: 40px;
    }
    .kbm-section .section-eyebrow {
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 2px;
      color: #9a6b1f;
      font-weight: 600;
    }
    .kbm-section .section-title {
      font-size: 2rem;
      font-weight: 700;
      color: #1f1d1b;
    }
    .kbm-section .section-title em {
      color: #c9a84c;
      font-style: italic;
    }
    .kbm-grid-list {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
      max-width: 1100px;
      margin: 0 auto;
    }
    .kbm-block {
      background: #ffffff;
      border-radius: 12px;
      padding: 28px 24px 24px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
      border: 1px solid rgba(201, 168, 76, 0.12);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .kbm-block:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    }
    .kbm-block h3 {
      font-size: 1.2rem;
      font-weight: 700;
      color: #1f1d1b;
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .kbm-block h3 .kbm-icon-small {
      width: 28px;
      height: 28px;
      color: #c9a84c;
      flex-shrink: 0;
    }
    .kbm-block ul {
      list-style: none;
      padding: 0;
      margin: 0 0 18px 0;
    }
    .kbm-block ul li {
      position: relative;
      padding-left: 22px;
      margin-bottom: 8px;
      font-size: 0.95rem;
      line-height: 1.6;
      color: #333;
    }
    .kbm-block ul li::before {
      content: "•";
      position: absolute;
      left: 0;
      top: 0;
      color: #c9a84c;
      font-size: 1.2rem;
      font-weight: 700;
    }
    .kbm-block ul li strong {
      color: #1f1d1b;
    }
    .kbm-btn {
      display: inline-block;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: #c9a84c;
      background: transparent;
      border: 1.5px solid #c9a84c;
      border-radius: 30px;
      padding: 6px 20px;
      text-decoration: none;
      transition: all 0.3s ease;
      cursor: pointer;
    }
    .kbm-btn:hover {
      background: #c9a84c;
      color: #fff;
    }
    @media (max-width: 768px) {
      .kbm-grid-list {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
      }
      .kbm-section .section-title {
        font-size: 1.6rem;
      }
      .kbm-block ul li {
        font-size: 0.9rem;
      }
    }

    /* ===== MODAL ===== */
    .kbm-modal-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(6px);
      z-index: 9999;
      justify-content: center;
      align-items: center;
      padding: 20px;
      animation: fadeIn 0.3s ease;
    }
    .kbm-modal-overlay.active {
      display: flex;
    }
    .kbm-modal-box {
      background: #fff;
      border-radius: 16px;
      max-width: 780px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      padding: 40px 44px;
      position: relative;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
      animation: slideUp 0.35s ease;
    }
    .kbm-modal-close {
      position: absolute;
      top: 16px;
      right: 20px;
      background: none;
      border: none;
      font-size: 28px;
      cursor: pointer;
      color: #999;
      transition: color 0.3s;
      line-height: 1;
    }
    .kbm-modal-close:hover {
      color: #1f1d1b;
    }
    .kbm-modal-box h2 {
      font-size: 1.6rem;
      font-weight: 700;
      color: #1f1d1b;
      margin-bottom: 16px;
      padding-right: 30px;
    }
    .kbm-modal-box h2 em {
      color: #c9a84c;
      font-style: italic;
    }
    .kbm-modal-box .modal-arabic {
      font-family: 'Amiri', 'Traditional Arabic', serif;
      font-size: 1.4rem;
      color: #6b4f1f;
      margin-bottom: 12px;
    }
    .kbm-modal-box p {
      font-size: 1rem;
      line-height: 1.8;
      color: #333;
      margin-bottom: 16px;
    }
    .kbm-modal-box .target-list {
      list-style: none;
      padding: 0;
      margin: 16px 0 20px;
    }
    .kbm-modal-box .target-list li {
      padding-left: 28px;
      position: relative;
      margin-bottom: 12px;
      font-size: 0.98rem;
      line-height: 1.7;
      color: #333;
    }
    .kbm-modal-box .target-list li::before {
      content: "▸";
      position: absolute;
      left: 0;
      top: 0;
      color: #c9a84c;
      font-weight: 700;
      font-size: 1.1rem;
    }
    .kbm-modal-box .target-list li strong {
      color: #1f1d1b;
    }
    .kbm-modal-box .modal-footer-text {
      font-style: italic;
      color: #555;
      border-top: 2px solid rgba(201, 168, 76, 0.2);
      padding-top: 18px;
      margin-top: 10px;
      font-size: 0.95rem;
    }
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    @keyframes slideUp {
      from { transform: translateY(30px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }
    @media (max-width: 600px) {
      .kbm-modal-box {
        padding: 28px 20px;
      }
      .kbm-modal-box h2 {
        font-size: 1.3rem;
      }
      .kbm-modal-box .modal-arabic {
        font-size: 1.1rem;
      }
      .kbm-modal-box p {
        font-size: 0.92rem;
      }
      .kbm-modal-box .target-list li {
        font-size: 0.9rem;
      }
    }

    /* ===== MODAL INFO PENDAFTARAN ===== */
    .info-modal-box {
      background: #fffdf8;
      border: 1px solid rgba(200, 167, 90, 0.35);
      border-radius: 18px;
      max-width: 480px;
      width: 100%;
      padding: 36px 36px 32px;
      text-align: center;
      position: relative;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
      animation: slideUp 0.35s ease;
    }
    .info-modal-box h2 {
      font-size: 1.3rem;
      font-weight: 700;
      color: #1f1d1b;
      margin-bottom: 18px;
    }
    .info-modal-box p {
      font-size: 0.95rem;
      line-height: 1.75;
      color: #6b5a33;
      margin-bottom: 26px;
    }
    .info-modal-btn {
      display: inline-block;
      background: linear-gradient(135deg, #c8a75a, #a8893e);
      color: #fff;
      font-size: 0.9rem;
      font-weight: 600;
      border: none;
      border-radius: 30px;
      padding: 11px 28px;
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      box-shadow: 0 6px 18px rgba(168, 137, 62, 0.35);
    }
    .info-modal-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 8px 22px rgba(168, 137, 62, 0.45);
    }
    @media (max-width: 600px) {
      .info-modal-box {
        padding: 30px 24px 26px;
      }
      .info-modal-box h2 {
        font-size: 1.15rem;
      }
      .info-modal-box p {
        font-size: 0.9rem;
      }
    }

    /* ===== GALERI KEGIATAN SEKOLAH (BARU) ===== */
    .galeri-sekolah {
      background: #ffffff;
      padding: 80px 0;
    }
    .galeri-sekolah .section-header {
      text-align: center;
      margin-bottom: 48px;
    }
    .galeri-sekolah .section-eyebrow {
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 3px;
      color: #9a6b1f;
      font-weight: 600;
    }
    .galeri-sekolah .section-title {
      font-size: 2.2rem;
      font-weight: 700;
      color: #1f1d1b;
    }
    .galeri-sekolah .section-title em {
      color: #c9a84c;
      font-style: italic;
    }

    .galeri-sekolah-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      max-width: 1100px;
      margin: 0 auto;
    }

    .galeri-sekolah-item {
      position: relative;
      border-radius: 14px;
      overflow: hidden;
      background: #f5f0e6;
      aspect-ratio: 4 / 3;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
    }
    .galeri-sekolah-item:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    }
    .galeri-sekolah-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }
    .galeri-sekolah-item:hover img {
      transform: scale(1.06);
    }

    /* Overlay teks di bawah gambar */
    .galeri-sekolah-item .gallery-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 16px 18px 14px;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
      color: #fff;
    }
    .galeri-sekolah-item .gallery-overlay .gallery-title {
      font-size: 1rem;
      font-weight: 700;
      letter-spacing: 0.5px;
      display: block;
      margin-bottom: 2px;
    }
    .galeri-sekolah-item .gallery-overlay .gallery-sub {
      font-size: 0.75rem;
      font-weight: 400;
      opacity: 0.85;
      display: block;
      letter-spacing: 0.3px;
    }

    /* Variasi ukuran untuk item tertentu (seperti di gambar) */
    .galeri-sekolah-item--large {
      grid-column: span 2;
      grid-row: span 2;
      aspect-ratio: auto;
    }
    .galeri-sekolah-item--large img {
      height: 100%;
      min-height: 320px;
    }

    /* Responsive */
    @media (max-width: 900px) {
      .galeri-sekolah-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 0 16px;
      }
      .galeri-sekolah-item--large {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 4/3;
      }
      .galeri-sekolah-item--large img {
        min-height: unset;
      }
    }
    @media (max-width: 560px) {
      .galeri-sekolah-grid {
        grid-template-columns: 1fr;
        gap: 14px;
      }
      .galeri-sekolah-item--large {
        grid-column: span 1;
      }
      .galeri-sekolah .section-title {
        font-size: 1.6rem;
      }
      .galeri-sekolah-item .gallery-overlay .gallery-title {
        font-size: 0.9rem;
      }
      .galeri-sekolah-item .gallery-overlay .gallery-sub {
        font-size: 0.7rem;
      }
    }

    /* ===== GALERI SEKOLAH: SLIDER / CAROUSEL (geser terus-menerus / keliling) ===== */
    .galeri-sekolah .container {
      max-width: 1400px;
    }
    .galeri-slider {
      position: relative;
      max-width: 100%;
      margin: 0 auto;
      padding: 0 56px;
      overflow: hidden;
    }
    .galeri-track {
      display: flex;
      gap: 28px;
      width: max-content;
      padding: 4px 2px 10px;
      animation: galeriKeliling 100s linear infinite;
    }
    .galeri-track.paused {
      animation-play-state: paused;
    }
    @keyframes galeriKeliling {
      from { transform: translateX(0); }
      to   { transform: translateX(-50%); }
    }

    .galeri-slide {
      position: relative;
      flex: 0 0 380px;
      width: 380px;
      border-radius: 18px;
      overflow: hidden;
      background: #f5f0e6;
      aspect-ratio: 3 / 2;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
      cursor: pointer;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .galeri-slide:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    }
    .galeri-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }
    .galeri-slide:hover img {
      transform: scale(1.06);
    }
    .galeri-slide .gallery-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 32px 30px 26px;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0,0,0,0.2) 65%, transparent 100%);
      color: #fff;
    }
    .galeri-slide .gallery-overlay .gallery-title {
      font-size: 1.5rem;
      font-weight: 700;
      letter-spacing: 0.5px;
      display: block;
      margin-bottom: 6px;
    }
    .galeri-slide .gallery-overlay .gallery-sub {
      font-size: 1rem;
      font-weight: 400;
      opacity: 0.9;
      display: block;
      letter-spacing: 0.3px;
    }

    @media (max-width: 1024px) {
      .galeri-sekolah .container { max-width: 100%; }
      .galeri-slide { flex-basis: 320px; width: 320px; }
      .galeri-slide .gallery-overlay { padding: 22px 20px 18px; }
      .galeri-slide .gallery-overlay .gallery-title { font-size: 1.2rem; }
      .galeri-slide .gallery-overlay .gallery-sub { font-size: 0.85rem; }
      .galeri-track { animation-duration: 100s; }
    }
    @media (max-width: 640px) {
      .galeri-slider { padding: 0 4px; }
      .galeri-track { gap: 14px; padding: 4px 4px 10px; animation-duration: 100s; }
      .galeri-slide { flex-basis: 78vw; width: 78vw; aspect-ratio: 4 / 3; }
      .galeri-slide .gallery-overlay { padding: 18px 18px 14px; }
      .galeri-slide .gallery-overlay .gallery-title { font-size: 1.05rem; }
      .galeri-slide .gallery-overlay .gallery-sub { font-size: 0.78rem; }
    }


    /* reveal */
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }
