/* ==========================================================================
   NOORPATH ACADEMY — STYLESHEET
   Enterprise education system
   Ink navy · Teal accent · Pearl surfaces
   Display: Literata | Body: Manrope | Arabic: Amiri
   ========================================================================== */

:root {
  --ink: #0B1C2C;
  --ink-soft: #1A3348;
  --ink-muted: #4A6478;
  --teal: #0D9488;
  --teal-bright: #2DD4BF;
  --teal-soft: rgba(13, 148, 136, 0.12);
  --pearl: #F5F7FA;
  --pearl-2: #E9EEF3;
  --white: #FFFFFF;
  --line: rgba(11, 28, 44, 0.1);
  --danger: #B42318;

  --font-display: "Literata", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-arabic: "Literata", "Times New Roman", serif;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 18px 40px -20px rgba(11, 28, 44, 0.35);
  --shadow-card: 0 8px 24px -14px rgba(11, 28, 44, 0.2);
  --container-max: 1180px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--pearl);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
/* Prevent iOS input zoom */
input, select, textarea { font-size: 16px; }
[id] { scroll-margin-top: 96px; }

/* ===== Lean layout utilities (replaces Bootstrap) ===== */
.container { width: min(100% - 2rem, var(--container-max)); margin-inline: auto; }
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}
.row > [class*="col-"] {
  box-sizing: border-box;
  flex: 0 0 auto;
  padding-left: 12px;
  padding-right: 12px;
  width: 100%;
  max-width: 100%;
}
.g-0 { margin-left: 0; margin-right: 0; }
.g-0 > [class*="col-"] { padding-left: 0; padding-right: 0; }
.g-3 { margin-left: -12px; margin-right: -12px; row-gap: 0; }
.g-3 > [class*="col-"] { padding: 12px; }
.g-4 { margin-left: -16px; margin-right: -16px; }
.g-4 > [class*="col-"] { padding: 16px; }
.gy-5 { row-gap: 3rem; }
.col-6 { width: 50%; max-width: 50%; }
.col-12 { width: 100%; max-width: 100%; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.ms-auto { margin-left: auto; }
.w-100 { width: 100%; }
.text-center { text-align: center; }
.justify-content-center { justify-content: center; }
.align-items-center { align-items: center; }
.align-items-start { align-items: flex-start; }
.d-none { display: none !important; }
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }

@media (min-width: 768px) {
  .row > .col-md-4 { width: 33.3333%; max-width: 33.3333%; }
  .row > .col-md-6 { width: 50%; max-width: 50%; }
}
@media (min-width: 992px) {
  .row > .col-lg-2 { width: 16.6667%; max-width: 16.6667%; }
  .row > .col-lg-3 { width: 25%; max-width: 25%; }
  .row > .col-lg-4 { width: 33.3333%; max-width: 33.3333%; }
  .row > .col-lg-5 { width: 41.6667%; max-width: 41.6667%; }
  .row > .col-lg-6 { width: 50%; max-width: 50%; }
  .row > .col-lg-7 { width: 58.3333%; max-width: 58.3333%; }
  .d-lg-none { display: none !important; }
  .d-lg-flex { display: flex !important; }
  .align-items-lg-center { align-items: center; }
}

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); font-weight: 600; margin: 0; }
h1 { font-size: clamp(2.35rem, 4.6vw, 3.55rem); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.45rem); line-height: 1.15; letter-spacing: -0.015em; }
h3 { font-size: 1.15rem; line-height: 1.3; }
p { margin: 0; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2.5px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--ink); color: var(--pearl);
  padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.hp-field {
  position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none;
}

/* ===== Eyebrows / section labels ===== */
.brand-signal {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.brand-signal::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--teal), var(--teal-bright));
  border-radius: 2px;
}

.section-eyebrow {
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem;
  color: var(--teal); margin-bottom: 10px;
}
.section-eyebrow--light { color: var(--teal-bright); }
.section-lede { max-width: 620px; color: var(--ink-muted); font-size: 1.05rem; margin-top: 12px; }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(245, 247, 250, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -18px rgba(11, 28, 44, 0.35);
}
.navbar { padding: 14px 0; display: flex; align-items: center; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.navbar-brand { display: flex; align-items: center; gap: 10px; }
.brand-text { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); font-weight: 600; }
.brand-text em { font-style: normal; color: var(--teal); }

.navbar-nav {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 2px;
}
.navbar-nav .nav-link {
  display: block; font-weight: 600; color: var(--ink-soft); padding: 8px 14px; font-size: 0.93rem;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus-visible { color: var(--ink); }

.btn-nav-cta {
  background: var(--ink); color: var(--pearl) !important; font-weight: 700;
  padding: 10px 20px; border-radius: 10px; margin-left: 8px; font-size: 0.9rem;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-nav-cta:hover { background: var(--teal); transform: translateY(-1px); }

.navbar-toggler {
  border: none; background: transparent; padding: 10px; display: none; flex-direction: column; gap: 5px; cursor: pointer;
  min-width: 44px; min-height: 44px; align-items: center; justify-content: center;
}
.toggler-bar { width: 24px; height: 2px; background: var(--ink); display: block; border-radius: 2px; }
.navbar-collapse { display: flex; }

@media (max-width: 991.98px) {
  .navbar-toggler { display: flex; }
  .navbar-collapse {
    display: none; width: 100%;
    background: var(--white); margin-top: 14px; padding: 18px;
    border-radius: var(--radius-md); border: 1px solid var(--line);
  }
  .navbar-collapse.is-open { display: block; }
  .navbar-nav { flex-direction: column; align-items: stretch; }
  .btn-nav-cta { margin: 10px 0 0; width: 100%; text-align: center; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 96px;
  background:
    linear-gradient(145deg, #F5F7FA 0%, #E8F4F2 42%, #EEF2F7 100%);
}
.hero-atmosphere { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-mesh {
  position: absolute; inset: 0; opacity: 0.35;
  background-image:
    linear-gradient(rgba(11, 28, 44, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 28, 44, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(40px); opacity: 0.55;
}
.hero-orb--a {
  width: 420px; height: 420px; top: -80px; right: -40px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.45), transparent 70%);
  animation: orbDrift 10s ease-in-out infinite;
}
.hero-orb--b {
  width: 280px; height: 280px; bottom: -60px; left: 8%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.28), transparent 70%);
  animation: orbDrift 12s ease-in-out infinite reverse;
}

.hero-copy { position: relative; z-index: 1; }
.hero-sub { font-size: 1.12rem; color: var(--ink-muted); margin-top: 18px; max-width: 500px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.btn-primary-cta {
  background: var(--ink); color: var(--pearl); font-weight: 700; padding: 14px 28px;
  border-radius: 12px; border: none; font-size: 1rem;
  min-height: 48px;
  transition: transform 0.15s ease, background 0.15s ease;
  box-shadow: var(--shadow-soft);
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
}
.btn-primary-cta:hover, .btn-primary-cta:focus-visible {
  background: var(--teal); color: var(--white); transform: translateY(-2px);
}

.btn-whatsapp-cta {
  background: var(--white); color: #128C7E; font-weight: 700; padding: 14px 24px;
  border: 1.5px solid rgba(18, 140, 126, 0.28); border-radius: 12px;
  min-height: 48px;
  display: inline-flex; align-items: center; gap: 10px; transition: all 0.15s ease;
}
.btn-whatsapp-cta:hover, .btn-whatsapp-cta:focus-visible {
  background: #128C7E; color: #fff; transform: translateY(-2px);
}

.btn-outline-cta {
  border: 1.5px solid rgba(245, 247, 250, 0.55); color: var(--pearl); font-weight: 700;
  padding: 14px 26px; border-radius: 12px;
  display: inline-flex; align-items: center; gap: 8px; transition: all 0.15s ease;
}
.btn-outline-cta:hover, .btn-outline-cta:focus-visible {
  background: var(--pearl); color: var(--ink);
}

/* ----- Hero product stage (replaces arch) ----- */
.hero-visual {
  position: relative; z-index: 1;
  min-height: 420px;
  display: flex; align-items: center; justify-content: center;
  perspective: 1400px;
  padding: 24px 8px;
}

.stage-card {
  width: min(100%, 400px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
  animation: stageRise 0.9s ease both;
  position: relative;
  z-index: 2;
}

.stage-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--pearl);
}
.stage-bar-dots { display: flex; gap: 6px; }
.stage-bar-dots i {
  width: 8px; height: 8px; border-radius: 50%; display: block;
  background: rgba(245, 247, 250, 0.28);
}
.stage-bar-dots i:nth-child(1) { background: #F87171; }
.stage-bar-dots i:nth-child(2) { background: #FBBF24; }
.stage-bar-dots i:nth-child(3) { background: #34D399; }

.stage-live {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--teal-bright);
}
.stage-live em {
  width: 7px; height: 7px; border-radius: 50%; background: #F87171;
  display: block; animation: livePulse 1.4s ease-in-out infinite;
}

.stage-body { padding: 22px 20px 20px; display: grid; gap: 16px; }

.stage-tutor, .stage-student {
  display: flex; align-items: center; gap: 12px;
}
.stage-tutor strong { display: block; font-size: 0.95rem; color: var(--ink); }
.stage-tutor span { font-size: 0.8rem; color: var(--ink-muted); }

.stage-avatar {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; flex-shrink: 0;
}
.stage-avatar--tutor {
  background: linear-gradient(145deg, var(--ink), var(--ink-soft));
  color: var(--teal-bright);
}
.stage-avatar--student {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--teal-soft); color: var(--teal);
}

.stage-board {
  background: linear-gradient(160deg, #0B1C2C 0%, #143248 100%);
  border-radius: 14px;
  padding: 22px 18px;
  color: var(--pearl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.stage-board::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(45, 212, 191, 0.18), transparent 45%);
}
.stage-ayah {
  position: relative;
  font-family: var(--font-arabic);
  font-size: 1.45rem;
  line-height: 1.8;
  color: #F5F7FA;
  margin-bottom: 14px;
}
.stage-lines { position: relative; display: grid; gap: 7px; }
.stage-lines span {
  height: 4px; border-radius: 4px; background: rgba(245, 247, 250, 0.16);
  width: 100%;
}
.stage-lines span:nth-child(2) { width: 82%; margin-inline: auto; }
.stage-lines span:nth-child(3) { width: 64%; margin-inline: auto; }
.stage-lines .is-active {
  background: linear-gradient(90deg, var(--teal), var(--teal-bright));
  animation: lineSweep 2.4s ease-in-out infinite;
}

.stage-student span { font-size: 0.85rem; font-weight: 600; color: var(--ink-muted); }
.stage-wave {
  display: flex; align-items: flex-end; gap: 3px; height: 18px; margin-right: 4px;
}
.stage-wave i {
  width: 3px; border-radius: 2px; background: var(--teal);
  animation: waveBar 1s ease-in-out infinite;
}
.stage-wave i:nth-child(1) { height: 6px; animation-delay: 0s; }
.stage-wave i:nth-child(2) { height: 12px; animation-delay: 0.1s; }
.stage-wave i:nth-child(3) { height: 18px; animation-delay: 0.2s; }
.stage-wave i:nth-child(4) { height: 10px; animation-delay: 0.3s; }
.stage-wave i:nth-child(5) { height: 14px; animation-delay: 0.4s; }

.stage-float {
  position: absolute; z-index: 3;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: 12px 14px;
  animation: floatSoft 5.5s ease-in-out infinite;
}
.stage-float--progress {
  top: 8%; left: 0;
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; color: var(--ink);
}
.stage-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-soft);
}
.stage-float--match {
  right: 0; bottom: 10%;
  display: grid; gap: 2px; text-align: left;
  animation-delay: 0.8s;
}
.stage-float--match strong { font-size: 0.88rem; color: var(--ink); }
.stage-float--match span { font-size: 0.75rem; color: var(--ink-muted); font-weight: 600; }

@keyframes stageRise {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-18px, 14px); }
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}
@keyframes lineSweep {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
@keyframes waveBar {
  0%, 100% { transform: scaleY(0.55); }
  50% { transform: scaleY(1); }
}
@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding: 88px 0; }
.section-tight { padding: 48px 0 24px; }
.section-alt { background: var(--pearl-2); }

/* Breadcrumb */
.breadcrumb-bar { padding: 14px 0 0; }
.seo-breadcrumb {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 0.82rem; font-weight: 600; color: var(--ink-muted);
}
.seo-breadcrumb li:not(:last-child)::after {
  content: "/"; margin-left: 8px; color: rgba(11, 28, 44, 0.28); font-weight: 500;
}
.seo-breadcrumb a { color: var(--teal); }
.seo-breadcrumb a:hover { text-decoration: underline; }
.seo-breadcrumb [aria-current="page"] { color: var(--ink-soft); }

/* Definition / AI-answer block */
.definition-block {
  max-width: 820px; margin-top: 16px;
  display: grid; gap: 14px;
  color: var(--ink-muted); font-size: 1.05rem;
}
.definition-block strong { color: var(--ink); font-weight: 700; }
.definition-block a { color: var(--teal); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Country intent cards */
.intent-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 22px 20px; height: 100%;
}
.intent-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.intent-card p { color: var(--ink-muted); font-size: 0.94rem; }

/* Comparison table */
.compare-table {
  width: 100%; min-width: 560px; border-collapse: collapse; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden;
  font-size: 0.92rem;
}
.compare-table th, .compare-table td {
  padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line);
  vertical-align: top;
  word-break: break-word;
}
.compare-table thead th {
  background: var(--ink); color: var(--pearl); font-weight: 700; font-size: 0.85rem;
}
.compare-table tbody th { font-weight: 700; color: var(--ink); width: 28%; }
.compare-table tbody td { color: var(--ink-muted); }
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table a { color: var(--teal); font-weight: 700; }

/* Long-form pillar SEO content */
.narrow-copy { max-width: 820px; }
.prose { margin-top: 16px; color: var(--ink-muted); font-size: 1.05rem; display: grid; gap: 14px; }
.prose-wide { max-width: 900px; margin-left: auto; margin-right: auto; }
.prose h3 { color: var(--ink); font-size: 1.2rem; margin-top: 8px; }
.prose p, .prose li { line-height: 1.75; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--teal); font-weight: 600; text-underline-offset: 2px; }
.prose ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 10px; }
.topic-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  margin-top: 18px;
}
.topic-block h3 { margin-bottom: 4px; }
.section-alt .topic-block { background: var(--pearl); }
.inline-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px;
}
.text-link {
  color: var(--teal); font-weight: 700; text-decoration: underline; text-underline-offset: 3px;
}
.card-link {
  display: inline-block; margin-top: 12px; color: var(--teal); font-weight: 700; font-size: 0.9rem;
}
.toc-section { padding-bottom: 12px; }
.toc-heading { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 16px; }
.toc-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.toc-list a {
  display: inline-block; padding: 8px 14px; border-radius: 10px;
  background: var(--white); border: 1px solid var(--line);
  color: var(--ink-soft); font-weight: 600; font-size: 0.88rem;
}
.toc-list a:hover { border-color: rgba(13, 148, 136, 0.4); color: var(--teal); }
.country-prose { margin-top: 36px; }
.country-prose h3 { margin-top: 18px; }

.feature-card {
  background: var(--white); border-radius: var(--radius-md); padding: 28px 24px; height: 100%;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover { transform: translateY(-3px); border-color: rgba(13, 148, 136, 0.35); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--teal-soft);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature-card h3 { margin-bottom: 10px; font-size: 1.08rem; }
.feature-card p { color: var(--ink-muted); font-size: 0.95rem; }

.course-card {
  background: var(--white); border-radius: var(--radius-md); padding: 28px; height: 100%;
  border: 1px solid var(--line); position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.course-card:hover { transform: translateY(-3px); border-color: rgba(13, 148, 136, 0.35); }
.course-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--teal); background: var(--teal-soft); padding: 5px 11px; border-radius: 6px; margin-bottom: 14px;
}
.course-card h3 { margin-bottom: 8px; }
.course-card p { color: var(--ink-muted); font-size: 0.95rem; }

.process-step { text-align: center; padding: 10px 18px; }
.process-folio {
  display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px;
  border: 1.5px solid rgba(13, 148, 136, 0.45); border-radius: 14px;
  font-family: var(--font-arabic); font-size: 1.45rem;
  color: var(--teal); margin-bottom: 16px; background: var(--white);
}
.process-step h3 { margin-bottom: 10px; }
.process-step p { color: var(--ink-muted); font-size: 0.95rem; max-width: 280px; margin: 0 auto; }

.benefits-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.benefits-list li {
  background: var(--white); border-radius: var(--radius-md); padding: 18px 22px; display: flex;
  flex-direction: column; gap: 4px;
  border: 1px solid var(--line); border-left: 3px solid var(--teal);
}
.benefits-list strong { font-family: var(--font-display); color: var(--ink); font-size: 1.05rem; }
.benefits-list span { color: var(--ink-muted); font-size: 0.92rem; }

.country-grid {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 30px 0 18px;
}
.country-grid li {
  background: var(--white); padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 0.9rem;
  border: 1px solid var(--line); color: var(--ink-soft);
}
.country-note { color: var(--ink-muted); font-size: 0.9rem; }

.cta-band {
  background:
    radial-gradient(ellipse 80% 80% at 20% 0%, rgba(45, 212, 191, 0.18), transparent 50%),
    var(--ink);
  color: var(--pearl); padding: 72px 0;
}
.cta-band h2 { color: var(--pearl); }
.cta-band p { color: rgba(245, 247, 250, 0.78); margin-top: 12px; font-size: 1.05rem; }

.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 1.5rem;
  align-items: start;
}
@media (min-width: 768px) {
  .faq-list { grid-template-columns: 1fr 1fr; }
}
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); padding: 0;
  break-inside: avoid;
}
.faq-summary {
  list-style: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; color: var(--ink);
  font-size: 1.05rem; padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary::after {
  content: "+"; font-weight: 700; color: var(--teal); font-size: 1.2rem; line-height: 1;
}
.faq-item[open] .faq-summary { background: var(--teal-soft); }
.faq-item[open] .faq-summary::after { content: "–"; }
.faq-answer { color: var(--ink-muted); padding: 0 22px 20px; line-height: 1.7; }

/* ==========================================================================
   BOOKING FORM
   ========================================================================== */
.booking-section { padding-bottom: 100px; scroll-margin-top: 96px; }
.booking-panel {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.booking-panel > .row {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
}
.booking-panel > .row > [class*="col-"] {
  width: 100%;
  max-width: 100%;
  padding: 0;
}
@media (min-width: 992px) {
  .booking-panel > .row {
    grid-template-columns: minmax(280px, 0.4fr) minmax(0, 0.6fr);
  }
}
.booking-side {
  background:
    radial-gradient(ellipse 90% 70% at 10% 0%, rgba(45, 212, 191, 0.22), transparent 55%),
    linear-gradient(165deg, #0B1C2C 0%, #143248 100%);
  color: var(--pearl); padding: 48px 40px;
  display: flex; flex-direction: column; justify-content: center; gap: 16px;
}
.booking-side h2 { color: var(--pearl); margin: 0; }
.booking-side p { color: rgba(245, 247, 250, 0.82); margin: 0; }
.booking-side .section-eyebrow { margin: 0; }
.booking-points { list-style: none; padding: 0; margin: 6px 0 10px; display: grid; gap: 10px; }
.booking-points li { padding-left: 26px; position: relative; font-weight: 600; font-size: 0.95rem; }
.booking-points li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 4px;
  background: var(--teal-bright);
}
.booking-side .btn-whatsapp-cta { align-self: flex-start; }

.booking-form-wrap { padding: 44px 40px; }
.booking-form-wrap .row.g-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 16px;
  margin: 0;
}
.booking-form-wrap .row.g-3 > [class*="col-"] {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
}
.booking-form-wrap .row.g-3 > .col-12 { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .booking-form-wrap .row.g-3 { grid-template-columns: 1fr 1fr; }
}
.form-label {
  display: block;
  width: 100%;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.88rem;
  margin-bottom: 6px;
}
.form-control, .form-select {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 16px; /* iOS: avoid auto-zoom */
  line-height: 1.4;
  background: var(--pearl);
  color: var(--ink);
  min-height: 48px;
  appearance: none;
  -webkit-appearance: none;
}
.form-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 fill='%230B1C2C' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
textarea.form-control { min-height: 110px; resize: vertical; }
.form-control:focus, .form-select:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.16); background: var(--white);
  outline: none;
}
.was-validated .form-control:invalid, .was-validated .form-select:invalid { border-color: var(--danger); }
.was-validated .form-control:valid, .was-validated .form-select:valid { border-color: var(--teal); }
.invalid-feedback { display: none; font-size: 0.82rem; color: var(--danger); margin-top: 4px; }
.was-validated .form-control:invalid ~ .invalid-feedback,
.was-validated .form-select:invalid ~ .invalid-feedback { display: block; }

.btn-spinner {
  width: 16px; height: 16px; border: 2.5px solid rgba(245, 247, 250, 0.35); border-top-color: var(--pearl);
  border-radius: 50%; animation: spin 0.7s linear infinite;
}

.form-success, .form-error {
  border-radius: var(--radius-sm); padding: 14px 18px; font-weight: 600; font-size: 0.92rem; margin-top: 4px;
}
.form-success { background: rgba(13, 148, 136, 0.12); color: #0F766E; }
.form-error { background: rgba(180, 35, 24, 0.1); color: var(--danger); }
.form-error a { color: inherit; text-decoration: underline; }
.form-error-detail { display: block; margin-top: 6px; font-weight: 500; font-size: 0.85rem; opacity: 0.9; }

@media (max-width: 991.98px) {
  .booking-side, .booking-form-wrap { padding: 36px 28px; }
}
@media (max-width: 767.98px) {
  .booking-side, .booking-form-wrap { padding: 32px 22px; }
  .booking-form-wrap .row.g-3 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background:
    radial-gradient(ellipse 70% 60% at 80% 0%, rgba(45, 212, 191, 0.12), transparent 50%),
    var(--ink);
  color: rgba(245, 247, 250, 0.78); padding: 70px 0 26px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .brand-text { color: var(--pearl); }
.footer-brand .brand-text em { color: var(--teal-bright); }
.footer-about { max-width: 320px; font-size: 0.92rem; }
.site-footer h3 {
  font-family: var(--font-body); color: var(--teal-bright); font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.92rem; }
.site-footer ul a:hover, .site-footer ul a:focus-visible { color: var(--teal-bright); }
.footer-contact a { word-break: break-word; }

.footer-bottom {
  border-top: 1px solid rgba(245, 247, 250, 0.12); margin-top: 50px; padding-top: 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.85rem;
  color: rgba(245, 247, 250, 0.55);
}

/* ==========================================================================
   FLOATING / STICKY CTAs
   ========================================================================== */
.wa-dock {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  max-width: 280px;
  padding: 12px 16px 12px 12px;
  border-radius: 16px;
  background: #0E7A6C;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 36px -12px rgba(11, 28, 44, 0.45);
  transform-origin: right bottom;
  animation: waDockIn 0.55s ease both;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.wa-dock:hover,
.wa-dock:focus-visible {
  background: #0A665B;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 40px -12px rgba(11, 28, 44, 0.5);
  color: #fff;
}
.wa-dock-pulse {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(45, 212, 191, 0.35);
  animation: waPulseRing 2.2s ease-out infinite;
  pointer-events: none;
  z-index: 0;
}
.wa-dock-icon {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff;
  color: #0E7A6C;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.wa-dock-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1px;
  line-height: 1.25;
  min-width: 0;
}
.wa-dock-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.wa-dock-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6EE7B7;
  display: block;
  animation: waOnline 1.6s ease-in-out infinite;
}
.wa-dock-copy strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}
.wa-dock-sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

@keyframes waDockIn {
  from { opacity: 0; transform: translateY(18px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes waDockNudge {
  0%, 88%, 100% { transform: translateY(0); }
  92% { transform: translateY(-5px); }
  96% { transform: translateY(0); }
}
@keyframes waPulseRing {
  0% { transform: scale(1); opacity: 0.55; }
  70% { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}
@keyframes waOnline {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 900; background: var(--white);
  border-top: 1px solid var(--line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex; gap: 10px;
}
.sticky-cta .btn-primary-cta { flex: 1; padding: 12px 16px; font-size: 0.95rem; }
.sticky-cta .sticky-wa {
  min-width: 96px;
  background: #0E7A6C;
  color: #fff;
  border-color: #0E7A6C;
  gap: 8px;
}
.sticky-cta .sticky-wa:hover,
.sticky-cta .sticky-wa:focus-visible {
  background: #0A665B;
  color: #fff;
  border-color: #0A665B;
}

@media (max-width: 991.98px) {
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
  .wa-dock,
  .wa-dock-pulse,
  .wa-dock-status i {
    animation: none !important;
  }
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
/* Below-fold reveal only — hero stays visible for FCP/LCP */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.hero [data-reveal],
.hero [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: none;
}
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }

/* ==========================================================================
   RESPONSIVE — enterprise breakpoints
   360 / 480 / 768 / 992 / 1200
   ========================================================================== */

/* Tablet + small laptop */
@media (max-width: 1199.98px) {
  .wa-dock {
    right: 16px;
    bottom: 16px;
    min-width: 0;
    max-width: min(260px, calc(100vw - 32px));
  }
}

@media (max-width: 991.98px) {
  .section { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
  .hero-visual {
    min-height: 0;
    padding: 12px 0 8px;
    perspective: none;
  }
  .stage-card { width: min(100%, 420px); margin-inline: auto; }
  .stage-float--progress { left: 2%; top: 0; max-width: 46%; }
  .stage-float--match { right: 2%; bottom: 0; max-width: 46%; }
  .stage-ayah { font-size: 1.25rem; }
  .toc-list a { font-size: 0.84rem; padding: 8px 12px; }
  .footer-about { max-width: none; }
}

/* Tablet portrait / large phone */
@media (max-width: 767.98px) {
  .section { padding: 56px 0; }
  .section-tight { padding: 36px 0 16px; }
  .hero { padding: 40px 0 48px; }
  h1 { font-size: clamp(1.85rem, 7vw, 2.2rem); }
  h2 { font-size: clamp(1.45rem, 5.5vw, 1.85rem); }
  .hero-sub { font-size: 1.02rem; }
  .hero-actions { gap: 10px; margin-top: 24px; }
  .hero-actions .btn-primary-cta,
  .hero-actions .btn-whatsapp-cta { width: 100%; }

  .hero-visual { overflow: hidden; }
  .stage-float { position: static; margin: 0 auto 10px; width: fit-content; max-width: 100%; animation: none; box-shadow: var(--shadow-card); }
  .stage-float--progress { order: -1; }
  .hero-visual { display: flex; flex-direction: column; align-items: center; }
  .stage-float--match { margin-top: 10px; }

  .faq-list { grid-template-columns: 1fr; }
  .faq-summary { font-size: 0.98rem; padding: 16px 18px; }

  .compare-table { font-size: 0.85rem; }
  .compare-table th, .compare-table td { padding: 10px 12px; }

  .topic-block { padding: 22px 18px; }
  .feature-card, .course-card, .intent-card { padding: 22px 18px; }

  .country-grid li { padding: 8px 14px; font-size: 0.86rem; }
  .process-step p { max-width: none; }

  .cta-band { padding: 56px 0; }
  .cta-band .hero-actions .btn-outline-cta { width: 100%; }

  .site-footer { padding: 56px 0 24px; }
  .site-footer .row > [class*="col-lg"] {
    width: 100%;
    max-width: 100%;
  }
  .site-footer .row > .col-6 {
    width: 50%;
    max-width: 50%;
  }
  .footer-bottom { flex-direction: column; gap: 6px; }

  .inline-cta { flex-direction: column; align-items: stretch; }
  .inline-cta .btn-primary-cta,
  .inline-cta .btn-whatsapp-cta { width: 100%; justify-content: center; }
}

/* Small phones */
@media (max-width: 479.98px) {
  .container { width: min(100% - 1.25rem, var(--container-max)); }
  .brand-text { font-size: 1.1rem; }
  .navbar { padding: 10px 0; }
  .hero-actions { margin-top: 20px; }
  .stage-body { padding: 16px 14px; }
  .stage-ayah { font-size: 1.1rem; }
  .sticky-cta { padding-left: 12px; padding-right: 12px; gap: 8px; }
  .sticky-cta .sticky-wa { min-width: 84px; padding-left: 12px; padding-right: 12px; }
  .toc-list { gap: 8px; }
}

/* Very small */
@media (max-width: 359.98px) {
  h1 { font-size: 1.7rem; }
  .btn-primary-cta, .btn-whatsapp-cta { padding-left: 16px; padding-right: 16px; }
}
