/* =========================================================
   WELCOME.CSS — MULTI-LAYER PARALLAX & MODERN ISLAMIC DESIGN
   Sekolah Islam Al-Qur'an Imam Syafi'i
   ========================================================= */

:root {
  --primary: #0b2e1b;
  --primary-light: #14472a;
  --primary-mid: #1b5e38;
  --primary-deep: #061a0f;
  --accent: #d4af37;
  --accent-light: #f3e3ad;
  --accent-dark: #aa8418;
  --dark: #0f1912;
  --light-bg: #f3f6f1;
  --paper: #ffffff;
  --text: #2c3a32;
  --muted: #5f6f65;
  --glass: rgba(255, 255, 255, 0.09);
  --glass-strong: rgba(11, 46, 27, 0.78);
  --glass-border: rgba(212, 175, 55, 0.34);

  /* Inline SVG Islamic Geometric Ornaments */
  --star-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%23d4af37' stroke-width='1.15' stroke-opacity='0.55'%3E%3Crect x='22' y='22' width='44' height='44'/%3E%3Crect x='22' y='22' width='44' height='44' transform='rotate(45 44 44)'/%3E%3Ccircle cx='44' cy='44' r='8'/%3E%3C/g%3E%3C/svg%3E");
  --star-small: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cg fill='%23d4af37'%3E%3Crect x='3' y='3' width='12' height='12'/%3E%3Crect x='3' y='3' width='12' height='12' transform='rotate(45 9 9)'/%3E%3C/g%3E%3C/svg%3E");
  --star-ring: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cg fill='none' stroke='%23d4af37' stroke-width='1.4'%3E%3Crect x='70' y='70' width='260' height='260'/%3E%3Crect x='70' y='70' width='260' height='260' transform='rotate(45 200 200)'/%3E%3Crect x='115' y='115' width='170' height='170'/%3E%3Crect x='115' y='115' width='170' height='170' transform='rotate(45 200 200)'/%3E%3Ccircle cx='200' cy='200' r='58'/%3E%3Ccircle cx='200' cy='200' r='195' stroke-dasharray='3 8'/%3E%3C/g%3E%3C/svg%3E");

  --font-main: 'Poppins', sans-serif;
  --font-arabic: 'Amiri', serif;
  --font-display: 'Amiri', 'Times New Roman', serif;

  --shadow-sm: 0 6px 18px rgba(11, 46, 27, 0.07);
  --shadow-md: 0 16px 38px rgba(11, 46, 27, 0.13);
  --shadow-lg: 0 28px 64px rgba(0, 0, 0, 0.34);
  --shadow-glow: 0 0 28px rgba(212, 175, 55, 0.42);

  --transition: all 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --arch: 999px 999px 26px 26px;
}

/* ======== RESET & BASE ======== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}

html, body {
  width: 100%;
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  background-color: var(--light-bg);
  line-height: 1.75;
  position: relative;
}
body.mobile-nav-locked {
  overflow: hidden;
}

/* Top Scroll Progress Indicator */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), #fff3b8, var(--accent));
  z-index: 2000;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.7);
  transition: width 0.08s linear;
  pointer-events: none;
}

.container {
  width: 90%;
  max-width: 1220px;
  margin: 0 auto;
}
.container.narrow {
  max-width: 880px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: inherit;
}

/* ======== PARALLAX ENGINE UTILITIES ======== */
.parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-bg-wrap {
  position: absolute;
  inset: -18% 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.parallax-bg-layer {
  position: absolute;
  inset: -12% -4%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.12);
}

.parallax-ornament-layer {
  position: absolute;
  inset: -15% 0;
  background-image: var(--star-tile);
  background-size: 88px 88px;
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

.parallax-ring {
  position: absolute;
  width: min(560px, 85vw);
  aspect-ratio: 1;
  background: var(--star-ring) center / contain no-repeat;
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}
.parallax-ring.spin {
  animation: ringSpinSlow 110s linear infinite;
}

[data-parallax-speed],
[data-parallax-img] {
  will-change: transform;
}

/* ======== SECTION HEADERS & BADGES ======== */
.section {
  padding: 110px 0;
  background: var(--light-bg);
  position: relative;
  overflow: hidden;
}
.section.alt {
  background: var(--paper);
}
.section > .container {
  position: relative;
  z-index: 3;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: rgba(11, 46, 27, 0.08);
  color: var(--primary);
  border: 1px solid rgba(212, 175, 55, 0.45);
  margin-bottom: 14px;
}
.section-eyebrow i {
  color: var(--accent-dark);
}
.section-eyebrow.light {
  background: rgba(212, 175, 55, 0.16);
  color: var(--accent-light);
  border-color: rgba(212, 175, 55, 0.45);
}
.section-eyebrow.light i {
  color: var(--accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.8vw, 3.1rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  text-align: center;
  margin-bottom: 16px;
}
.section-title::after {
  content: '';
  display: block;
  width: 200px;
  height: 18px;
  margin: 16px auto 0;
  background:
    var(--star-small) center / 18px 18px no-repeat,
    linear-gradient(90deg, transparent, var(--accent)) left center / 80px 1.5px no-repeat,
    linear-gradient(90deg, var(--accent), transparent) right center / 80px 1.5px no-repeat;
}
.section-title.left {
  text-align: left;
  margin-bottom: 22px;
}
.section-title.left::after {
  margin: 14px 0 0;
  width: 170px;
  background:
    var(--star-small) left center / 18px 18px no-repeat,
    linear-gradient(90deg, var(--accent), transparent) 28px center / 135px 1.5px no-repeat;
}
.section-subtitle {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.75;
}
.section-subtitle.light {
  color: rgba(255, 255, 255, 0.82);
}

/* ======== BUTTONS ======== */
.btn-primary, .btn-secondary, .btn-started {
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary::before, .btn-started::before, .btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -95%;
  width: 55%;
  height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-20deg);
  transition: left 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
  pointer-events: none;
}
.btn-primary:hover::before, .btn-started:hover::before, .btn-secondary:hover::before {
  left: 140%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(11, 46, 27, 0.26);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(11, 46, 27, 0.36);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1.5px solid rgba(243, 227, 173, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
  transform: translateY(-3px);
}

.btn-started {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-started:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.55);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 13px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.16);
  color: #85680f;
  font-size: 0.75rem;
  font-weight: 600;
}

/* =========================================================
   NAVBAR (CLEAN 6-ITEM STREAMLINED MENU)
   ========================================================= */
.navbar {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  padding: 14px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(212, 175, 55, 0.32);
  transition: var(--transition);
}
.navbar.scrolled {
  padding: 9px 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(11, 46, 27, 0.12);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 94%;
  max-width: 1320px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: clamp(0.95rem, 2.5vw, 1.08rem);
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}
.logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.logo-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--accent-dark);
  letter-spacing: 0.4px;
  line-height: 1.1;
}

.nav-menu-wrapper {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: space-between;
  margin-left: 32px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
}
.nav-links > li > a {
  font-weight: 500;
  color: var(--dark);
  font-size: 0.88rem;
  padding: 8px 14px;
  border-radius: 999px;
  position: relative;
  white-space: nowrap;
  transition: var(--transition);
}
.nav-links > li > a:hover {
  color: var(--primary);
  background: rgba(11, 46, 27, 0.06);
}
.nav-links > li > a.active {
  color: var(--primary);
  font-weight: 600;
  background: rgba(212, 175, 55, 0.18);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.45);
}

.auth-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.auth-buttons .btn-started {
  padding: 9px 22px;
  font-size: 0.86rem;
}

/* Hamburger */
.menu-toggle {
  display: none;
  position: relative;
  width: 38px;
  height: 38px;
  cursor: pointer;
  background: rgba(11, 46, 27, 0.06);
  border: 1px solid rgba(11, 46, 27, 0.12);
  border-radius: 10px;
  padding: 0;
  flex-shrink: 0;
}
.bar {
  display: block;
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2.5px;
  background-color: var(--primary);
  border-radius: 3px;
  transform: translate(-50%, 0);
  transition: var(--transition);
}
.bar:nth-child(1) { top: 11px; }
.bar:nth-child(2) { top: 18px; }
.bar:nth-child(3) { top: 25px; }
.menu-toggle.active .bar:nth-child(1) { top: 18px; transform: translate(-50%, 0) rotate(45deg); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; transform: translate(-50%, 0) scaleX(0); }
.menu-toggle.active .bar:nth-child(3) { top: 18px; transform: translate(-50%, 0) rotate(-45deg); }

/* =========================================================
   1. HERO SECTION — MULTI-LAYER 3D PARALLAX
   ========================================================= */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 135px 0 115px;
  background: var(--primary-deep);
}

/* Layer 1: Parallax Background Photo */
.hero-bg-parallax {
  position: absolute;
  inset: -16% -6%;
  background-image: var(--hero-bg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.14);
  filter: saturate(1.08) contrast(1.04);
}

/* Layer 2: Rich Gradient Vignette (clearer on the right so parallax photo shines through) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(108deg, rgba(6, 24, 14, 0.93) 0%, rgba(9, 36, 21, 0.80) 48%, rgba(11, 46, 27, 0.48) 100%),
    radial-gradient(circle at 80% 24%, rgba(212, 175, 55, 0.28), transparent 52%),
    radial-gradient(circle at 18% 85%, rgba(20, 71, 42, 0.55), transparent 50%);
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

/* Layer 2B: Drifting Geometric Star Pattern */
.hero-pattern-parallax {
  position: absolute;
  inset: -20%;
  background: var(--star-tile) 0 0 / 88px 88px repeat;
  opacity: 0.22;
  z-index: 1;
  -webkit-mask-image: radial-gradient(circle at 68% 45%, #000 10%, transparent 75%);
  mask-image: radial-gradient(circle at 68% 45%, #000 10%, transparent 75%);
  pointer-events: none;
  will-change: transform;
}

/* Floating Golden Particles */
.particle {
  position: absolute;
  bottom: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff5c0 0%, var(--accent) 55%, transparent 72%);
  opacity: 0;
  animation: particleRise linear infinite;
  will-change: transform, opacity;
}

/* Bottom Ornamental Dome Curve Divider */
.hero-wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  z-index: 4;
  line-height: 0;
  pointer-events: none;
}
.hero-wave-divider svg {
  width: 100%;
  height: 64px;
  display: block;
}

.hero .container {
  position: relative;
  z-index: 3;
}
.hero-wrapper {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 56px;
}

.hero-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(243, 227, 173, 0.4);
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}
.hero-badge-top i {
  color: var(--accent);
}

.basmalah {
  font-family: var(--font-arabic);
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  color: var(--accent);
  margin-bottom: 8px;
  text-shadow: 0 0 24px rgba(212, 175, 55, 0.45);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.2vw, 3.85rem);
  font-weight: 700;
  line-height: 1.14;
  margin-bottom: 20px;
}
.hero h1 .highlight {
  background: linear-gradient(100deg, var(--accent) 0%, #fff3b8 50%, var(--accent) 100%) 100% 0 / 240% 100% no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent);
  animation: shimmer 5s linear infinite;
}

.hero-desc {
  font-size: clamp(0.94rem, 2.2vw, 1.05rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  line-height: 1.8;
  max-width: 56ch;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* Quick Hero Highlights Strip */
.hero-value-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(243, 227, 173, 0.22);
}
.hero-mini-stat {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-mini-stat i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.hero-mini-stat strong {
  display: block;
  font-size: 0.86rem;
  color: #fff;
  line-height: 1.2;
}
.hero-mini-stat span {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.72);
}

/* Hero Right Multi-Layer Arch Stage */
.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  perspective: 1000px;
}
.hero-ring-backdrop {
  position: absolute;
  width: 122%;
  max-width: 560px;
  aspect-ratio: 1;
  background: var(--star-ring) center / contain no-repeat;
  opacity: 0.42;
  z-index: 0;
  pointer-events: none;
  animation: ringSpinSlow 85s linear infinite;
}
.hero-glow-orb {
  position: absolute;
  width: 78%;
  height: 85%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.38) 0%, transparent 70%);
  filter: blur(32px);
  z-index: 0;
  pointer-events: none;
}

.hero-arch-main {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 370px;
  height: 475px;
  border-radius: var(--arch);
  overflow: hidden;
  border: 2px solid rgba(243, 227, 173, 0.65);
  box-shadow: var(--shadow-lg);
  outline: 2px solid rgba(212, 175, 55, 0.45);
  outline-offset: 12px;
}
.hero-arch-main img {
  width: 100%;
  height: 116%;
  object-fit: cover;
  transform: translateY(-6%);
}

/* Secondary Floating Photo Card on Hero */
.hero-arch-secondary {
  position: absolute;
  bottom: -14px;
  left: -18px;
  width: 165px;
  height: 195px;
  border-radius: 999px 999px 18px 18px;
  overflow: hidden;
  border: 3px solid var(--accent);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.45);
  z-index: 3;
  background: var(--primary);
}
.hero-arch-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating 3D Parallax Badges on Hero */
.floating-badge {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 16px;
  background: rgba(9, 35, 21, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.55);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  color: #fff;
}
.floating-badge i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.floating-badge strong {
  display: block;
  font-size: 0.8rem;
  line-height: 1.2;
}
.floating-badge span {
  font-size: 0.7rem;
  color: var(--accent-light);
}
.floating-badge.badge-top-right {
  top: 26px;
  right: -12px;
}
.floating-badge.badge-bottom-right {
  bottom: 34px;
  right: -16px;
}

/* =========================================================
   2. PROFIL, VISI-MISI & FASILITAS (PARALLAX DUAL STACK)
   ========================================================= */
.profil-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 84px;
}

.profil-visual-stack {
  position: relative;
  padding: 16px 28px 36px 12px;
}
.profil-main-frame {
  position: relative;
  z-index: 2;
  width: 88%;
  aspect-ratio: 4 / 5;
  border-radius: var(--arch);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid rgba(212, 175, 55, 0.55);
  outline: 2px solid rgba(212, 175, 55, 0.35);
  outline-offset: 10px;
}
.profil-main-frame img {
  width: 100%;
  height: 118%;
  object-fit: cover;
}

.profil-sub-frame {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 54%;
  aspect-ratio: 4 / 3.6;
  border-radius: 22px;
  overflow: hidden;
  z-index: 3;
  border: 5px solid var(--paper);
  box-shadow: 0 22px 45px rgba(11, 46, 27, 0.24);
}
.profil-sub-frame img {
  width: 100%;
  height: 115%;
  object-fit: cover;
}

.profil-exp-badge {
  position: absolute;
  top: 32px;
  left: -10px;
  z-index: 4;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 16px 20px;
  border-radius: 20px;
  border: 1.5px solid var(--accent);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.profil-exp-badge strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--accent);
  display: block;
  line-height: 1;
}
.profil-exp-badge span {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.9);
}

.lead-text {
  color: var(--text);
  font-size: 0.98rem;
  margin-bottom: 22px;
  line-height: 1.8;
}

/* Visi Misi Cards */
.visi-misi-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.vm-card {
  background: var(--light-bg);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow-sm);
}
.vm-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vm-card h3 i {
  color: var(--accent-dark);
  font-size: 1rem;
}
.vm-card p, .vm-card li {
  font-size: 0.86rem;
  color: var(--text);
  line-height: 1.65;
}
.vm-card ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.vm-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.vm-card ul li i {
  color: var(--primary-mid);
  font-size: 0.78rem;
  margin-top: 5px;
}

/* 4 Keunggulan Grid */
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  background: #fff;
  border: 1px solid rgba(11, 46, 27, 0.09);
  border-left: 3.5px solid var(--accent);
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.check-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.check-item i {
  color: var(--accent-dark);
  font-size: 1.05rem;
}

/* Fasilitas Sub-block inside #profil */
.fasilitas-subblock {
  padding-top: 56px;
  border-top: 1px solid rgba(11, 46, 27, 0.1);
}
.fasilitas-subhead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.fasilitas-subhead h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  color: var(--primary);
}
.fasilitas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.fasilitas-card {
  background: var(--light-bg);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  border: 1px solid rgba(11, 46, 27, 0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.fasilitas-card:hover {
  transform: translateY(-7px);
  background: #fff;
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.55);
}
.fasilitas-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
  box-shadow: 0 8px 18px rgba(11, 46, 27, 0.2);
}
.fasilitas-card h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 6px;
}
.fasilitas-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}

/* =========================================================
   PARALLAX QUOTE & STATISTIK BANNER
   ========================================================= */
.parallax-banner {
  padding: 100px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
  background: var(--primary-deep);
}
.parallax-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 26, 15, 0.82) 0%, rgba(11, 46, 27, 0.72) 50%, rgba(6, 26, 15, 0.86) 100%),
    radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.24), transparent 60%);
  z-index: 1;
}
.parallax-banner .container {
  position: relative;
  z-index: 3;
}
.quote-box {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 52px;
}
.quote-arabic {
  font-family: var(--font-arabic);
  font-size: clamp(1.6rem, 4.2vw, 2.5rem);
  color: var(--accent-light);
  line-height: 1.6;
  margin-bottom: 10px;
  text-shadow: 0 2px 20px rgba(212, 175, 55, 0.4);
}
.quote-translation {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.stat-card {
  text-align: center;
  padding: 28px 18px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
}
.stat-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--accent);
}
.stat-card i {
  font-size: 1.85rem;
  color: var(--accent);
  margin-bottom: 10px;
}
.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 4px;
}
.stat-card span {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.82);
}

/* =========================================================
   3. PENDIDIKAN & PROGRAM UNGGULAN (MERGED AKADEMIK + PROGRAM)
   ========================================================= */
#program {
  background: var(--primary-deep);
  color: #fff;
}
#program .section-title {
  color: #fff;
}
.program-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 26, 15, 0.88) 0%, rgba(11, 46, 27, 0.78) 50%, rgba(6, 26, 15, 0.92) 100%);
  z-index: 1;
}

/* Jenjang Pendidikan Strip */
.jenjang-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 52px;
}
.jenjang-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(243, 227, 173, 0.28);
  border-radius: var(--radius-md);
  padding: 24px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.jenjang-card:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: var(--accent);
  transform: translateY(-5px);
}
.jenjang-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary-deep);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-glow);
}
.jenjang-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 4px;
}
.jenjang-card p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

/* Program Cards (Mihrab Arch) */
.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.program-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 52px 24px 34px;
  border-radius: var(--arch);
  text-align: center;
  border: 1px solid var(--glass-border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transition: var(--transition);
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.program-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--accent);
}
.icon-card {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  transition: var(--transition);
  animation: ringPulse 3.2s ease-out infinite;
}
.program-card:hover .icon-card {
  background: var(--accent);
  color: var(--primary-deep);
  transform: rotateY(180deg);
}
.program-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.program-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  line-height: 1.68;
  margin-bottom: 16px;
}
.program-tag {
  margin-top: auto;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 600;
  background: rgba(212, 175, 55, 0.18);
  color: var(--accent-light);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

/* =========================================================
   4. GALERI KEGIATAN & PRESTASI (FILTERABLE + LIGHTBOX)
   ========================================================= */
.galeri-filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.galeri-filter-btn {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid rgba(11, 46, 27, 0.15);
  background: #fff;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.galeri-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.galeri-filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(11, 46, 27, 0.22);
}

.galeri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 56px;
}
.galeri-item {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(11, 46, 27, 0.08);
  transition: var(--transition);
}
.galeri-item:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}
.galeri-btn {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: none;
  cursor: zoom-in;
  padding: 0;
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--primary);
}
.galeri-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.galeri-btn:hover img {
  transform: scale(1.08);
}
.galeri-zoom-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(11, 46, 27, 0.82);
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  border: 1px solid rgba(212, 175, 55, 0.45);
}
.galeri-item figcaption {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.galeri-item h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--primary);
}
.galeri-item p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Integrated Capaian & Prestasi Strip inside #galeri */
.prestasi-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: 38px 36px;
  color: #fff;
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.prestasi-strip-header {
  text-align: center;
  margin-bottom: 28px;
}
.prestasi-strip-header h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--accent-light);
}
.prestasi-strip-header p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
}
.prestasi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.prestasi-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(243, 227, 173, 0.28);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  backdrop-filter: blur(8px);
}
.prestasi-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.prestasi-card h4 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  color: #fff;
  margin: 4px 0;
}
.prestasi-card p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(5, 14, 9, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: min(92vw, 1020px); text-align: center; }
.lightbox img { max-width: 100%; max-height: 80vh; width: auto; height: auto; object-fit: contain; margin: 0 auto; border-radius: var(--radius-sm); border: 2px solid rgba(212, 175, 55, 0.45); }
.lb-caption { color: #fff; margin-top: 14px; font-size: 0.96rem; }
.lb-close, .lb-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(212, 175, 55, 0.35);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
}
.lb-close:hover, .lb-nav:hover { background: var(--accent); color: var(--primary-deep); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }

/* =========================================================
   5. PPDB & FAQ PENDAFTARAN (PARALLAX + STEPPER + ACCORDION)
   ========================================================= */
.ppdb-section {
  background: var(--paper);
}
.ppdb-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 60px 44px;
  color: #fff;
  background: var(--primary-deep);
  border: 1.5px solid rgba(212, 175, 55, 0.5);
  box-shadow: var(--shadow-lg);
  margin-bottom: 56px;
}
.ppdb-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(6, 26, 15, 0.92) 0%, rgba(11, 46, 27, 0.78) 60%, rgba(11, 46, 27, 0.65) 100%),
    radial-gradient(circle at 85% 20%, rgba(212, 175, 55, 0.32), transparent 55%);
  z-index: 1;
}
.ppdb-banner-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.ppdb-banner-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  line-height: 1.2;
  margin-bottom: 14px;
}
.ppdb-banner-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  font-size: 0.96rem;
}

/* Alur Pendaftaran 4 Steps */
.ppdb-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 34px 0;
  text-align: left;
}
.ppdb-step {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(243, 227, 173, 0.3);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  backdrop-filter: blur(10px);
}
.ppdb-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary-deep);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.ppdb-step h4 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 4px;
}
.ppdb-step p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  line-height: 1.5;
}

.ppdb-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* FAQ Accordion */
.faq-wrapper {
  max-width: 860px;
  margin: 0 auto;
}
.faq-head {
  text-align: center;
  margin-bottom: 28px;
}
.faq-head h3 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--primary);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-list details {
  background: var(--light-bg);
  border-radius: var(--radius-md);
  border: 1px solid rgba(11, 46, 27, 0.1);
  transition: var(--transition);
}
.faq-list details[open] {
  background: #fff;
  box-shadow: var(--shadow-sm);
  border-color: var(--accent);
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent-dark);
  line-height: 1;
  transition: var(--transition);
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list details p {
  padding: 0 22px 20px;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* =========================================================
   6. KONTAK & PETA INTERAKTIF LEAFLET
   ========================================================= */
.kontak-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 36px;
  align-items: stretch;
}
.kontak-info ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.kontak-info li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border-left: 3.5px solid var(--accent);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.kontak-info li:hover {
  transform: translateX(5px);
}
.kontak-info li > i {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 46, 27, 0.08);
  color: var(--primary);
  font-size: 1.1rem;
}
.kontak-info li div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.kontak-info li strong {
  color: var(--primary);
  font-size: 0.92rem;
}
.kontak-info li span {
  font-size: 0.88rem;
  color: var(--muted);
  word-break: break-word;
}

.kontak-map {
  min-height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #fff;
  border: 2px solid rgba(212, 175, 55, 0.45);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--primary-deep);
  color: rgba(255, 255, 255, 0.74);
  padding: 72px 0 0;
  font-size: 0.9rem;
  border-top: 3px solid var(--accent);
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  position: relative;
  z-index: 2;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}
.footer-logo img {
  height: 40px;
  width: auto;
}
.footer h4 {
  font-family: var(--font-display);
  color: var(--accent-light);
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.footer ul li {
  margin-bottom: 9px;
}
.footer a:hover {
  color: var(--accent);
}
.sosmed {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.sosmed a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  color: #fff;
}
.sosmed a:hover {
  background: var(--accent);
  color: var(--primary-deep);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  text-align: center;
  font-size: 0.84rem;
  position: relative;
  z-index: 2;
}

/* =========================================================
   KEYFRAMES
   ========================================================= */
@keyframes ringSpinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes particleRise {
  0%   { transform: translate3d(0, 0, 0) scale(0.6); opacity: 0; }
  15%  { opacity: var(--o, 0.75); }
  85%  { opacity: var(--o, 0.75); }
  100% { transform: translate3d(var(--dx, 24px), -110vh, 0) scale(1); opacity: 0; }
}
@keyframes ringPulse {
  0%   { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.42); }
  70%  { box-shadow: 0 0 0 18px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}
@keyframes shimmer {
  from { background-position: 100% 0; }
  to   { background-position: 0% 0; }
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */
@media (max-width: 1080px) {
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-menu-wrapper {
    display: none;
    width: 100%;
    margin-left: 0;
    padding-top: 14px;
  }
  .navbar .container {
    flex-wrap: wrap;
  }
  .navbar.mobile-nav-open .nav-menu-wrapper {
    display: block;
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border-top: 1px solid rgba(11, 46, 27, 0.1);
    padding-top: 12px;
  }
  .nav-links > li > a {
    display: block;
    text-align: center;
    padding: 11px 16px;
    font-size: 0.95rem;
  }
  .auth-buttons {
    justify-content: center;
    margin-top: 12px;
    padding: 14px 0 6px;
    border-top: 1px solid rgba(11, 46, 27, 0.1);
  }
  .auth-buttons .btn-started {
    width: 100%;
    max-width: 320px;
  }

  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fasilitas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ppdb-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-value-strip {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
  }
  .profil-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .profil-visual-stack {
    max-width: 480px;
    margin: 0 auto;
  }
  .section-title.left {
    text-align: center;
  }
  .section-title.left::after {
    margin: 14px auto 0;
  }
  .jenjang-strip {
    grid-template-columns: 1fr;
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .galeri-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .prestasi-grid {
    grid-template-columns: 1fr;
  }
  .kontak-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 118px 0 90px;
  }
  .hero-value-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hero-arch-main {
    max-width: 295px;
    height: 390px;
  }
  .hero-arch-secondary {
    width: 128px;
    height: 152px;
    left: 0;
    bottom: -10px;
  }
  .floating-badge.badge-top-right {
    right: 0;
    top: 12px;
    padding: 8px 12px;
  }
  .floating-badge.badge-bottom-right {
    right: 0;
    bottom: 18px;
    padding: 8px 12px;
  }
  .visi-misi-cards,
  .check-grid,
  .program-grid,
  .fasilitas-grid,
  .galeri-grid,
  .ppdb-steps-grid {
    grid-template-columns: 1fr;
  }
  .ppdb-banner {
    padding: 40px 22px;
  }
  .prestasi-strip {
    padding: 28px 20px;
  }
  .section {
    padding: 76px 0;
  }
}

@media (max-width: 640px) {
  .hero-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .hero-btns .btn-started,
  .hero-btns .btn-secondary {
    width: 100%;
    padding: 13px 24px;
    font-size: 0.92rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .ppdb-btns {
    flex-direction: column;
    width: 100%;
  }
  .ppdb-btns a {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .ppdb-btns a {
    width: 100%;
  }
  .stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   DEDICATED SUBPAGE PARALLAX HERO & COMPONENTS
   ========================================================= */
.page-hero {
  min-height: 52vh;
  min-height: 52svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 145px 0 95px;
  background: var(--primary-deep);
}
.page-hero .container {
  position: relative;
  z-index: 3;
  max-width: 860px;
}
.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(243, 227, 173, 0.38);
  font-size: 0.8rem;
  color: var(--accent-light);
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}
.page-breadcrumb a {
  color: #fff;
  font-weight: 500;
}
.page-breadcrumb a:hover {
  color: var(--accent);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.8vw, 3.5rem);
  font-weight: 700;
  line-height: 1.16;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 64ch;
  margin: 0 auto;
  line-height: 1.75;
}

/* Sambutan & Core Values Grid */
.sambutan-box {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 44px;
  align-items: center;
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(212, 175, 55, 0.4);
  margin-bottom: 72px;
}
.sambutan-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--arch);
  overflow: hidden;
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-sm);
}
.sambutan-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sambutan-quote {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--primary);
  font-style: italic;
  margin-bottom: 14px;
  line-height: 1.4;
}
.sambutan-sign {
  margin-top: 20px;
  padding-left: 14px;
  border-left: 3.5px solid var(--accent);
}
.sambutan-sign strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--primary);
}
.sambutan-sign span {
  font-size: 0.84rem;
  color: var(--muted);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.value-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px 22px;
  border: 1px solid rgba(11, 46, 27, 0.08);
  border-bottom: 3px solid var(--accent);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.value-card i {
  font-size: 1.5rem;
  color: var(--accent-dark);
  margin-bottom: 12px;
}
.value-card h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 6px;
}
.value-card p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Daily Routine Timeline */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.timeline-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid rgba(11, 46, 27, 0.09);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}
.timeline-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}
.timeline-time {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(11, 46, 27, 0.08);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.timeline-card h4 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  color: var(--primary);
  margin-bottom: 6px;
}
.timeline-card p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Syarat PPDB & Form Kontak Cards */
.syarat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 64px;
}
.syarat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(11, 46, 27, 0.09);
  border-top: 4px solid var(--primary);
}
.syarat-card.gold {
  border-top-color: var(--accent);
}
.syarat-card h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.syarat-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.syarat-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text);
}
.syarat-list li i {
  color: var(--accent-dark);
  margin-top: 4px;
}

.kontak-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(212, 175, 55, 0.38);
}
.kontak-form-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 6px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid rgba(11, 46, 27, 0.18);
  font-family: inherit;
  font-size: 0.9rem;
  background: var(--light-bg);
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 46, 27, 0.08);
}

@media (max-width: 992px) {
  .sambutan-box {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .sambutan-photo {
    max-width: 260px;
    margin: 0 auto;
  }
  .values-grid,
  .timeline-grid,
  .syarat-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   WEB APP / PWA INSTALL BANNER & MODAL PANDUAN INSTALL
   ========================================================================== */
.webapp-banner-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(135deg, #071f12 0%, #114b2a 55%, #092717 100%);
  border: 1px solid rgba(212, 175, 55, 0.42);
  box-shadow: 0 26px 64px rgba(7, 31, 18, 0.26);
  padding: 48px 46px;
  color: #fff;
}

.webapp-banner-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-light), var(--accent), transparent);
}

.webapp-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.webapp-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  color: #fff;
  line-height: 1.25;
  margin: 10px 0 14px;
}

.webapp-content h2 .highlight {
  color: var(--accent-light);
}

.webapp-content p.webapp-lead {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.96rem;
  line-height: 1.72;
  margin-bottom: 22px;
}

.webapp-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 18px;
  margin-bottom: 28px;
}

.webapp-feature-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(212, 175, 55, 0.24);
  padding: 10px 14px;
  border-radius: 12px;
}

.webapp-feature-pill i {
  color: var(--accent-light);
  font-size: 1rem;
  flex-shrink: 0;
}

.webapp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-install-pwa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, #b89021 100%);
  color: #092214;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(212, 175, 55, 0.28);
  transition: var(--transition);
  text-decoration: none;
}

.btn-install-pwa:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 16px 32px rgba(212, 175, 55, 0.38);
}

.btn-guide-pwa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: var(--transition);
}

.btn-guide-pwa:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--accent-light);
}

/* Mockup Preview Card di Sisi Kanan */
.webapp-preview-stage {
  display: flex;
  justify-content: center;
}

.webapp-phone-frame {
  width: 100%;
  max-width: 300px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--text);
  border-radius: 24px;
  padding: 22px 20px;
  border: 2px solid rgba(212, 175, 55, 0.55);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.38);
  text-align: center;
}

.webapp-phone-notch {
  width: 56px;
  height: 5px;
  border-radius: 999px;
  background: #d5e0d9;
  margin: 0 auto 16px;
}

.webapp-app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: #fff;
  border: 1.5px solid rgba(17, 75, 42, 0.16);
  box-shadow: 0 10px 24px rgba(17, 75, 42, 0.14);
  padding: 10px;
  margin: 0 auto 12px;
}

.webapp-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.webapp-phone-frame h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 3px;
}

.webapp-phone-frame span.app-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.webapp-platform-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid #e6efe9;
}

.platform-chip {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  background: #eef5f0;
  padding: 5px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Modal Panduan Install PWA */
.pwa-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 20, 12, 0.74);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.pwa-modal-backdrop[hidden] {
  display: none !important;
}

.pwa-modal-card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  animation: fadeIn 0.25s ease;
}

.pwa-modal-header {
  background: linear-gradient(135deg, #071f12, #145a32);
  color: #fff;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pwa-modal-header h3 {
  font-size: 1.08rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
}

.pwa-modal-header h3 i {
  color: var(--accent-light);
}

.pwa-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pwa-modal-body {
  padding: 22px 24px 24px;
}

.pwa-guide-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: #f1f6f3;
  padding: 5px;
  border-radius: 12px;
  margin-bottom: 18px;
}

.pwa-tab-btn {
  padding: 9px 10px;
  border: none;
  border-radius: 9px;
  background: transparent;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pwa-tab-btn.active {
  background: var(--primary);
  color: #fff;
}

.pwa-guide-panel {
  display: none;
}

.pwa-guide-panel.active {
  display: block;
}

.pwa-step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.pwa-step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f7faf8;
  border: 1px solid #e1ebe4;
  font-size: 0.86rem;
  color: var(--text);
  line-height: 1.55;
}

.pwa-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--accent-light);
  font-weight: 700;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

@media (max-width: 900px) {
  .webapp-banner-card {
    padding: 32px 22px;
  }
  .webapp-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .webapp-features-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .particle { display: none; }
}
