/* ============================================================
   Al-Banna Courses — Landing Page CSS  (Revisi Premium)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800&display=swap');

/* ── Root Variables ───────────────────────────────────────── */
:root {
  --primary:       #7c3aed;
  --primary-dark:  #5b21b6;
  --primary-light: #8b5cf6;
  --secondary:     #4f46e5;
  --accent:        #a78bfa;
  --surface:       #ffffff;
  --surface-alt:   #f8f7ff;
  --bg:            #f8f7ff;
  --text:          #1e1b4b;
  --text-muted:    #6b7280;
  --text-light:    #9ca3af;
  --border:        #e5e7eb;
  --success:       #10b981;
  --warning:       #f59e0b;
  --danger:        #ef4444;
  --radius-sm:     8px;
  --radius:        14px;
  --radius-lg:     22px;
  --radius-xl:     32px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.07);
  --shadow:        0 4px 24px rgba(124,58,237,.10);
  --shadow-lg:     0 20px 60px rgba(124,58,237,.14);
  --transition:    .28s cubic-bezier(.4,0,.2,1);
  --nav-h:         72px;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Typography ───────────────────────────────────────────── */
.display-1 { font-size: clamp(2.8rem, 8vw, 5.5rem); font-weight: 900; line-height: 1.04; }
.display-2 { font-size: clamp(1.8rem, 4vw, 3rem);   font-weight: 800; line-height: 1.1; }
h2         { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 800; }
h3         { font-size: clamp(1.15rem, 2.5vw, 1.75rem); font-weight: 700; }
h4         { font-size: 1.05rem; font-weight: 700; }
.eyebrow {
  display: block;
  font-size: .68rem; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: .6rem;
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Layout ───────────────────────────────────────────────── */
.container    { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 800px;  margin: 0 auto; padding: 0 1.5rem; }
.section      { padding: 6rem 0; }
.section-sm   { padding: 4rem 0; }
.grid-2       { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.grid-3       { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.grid-4       { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center  { text-align: center; }
.mt-1 { margin-top: .5rem; }  .mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.8rem; border-radius: 50px; font-weight: 700;
  font-size: .85rem; letter-spacing: .05em; text-transform: uppercase;
  border: 2px solid transparent; transition: all var(--transition);
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 8px 24px rgba(124,58,237,.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(124,58,237,.44); }
.btn-outline {
  background: rgba(255,255,255,.10); color: white;
  border-color: rgba(255,255,255,.35); backdrop-filter: blur(12px);
}
.btn-outline:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.6); transform: translateY(-2px); }
.btn-ghost  { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-ghost:hover { background: var(--primary); color: white; }
.btn-wa {
  background: linear-gradient(135deg, #25d366, #128c7e); color: white;
  box-shadow: 0 8px 24px rgba(37,211,102,.28);
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(37,211,102,.4); }
.btn-sm { padding: .5rem 1.2rem; font-size: .78rem; }
.btn-lg { padding: 1rem 2.4rem; font-size: .92rem; }
.btn-icon { padding: .75rem; }

/* ── Navigation ───────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  background: rgba(255,255,255,.94); backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid rgba(124,58,237,.08);
  transition: box-shadow var(--transition);
}
#navbar.scrolled {
  box-shadow: 0 4px 32px rgba(124,58,237,.13);
  border-bottom-color: rgba(124,58,237,.14);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); padding: 0 1.5rem; max-width: 1200px; margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: .75rem; }
.nav-logo-icon {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 900; font-size: .82rem; letter-spacing: -.5px;
  box-shadow: 0 4px 12px rgba(124,58,237,.3);
}
.nav-logo-text { font-weight: 900; font-size: 1rem; color: var(--text); letter-spacing: -.01em; }
.nav-logo-text span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a {
  font-size: .83rem; font-weight: 600; color: var(--text-muted);
  transition: color var(--transition); position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 100%;
  height: 2px; background: var(--primary); border-radius: 1px;
  transition: right var(--transition);
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--primary); }
.nav-cta { display: flex; align-items: center; gap: .75rem; }
#nav-menu-btn { display: none; background: none; border: none; padding: .5rem; color: var(--text); }

/* ── Hero ─────────────────────────────────────────────────── */
#home {
  min-height: 100svh; position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute; inset: 0;
  background: #0f172a;
}
.hero-bg-img-wrap { position: absolute; inset: 0; overflow: hidden; }
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover; opacity: 1; filter: brightness(.95);
  transform: scale(1.04); transition: opacity .4s ease;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.55) 50%, rgba(0,0,0,.82) 100%);
}
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-particle {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(167,139,250,.5), transparent);
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: .8; }
  90%  { opacity: .8; }
  100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}
.hero-content {
  position: relative; z-index: 10; text-align: center;
  padding: 3rem 1.5rem 6rem; max-width: 860px; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem 1.1rem; border-radius: 50px;
  border: 1px solid rgba(167,139,250,.35); background: rgba(124,58,237,.15);
  color: #c4b5fd; font-size: .68rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; margin-bottom: 1.75rem;
  backdrop-filter: blur(12px);
}
.hero-title { color: white; margin-bottom: 1rem; text-shadow: 0 2px 30px rgba(0,0,0,.3); }
.hero-title .accent {
  color: transparent;
  background: linear-gradient(90deg, #c4b5fd, #818cf8, #a78bfa);
  -webkit-background-clip: text; background-clip: text;
}
.hero-sub  { color: #c4b5fd; font-size: 1.15rem; font-weight: 600; margin-bottom: .75rem; }
.hero-desc {
  color: #94a3b8; font-size: .95rem; line-height: 1.75;
  margin-bottom: 2.5rem; max-width: 580px; margin-left: auto; margin-right: auto;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.35); font-size: .63rem; letter-spacing: .12em; text-transform: uppercase;
  animation: bounce-y 2s ease-in-out infinite;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.35), transparent);
}
@keyframes bounce-y {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(9px); }
}

/* ── Stats Bar ────────────────────────────────────────────── */
.stats-bar-wrap {
  position: relative; z-index: 30;
  margin-top: -4rem; padding: 0 1.5rem; margin-bottom: 0;
}
.stats-bar {
  background: white; border-radius: 20px;
  box-shadow: 0 24px 64px rgba(124,58,237,.16), 0 4px 12px rgba(0,0,0,.06);
  border: 1px solid rgba(124,58,237,.1);
  padding: 2rem 3rem;
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: 680px; margin: 0 auto;
}
.stat-item { text-align: center; padding: .5rem 1rem; }
.stat-value {
  font-size: 2rem; font-weight: 900; color: var(--text);
  display: flex; align-items: center; justify-content: center; gap: .3rem;
  line-height: 1;
}
.stat-value .star { color: #f59e0b; font-size: 1.7rem; }
.stat-label {
  font-size: .63rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-muted); margin-top: .5rem;
}
.stat-divider { border-left: 1px solid var(--border); }

/* ── Section Header ───────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { color: var(--text); margin-bottom: .75rem; margin-top: .25rem; }
.section-header p  { color: var(--text-muted); font-size: .93rem; max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2rem; transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: #c4b5fd; }
.card-icon {
  width: 52px; height: 52px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}

/* ── Program Cards ────────────────────────────────────────── */
#program { background: white; }
.program-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 2.5rem 1.5rem; margin-top: 1.5rem;
}
.program-card {
  background: white; border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  padding: 2.25rem 2rem 2rem; display: flex; flex-direction: column;
  transition: all var(--transition); position: relative; overflow: visible;
  flex: 1 1 280px; max-width: 340px; margin-top: .75rem;
}
.program-card:hover { border-color: var(--primary); transform: translateY(-7px); box-shadow: 0 22px 52px rgba(124,58,237,.18); }
.program-card.featured { border-color: var(--primary); box-shadow: 0 10px 40px rgba(124,58,237,.18); }
.program-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white; font-size: .66rem; font-weight: 800;
  padding: .3rem 1.2rem; border-radius: 50px; letter-spacing: .12em; text-transform: uppercase;
  white-space: nowrap; box-shadow: 0 4px 14px rgba(124,58,237,.4); z-index: 10;
}
.program-icon { width: 48px; height: 48px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.program-name  { font-size: 1.1rem; font-weight: 800; margin-bottom: .5rem; }
.program-desc  { font-size: .82rem; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.6; flex: 1; }
.program-price { font-size: 1.85rem; font-weight: 900; color: var(--text); margin-bottom: 1.25rem; }
.program-items { margin-bottom: 1.5rem; }
.program-item  { display: flex; align-items: center; gap: .5rem; font-size: .78rem; color: var(--text-muted); margin-bottom: .4rem; }
.program-item svg { color: var(--success); flex-shrink: 0; }
.program-btn { margin-top: auto; }

/* ── Visi Misi ────────────────────────────────────────────── */
#visi { background: white; }
.visi-misi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.visi-box {
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  border: 1px solid #c4b5fd; border-radius: var(--radius-lg); padding: 1.75rem; margin-top: 1.5rem;
}
.misi-card {
  background: linear-gradient(145deg, #1e1b4b, #312e81 60%, #2d1b69);
  border-radius: var(--radius-xl); padding: 2.5rem; color: white;
  box-shadow: 0 24px 64px rgba(30,27,75,.4);
}
.misi-card h3 { color: #a78bfa; font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.misi-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.misi-check { width: 24px; height: 24px; border-radius: 50%; background: rgba(124,58,237,.35); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .75rem; color: #a78bfa; margin-top: .1rem; }
.misi-text  { font-size: .87rem; color: #cbd5e1; line-height: 1.75; }

/* ── Fasilitas ────────────────────────────────────────────── */
#fasilitas { background: var(--bg); }
.fasilitas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.fasilitas-card {
  background: white; border-radius: var(--radius-lg); border: 1px solid var(--border);
  padding: 1.5rem; display: flex; align-items: flex-start; gap: 1rem;
  transition: all var(--transition);
}
.fasilitas-card:hover { border-color: #c4b5fd; box-shadow: 0 8px 32px rgba(124,58,237,.11); transform: translateY(-3px); }
.fasilitas-icon { width: 48px; height: 48px; border-radius: var(--radius); background: #f5f3ff; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.fasilitas-title { font-weight: 700; font-size: .95rem; margin-bottom: .25rem; }
.fasilitas-desc  { font-size: .8rem; color: var(--text-muted); line-height: 1.6; }

/* ── Alur Pendaftaran ─────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; position: relative; }
.steps-grid::before {
  content: ''; position: absolute; top: 26px; left: calc(50% / 4); right: calc(50% / 4);
  height: 2px; background: linear-gradient(to right, var(--primary), var(--secondary));
  opacity: .2; z-index: 0;
}
.step-card { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white; font-weight: 900; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; box-shadow: 0 8px 24px rgba(124,58,237,.4);
}
.step-title { font-weight: 700; font-size: .95rem; margin-bottom: .4rem; }
.step-desc  { font-size: .8rem; color: var(--text-muted); line-height: 1.65; }

/* ── Booking Form ─────────────────────────────────────────── */
#booking { background: white; }
.booking-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: start; }
.form-card { background: white; border-radius: var(--radius-xl); border: 1px solid var(--border); padding: 2.5rem; box-shadow: 0 12px 50px rgba(124,58,237,.07); }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--text); margin-bottom: .5rem; }
.form-control {
  width: 100%; padding: .8rem 1rem; border: 2px solid var(--border);
  border-radius: var(--radius); font-family: inherit; font-size: .88rem;
  background: var(--surface-alt); color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(124,58,237,.09); background: white; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── Gallery ──────────────────────────────────────────────── */
#gallery { background: var(--bg); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.gallery-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,10,46,.82) 0%, transparent 60%);
  display: flex; align-items: flex-end; padding: 1.25rem;
  opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-title { color: white; font-weight: 700; font-size: .9rem; }
.gallery-empty { grid-column: 1/-1; text-align: center; padding: 3rem; color: var(--text-muted); }

/* ── News ─────────────────────────────────────────────────── */
#news { background: white; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.news-card {
  background: white; border-radius: var(--radius-lg); border: 1px solid var(--border);
  overflow: hidden; display: flex; flex-direction: column;
  transition: all var(--transition);
}
.news-card:hover { transform: translateY(-5px); box-shadow: 0 18px 52px rgba(124,58,237,.14); border-color: #c4b5fd; }
.news-thumb { aspect-ratio: 16/9; overflow: hidden; background: #f5f3ff; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.news-card:hover .news-thumb img { transform: scale(1.06); }
.news-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--primary); opacity: .3; }
.news-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.news-category {
  display: inline-block; padding: .22rem .75rem; border-radius: 50px;
  background: #f5f3ff; color: var(--primary); font-size: .63rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem;
}
.news-title   { font-weight: 700; font-size: 1rem; margin-bottom: .5rem; line-height: 1.45; }
.news-excerpt { font-size: .82rem; color: var(--text-muted); margin-bottom: 1rem; line-height: 1.65; flex: 1; }
.news-date    { font-size: .74rem; color: var(--text-light); }

/* ── Events ───────────────────────────────────────────────── */
#events { background: var(--bg); }
.event-card {
  background: white; border-radius: var(--radius-lg); border: 1px solid var(--border);
  padding: 1.5rem 2rem; display: flex; gap: 1.5rem; align-items: flex-start;
  transition: all var(--transition);
}
.event-card:hover { border-color: #c4b5fd; box-shadow: 0 8px 32px rgba(124,58,237,.11); transform: translateY(-3px); }
.event-date-box {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white; border-radius: var(--radius); padding: .75rem 1.1rem;
  text-align: center; min-width: 66px; flex-shrink: 0;
}
.event-day   { font-size: 1.65rem; font-weight: 900; line-height: 1; }
.event-month { font-size: .63rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .85; margin-top: .15rem; }
.event-body  { flex: 1; }
.event-title { font-weight: 700; font-size: 1rem; margin-bottom: .35rem; }
.event-desc  { font-size: .82rem; color: var(--text-muted); line-height: 1.65; margin-bottom: .5rem; }
.event-meta  { display: flex; gap: 1rem; font-size: .74rem; color: var(--text-light); flex-wrap: wrap; }
.event-status { padding: .22rem .75rem; border-radius: 50px; font-size: .63rem; font-weight: 700; text-transform: uppercase; }
.event-status.upcoming { background: #ede9fe; color: var(--primary); }
.event-status.ongoing  { background: #d1fae5; color: #065f46; }
.event-status.done     { background: #f3f4f6; color: var(--text-muted); }

/* ── Testimonial ──────────────────────────────────────────── */
#testimonial { background: linear-gradient(145deg, #120d3e, #1e1b4b, #2e1065); color: white; }
.testi-grid  { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testi-card  {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--radius-lg); padding: 2rem; backdrop-filter: blur(12px);
  transition: all var(--transition);
}
.testi-card:hover { background: rgba(255,255,255,.11); border-color: rgba(167,139,250,.3); transform: translateY(-4px); }
.testi-stars  { color: #fbbf24; font-size: 1rem; margin-bottom: 1rem; letter-spacing: .1rem; }
.testi-text   { font-size: .88rem; color: #cbd5e1; line-height: 1.8; margin-bottom: 1.25rem; font-style: italic; }
.testi-author  { font-weight: 700; color: white; font-size: .9rem; }
.testi-program { font-size: .77rem; color: #a78bfa; margin-top: .15rem; }

/* ── FAQ ──────────────────────────────────────────────────── */
#faq { background: white; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; padding: 1.25rem 0; display: flex; justify-content: space-between;
  align-items: center; background: none; border: none; text-align: left;
  font-size: .93rem; font-weight: 600; color: var(--text); gap: 1rem; cursor: pointer;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-icon { flex-shrink: 0; color: var(--primary); transition: transform var(--transition); }
.faq-item.open .faq-question { color: var(--primary); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .42s ease; }
.faq-answer-inner { padding: 0 0 1.25rem; font-size: .87rem; color: var(--text-muted); line-height: 1.8; }

/* ── Contact ──────────────────────────────────────────────── */
#kontak { background: var(--bg); }
.kontak-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3.5rem; align-items: start; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon { width: 44px; height: 44px; border-radius: var(--radius); background: #f5f3ff; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--primary); }
.contact-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .11em; color: var(--text-muted); }
.contact-value { font-size: .95rem; font-weight: 600; color: var(--text); margin-top: .18rem; line-height: 1.5; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/10; background: #f5f3ff; border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 100%; border: none; }

/* ── Footer ───────────────────────────────────────────────── */
footer { background: #0d0820; color: #94a3b8; padding: 4rem 0 1.75rem; }
.footer-top  {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 2rem;
}
.footer-brand p { font-size: .84rem; line-height: 1.75; margin-top: .75rem; color: #94a3b8; }
.footer-links h4 { color: white; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.25rem; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a  { font-size: .84rem; transition: color var(--transition); }
.footer-links a:hover { color: #a78bfa; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; font-size: .78rem; flex-wrap: wrap; color: #6b7280;
}
.footer-bottom a { color: #a78bfa; }

/* ── Materi Filter Tabs ────────────────────────────────────── */
#materialFilterTabs { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
#materialFilterTabs .btn { padding: .45rem 1.1rem; font-size: .75rem; }

/* ── AI Chatbot Widget ────────────────────────────────────── */
#chatWidget { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999; }
#chatToggle {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none; color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(124,58,237,.52); transition: all var(--transition);
  position: relative;
}
#chatToggle:hover { transform: scale(1.1); box-shadow: 0 14px 42px rgba(124,58,237,.65); }
.chat-pulse {
  position: absolute; top: -2px; right: -2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #10b981; border: 2px solid white;
  animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.3); opacity: .7; } }
#chatBox {
  position: absolute; bottom: 75px; right: 0;
  width: 360px; height: 520px;
  background: white; border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0,0,0,.22);
  border: 1px solid rgba(124,58,237,.18);
  display: none; flex-direction: column; overflow: hidden;
}
#chatBox.open { display: flex; animation: slideUp .3s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.chat-header {
  padding: 1rem 1.25rem; background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white; display: flex; align-items: center; gap: .75rem;
}
.chat-avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.chat-header-info .chat-name   { font-weight: 700; font-size: .9rem; }
.chat-header-info .chat-status { font-size: .7rem; opacity: .8; }
#chatClose { margin-left: auto; background: none; border: none; color: white; font-size: 1.2rem; opacity: .7; }
#chatClose:hover { opacity: 1; }
#chatMessages {
  flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .75rem;
  background: #fafafa;
}
#chatMessages::-webkit-scrollbar { width: 4px; }
#chatMessages::-webkit-scrollbar-track { background: transparent; }
#chatMessages::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 2px; }
.msg-bot {
  background: white; border: 1px solid var(--border);
  padding: .75rem 1rem; border-radius: 16px 16px 16px 4px;
  font-size: .83rem; max-width: 85%; line-height: 1.65;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.msg-user {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white; padding: .75rem 1rem;
  border-radius: 16px 16px 4px 16px;
  font-size: .83rem; max-width: 85%; align-self: flex-end; line-height: 1.65;
}
.typing-indicator { display: flex; align-items: center; gap: 4px; }
.typing-dot { width: 7px; height: 7px; background: #94a3b8; border-radius: 50%; animation: typingBounce 1.2s ease infinite; }
.typing-dot:nth-child(2) { animation-delay: .2s; }
.typing-dot:nth-child(3) { animation-delay: .4s; }
@keyframes typingBounce { 0%,60%,100% { transform: translateY(0); } 30% { transform: translateY(-6px); } }
#chatInputArea { padding: .75rem; border-top: 1px solid var(--border); display: flex; gap: .5rem; }
#chatInput {
  flex: 1; border: 2px solid var(--border); border-radius: 12px;
  padding: .65rem 1rem; font-family: inherit; font-size: .83rem;
  outline: none; transition: border-color var(--transition);
}
#chatInput:focus { border-color: var(--primary); }
#chatSend {
  width: 40px; height: 40px; border-radius: 12px; border: none;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white; display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
#chatSend:hover { transform: scale(1.08); }

/* ── Lightbox ─────────────────────────────────────────────── */
#lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.94); display: none; flex-direction: column;
  align-items: center; justify-content: center; padding: 2rem;
}
#lightbox.open { display: flex; }
#lightbox img { max-width: 90vw; max-height: 76vh; border-radius: var(--radius); object-fit: contain; }
#lightbox-caption { color: white; text-align: center; margin-top: 1rem; font-size: .9rem; opacity: .8; }
#lightbox-close { position: absolute; top: 1rem; right: 1.5rem; color: white; font-size: 2rem; background: none; border: none; opacity: .65; transition: opacity var(--transition); }
#lightbox-close:hover { opacity: 1; }

/* ── Toast ────────────────────────────────────────────────── */
#toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(100px);
  background: #1e1b4b; color: white; padding: 1rem 2rem; border-radius: 50px;
  font-size: .88rem; font-weight: 600; z-index: 99999;
  transition: transform .4s ease; display: flex; align-items: center; gap: .75rem;
  box-shadow: 0 10px 40px rgba(0,0,0,.3); white-space: nowrap;
}
#toast.show    { transform: translateX(-50%) translateY(0); }
#toast.success { background: #065f46; }
#toast.error   { background: #991b1b; }

/* ── Mobile Nav ───────────────────────────────────────────── */
#mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(13,8,32,.98); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center; gap: 1.75rem;
}
#mobile-nav.open { display: flex; }
#mobile-nav a { color: white; font-size: 1.2rem; font-weight: 700; opacity: .75; transition: opacity var(--transition), color var(--transition); }
#mobile-nav a:hover { opacity: 1; color: var(--accent); }
#mobile-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: white; font-size: 2rem; opacity: .7; }
#mobile-close:hover { opacity: 1; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .visi-misi-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .booking-grid   { grid-template-columns: 1fr; gap: 3rem; }
  .kontak-grid    { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-top     { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  #nav-menu-btn { display: block; }
  .stats-bar {
    grid-template-columns: 1fr; gap: 1.25rem; padding: 1.75rem 1.5rem;
    margin: -2.5rem 1rem 0;
  }
  .stat-divider { border-left: none; border-top: 1px solid var(--border); padding-top: 1.25rem; }
  .section    { padding: 4rem 0; }
  .form-row   { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  #chatBox    { width: calc(100vw - 2rem); right: -1rem; }
  .event-card { flex-direction: column; gap: 1rem; }
  .steps-grid::before { display: none; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .program-grid { flex-direction: column; }
  .program-card { max-width: 100%; }
  .stats-bar { margin: -2rem .75rem 0; }
  .hero-content { padding-bottom: 5rem; }
}
