
:root {
  /* Tabarak Academy palette — source colors supplied by the client. */
  --tg-body-color: #6D6C80;
  --tg-heading-color: #161439;
  --tg-theme-primary: #5751E1;
  --tg-theme-secondary: #56F3FF;
  --tg-common-color-gray: #F7F7F9;
  --tg-common-color-gray-2: #EFEEFE;
  --tg-common-color-gray-3: #7F7E97;
  --tg-common-color-gray-4: #ACAACC;
  --tg-common-color-gray-5: #B2BBCC;
  --tg-common-color-gray-6: #D7D7DF;
  --tg-common-color-gray-7: #F6F6F6;
  --tg-common-color-gray-8: #F5F5F4;
  --tg-common-color-gray-9: #F9F9F9;
  --tg-common-color-gray-10: #F8F8F8;
  --tg-common-color-gray-11: #F8F8FC;
  --tg-common-color-dark: #1C1A4A;
  --tg-common-color-black: #06042E;
  --tg-common-color-black-2: #161439;

  /* Existing component tokens mapped to the new palette. */
  --brand-950: var(--tg-common-color-black);
  --brand-900: var(--tg-common-color-dark);
  --brand-800: var(--tg-common-color-black-2);
  --brand-700: color-mix(in srgb, var(--tg-theme-primary) 84%, var(--tg-common-color-black));
  --brand-600: var(--tg-theme-primary);
  --brand-500: color-mix(in srgb, var(--tg-theme-primary) 82%, var(--tg-theme-secondary));
  --brand-200: color-mix(in srgb, var(--tg-theme-primary) 28%, white);
  --brand-100: var(--tg-common-color-gray-2);
  --brand-50: var(--tg-common-color-gray-11);

  /* Accent tokens retain their old names so no component markup changes. */
  --gold-700: var(--tg-heading-color);
  --gold-600: color-mix(in srgb, var(--tg-theme-secondary) 82%, var(--tg-theme-primary));
  --gold-500: var(--tg-theme-secondary);
  --gold-200: color-mix(in srgb, var(--tg-theme-secondary) 35%, white);
  --gold-100: color-mix(in srgb, var(--tg-theme-secondary) 14%, white);

  /* Neutrals */
  --ink-900: var(--tg-heading-color);
  --ink-800: var(--tg-common-color-dark);
  --ink-700: var(--tg-body-color);
  --ink-600: var(--tg-common-color-gray-3);
  --ink-500: var(--tg-common-color-gray-3);
  --ink-400: var(--tg-common-color-gray-4);
  --ink-300: var(--tg-common-color-gray-5);
  --ink-200: var(--tg-common-color-gray-6);
  --ink-100: var(--tg-common-color-gray);
  --surface: #ffffff;
  --surface-2: var(--tg-common-color-gray-11);
  --surface-3: var(--tg-common-color-gray-2);
  --line: var(--tg-common-color-gray-6);

  /* Category accents derived only from the supplied Tabarak palette. */
  --cat-quran: var(--tg-theme-primary);
  --cat-tajweed: color-mix(in srgb, var(--tg-theme-primary) 74%, var(--tg-theme-secondary));
  --cat-hifz: color-mix(in srgb, var(--tg-theme-primary) 78%, var(--tg-common-color-dark));
  --cat-arabic: color-mix(in srgb, var(--tg-theme-secondary) 38%, var(--tg-common-color-dark));
  --cat-quranic-arabic: color-mix(in srgb, var(--tg-theme-primary) 62%, var(--tg-common-color-black));
  --cat-qaida: color-mix(in srgb, var(--tg-theme-secondary) 30%, var(--tg-common-color-dark));
  --cat-islamic-studies: color-mix(in srgb, var(--tg-theme-primary) 86%, var(--tg-common-color-black));
  --cat-school: color-mix(in srgb, var(--tg-theme-primary) 60%, var(--tg-body-color));

  /* Semantic colors */
  --ok: var(--tg-theme-primary);
  --warn: color-mix(in srgb, var(--tg-theme-secondary) 35%, var(--tg-common-color-dark));
  --danger: #b3402f;

  /* Typography */
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system,
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Amiri", "Scheherazade New", Georgia, serif; /* Arabic + Quranic accents */

  --fs-xs:   0.75rem;   /* 12 */
  --fs-sm:   0.8125rem; /* 13 */
  --fs-base: 0.9375rem; /* 15 */
  --fs-md:   1rem;      /* 16 */
  --fs-lg:   1.125rem;  /* 18 */
  --fs-xl:   1.375rem;  /* 22 */
  --fs-2xl:  1.75rem;   /* 28 */
  --fs-3xl:  2.25rem;   /* 36 */
  --fs-4xl:  2.875rem;  /* 46 */

  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-normal: 1.65;

  /* Spacing */
  --s-1: 0.25rem;  --s-2: 0.5rem;   --s-3: 0.75rem;  --s-4: 1rem;
  --s-5: 1.5rem;   --s-6: 2rem;     --s-7: 2.5rem;   --s-8: 3rem;
  --s-9: 4rem;     --s-10: 5rem;    --s-11: 6.5rem;

  /* Radius */
  --r-sm: 8px;  --r-md: 14px;  --r-lg: 20px;  --r-xl: 28px;  --r-full: 999px;

  /* Elevation */
  --sh-1: 0 1px 2px rgba(22,20,57,.05), 0 1px 3px rgba(22,20,57,.06);
  --sh-2: 0 4px 10px -2px rgba(22,20,57,.08), 0 2px 6px -2px rgba(22,20,57,.05);
  --sh-3: 0 14px 32px -8px rgba(22,20,57,.16), 0 6px 14px -6px rgba(22,20,57,.09);
  --sh-brand: 0 10px 26px -8px rgba(87,81,225,.42);

  /* Layout */
  --container: 1200px;
  --container-narrow: 860px;
  --header-h: 76px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* --------------------------------------------------------------------------
   2. RESET + BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--ink-700);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
.page-id-133 img {
  display:inline
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: var(--brand-700); text-decoration: none; }

h1, h2, h3, h4, h5 {
  color: var(--ink-900);
  line-height: var(--lh-tight);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, var(--fs-4xl)); }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.8vw, var(--fs-3xl)); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
p  { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-inline-start: var(--s-4); top: -100px; z-index: 200;
  background: var(--brand-700); color: #fff; padding: var(--s-3) var(--s-5);
  border-radius: var(--r-sm); transition: top .2s var(--ease);
}
.skip-link:focus { top: var(--s-4); }

/* --------------------------------------------------------------------------
   3. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--s-5); }
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(var(--s-8), 6vw, var(--s-11)); }
.section--tight { padding-block: clamp(var(--s-7), 4vw, var(--s-9)); }
.section--tinted { background: var(--surface-2); }
.section--dark { background: var(--brand-950); color: var(--brand-100); }
.section--dark h2, .section--dark h3 { color: #fff; }

.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Section header — template-parts/section-header.php */
.sec-head { max-width: 62ch; margin-block-end: var(--s-7); }
.sec-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand-600);
  margin-block-end: var(--s-3);
}
.eyebrow::before {
  content: ""; inline-size: 22px; block-size: 2px;
  background: var(--gold-500); border-radius: 2px;
}
.sec-head--center .eyebrow::before { display: none; }
.lede { font-size: var(--fs-md); color: var(--ink-600); margin-block-start: var(--s-3); }

/* --------------------------------------------------------------------------
   4. BUTTONS — template-parts/button.php
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  padding: var(--s-3) var(--s-5); min-block-size: 48px;
  border-radius: var(--r-full); font-weight: 700; font-size: var(--fs-base);
  text-align: center; text-decoration: none; border: 2px solid transparent;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--brand-600); color: #fff!important; box-shadow: var(--sh-brand); }
.btn--primary:hover { background: var(--brand-700); }

.btn--gold {background: var(--gold-500);color: var(--brand-950);box-shadow: 0 10px 24px -8px rgba(86,243,255,.42);white-space: break-spaces;}
.btn--gold:hover { background: var(--gold-600); color: var(--brand-950); }

.btn--outline { border-color: var(--ink-200); color: var(--ink-800); background: var(--surface); }
.btn--outline:hover { border-color: var(--brand-500); color: var(--brand-700); }

.btn--ghost { color: var(--brand-700); padding-inline: var(--s-3); }

.btn--wa { background: #25d366; color: #06301a; }
.btn--wa:hover { background: #1fbb59; }

.btn--lg { padding: var(--s-4) var(--s-7); font-size: var(--fs-md); min-block-size: 56px; }
.btn--block { display: flex; inline-size: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* --------------------------------------------------------------------------
   5. CHIPS, PILLS, BADGES
   -------------------------------------------------------------------------- */
.chip {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: var(--s-1) var(--s-3); border-radius: var(--r-full);
  font-size: var(--fs-xs); font-weight: 700; line-height: 1.9;
  background: var(--brand-50); color: var(--brand-700);
  border: 1px solid var(--brand-100);
}
.chip--gold { background: var(--gold-100); color: var(--gold-700); border-color: var(--gold-200); }
.chip--neutral { background: var(--ink-100); color: var(--ink-600); border-color: var(--line); }
.chip--solid { background: var(--brand-600); color: #fff; border-color: transparent; }
.chip--female { background: #fbeef5; color: #8a3d68; border-color: #f2d6e6; }

.badge-duration {
  position: absolute; inset-block-end: var(--s-3); inset-inline-end: var(--s-3);
  background: rgba(6,4,46,.86); color: #fff; font-size: var(--fs-xs);
  font-weight: 700; padding: 2px var(--s-2); border-radius: var(--r-sm);
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   6. HEADER — template-parts/header.php
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--brand-950); color: var(--brand-200);
  font-size: var(--fs-sm); padding-block: var(--s-2);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
.topbar a { color: var(--brand-100); }
.topbar__contact { display: flex; gap: var(--s-5); flex-wrap: wrap; }
.topbar__social { display: flex; gap: var(--s-3); }
.topbar__social a { opacity: .8; } .topbar__social a:hover { opacity: 1; }
@media (max-width: 860px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-block-end: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; gap: var(--s-5);
  min-block-size: var(--header-h);
}
.brand { display: flex; align-items: center; gap: var(--s-3); font-weight: 800; color: var(--brand-900); font-size: var(--fs-lg); }
.brand:hover { text-decoration: none; }
.brand__mark {
  inline-size: 40px; block-size: 40px; border-radius: 12px; flex: none;
  background: linear-gradient(140deg, var(--brand-600), var(--brand-900));
  display: grid; place-items: center; color: var(--gold-500); font-size: 20px;
}
.brand small { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-500); letter-spacing: .04em; }

.nav { margin-inline-start: auto; }
.nav ul { display: flex; align-items: center; gap: var(--s-5); list-style: none; padding: 0; }
.nav a { color: var(--ink-700); font-weight: 600; font-size: var(--fs-base); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand-700); text-decoration: none; }
.header__cta { display: flex; gap: var(--s-2); }
.nav-toggle { display: none; padding: var(--s-2); border-radius: var(--r-sm); }

@media (max-width: 1100px) {
  .nav, .header__cta .btn--outline { display: none; }
  .nav-toggle { display: block; margin-inline-start: auto; }
  .nav[data-open="true"] {
    display: block; position: fixed; inset-block-start: var(--header-h);
    inset-inline: 0; inset-block-end: 0; background: var(--surface);
    padding: var(--s-5); overflow-y: auto; z-index: 95;
  }
  .nav[data-open="true"] ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav[data-open="true"] li { border-block-end: 1px solid var(--line); }
  .nav[data-open="true"] a { display: block; padding-block: var(--s-4); font-size: var(--fs-lg); }
}

/* Breadcrumbs — required by Tech Foundation §4 (BreadcrumbList schema) */
.crumbs { font-size: var(--fs-sm); color: var(--ink-500); padding-block: var(--s-4); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; }
.crumbs li:not(:last-child)::after { content: "›"; margin-inline-start: var(--s-2); color: var(--ink-300); }

/* --------------------------------------------------------------------------
   7. HERO — template-parts/hero.php
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% -8%, rgba(87,81,225,.14), transparent 62%),
    radial-gradient(700px 380px at 4% 108%, rgba(86,243,255,.16), transparent 60%),
    var(--surface-2);
  border-block-end: 1px solid var(--line);
}
.hero__grid {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: var(--s-8); align-items: center;
  padding-block: clamp(var(--s-7), 5vw, var(--s-10));
}
.hero__eyebrow { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-block-end: var(--s-4); }
.hero h1 { margin-block-end: var(--s-4); }
.hero__lede { font-size: var(--fs-lg); color: var(--ink-600); max-width: 54ch; margin-block-end: var(--s-6); }
.hero__reassure { margin-block-start: var(--s-4); font-size: var(--fs-sm); color: var(--ink-500); display: flex; flex-wrap: wrap; gap: var(--s-4); }
.hero__reassure span::before { content: "✓"; color: var(--brand-600); font-weight: 800; margin-inline-end: 6px; }

.hero__media { position: relative; }
.hero__media img {
  inline-size: 100%; border-radius: var(--r-xl);
  box-shadow: var(--sh-3); aspect-ratio: 4/3; object-fit: cover;
}
/* Floating proof card over the hero image */
.hero__float {
  position: absolute; inset-block-end: -18px; inset-inline-start: -18px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-3);
  padding: var(--s-4); display: flex; gap: var(--s-3); align-items: center;
  max-inline-size: 270px;
}
.hero__float strong { display: block; color: var(--ink-900); font-size: var(--fs-base); }
.hero__float span { font-size: var(--fs-xs); color: var(--ink-500); }

@media (max-width: 900px) {
  /* MOBILE ORDER RULE: headline → lede → CTAs → stat strip → image last.
     The image must never push the CTA below the fold. */
  .hero__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .hero__media { order: 2; }
  .hero__body { order: 1; }
  .hero__float { position: static; margin-block-start: var(--s-4); max-inline-size: none; }
}

/* --------------------------------------------------------------------------
   8. STAT STRIP + TRUST BAR — template-parts/stat-strip.php
   Shared component: homepage hero stats AND course page trust bar.
   ⚠ All figures must come from ONE site-options group (see README §3).
   -------------------------------------------------------------------------- */
.statstrip {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: var(--s-4); padding: var(--s-5);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-2);
}
.statstrip__item { text-align: center; padding-inline: var(--s-2); }
.statstrip__item + .statstrip__item { border-inline-start: 1px solid var(--line); }
.statstrip__num {
  display: block; font-size: clamp(1.35rem, 1rem + 1.2vw, 1.9rem);
  font-weight: 800; color: var(--brand-800); line-height: 1.1;
  font-variant-numeric: tabular-nums; letter-spacing: -.03em;
}
.statstrip__label { font-size: var(--fs-xs); color: var(--ink-500); font-weight: 600; line-height: 1.35; display: block; margin-block-start: 4px; }
@media (max-width: 860px) {
  .statstrip { grid-template-columns: repeat(2, 1fr); gap: 0; padding: var(--s-2); }
  .statstrip__item { padding: var(--s-4) var(--s-2); border: 0 !important; }
  .statstrip__item:nth-child(odd) { border-inline-end: 1px solid var(--line) !important; }
  .statstrip__item:not(:nth-last-child(-n+2)) { border-block-end: 1px solid var(--line) !important; }
  .statstrip__item:last-child:nth-child(odd) { grid-column: 1 / -1; border-inline-end: 0 !important; }
}

/* Course-page trust band — same data, tinted band treatment */
.trustband { background: var(--brand-950); padding-block: var(--s-5); }
.trustband .statstrip { background: transparent; border: 0; box-shadow: none; }
.trustband .statstrip__num { color: var(--gold-500); }
.trustband .statstrip__label { color: var(--brand-200); }
.trustband .statstrip__item + .statstrip__item { border-inline-start-color: rgba(255,255,255,.12); }

/* --------------------------------------------------------------------------
   9. CARD BASE
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s-5);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--brand-200); }
.card__icon {
  inline-size: 46px; block-size: 46px; border-radius: 13px; flex: none;
  display: grid; place-items: center; font-size: 21px;
  background: var(--brand-50); color: var(--brand-700);
  margin-block-end: var(--s-4);
}
.card h3 { font-size: var(--fs-lg); margin-block-end: var(--s-2); }
.card p { font-size: var(--fs-base); color: var(--ink-600); }

/* --------------------------------------------------------------------------
   10. BENTO GRID — "Why Choose Us" · template-parts/bento.php
   Asymmetric on purpose: the two cells that carry the most persuasive
   weight (1-on-1 private, free trial) get double width.
   -------------------------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.bento > * { min-block-size: 0; }
.bento__wide { grid-column: span 2; }
.bento__feature {
  grid-column: span 2; background: linear-gradient(150deg, var(--brand-800), var(--brand-950));
  color: var(--brand-100); border-color: transparent;
}
.bento__feature h3 { color: #fff; }
.bento__feature p { color: var(--brand-200); }
.bento__feature .card__icon { background: rgba(255,255,255,.12); color: var(--gold-500); }

.bento__cta {
  grid-column: span 2; background: var(--gold-100);
  border-color: var(--gold-200); display: flex; flex-direction: column;
  justify-content: center;
}
.bento__cta h3 { color: var(--gold-700); }
.bento__cta .card__icon { background: var(--gold-500); color: #fff; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .bento__wide, .bento__feature, .bento__cta { grid-column: span 1; } }

/* --------------------------------------------------------------------------
   11. CATEGORY TILES (8) — template-parts/category-tiles.php
   Fulfils Tech Foundation §5: "Homepage → 8 categories".
   Anchor text = each category's primary keyword.
   -------------------------------------------------------------------------- */
.cattiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.cattile {
  --c: var(--brand-600);
  position: relative; display: block; padding: var(--s-5);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.cattile:hover { transform: translateY(-4px); box-shadow: var(--sh-3); text-decoration: none; }
.cattile::before {
  content: ""; position: absolute; inset-block-start: 0; inset-inline: 0;
  block-size: 4px; background: var(--c);
}
.cattile__icon {
  inline-size: 44px; block-size: 44px; border-radius: 12px; margin-block-end: var(--s-4);
  display: grid; place-items: center; font-size: 20px;
  background: color-mix(in srgb, var(--c) 12%, white); color: var(--c);
}
.cattile h3 { font-size: var(--fs-md); margin-block-end: var(--s-1); color: var(--ink-900); }
.cattile p { font-size: var(--fs-sm); color: var(--ink-500); margin-block-end: var(--s-3); }
.cattile__count { font-size: var(--fs-xs); font-weight: 700; color: var(--c); }
@media (max-width: 980px) { .cattiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cattiles {grid-template-columns: repeat(1, 1fr);gap: var(--s-3);} .cattile { padding: var(--s-4); } }

/* --------------------------------------------------------------------------
   12. COURSE CARD — template-parts/course-card.php
   Metadata row is the point: parents decide on age + level + duration.
   Requires new ACF fields: age_range, level, session_length, audience.
   -------------------------------------------------------------------------- */
.coursecard {
  --c: var(--brand-600);
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.coursecard:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.coursecard__media { position: relative; aspect-ratio: 16/10; }
.coursecard__media img { inline-size: 100%; block-size: 100%; object-fit: cover; }
/* FALLBACK TILE — renders when featured_image is empty.
   Deliberately abstract: repeated identical stock photos read as
   "unfinished site" faster than a typeset gradient tile does. */
.coursecard__fallback {
  inline-size: 100%; block-size: 100%;
  background: linear-gradient(145deg, var(--c), color-mix(in srgb, var(--c) 55%, var(--brand-950)));
  display: grid; place-items: center; padding: var(--s-5);
  color: #fff; text-align: center; font-weight: 700; font-size: var(--fs-md);
  position: relative;
}
.coursecard__fallback::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 13px 13px; opacity: .5;
}
.coursecard__tag {
  position: absolute; inset-block-start: var(--s-3); inset-inline-start: var(--s-3);
  background: rgba(255,255,255,.94); color: var(--c);
  font-size: var(--fs-xs); font-weight: 800; padding: 4px var(--s-3);
  border-radius: var(--r-full); z-index: 1;
}
.coursecard__body { padding: var(--s-5); display: flex; flex-direction: column; flex: 1; gap: var(--s-3); }
.coursecard__cat { font-size: var(--fs-xs); font-weight: 700; color: var(--c); text-transform: uppercase; letter-spacing: .07em; }
.coursecard h3 { font-size: var(--fs-lg); }
.coursecard h3 a { color: inherit; }
.coursecard__meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2);
  padding-block: var(--s-3); border-block: 1px solid var(--line);
  font-size: var(--fs-sm); color: var(--ink-600);
}
.coursecard__meta span { display: flex; align-items: center; gap: 6px; }
.coursecard__foot { margin-block-start: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }

/* --------------------------------------------------------------------------
   13. VIDEO FACADE — template-parts/video-card.php
   ⚠ NEVER ship a raw YouTube <iframe> in a grid. Each costs ~1MB and
   several hundred ms of main thread. Facade loads the iframe on click.
   Emit VideoObject JSON-LD per Tech Foundation §4.
   -------------------------------------------------------------------------- */
.videofilter { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-block-end: var(--s-5); }
.filter-btn {
  padding: var(--s-2) var(--s-4); border-radius: var(--r-full);
  border: 1px solid var(--line); background: var(--surface);
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-600);
  transition: all .15s var(--ease);
}
.filter-btn:hover { border-color: var(--brand-300); color: var(--brand-700); }
.filter-btn[aria-pressed="true"] { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }

.videocard { overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.videocard__thumb {
  position: relative; inline-size: 100%; aspect-ratio: 16/9;
  border: 0; padding: 0; display: block; overflow: hidden; cursor: pointer;
  background: var(--brand-950);
}
.videocard__thumb img { inline-size: 100%; block-size: 100%; object-fit: cover; opacity: .82; transition: opacity .2s, transform .3s var(--ease); }
.videocard__thumb:hover img { opacity: 1; transform: scale(1.04); }
.videocard__play {
  position: absolute; inset: 0; margin: auto;
  inline-size: 58px; block-size: 58px; border-radius: 50%;
  background: rgba(255,255,255,.94); display: grid; place-items: center;
  box-shadow: var(--sh-2); transition: transform .2s var(--ease);
}
.videocard__play::after {
  content: ""; inline-size: 0; block-size: 0;
  border-inline-start: 16px solid var(--brand-800);
  border-block-start: 10px solid transparent;
  border-block-end: 10px solid transparent;
  margin-inline-start: 4px;
}
.videocard__thumb:hover .videocard__play { transform: scale(1.09); }
.videocard__chips { position: absolute; inset-block-start: var(--s-3); inset-inline-start: var(--s-3); display: flex; gap: var(--s-2); }
.videocard__body { padding: var(--s-4); }
.videocard h3 { font-size: var(--fs-md); margin-block-end: var(--s-2); }
.videocard p { font-size: var(--fs-sm); color: var(--ink-600); margin-block-end: var(--s-3); }
.videocard__teacher { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-sm); font-weight: 600; color: var(--ink-700); }
.videocard__avatar { inline-size: 28px; block-size: 28px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); display: grid; place-items: center; font-size: 11px; font-weight: 800; }

/* Lightbox — keeps the user on site instead of sending them to YouTube,
   which serves competitor recommendations alongside your video. */
.lightbox { border: 0; padding: 0; background: transparent; max-inline-size: min(960px, 92vw); inline-size: 100%; }
.lightbox::backdrop { background: rgba(6,4,46,.82); backdrop-filter: blur(4px); }
.lightbox__inner { position: relative; aspect-ratio: 16/9; border-radius: var(--r-md); overflow: hidden; background: #000; }
.lightbox iframe { inline-size: 100%; block-size: 100%; border: 0; }
.lightbox__close {
  position: absolute; inset-block-start: -44px; inset-inline-end: 0;
  color: #fff; font-size: 15px; font-weight: 700;
}

/* --------------------------------------------------------------------------
   14. PROOF MODULE (tabbed) — template-parts/proof-module.php
   Replaces 4 stacked social-proof sections. Saves ~4 screens of scroll.
   ⚠ SEO: all panels stay in the DOM. Hide with [hidden] only — never
   fetch panel content lazily, or Google indexes one tab out of four.
   -------------------------------------------------------------------------- */
.proof__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: var(--s-3) var(--s-5); padding: var(--s-4) var(--s-5);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-1);
  margin-block-end: var(--s-5);
}
.stars { color: var(--gold-500); letter-spacing: 2px; font-size: var(--fs-lg); line-height: 1; }
.proof__score { font-size: var(--fs-xl); font-weight: 800; color: var(--ink-900); }
.proof__meta { font-size: var(--fs-sm); color: var(--ink-500); }
.tp-logo { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: #191919; font-size: var(--fs-sm); }
.tp-logo svg { inline-size: 16px; block-size: 16px; }

.tabs { display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: center; margin-block-end: var(--s-6); }
.tab {
  padding: var(--s-3) var(--s-5); border-radius: var(--r-full);
  border: 1px solid var(--line); background: var(--surface);
  font-weight: 700; font-size: var(--fs-base); color: var(--ink-600);
  transition: all .15s var(--ease);
}
.tab[aria-selected="true"] { background: var(--brand-700); border-color: var(--brand-700); color: #fff; box-shadow: var(--sh-2); }
.tabpanel[hidden] { display: none; }

.quotecard { display: flex; flex-direction: column; gap: var(--s-4); }
.quotecard__stars { color: var(--gold-500); letter-spacing: 2px; }
.quotecard blockquote { font-size: var(--fs-md); color: var(--ink-700); line-height: 1.6; }
.quotecard__who { display: flex; align-items: center; gap: var(--s-3); margin-block-start: auto; }
.avatar {
  inline-size: 42px; block-size: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 800; font-size: var(--fs-sm);
  background: var(--brand-100); color: var(--brand-800);
}
.quotecard__who strong { display: block; color: var(--ink-900); font-size: var(--fs-base); }
.quotecard__who span { font-size: var(--fs-xs); color: var(--ink-500); }
.quotecard__more { font-size: var(--fs-sm); font-weight: 700; align-self: flex-start; }

/* --------------------------------------------------------------------------
   15. BEFORE → AFTER CASE STUDY — template-parts/case-study-card.php
   The most persuasive content on the site. The duration ("3.5 months")
   is the hook — it gets its own visual treatment on the connector.
   -------------------------------------------------------------------------- */
.ba { padding: 0; overflow: hidden; }
.ba__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-3); padding: var(--s-4) var(--s-5);
  background: var(--surface-2); border-block-end: 1px solid var(--line);
}
.ba__who { display: flex; align-items: center; gap: var(--s-2); font-weight: 800; color: var(--ink-900); }
.ba__flag { font-size: 18px; line-height: 1; }
.ba__course { font-size: var(--fs-xs); font-weight: 700; color: var(--brand-700); background: var(--brand-50); padding: 3px var(--s-3); border-radius: var(--r-full); }

.ba__track { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s-4); align-items: center; padding: var(--s-5); }
.ba__state h4 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; margin-block-end: var(--s-2); }
.ba__before h4 { color: var(--ink-400); }
.ba__after h4 { color: var(--brand-600); }
.ba__before p { color: var(--ink-500); font-size: var(--fs-sm); }
.ba__after p { color: var(--ink-800); font-size: var(--fs-sm); font-weight: 600; }

.ba__connector { text-align: center; min-inline-size: 96px; }
.ba__time {
  display: inline-block; font-size: var(--fs-xs); font-weight: 800;
  color: var(--brand-800); background: var(--brand-100);
  padding: 3px var(--s-3); border-radius: var(--r-full); white-space: nowrap;
}
.ba__arrow { block-size: 4px; border-radius: 2px; margin-block-start: var(--s-2); position: relative;
  background: linear-gradient(90deg, var(--ink-200), var(--brand-500)); }
.ba__arrow::after {
  content: ""; position: absolute; inset-inline-end: -1px; inset-block-start: -4px;
  border-inline-start: 8px solid var(--brand-500);
  border-block: 6px solid transparent;
}
[dir="rtl"] .ba__arrow { background: linear-gradient(270deg, var(--ink-200), var(--brand-500)); }
[dir="rtl"] .ba__arrow::after { transform: scaleX(-1); }

.ba__quote { padding: var(--s-4) var(--s-5); background: var(--surface-2); border-block-start: 1px solid var(--line); }
.ba__quote blockquote { font-size: var(--fs-sm); color: var(--ink-600); font-style: italic; }
.ba__quote cite { display: block; font-size: var(--fs-xs); color: var(--ink-500); font-style: normal; margin-block-start: var(--s-2); }
.ba__foot { padding: var(--s-3) var(--s-5); }

@media (max-width: 720px) {
  .ba__track { grid-template-columns: 1fr; text-align: start; }
  .ba__connector { display: flex; align-items: center; gap: var(--s-3); }
  .ba__arrow { flex: 1; }
}
/* Mobile: snap-scroll carousel — these cards are too tall to stack 3 deep */
@media (max-width: 720px) {
  .scroller {
    /* display: grid; */
    /* grid-auto-flow: column; */
    grid-auto-columns: 86%;
    /* gap: var(--s-4); */
    /* overflow-x: auto; */
    /* scroll-snap-type: x mandatory; */
    /* padding-inline: var(--s-5); */
    /* margin-inline: calc(var(--s-5) * -1); */
    /* scrollbar-width: none; */
  }
  .scroller::-webkit-scrollbar { display: none; }
  .scroller > * { scroll-snap-align: start; }
}

/* --------------------------------------------------------------------------
   16. OUTCOME CARD — template-parts/outcome-card.php (course page)
   Copy already has the structure: para 1 = the outcome, para 2 = how
   Tabarak verifies it. The verification line is the differentiator, so
   it gets its own visual treatment instead of being a second paragraph.
   -------------------------------------------------------------------------- */
.outcome { display: flex; flex-direction: column; gap: var(--s-3); }
.outcome__head { display: flex; gap: var(--s-3); align-items: flex-start; }
.outcome__check {
  inline-size: 26px; block-size: 26px; border-radius: 50%; flex: none;
  background: var(--brand-600); color: #fff; display: grid; place-items: center;
  font-size: 13px; font-weight: 800; margin-block-start: 2px;
}
.outcome h3 { font-size: var(--fs-md); }
.outcome__verify {
  margin-block-start: auto; padding: var(--s-3) var(--s-4);
  background: var(--surface-3); border-radius: var(--r-sm);
  font-size: var(--fs-xs); font-weight: 700; color: var(--brand-800);
  display: flex; align-items: center; gap: var(--s-2);
}

/* --------------------------------------------------------------------------
   17. LEARNING TRACKS — template-parts/track-card.php (course page)
   Summary visible (~40 words), full detail behind <details> so the copy
   stays in the DOM for SEO while cutting perceived length ~70%.
   -------------------------------------------------------------------------- */
.track { position: relative; padding-block-start: var(--s-6); }
.track__num {
  position: absolute; inset-block-start: var(--s-5); inset-inline-end: var(--s-5);
  font-size: var(--fs-2xl); font-weight: 800; color: var(--brand-100); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.track__label { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-600); }
.track h3 { font-size: var(--fs-md); margin-block: var(--s-2); }
.track details { margin-block-start: var(--s-3); border-block-start: 1px solid var(--line); padding-block-start: var(--s-3); }
.track summary { font-size: var(--fs-sm); font-weight: 700; color: var(--brand-700); cursor: pointer; list-style: none; display: flex; align-items: center; gap: var(--s-2); }
.track summary::-webkit-details-marker { display: none; }
.track summary::after { content: "▾"; transition: transform .2s var(--ease); }
.track details[open] summary::after { transform: rotate(180deg); }
.track details p { margin-block-start: var(--s-3); font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   18. COURSE FACTS PANEL — template-parts/course-facts.php
   THE single highest-impact addition. Currently a parent must submit a
   form to learn whether the course suits their child.
   Requires ACF: age_range, level, session_length, frequency, language,
   female_tutor_available, certificate, price_from.
   -------------------------------------------------------------------------- */
.coursebody { display: grid; grid-template-columns: 1fr 348px; gap: var(--s-8); align-items: start; }
.facts { position: sticky; top: calc(var(--header-h) + var(--s-4)); }
.facts__card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-2); overflow: hidden; }
.facts__head { padding: var(--s-5); background: linear-gradient(150deg, var(--brand-800), var(--brand-950)); color: #fff; }
.facts__head h2 { color: #fff; font-size: var(--fs-lg); margin-block-end: var(--s-1); }
.facts__head p { font-size: var(--fs-xs); color: var(--brand-200); }
.facts__list { list-style: none; padding: var(--s-3) var(--s-5); margin: 0; }
.facts__list li { display: flex; align-items: center; gap: var(--s-3); padding-block: var(--s-3); font-size: var(--fs-sm); }
.facts__list li + li { border-block-start: 1px solid var(--line); }
.facts__ico { inline-size: 28px; block-size: 28px; border-radius: 8px; background: var(--brand-50); display: grid; place-items: center; font-size: 14px; flex: none; }
.facts__k { color: var(--ink-500); }
.facts__v { margin-inline-start: auto; font-weight: 700; color: var(--ink-900); text-align: end; }
.facts__price { padding: var(--s-4) var(--s-5); background: var(--gold-100); border-block: 1px solid var(--gold-200); }
.facts__price strong { display: block; font-size: var(--fs-xl); color: var(--gold-700); font-weight: 800; }
.facts__price span { font-size: var(--fs-xs); color: var(--ink-600); }
.facts__actions { padding: var(--s-5); display: grid; gap: var(--s-3); }
.facts__reassure {list-style: none;padding: 0 var(--s-5) var(--s-5);margin: 0;font-size: var(--fs-xs);color: var(--ink-500);display: grid;gap: var(--s-2);display: none;}
.facts__reassure li::before { content: "✓"; color: var(--brand-600); font-weight: 800; margin-inline-end: 6px; }

@media (max-width: 1040px) {
  .coursebody { grid-template-columns: 1fr; }
  .facts { position: static; order: -1; margin-block-end: var(--s-6); }
}

/* --------------------------------------------------------------------------
   19. TEACHER CARD — template-parts/teacher-card.php
   ⚠ DO NOT LAUNCH with "Profile details coming soon". The whole value
   proposition is Al-Azhar certified tutors; an empty teachers section
   undermines it more than having no section at all.
   The ijazah-chain field (Tech Foundation §2.4) is a genuine moat —
   no competitor in this market surfaces it.
   -------------------------------------------------------------------------- */
.teacher { text-align: center; padding: var(--s-5) var(--s-4); }
.teacher__photo {
  inline-size: 96px; block-size: 96px; border-radius: 50%;
  object-fit: cover; margin-inline: auto; margin-block-end: var(--s-4);
  border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--brand-100);
  background: var(--brand-50);
}
.teacher h3 { font-size: var(--fs-md); margin-block-end: 2px; }
.teacher__spec { font-size: var(--fs-xs); color: var(--ink-500); margin-block-end: var(--s-4); }
.teacher__chips { display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: center; margin-block-end: var(--s-4); }
.teacher__link { font-size: var(--fs-sm); font-weight: 700; }

/* --------------------------------------------------------------------------
   20. COUNTRIES — template-parts/countries.php
   ⚠ DECIDED 29 Jul 2026: no localisation pages will exist for now.
   Therefore this section is NON-LINKED. The previous build shipped 9 pills
   all pointing at empty href="<>" — worse than having no section.
   If location pages are built later, convert to links then, not before.
   -------------------------------------------------------------------------- */
.countries { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-3); }
.country {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3) var(--s-4); border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line);
}
.country__flag { font-size: 24px; line-height: 1; }
.country__name { font-weight: 700; font-size: var(--fs-sm); color: var(--ink-800); }
.country__meta { font-size: var(--fs-xs); color: var(--ink-500); display: block; }
@media (max-width: 980px) { .countries { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .countries { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------------------
   21. FAQ — native <details> for zero-JS resilience + a11y.
   Answers stay in the DOM regardless of open state so FAQPage schema
   validates against visible text.
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: var(--s-3); }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  padding: 0;
}
.faq details[open] { border-color: var(--brand-200); box-shadow: var(--sh-2); }
.faq summary {
  padding: var(--s-4) var(--s-5); font-weight: 700; color: var(--ink-900);
  cursor: pointer; list-style: none; display: flex; gap: var(--s-4);
  align-items: center; justify-content: space-between;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: var(--fs-xl); font-weight: 400; color: var(--brand-600);
  transition: transform .2s var(--ease); flex: none; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 var(--s-5) var(--s-5); color: var(--ink-600); font-size: var(--fs-base); }
.faq__fallback {
  margin-block-start: var(--s-5); padding: var(--s-5);
  background: var(--brand-50); border-radius: var(--r-md);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4);
}

/* --------------------------------------------------------------------------
   22. BOOKING FORM — template-parts/booking-form.php
   Two-step on mobile: step 1 is name + WhatsApp only. Cuts perceived
   friction roughly in half on a 7-field form.
   ⚠ "Course of Interest" must be populated from the course CPT and
   pre-selected to the current course on course pages.
   -------------------------------------------------------------------------- */
.formwrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--s-8); align-items: start; }
@media (max-width: 900px) { .formwrap { grid-template-columns: 1fr; } }

.contactlist {list-style: none;padding: 0;display: flex;gap: var(--s-4);margin-block-start: var(--s-6);flex-wrap: wrap;}
.contactlist li {display: flex;gap: var(--s-4);align-items: flex-start;flex: 1;}
.contactlist .card__icon { margin: 0; inline-size: 42px; block-size: 42px; }
.contactlist strong { display: block; color: var(--ink-900); font-size: var(--fs-base); }
.contactlist a { font-size: var(--fs-sm); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--sh-2); }
.form__steps {display: flex;gap: var(--s-2);margin-block-end: var(--s-5);display: none;}
.form__step { flex: 1; block-size: 4px; border-radius: 2px; background: var(--ink-200); }
.form__step[data-active="true"] { background: var(--brand-600); }
.field {display: grid;gap: var(--s-2);margin-block-end: var(--s-4);margin-bottom: 0;}
.field label { font-size: var(--fs-sm); font-weight: 700; color: var(--ink-800); }
.field p {
  margin:0
}
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  padding: var(--s-3) var(--s-4); min-block-size: 48px;
  border: 1px solid var(--ink-200); border-radius: var(--r-sm);
  background: var(--surface); font-size: var(--fs-base); inline-size: 100%;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { min-block-size: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--brand-500);
  box-shadow: 0 0 0 3px var(--brand-100);
}
.field__hint { font-size: var(--fs-xs); color: var(--ink-500); }
.field__err { font-size: var(--fs-xs); color: var(--danger); font-weight: 600; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.form__reassure br,.form__privacy br {
  display:none
}
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form__reassure {display: flex;flex-wrap: wrap;gap: var(--s-4);font-size: var(--fs-xs);color: var(--ink-500);margin-block-start: var(--s-4);justify-content: center;margin: 0;}
.form__reassure span::before { content: "✓"; color: var(--brand-600); font-weight: 800; margin-inline-end: 5px; }
.form__privacy {font-size: var(--fs-xs);color: var(--ink-400);text-align: center;margin-block-start: var(--s-3);margin: 0;}

/* --------------------------------------------------------------------------
   23. CTA BANDS
   -------------------------------------------------------------------------- */
.ctaband {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: linear-gradient(140deg, var(--brand-800), var(--brand-950) 62%);
  color: var(--brand-100); padding: clamp(var(--s-6), 5vw, var(--s-9));
  text-align: center;
}
.ctaband::after {
  content: ""; position: absolute; inset-block-start: -40%; inset-inline-end: -8%;
  inline-size: 380px; block-size: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(86,243,255,.22), transparent 68%);
}
.ctaband > * { position: relative; z-index: 1; }
.ctaband h2 { color: #fff; margin-block-end: var(--s-3); }
.ctaband p { max-inline-size: 58ch; margin-inline: auto; margin-block-end: var(--s-6); color: var(--brand-200); }
.ctaband .btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   24. STICKY CTA BAR — template-parts/sticky-cta.php
   Both pages run 12+ sections. Without this, a user who decides at
   section 9 has to scroll to section 13 to act.
   Hides itself when the booking form is in view (see tabarak-ui.js).
   -------------------------------------------------------------------------- */
.stickycta {
  position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 80;
  background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
  border-block-start: 1px solid var(--line);
  box-shadow: 0 -6px 22px rgba(22,20,57,.10);
  padding: var(--s-3) var(--s-4);
  padding-block-end: calc(var(--s-3) + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: var(--s-3);
  transform: translateY(110%); transition: transform .28s var(--ease);
}
.stickycta[data-show="true"] { transform: translateY(0); }
.stickycta__txt { font-size: var(--fs-xs); color: var(--ink-600); font-weight: 600; line-height: 1.3; flex: 1; }
.stickycta__txt strong { display: block; color: var(--ink-900); font-size: var(--fs-sm); }
.stickycta .btn { min-block-size: 44px; padding-inline: var(--s-5); }
.stickycta .btn--wa { inline-size: 44px; padding: 0; flex: none; }
@media (min-width: 1041px) { .stickycta { display: none; } }

/* --------------------------------------------------------------------------
   25. RELATED COURSES — template-parts/related-courses.php
   Tech Foundation §5: 4–5 siblings + parent + 2 related categories.
   Siblings render as CARDS, related categories as text links — the
   visual difference signals the difference in relevance.
   -------------------------------------------------------------------------- */
.related__cats { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-block-start: var(--s-5); align-items: center; }
.related__cats a {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: var(--s-2) var(--s-4); border-radius: var(--r-full);
  border: 1px dashed var(--ink-300); font-size: var(--fs-sm); font-weight: 600; color: var(--ink-700);
}
.related__cats a:hover { border-style: solid; border-color: var(--brand-500); color: var(--brand-700); text-decoration: none; }

/* --------------------------------------------------------------------------
   26. BLOG CARD
   -------------------------------------------------------------------------- */
.postcard { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.postcard__media { aspect-ratio: 16/10; overflow: hidden; }
.postcard__media img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.postcard:hover .postcard__media img { transform: scale(1.05); }
.postcard__body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.postcard__meta { display: flex; gap: var(--s-3); font-size: var(--fs-xs); color: var(--ink-500); }
.postcard h3 { font-size: var(--fs-md); }
.postcard h3 a { color: inherit; }

/* --------------------------------------------------------------------------
   27. FOOTER
   -------------------------------------------------------------------------- */
.site-footer { background: var(--brand-950); color: var(--brand-200); padding-block: var(--s-9) var(--s-5); margin-block-start: var(--s-9); }
.site-footer h4 { color: #fff; font-size: var(--fs-base); margin-block-end: var(--s-4); }
.site-footer a { color: var(--brand-200); font-size: var(--fs-sm); }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--s-7); }
.footer__grid ul { list-style: none; padding: 0; display: grid; gap: var(--s-2); }
.footer__about p { font-size: var(--fs-sm); margin-block: var(--s-4); max-inline-size: 40ch; }
.footer__bottom {
  margin-block-start: var(--s-7); padding-block-start: var(--s-5);
  border-block-start: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: space-between;
  font-size: var(--fs-xs);
}
.footer__legal { display: flex; gap: var(--s-4); flex-wrap: wrap; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   28. DEV ANNOTATION — remove in production.
   Toggle with the button in the page corner.
   -------------------------------------------------------------------------- */
.devnote {
  display: none; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px; line-height: 1.5; color: var(--tg-common-color-dark); background: var(--tg-common-color-gray-2);
  border: 1px dashed var(--tg-theme-primary); border-radius: 6px;
  padding: 8px 10px; margin-block: 10px;
}
body[data-devnotes="on"] .devnote { display: block; }
.devtoggle {
  position: fixed; inset-block-end: 84px; inset-inline-end: 16px; z-index: 100;
  background: var(--ink-900); color: #fff; font-size: 11px; font-weight: 700;
  padding: 8px 12px; border-radius: var(--r-full); box-shadow: var(--sh-3);
}
@media (min-width: 1041px) { .devtoggle { inset-block-end: 16px; } }

.coursebody > p {
    display:none;
}


@media(max-width:767px) {
  *{
    
  }

input.wpcf7-form-control.wpcf7-submit.has-spinner.btn.btn--primary.btn--block.btn--lg {
    white-space: break-spaces;
}

.field {
    max-width: 100%;
}

a.btn.btn-two {
    white-space: normal;
}
  .newsletter__area .container {
    padding: 2em;
  }
}



:root {
  /* Tabarak Academy palette — source colors supplied by the client. */
  --tg-body-color: #6D6C80;
  --tg-heading-color: #161439;
  --tg-theme-primary: #5751E1;
  --tg-theme-secondary: #56F3FF;
  --tg-common-color-gray: #F7F7F9;
  --tg-common-color-gray-2: #EFEEFE;
  --tg-common-color-gray-3: #7F7E97;
  --tg-common-color-gray-4: #ACAACC;
  --tg-common-color-gray-5: #B2BBCC;
  --tg-common-color-gray-6: #D7D7DF;
  --tg-common-color-gray-7: #F6F6F6;
  --tg-common-color-gray-8: #F5F5F4;
  --tg-common-color-gray-9: #F9F9F9;
  --tg-common-color-gray-10: #F8F8F8;
  --tg-common-color-gray-11: #F8F8FC;
  --tg-common-color-dark: #1C1A4A;
  --tg-common-color-black: #06042E;
  --tg-common-color-black-2: #161439;

  /* Existing component tokens mapped to the new palette. */
  --brand-950: var(--tg-common-color-black);
  --brand-900: var(--tg-common-color-dark);
  --brand-800: var(--tg-common-color-black-2);
  --brand-700: color-mix(in srgb, var(--tg-theme-primary) 84%, var(--tg-common-color-black));
  --brand-600: var(--tg-theme-primary);
  --brand-500: color-mix(in srgb, var(--tg-theme-primary) 82%, var(--tg-theme-secondary));
  --brand-200: color-mix(in srgb, var(--tg-theme-primary) 28%, white);
  --brand-100: var(--tg-common-color-gray-2);
  --brand-50: var(--tg-common-color-gray-11);

  /* Accent tokens retain their old names so no component markup changes. */
  --gold-700: var(--tg-heading-color);
  --gold-600: color-mix(in srgb, var(--tg-theme-secondary) 82%, var(--tg-theme-primary));
  --gold-500: var(--tg-theme-secondary);
  --gold-200: color-mix(in srgb, var(--tg-theme-secondary) 35%, white);
  --gold-100: color-mix(in srgb, var(--tg-theme-secondary) 14%, white);

  /* Neutrals */
  --ink-900: var(--tg-heading-color);
  --ink-800: var(--tg-common-color-dark);
  --ink-700: var(--tg-body-color);
  --ink-600: var(--tg-common-color-gray-3);
  --ink-500: var(--tg-common-color-gray-3);
  --ink-400: var(--tg-common-color-gray-4);
  --ink-300: var(--tg-common-color-gray-5);
  --ink-200: var(--tg-common-color-gray-6);
  --ink-100: var(--tg-common-color-gray);
  --surface: #ffffff;
  --surface-2: var(--tg-common-color-gray-11);
  --surface-3: var(--tg-common-color-gray-2);
  --line: var(--tg-common-color-gray-6);

  /* Category accents derived only from the supplied Tabarak palette. */
  --cat-quran: var(--tg-theme-primary);
  --cat-tajweed: color-mix(in srgb, var(--tg-theme-primary) 74%, var(--tg-theme-secondary));
  --cat-hifz: color-mix(in srgb, var(--tg-theme-primary) 78%, var(--tg-common-color-dark));
  --cat-arabic: color-mix(in srgb, var(--tg-theme-secondary) 38%, var(--tg-common-color-dark));
  --cat-quranic-arabic: color-mix(in srgb, var(--tg-theme-primary) 62%, var(--tg-common-color-black));
  --cat-qaida: color-mix(in srgb, var(--tg-theme-secondary) 30%, var(--tg-common-color-dark));
  --cat-islamic-studies: color-mix(in srgb, var(--tg-theme-primary) 86%, var(--tg-common-color-black));
  --cat-school: color-mix(in srgb, var(--tg-theme-primary) 60%, var(--tg-body-color));

  /* Semantic colors */
  --ok: var(--tg-theme-primary);
  --warn: color-mix(in srgb, var(--tg-theme-secondary) 35%, var(--tg-common-color-dark));
  --danger: #b3402f;

  /* Typography */
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system,
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Amiri", "Scheherazade New", Georgia, serif; /* Arabic + Quranic accents */
  --fs-xs:   0.75rem;   /* 12 */
  --fs-sm:   0.8125rem; /* 13 */
  --fs-base: 0.9375rem; /* 15 */
  --fs-md:   1rem;      /* 16 */
  --fs-lg:   1.125rem;  /* 18 */
  --fs-xl:   1.375rem;  /* 22 */
  --fs-2xl:  1.75rem;   /* 28 */
  --fs-3xl:  2.25rem;   /* 36 */
  --fs-4xl:  2.875rem;  /* 46 */
  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-normal: 1.65;

  /* Spacing */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 2.5rem;
  --s-8: 3rem;
  --s-9: 4rem;
  --s-10: 5rem;
  --s-11: 6.5rem;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  /* Elevation */
  --sh-1: 0 1px 2px rgba(22,20,57,.05), 0 1px 3px rgba(22,20,57,.06);
  --sh-2: 0 4px 10px -2px rgba(22,20,57,.08), 0 2px 6px -2px rgba(22,20,57,.05);
  --sh-3: 0 14px 32px -8px rgba(22,20,57,.16), 0 6px 14px -6px rgba(22,20,57,.09);
  --sh-brand: 0 10px 26px -8px rgba(87,81,225,.42);

  /* Layout */
  --container: 1250px;
  --container-narrow: 860px;
  --header-h: 76px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* --------------------------------------------------------------------------
   2. RESET + BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--ink-700);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
.page-id-133 img {
  display:inline
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: var(--brand-700); text-decoration: none; }

h1, h2, h3, h4, h5 {
  color: var(--ink-900);
  line-height: var(--lh-tight);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, var(--fs-4xl)); }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.8vw, var(--fs-3xl)); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
p  { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-inline-start: var(--s-4); top: -100px; z-index: 200;
  background: var(--brand-700); color: #fff; padding: var(--s-3) var(--s-5);
  border-radius: var(--r-sm); transition: top .2s var(--ease);
}
.skip-link:focus { top: var(--s-4); }

/* --------------------------------------------------------------------------
   3. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--s-5); }
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(var(--s-8), 6vw, var(--s-11)); }
.section--tight { padding-block: clamp(var(--s-7), 4vw, var(--s-9)); }
.section--tinted { background: var(--surface-2); }
.section--dark { background: var(--brand-950); color: var(--brand-100); }
.section--dark h2, .section--dark h3 { color: #fff; }

.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Section header — template-parts/section-header.php */
.sec-head { max-width: 62ch; margin-block-end: var(--s-7); }
.sec-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand-600);
  margin-block-end: var(--s-3);
}
.eyebrow::before {
  content: ""; inline-size: 22px; block-size: 2px;
  background: var(--gold-500); border-radius: 2px;
}
.sec-head--center .eyebrow::before { display: none; }
.lede { font-size: var(--fs-md); color: var(--ink-600); margin-block-start: var(--s-3); }

/* --------------------------------------------------------------------------
   4. BUTTONS — template-parts/button.php
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  padding: var(--s-3) var(--s-5); min-block-size: 48px;
  border-radius: var(--r-full); font-weight: 700; font-size: var(--fs-base);
  text-align: center; text-decoration: none; border: 2px solid transparent;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--brand-600); color: #fff; box-shadow: var(--sh-brand); }
.btn--primary:hover { background: var(--brand-700); }

.btn--gold {background: var(--gold-500);color: var(--brand-950);box-shadow: 0 10px 24px -8px rgba(86,243,255,.42);white-space: break-spaces;}
.btn--gold:hover { background: var(--gold-600); color: var(--brand-950); }

.btn--outline { border-color: var(--ink-200); color: var(--ink-800); background: var(--surface); }
.btn--outline:hover { border-color: var(--brand-500); color: var(--brand-700); }

.btn--ghost { color: var(--brand-700); padding-inline: var(--s-3); }

.btn--wa { background: #25d366; color: #06301a; }
.btn--wa:hover { background: #1fbb59; }

.btn--lg { padding: var(--s-4) var(--s-7); font-size: var(--fs-md); min-block-size: 56px; }
.btn--block { display: flex; inline-size: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* --------------------------------------------------------------------------
   5. CHIPS, PILLS, BADGES
   -------------------------------------------------------------------------- */
.chip {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: var(--s-1) var(--s-3); border-radius: var(--r-full);
  font-size: var(--fs-xs); font-weight: 700; line-height: 1.9;
  background: var(--brand-50); color: var(--brand-700);
  border: 1px solid var(--brand-100);
}
.chip--gold { background: var(--gold-100); color: var(--gold-700); border-color: var(--gold-200); }
.chip--neutral { background: var(--ink-100); color: var(--ink-600); border-color: var(--line); }
.chip--solid { background: var(--brand-600); color: #fff; border-color: transparent; }
.chip--female { background: #fbeef5; color: #8a3d68; border-color: #f2d6e6; }

.badge-duration {
  position: absolute; inset-block-end: var(--s-3); inset-inline-end: var(--s-3);
  background: rgba(6,4,46,.86); color: #fff; font-size: var(--fs-xs);
  font-weight: 700; padding: 2px var(--s-2); border-radius: var(--r-sm);
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   6. HEADER — template-parts/header.php
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--brand-950); color: var(--brand-200);
  font-size: var(--fs-sm); padding-block: var(--s-2);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
.topbar a { color: var(--brand-100); }
.topbar__contact { display: flex; gap: var(--s-5); flex-wrap: wrap; }
.topbar__social { display: flex; gap: var(--s-3); }
.topbar__social a { opacity: .8; } .topbar__social a:hover { opacity: 1; }
@media (max-width: 860px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-block-end: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; gap: var(--s-5);
  min-block-size: var(--header-h);
}
.brand { display: flex; align-items: center; gap: var(--s-3); font-weight: 800; color: var(--brand-900); font-size: var(--fs-lg); }
.brand:hover { text-decoration: none; }
.brand__mark {
  inline-size: 40px; block-size: 40px; border-radius: 12px; flex: none;
  background: linear-gradient(140deg, var(--brand-600), var(--brand-900));
  display: grid; place-items: center; color: var(--gold-500); font-size: 20px;
}
.brand small { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-500); letter-spacing: .04em; }

.nav { margin-inline-start: auto; }
.nav ul { display: flex; align-items: center; gap: var(--s-5); list-style: none; padding: 0; }
.nav a { color: var(--ink-700); font-weight: 600; font-size: var(--fs-base); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand-700); text-decoration: none; }
.header__cta { display: flex; gap: var(--s-2); }
.nav-toggle { display: none; padding: var(--s-2); border-radius: var(--r-sm); }

@media (max-width: 1100px) {
  .nav, .header__cta .btn--outline { display: none; }
  .nav-toggle { display: block; margin-inline-start: auto; }
  .nav[data-open="true"] {
    display: block; position: fixed; inset-block-start: var(--header-h);
    inset-inline: 0; inset-block-end: 0; background: var(--surface);
    padding: var(--s-5); overflow-y: auto; z-index: 95;
  }
  .nav[data-open="true"] ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav[data-open="true"] li { border-block-end: 1px solid var(--line); }
  .nav[data-open="true"] a { display: block; padding-block: var(--s-4); font-size: var(--fs-lg); }
}

/* Breadcrumbs — required by Tech Foundation §4 (BreadcrumbList schema) */
.crumbs { font-size: var(--fs-sm); color: var(--ink-500); padding-block: var(--s-4); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; }
.crumbs li:not(:last-child)::after { content: "›"; margin-inline-start: var(--s-2); color: var(--ink-300); }

/* --------------------------------------------------------------------------
   7. HERO — template-parts/hero.php
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% -8%, rgba(87,81,225,.14), transparent 62%),
    radial-gradient(700px 380px at 4% 108%, rgba(86,243,255,.16), transparent 60%),
    var(--surface-2);
  border-block-end: 1px solid var(--line);
}
.hero__grid {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: var(--s-8); align-items: center;
  padding-block: clamp(var(--s-7), 5vw, var(--s-10));
}
.hero__eyebrow { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-block-end: var(--s-4); }
.hero h1 { margin-block-end: var(--s-4); }
.hero__lede { font-size: var(--fs-lg); color: var(--ink-600); max-width: 54ch; margin-block-end: var(--s-6); }
.hero__reassure { margin-block-start: var(--s-4); font-size: var(--fs-sm); color: var(--ink-500); display: flex; flex-wrap: wrap; gap: var(--s-4); }
.hero__reassure span::before { content: "✓"; color: var(--brand-600); font-weight: 800; margin-inline-end: 6px; }

.hero__media { position: relative; }
.hero__media img {
  inline-size: 100%; border-radius: var(--r-xl);
  box-shadow: var(--sh-3); aspect-ratio: 4/3; object-fit: cover;
}
/* Floating proof card over the hero image */
.hero__float {
  position: absolute; inset-block-end: -18px; inset-inline-start: -18px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-3);
  padding: var(--s-4); display: flex; gap: var(--s-3); align-items: center;
  max-inline-size: 270px;
}
.hero__float strong { display: block; color: var(--ink-900); font-size: var(--fs-base); }
.hero__float span { font-size: var(--fs-xs); color: var(--ink-500); }

@media (max-width: 900px) {
  /* MOBILE ORDER RULE: headline → lede → CTAs → stat strip → image last.
     The image must never push the CTA below the fold. */
  .hero__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .hero__media { order: 2; }
  .hero__body { order: 1; }
  .hero__float { position: static; margin-block-start: var(--s-4); max-inline-size: none; }
}

/* --------------------------------------------------------------------------
   8. STAT STRIP + TRUST BAR — template-parts/stat-strip.php
   Shared component: homepage hero stats AND course page trust bar.
   ⚠ All figures must come from ONE site-options group (see README §3).
   -------------------------------------------------------------------------- */
.statstrip {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: var(--s-4); padding: var(--s-5);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-2);
}
.statstrip__item { text-align: center; padding-inline: var(--s-2); }
.statstrip__item + .statstrip__item { border-inline-start: 1px solid var(--line); }
.statstrip__num {
  display: block; font-size: clamp(1.35rem, 1rem + 1.2vw, 1.9rem);
  font-weight: 800; color: var(--brand-800); line-height: 1.1;
  font-variant-numeric: tabular-nums; letter-spacing: -.03em;
}
.statstrip__label { font-size: var(--fs-xs); color: var(--ink-500); font-weight: 600; line-height: 1.35; display: block; margin-block-start: 4px; }
@media (max-width: 860px) {
  .statstrip { grid-template-columns: repeat(2, 1fr); gap: 0; padding: var(--s-2); }
  .statstrip__item { padding: var(--s-4) var(--s-2); border: 0 !important; }
  .statstrip__item:nth-child(odd) { border-inline-end: 1px solid var(--line) !important; }
  .statstrip__item:not(:nth-last-child(-n+2)) { border-block-end: 1px solid var(--line) !important; }
  .statstrip__item:last-child:nth-child(odd) { grid-column: 1 / -1; border-inline-end: 0 !important; }
}

/* Course-page trust band — same data, tinted band treatment */
.trustband { background: var(--brand-950); padding-block: var(--s-5); }
.trustband .statstrip { background: transparent; border: 0; box-shadow: none; }
.trustband .statstrip__num { color: var(--gold-500); }
.trustband .statstrip__label { color: var(--brand-200); }
.trustband .statstrip__item + .statstrip__item { border-inline-start-color: rgba(255,255,255,.12); }

/* --------------------------------------------------------------------------
   9. CARD BASE
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s-5);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--brand-200); }
.card__icon {
  inline-size: 46px; block-size: 46px; border-radius: 13px; flex: none;
  display: grid; place-items: center; font-size: 21px;
  background: var(--brand-50); color: var(--brand-700);
  margin-block-end: var(--s-4);
}
.card h3 { font-size: var(--fs-lg); margin-block-end: var(--s-2); }
.card p { font-size: var(--fs-base); color: var(--ink-600); }

/* --------------------------------------------------------------------------
   10. BENTO GRID — "Why Choose Us" · template-parts/bento.php
   Asymmetric on purpose: the two cells that carry the most persuasive
   weight (1-on-1 private, free trial) get double width.
   -------------------------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.bento > * { min-block-size: 0; }
.bento__wide { grid-column: span 2; }
.bento__feature {
  grid-column: span 2; background: linear-gradient(150deg, var(--brand-800), var(--brand-950));
  color: var(--brand-100); border-color: transparent;
}
.bento__feature h3 { color: #fff; }
.bento__feature p { color: var(--brand-200); }
.bento__feature .card__icon { background: rgba(255,255,255,.12); color: var(--gold-500); }

.bento__cta {
  grid-column: span 2; background: var(--gold-100);
  border-color: var(--gold-200); display: flex; flex-direction: column;
  justify-content: center;
}
.bento__cta h3 { color: var(--gold-700); }
.bento__cta .card__icon { background: var(--gold-500); color: #fff; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .bento__wide, .bento__feature, .bento__cta { grid-column: span 1; } }

/* --------------------------------------------------------------------------
   11. CATEGORY TILES (8) — template-parts/category-tiles.php
   Fulfils Tech Foundation §5: "Homepage → 8 categories".
   Anchor text = each category's primary keyword.
   -------------------------------------------------------------------------- */
.cattiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.cattile {
  --c: var(--brand-600);
  position: relative; display: block; padding: var(--s-5);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.cattile:hover { transform: translateY(-4px); box-shadow: var(--sh-3); text-decoration: none; }
.cattile::before {
  content: ""; position: absolute; inset-block-start: 0; inset-inline: 0;
  block-size: 4px; background: var(--c);
}
.cattile__icon {
  inline-size: 44px; block-size: 44px; border-radius: 12px; margin-block-end: var(--s-4);
  display: grid; place-items: center; font-size: 20px;
  background: color-mix(in srgb, var(--c) 12%, white); color: var(--c);
}
.cattile h3 { font-size: var(--fs-md); margin-block-end: var(--s-1); color: var(--ink-900); }
.cattile p { font-size: var(--fs-sm); color: var(--ink-500); margin-block-end: var(--s-3); }
.cattile__count { font-size: var(--fs-xs); font-weight: 700; color: var(--c); }
@media (max-width: 980px) { .cattiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cattiles {grid-template-columns: repeat(1, 1fr);gap: var(--s-3);} .cattile { padding: var(--s-4); } }

/* --------------------------------------------------------------------------
   12. COURSE CARD — template-parts/course-card.php
   Metadata row is the point: parents decide on age + level + duration.
   Requires new ACF fields: age_range, level, session_length, audience.
   -------------------------------------------------------------------------- */
.coursecard {
  --c: var(--brand-600);
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.coursecard:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.coursecard__media { position: relative; aspect-ratio: 16/10; }
.coursecard__media img { inline-size: 100%; block-size: 100%; object-fit: cover; }
/* FALLBACK TILE — renders when featured_image is empty.
   Deliberately abstract: repeated identical stock photos read as
   "unfinished site" faster than a typeset gradient tile does. */
.coursecard__fallback {
  inline-size: 100%; block-size: 100%;
  background: linear-gradient(145deg, var(--c), color-mix(in srgb, var(--c) 55%, var(--brand-950)));
  display: grid; place-items: center; padding: var(--s-5);
  color: #fff; text-align: center; font-weight: 700; font-size: var(--fs-md);
  position: relative;
}
.coursecard__fallback::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 13px 13px; opacity: .5;
}
.coursecard__tag {
  position: absolute; inset-block-start: var(--s-3); inset-inline-start: var(--s-3);
  background: rgba(255,255,255,.94); color: var(--c);
  font-size: var(--fs-xs); font-weight: 800; padding: 4px var(--s-3);
  border-radius: var(--r-full); z-index: 1;
}
.coursecard__body { padding: var(--s-5); display: flex; flex-direction: column; flex: 1; gap: var(--s-3); }
.coursecard__cat { font-size: var(--fs-xs); font-weight: 700; color: var(--c); text-transform: uppercase; letter-spacing: .07em; }
.coursecard h3 { font-size: var(--fs-lg); }
.coursecard h3 a { color: inherit; }
.coursecard__meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2);
  padding-block: var(--s-3); border-block: 1px solid var(--line);
  font-size: var(--fs-sm); color: var(--ink-600);
}
.coursecard__meta span { display: flex; align-items: center; gap: 6px; }
.coursecard__foot { margin-block-start: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }

/* --------------------------------------------------------------------------
   13. VIDEO FACADE — template-parts/video-card.php
   ⚠ NEVER ship a raw YouTube <iframe> in a grid. Each costs ~1MB and
   several hundred ms of main thread. Facade loads the iframe on click.
   Emit VideoObject JSON-LD per Tech Foundation §4.
   -------------------------------------------------------------------------- */
.videofilter { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-block-end: var(--s-5); }
.filter-btn {
  padding: var(--s-2) var(--s-4); border-radius: var(--r-full);
  border: 1px solid var(--line); background: var(--surface);
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-600);
  transition: all .15s var(--ease);
}
.filter-btn:hover { border-color: var(--brand-300); color: var(--brand-700); }
.filter-btn[aria-pressed="true"] { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }

.videocard { overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.videocard__thumb {
  position: relative; inline-size: 100%; aspect-ratio: 16/9;
  border: 0; padding: 0; display: block; overflow: hidden; cursor: pointer;
  background: var(--brand-950);
}
.videocard__thumb img { inline-size: 100%; block-size: 100%; object-fit: cover; opacity: .82; transition: opacity .2s, transform .3s var(--ease); }
.videocard__thumb:hover img { opacity: 1; transform: scale(1.04); }
.videocard__play {
  position: absolute; inset: 0; margin: auto;
  inline-size: 58px; block-size: 58px; border-radius: 50%;
  background: rgba(255,255,255,.94); display: grid; place-items: center;
  box-shadow: var(--sh-2); transition: transform .2s var(--ease);
}
.videocard__play::after {
  content: ""; inline-size: 0; block-size: 0;
  border-inline-start: 16px solid var(--brand-800);
  border-block-start: 10px solid transparent;
  border-block-end: 10px solid transparent;
  margin-inline-start: 4px;
}
.videocard__thumb:hover .videocard__play { transform: scale(1.09); }
.videocard__chips { position: absolute; inset-block-start: var(--s-3); inset-inline-start: var(--s-3); display: flex; gap: var(--s-2); }
.videocard__body { padding: var(--s-4); }
.videocard h3 { font-size: var(--fs-md); margin-block-end: var(--s-2); }
.videocard p { font-size: var(--fs-sm); color: var(--ink-600); margin-block-end: var(--s-3); }
.videocard__teacher { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-sm); font-weight: 600; color: var(--ink-700); }
.videocard__avatar { inline-size: 28px; block-size: 28px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); display: grid; place-items: center; font-size: 11px; font-weight: 800; }

/* Lightbox — keeps the user on site instead of sending them to YouTube,
   which serves competitor recommendations alongside your video. */
.lightbox { border: 0; padding: 0; background: transparent; max-inline-size: min(960px, 92vw); inline-size: 100%; }
.lightbox::backdrop { background: rgba(6,4,46,.82); backdrop-filter: blur(4px); }
.lightbox__inner { position: relative; aspect-ratio: 16/9; border-radius: var(--r-md); overflow: hidden; background: #000; }
.lightbox iframe { inline-size: 100%; block-size: 100%; border: 0; }
.lightbox__close {
  position: absolute; inset-block-start: -44px; inset-inline-end: 0;
  color: #fff; font-size: 15px; font-weight: 700;
}

/* --------------------------------------------------------------------------
   14. PROOF MODULE (tabbed) — template-parts/proof-module.php
   Replaces 4 stacked social-proof sections. Saves ~4 screens of scroll.
   ⚠ SEO: all panels stay in the DOM. Hide with [hidden] only — never
   fetch panel content lazily, or Google indexes one tab out of four.
   -------------------------------------------------------------------------- */
.proof__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: var(--s-3) var(--s-5); padding: var(--s-4) var(--s-5);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-1);
  margin-block-end: var(--s-5);
}
.stars { color: var(--gold-500); letter-spacing: 2px; font-size: var(--fs-lg); line-height: 1; }
.proof__score { font-size: var(--fs-xl); font-weight: 800; color: var(--ink-900); }
.proof__meta { font-size: var(--fs-sm); color: var(--ink-500); }
.tp-logo { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: #191919; font-size: var(--fs-sm); }
.tp-logo svg { inline-size: 16px; block-size: 16px; }

.tabs { display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: center; margin-block-end: var(--s-6); }
.tab {
  padding: var(--s-3) var(--s-5); border-radius: var(--r-full);
  border: 1px solid var(--line); background: var(--surface);
  font-weight: 700; font-size: var(--fs-base); color: var(--ink-600);
  transition: all .15s var(--ease);
}
.tab[aria-selected="true"] { background: var(--brand-700); border-color: var(--brand-700); color: #fff; box-shadow: var(--sh-2); }
.tabpanel[hidden] { display: none; }

.quotecard { display: flex; flex-direction: column; gap: var(--s-4); }
.quotecard__stars { color: var(--gold-500); letter-spacing: 2px; }
.quotecard blockquote { font-size: var(--fs-md); color: var(--ink-700); line-height: 1.6; }
.quotecard__who { display: flex; align-items: center; gap: var(--s-3); margin-block-start: auto; }
.avatar {
  inline-size: 42px; block-size: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 800; font-size: var(--fs-sm);
  background: var(--brand-100); color: var(--brand-800);
}
.quotecard__who strong { display: block; color: var(--ink-900); font-size: var(--fs-base); }
.quotecard__who span { font-size: var(--fs-xs); color: var(--ink-500); }
.quotecard__more { font-size: var(--fs-sm); font-weight: 700; align-self: flex-start; }

/* --------------------------------------------------------------------------
   15. BEFORE → AFTER CASE STUDY — template-parts/case-study-card.php
   The most persuasive content on the site. The duration ("3.5 months")
   is the hook — it gets its own visual treatment on the connector.
   -------------------------------------------------------------------------- */
.ba { padding: 0; overflow: hidden; }
.ba__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-3); padding: var(--s-4) var(--s-5);
  background: var(--surface-2); border-block-end: 1px solid var(--line);
}
.ba__who { display: flex; align-items: center; gap: var(--s-2); font-weight: 800; color: var(--ink-900); }
.ba__flag { font-size: 18px; line-height: 1; }
.ba__course { font-size: var(--fs-xs); font-weight: 700; color: var(--brand-700); background: var(--brand-50); padding: 3px var(--s-3); border-radius: var(--r-full); }

.ba__track { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s-4); align-items: center; padding: var(--s-5); }
.ba__state h4 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; margin-block-end: var(--s-2); }
.ba__before h4 { color: var(--ink-400); }
.ba__after h4 { color: var(--brand-600); }
.ba__before p { color: var(--ink-500); font-size: var(--fs-sm); }
.ba__after p { color: var(--ink-800); font-size: var(--fs-sm); font-weight: 600; }

.ba__connector { text-align: center; min-inline-size: 96px; }
.ba__time {
  display: inline-block; font-size: var(--fs-xs); font-weight: 800;
  color: var(--brand-800); background: var(--brand-100);
  padding: 3px var(--s-3); border-radius: var(--r-full); white-space: nowrap;
}
.ba__arrow { block-size: 4px; border-radius: 2px; margin-block-start: var(--s-2); position: relative;
  background: linear-gradient(90deg, var(--ink-200), var(--brand-500)); }
.ba__arrow::after {
  content: ""; position: absolute; inset-inline-end: -1px; inset-block-start: -4px;
  border-inline-start: 8px solid var(--brand-500);
  border-block: 6px solid transparent;
}
[dir="rtl"] .ba__arrow { background: linear-gradient(270deg, var(--ink-200), var(--brand-500)); }
[dir="rtl"] .ba__arrow::after { transform: scaleX(-1); }

.ba__quote { padding: var(--s-4) var(--s-5); background: var(--surface-2); border-block-start: 1px solid var(--line); }
.ba__quote blockquote { font-size: var(--fs-sm); color: var(--ink-600); font-style: italic; }
.ba__quote cite { display: block; font-size: var(--fs-xs); color: var(--ink-500); font-style: normal; margin-block-start: var(--s-2); }
.ba__foot { padding: var(--s-3) var(--s-5); }

@media (max-width: 720px) {
  .ba__track { grid-template-columns: 1fr; text-align: start; }
  .ba__connector { display: flex; align-items: center; gap: var(--s-3); }
  .ba__arrow { flex: 1; }
}
/* Mobile: snap-scroll carousel — these cards are too tall to stack 3 deep */
@media (max-width: 720px) {
  .scroller {
    /* display: grid; */
    /* grid-auto-flow: column; */
    grid-auto-columns: 86%;
    /* gap: var(--s-4); */
    /* overflow-x: auto; */
    /* scroll-snap-type: x mandatory; */
    /* padding-inline: var(--s-5); */
    /* margin-inline: calc(var(--s-5) * -1); */
    /* scrollbar-width: none; */
  }
  .scroller::-webkit-scrollbar { display: none; }
  .scroller > * { scroll-snap-align: start; }
}

/* --------------------------------------------------------------------------
   16. OUTCOME CARD — template-parts/outcome-card.php (course page)
   Copy already has the structure: para 1 = the outcome, para 2 = how
   Tabarak verifies it. The verification line is the differentiator, so
   it gets its own visual treatment instead of being a second paragraph.
   -------------------------------------------------------------------------- */
.outcome { display: flex; flex-direction: column; gap: var(--s-3); }
.outcome__head { display: flex; gap: var(--s-3); align-items: flex-start; }
.outcome__check {
  inline-size: 26px; block-size: 26px; border-radius: 50%; flex: none;
  background: var(--brand-600); color: #fff; display: grid; place-items: center;
  font-size: 13px; font-weight: 800; margin-block-start: 2px;
}
.outcome h3 { font-size: var(--fs-md); }
.outcome__verify {
  margin-block-start: auto; padding: var(--s-3) var(--s-4);
  background: var(--surface-3); border-radius: var(--r-sm);
  font-size: var(--fs-xs); font-weight: 700; color: var(--brand-800);
  display: flex; align-items: center; gap: var(--s-2);
}

/* --------------------------------------------------------------------------
   17. LEARNING TRACKS — template-parts/track-card.php (course page)
   Summary visible (~40 words), full detail behind <details> so the copy
   stays in the DOM for SEO while cutting perceived length ~70%.
   -------------------------------------------------------------------------- */
.track { position: relative; padding-block-start: var(--s-6); }
.track__num {
  position: absolute; inset-block-start: var(--s-5); inset-inline-end: var(--s-5);
  font-size: var(--fs-2xl); font-weight: 800; color: var(--brand-100); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.track__label { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-600); }
.track h3 { font-size: var(--fs-md); margin-block: var(--s-2); }
.track details { margin-block-start: var(--s-3); border-block-start: 1px solid var(--line); padding-block-start: var(--s-3); }
.track summary { font-size: var(--fs-sm); font-weight: 700; color: var(--brand-700); cursor: pointer; list-style: none; display: flex; align-items: center; gap: var(--s-2); }
.track summary::-webkit-details-marker { display: none; }
.track summary::after { content: "▾"; transition: transform .2s var(--ease); }
.track details[open] summary::after { transform: rotate(180deg); }
.track details p { margin-block-start: var(--s-3); font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   18. COURSE FACTS PANEL — template-parts/course-facts.php
   THE single highest-impact addition. Currently a parent must submit a
   form to learn whether the course suits their child.
   Requires ACF: age_range, level, session_length, frequency, language,
   female_tutor_available, certificate, price_from.
   -------------------------------------------------------------------------- */
.coursebody { display: grid; grid-template-columns: 1fr 348px; gap: var(--s-8); align-items: start; }
.facts { position: sticky; top: calc(var(--header-h) + var(--s-4)); }
.facts__card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-2); overflow: hidden; }
.facts__head { padding: var(--s-5); background: linear-gradient(150deg, var(--brand-800), var(--brand-950)); color: #fff; }
.facts__head h2 { color: #fff; font-size: var(--fs-lg); margin-block-end: var(--s-1); }
.facts__head p { font-size: var(--fs-xs); color: var(--brand-200); }
.facts__list { list-style: none; padding: var(--s-3) var(--s-5); margin: 0; }
.facts__list li { display: flex; align-items: center; gap: var(--s-3); padding-block: var(--s-3); font-size: var(--fs-sm); }
.facts__list li + li { border-block-start: 1px solid var(--line); }
.facts__ico { inline-size: 28px; block-size: 28px; border-radius: 8px; background: var(--brand-50); display: grid; place-items: center; font-size: 14px; flex: none; }
.facts__k { color: var(--ink-500); }
.facts__v { margin-inline-start: auto; font-weight: 700; color: var(--ink-900); text-align: end; }
.facts__price { padding: var(--s-4) var(--s-5); background: var(--gold-100); border-block: 1px solid var(--gold-200); }
.facts__price strong { display: block; font-size: var(--fs-xl); color: var(--gold-700); font-weight: 800; }
.facts__price span { font-size: var(--fs-xs); color: var(--ink-600); }
.facts__actions { padding: var(--s-5); display: grid; gap: var(--s-3); }
.facts__reassure {list-style: none;padding: 0 var(--s-5) var(--s-5);margin: 0;font-size: var(--fs-xs);color: var(--ink-500);display: grid;gap: var(--s-2);display: none;}
.facts__reassure li::before { content: "✓"; color: var(--brand-600); font-weight: 800; margin-inline-end: 6px; }

@media (max-width: 1040px) {
  .coursebody { grid-template-columns: 1fr; }
  .facts { position: static; order: -1; margin-block-end: var(--s-6); }
}

/* --------------------------------------------------------------------------
   19. TEACHER CARD — template-parts/teacher-card.php
   ⚠ DO NOT LAUNCH with "Profile details coming soon". The whole value
   proposition is Al-Azhar certified tutors; an empty teachers section
   undermines it more than having no section at all.
   The ijazah-chain field (Tech Foundation §2.4) is a genuine moat —
   no competitor in this market surfaces it.
   -------------------------------------------------------------------------- */
.teacher { text-align: center; padding: var(--s-5) var(--s-4); }
.teacher__photo {
  inline-size: 96px; block-size: 96px; border-radius: 50%;
  object-fit: cover; margin-inline: auto; margin-block-end: var(--s-4);
  border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--brand-100);
  background: var(--brand-50);
}
.teacher h3 { font-size: var(--fs-md); margin-block-end: 2px; }
.teacher__spec { font-size: var(--fs-xs); color: var(--ink-500); margin-block-end: var(--s-4); }
.teacher__chips { display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: center; margin-block-end: var(--s-4); }
.teacher__link { font-size: var(--fs-sm); font-weight: 700; }

/* --------------------------------------------------------------------------
   20. COUNTRIES — template-parts/countries.php
   ⚠ DECIDED 29 Jul 2026: no localisation pages will exist for now.
   Therefore this section is NON-LINKED. The previous build shipped 9 pills
   all pointing at empty href="<>" — worse than having no section.
   If location pages are built later, convert to links then, not before.
   -------------------------------------------------------------------------- */
.countries { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-3); }
.country {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3) var(--s-4); border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line);
}
.country__flag { font-size: 24px; line-height: 1; }
.country__name { font-weight: 700; font-size: var(--fs-sm); color: var(--ink-800); }
.country__meta { font-size: var(--fs-xs); color: var(--ink-500); display: block; }
@media (max-width: 980px) { .countries { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .countries { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------------------
   21. FAQ — native <details> for zero-JS resilience + a11y.
   Answers stay in the DOM regardless of open state so FAQPage schema
   validates against visible text.
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: var(--s-3); }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  padding: 0;
}
.faq details[open] { border-color: var(--brand-200); box-shadow: var(--sh-2); }
.faq summary {
  padding: var(--s-4) var(--s-5); font-weight: 700; color: var(--ink-900);
  cursor: pointer; list-style: none; display: flex; gap: var(--s-4);
  align-items: center; justify-content: space-between;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: var(--fs-xl); font-weight: 400; color: var(--brand-600);
  transition: transform .2s var(--ease); flex: none; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 var(--s-5) var(--s-5); color: var(--ink-600); font-size: var(--fs-base); }
.faq__fallback {
  margin-block-start: var(--s-5); padding: var(--s-5);
  background: var(--brand-50); border-radius: var(--r-md);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4);
}

/* --------------------------------------------------------------------------
   22. BOOKING FORM — template-parts/booking-form.php
   Two-step on mobile: step 1 is name + WhatsApp only. Cuts perceived
   friction roughly in half on a 7-field form.
   ⚠ "Course of Interest" must be populated from the course CPT and
   pre-selected to the current course on course pages.
   -------------------------------------------------------------------------- */
.formwrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--s-8); align-items: start; }
@media (max-width: 900px) { .formwrap { grid-template-columns: 1fr; } }

.contactlist {list-style: none;padding: 0;display: flex;gap: var(--s-4);margin-block-start: var(--s-6);flex-wrap: wrap;}
.contactlist li {display: flex;gap: var(--s-4);align-items: flex-start;flex: 1;}
.contactlist .card__icon { margin: 0; inline-size: 42px; block-size: 42px; }
.contactlist strong { display: block; color: var(--ink-900); font-size: var(--fs-base); }
.contactlist a { font-size: var(--fs-sm); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--sh-2); }
.form__steps {display: flex;gap: var(--s-2);margin-block-end: var(--s-5);display: none;}
.form__step { flex: 1; block-size: 4px; border-radius: 2px; background: var(--ink-200); }
.form__step[data-active="true"] { background: var(--brand-600); }
.field {display: grid;gap: var(--s-2);margin-block-end: var(--s-4);margin-bottom: 0;}
.field label { font-size: var(--fs-sm); font-weight: 700; color: var(--ink-800); }
.field p {
  margin:0
}
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  padding: var(--s-3) var(--s-4); min-block-size: 48px;
  border: 1px solid var(--ink-200); border-radius: var(--r-sm);
  background: var(--surface); font-size: var(--fs-base); inline-size: 100%;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { min-block-size: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--brand-500);
  box-shadow: 0 0 0 3px var(--brand-100);
}
.field__hint { font-size: var(--fs-xs); color: var(--ink-500); }
.field__err { font-size: var(--fs-xs); color: var(--danger); font-weight: 600; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.form__reassure br,.form__privacy br {
  display:none
}
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form__reassure {display: flex;flex-wrap: wrap;gap: var(--s-4);font-size: var(--fs-xs);color: var(--ink-500);margin-block-start: var(--s-4);justify-content: center;margin: 0;}
.form__reassure span::before { content: "✓"; color: var(--brand-600); font-weight: 800; margin-inline-end: 5px; }
.form__privacy {font-size: var(--fs-xs);color: var(--ink-400);text-align: center;margin-block-start: var(--s-3);margin: 0;}

/* --------------------------------------------------------------------------
   23. CTA BANDS
   -------------------------------------------------------------------------- */
.ctaband {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: linear-gradient(140deg, var(--brand-800), var(--brand-950) 62%);
  color: var(--brand-100); padding: clamp(var(--s-6), 5vw, var(--s-9));
  text-align: center;
}
.ctaband::after {
  content: ""; position: absolute; inset-block-start: -40%; inset-inline-end: -8%;
  inline-size: 380px; block-size: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(86,243,255,.22), transparent 68%);
}
.ctaband > * { position: relative; z-index: 1; }
.ctaband h2 { color: #fff; margin-block-end: var(--s-3); }
.ctaband p { max-inline-size: 58ch; margin-inline: auto; margin-block-end: var(--s-6); color: var(--brand-200); }
.ctaband .btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   24. STICKY CTA BAR — template-parts/sticky-cta.php
   Both pages run 12+ sections. Without this, a user who decides at
   section 9 has to scroll to section 13 to act.
   Hides itself when the booking form is in view (see tabarak-ui.js).
   -------------------------------------------------------------------------- */
.stickycta {
  position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 80;
  background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
  border-block-start: 1px solid var(--line);
  box-shadow: 0 -6px 22px rgba(22,20,57,.10);
  padding: var(--s-3) var(--s-4);
  padding-block-end: calc(var(--s-3) + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: var(--s-3);
  transform: translateY(110%); transition: transform .28s var(--ease);
}
.stickycta[data-show="true"] { transform: translateY(0); }
.stickycta__txt { font-size: var(--fs-xs); color: var(--ink-600); font-weight: 600; line-height: 1.3; flex: 1; }
.stickycta__txt strong { display: block; color: var(--ink-900); font-size: var(--fs-sm); }
.stickycta .btn { min-block-size: 44px; padding-inline: var(--s-5); }
.stickycta .btn--wa { inline-size: 44px; padding: 0; flex: none; }
@media (min-width: 1041px) { .stickycta { display: none; } }

/* --------------------------------------------------------------------------
   25. RELATED COURSES — template-parts/related-courses.php
   Tech Foundation §5: 4–5 siblings + parent + 2 related categories.
   Siblings render as CARDS, related categories as text links — the
   visual difference signals the difference in relevance.
   -------------------------------------------------------------------------- */
.related__cats { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-block-start: var(--s-5); align-items: center; }
.related__cats a {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: var(--s-2) var(--s-4); border-radius: var(--r-full);
  border: 1px dashed var(--ink-300); font-size: var(--fs-sm); font-weight: 600; color: var(--ink-700);
}
.related__cats a:hover { border-style: solid; border-color: var(--brand-500); color: var(--brand-700); text-decoration: none; }

/* --------------------------------------------------------------------------
   26. BLOG CARD
   -------------------------------------------------------------------------- */
.postcard { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.postcard__media { aspect-ratio: 16/10; overflow: hidden; }
.postcard__media img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.postcard:hover .postcard__media img { transform: scale(1.05); }
.postcard__body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.postcard__meta { display: flex; gap: var(--s-3); font-size: var(--fs-xs); color: var(--ink-500); }
.postcard h3 { font-size: var(--fs-md); }
.postcard h3 a { color: inherit; }

/* --------------------------------------------------------------------------
   27. FOOTER
   -------------------------------------------------------------------------- */
.site-footer { background: var(--brand-950); color: var(--brand-200); padding-block: var(--s-9) var(--s-5); margin-block-start: var(--s-9); }
.site-footer h4 { color: #fff; font-size: var(--fs-base); margin-block-end: var(--s-4); }
.site-footer a { color: var(--brand-200); font-size: var(--fs-sm); }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--s-7); }
.footer__grid ul { list-style: none; padding: 0; display: grid; gap: var(--s-2); }
.footer__about p { font-size: var(--fs-sm); margin-block: var(--s-4); max-inline-size: 40ch; }
.footer__bottom {
  margin-block-start: var(--s-7); padding-block-start: var(--s-5);
  border-block-start: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: space-between;
  font-size: var(--fs-xs);
}
.footer__legal { display: flex; gap: var(--s-4); flex-wrap: wrap; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   28. DEV ANNOTATION — remove in production.
   Toggle with the button in the page corner.
   -------------------------------------------------------------------------- */
.devnote {
  display: none; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px; line-height: 1.5; color: var(--tg-common-color-dark); background: var(--tg-common-color-gray-2);
  border: 1px dashed var(--tg-theme-primary); border-radius: 6px;
  padding: 8px 10px; margin-block: 10px;
}
body[data-devnotes="on"] .devnote { display: block; }
.devtoggle {
  position: fixed; inset-block-end: 84px; inset-inline-end: 16px; z-index: 100;
  background: var(--ink-900); color: #fff; font-size: 11px; font-weight: 700;
  padding: 8px 12px; border-radius: var(--r-full); box-shadow: var(--sh-3);
}
@media (min-width: 1041px) { .devtoggle { inset-block-end: 16px; } }

.coursebody > p {
    display:none;
}


@media(max-width:767px) {
  *{
    
  }

input.wpcf7-form-control.wpcf7-submit.has-spinner.btn.btn--primary.btn--block.btn--lg {
    white-space: break-spaces;
}

.field {
    max-width: 100%;
}

a.btn.btn-two {
    white-space: normal;
}
  .newsletter__area .container {
    padding: 2em;
  }
}
 /* ===== Free Courses Page Styles ===== */
  .free-courses-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1a1a2e;
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
  }

  .free-courses-page * {
    box-sizing: border-box;
  }

  /* Hero Section */
  .fc-hero {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 60px;
    background: #1a1a2e;
  }

  .fc-hero img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
  }

  .fc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.25) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 50px;
  }

  .fc-badge {
    display: inline-block;
    background: #00c2c7;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
    width: fit-content;
  }

  .fc-hero h1 {
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.2;
  }

  .fc-hero h1 span {
    border-bottom: 3px solid #00c2c7;
    padding-bottom: 2px;
  }

  .fc-hero p {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    max-width: 480px;
    margin: 0;
  }

  /* Intro Section */
  .fc-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 70px;
  }

  .fc-intro-text .join-label {
    color: #00c2c7;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
  }

  .fc-intro-text h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 16px;
    color: #1a1a2e;
  }

  .fc-intro-text p {
    color: #666;
    font-size: 15px;
    margin: 0;
  }

  .fc-intro-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .fc-intro-visual .bg-text {
    position: absolute;
    font-size: 90px;
    font-weight: 800;
    color: #f0f0f0;
    z-index: 0;
    letter-spacing: -2px;
    user-select: none;
  }

  .fc-cards {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .fc-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }

  .fc-card img {
    width: 140px;
    height: 100px;
    object-fit: cover;
    display: block;
  }

  .fc-experience {
    background: #0d2b5e;
    color: #fff;
    padding: 20px 24px;
    border-radius: 12px;
    text-align: center;
    min-width: 140px;
  }

  .fc-experience .num {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
  }

  .fc-experience .label {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 4px;
  }

  /* Learn Section */
  .fc-learn {
    margin-bottom: 70px;
  }

  .fc-learn h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
  }

  .fc-learn h2 span {
    border-bottom: 3px solid #00c2c7;
    padding-bottom: 2px;
  }

  .fc-topics {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px 20px;
  }

  .fc-topic {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
  }

  .fc-topic::before {
    content: "●";
    color: #00c2c7;
    font-size: 12px;
  }

  /* Noor Al-Bayan Section */
  .fc-noor {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
  }

  .fc-noor h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px;
  }

  .fc-noor h2 span {
    border-bottom: 3px solid #00c2c7;
    padding-bottom: 2px;
  }

  .fc-noor p {
    color: #666;
    font-size: 15px;
    margin: 0 0 20px;
  }

  .fc-btn {
    display: inline-block;
    background: #0d2b5e;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
  }

  .fc-btn:hover {
    background: #163d7a;
  }

  .fc-noor-img {
    border-radius: 12px;
    overflow: hidden;
  }

  .fc-noor-img img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
  }

  /* Bottom Section */
  .fc-bottom {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
    margin-top: 60px;
  }

  .fc-kids {
    position: relative;
    display: flex;
    justify-content: center;
  }



  .fc-kids .kid-main {
    position: relative;
    z-index: 2;
  }

  .fc-kids .kid-side {
    position: absolute;
    bottom: 20px;
    left: 10px;
    max-width: 120px;
    z-index: 1;
  }

  .fc-courses-list h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 20px;
    line-height: 1.3;
  }

  .fc-courses-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .fc-courses-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #333;
  }

  .fc-courses-list li::before {
    content: "●";
    color: #00c2c7;
    font-size: 12px;
  }

  /* Responsive */
  @media (max-width: 900px) {
    .fc-intro,
    .fc-noor,
    .fc-bottom {
      grid-template-columns: 1fr;
    }

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

    .fc-hero h1 {
      font-size: 28px;
    }

    .fc-hero-overlay {
      padding: 30px 24px;
    }

    .fc-intro-visual .bg-text {
      font-size: 60px;
    }
  }

  @media (max-width: 500px) {
    .fc-topics {
      grid-template-columns: 1fr;
    }
  }
.contactlist li:last-child a {
  pointer-events:none
}
.tabarak-page * {
  box-sizing: border-box;
}

/* ========== HERO SECTION ========== */
.tb-hero {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 0.7fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 80px;
  position: relative;
}

.tb-hero-left .about-badge {
  display: inline-block;
  background: #0f2c5c;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.tb-hero-left h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 20px;
  color: #0f172a;
}

.tb-hero-left h1 .underline {
  position: relative;
  display: inline-block;
}

.tb-hero-left h1 .underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 8px;
  background: #5a66e1;
  border-radius: 4px;
  z-index: -1;
  opacity: 0.7;
}

.tb-hero-left p {
  color: #64748b;
  font-size: 16px;
  max-width: 420px;
  margin: 0 0 28px;
}

.tb-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #5a66e1;
  color: #FFF !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}

.tb-btn-primary:hover {
  background: #14b8a6;
  transform: translateY(-1px);
}

/* Center collage */
.tb-hero-center {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tb-circle {
  width: 180px;
  height: 180px;
  background: #0f2c5c;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 5;
  position: relative;
  box-shadow: 0 15px 40px rgba(15, 44, 92, 0.3);
}

.tb-circle .years {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
}

.tb-circle .label {
  font-size: 14px;
  text-align: center;
  margin-top: 4px;
  opacity: 0.95;
}

.tb-photo {
  position: absolute;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  border: 4px solid #fff;
}

.tb-photo.p1 { width: 110px; height: 110px; top: 20px; left: 30px; }
.tb-photo.p2 { width: 100px; height: 100px; top: 10px; right: 40px; }
.tb-photo.p3 { width: 120px; height: 120px; bottom: 40px; left: 20px; }
.tb-photo.p4 { width: 105px; height: 105px; bottom: 30px; right: 30px; }

/* Stats */
.tb-hero-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.tb-stat {
  text-align: left;
}

.tb-stat .num {
  font-size: 36px;
  font-weight: 800;
  color: #5a66e1;
  line-height: 1.1;
}

.tb-stat .txt {
  font-size: 14px;
  color: #64748b;
  margin-top: 2px;
}

/* ========== HOW IT WORKS ========== */
.tb-how {
  text-align: center;
  margin-bottom: 90px;
}

.tb-how .brand {
  color: #0f2c5c;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}

.tb-how .brand::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px;
  background: #5a66e1;
  border-radius: 2px;
}

.tb-how h2 {
  font-size: 36px;
  font-weight: 800;
  color: #0f172a;
  margin: 12px 0 50px;
  line-height: 1.25;
}

.tb-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}
.tb-cards > p {
  display:none
}
.tb-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.25s;
}

.tb-card:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  transform: translateY(-4px);
}

.tb-card .icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: #2dd4bf;
}

.tb-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #0f172a;
}

.tb-card p {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 20px;
  line-height: 1.6;
}

.tb-card .arrow {
  color: #94a3b8;
  font-size: 18px;
  text-decoration: none;
}

/* ========== SUBSCRIBE / FREE COURSES ========== */
.tb-subscribe {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 40px;
}

.tb-subscribe-bg {
  position: absolute;
  inset: 0;
  background: url('../img/book.jpeg') center/cover no-repeat;
}

.tb-subscribe-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.4) 60%, rgba(15,44,92,0.85) 100%);
}

.tb-subscribe-box {
  position: relative;
  z-index: 2;
  background: #0f2c5c;
  color: #fff;
  padding: 48px 44px;
  border-radius: 16px;
  max-width: 420px;
  margin: 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.tb-subscribe-box * {
  color:#fff
}
.tb-subscribe-box .free-badge {
  display: inline-block;
  background: #2dd4bf;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.tb-subscribe-box h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 20px;
}

.tb-subscribe-box h2 .underline {
  position: relative;
  display: inline-block;
}

.tb-subscribe-box h2 .underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 6px;
  background: #2dd4bf;
  border-radius: 3px;
  opacity: 0.8;
}

.tb-subscribe-box .checks {
  display: flex;
  gap: 24px;
  font-size: 14px;
  opacity: 0.95;
}

.tb-subscribe-box .checks span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tb-subscribe-box .checks svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .tb-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .tb-hero-left p {
    margin-left: auto;
    margin-right: auto;
  }
  .tb-hero-right {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  .tb-stat {
    text-align: center;
    min-width: 120px;
  }
  .tb-hero-center {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .tb-cards {
    grid-template-columns: 1fr;
  }
  .tb-hero-left h1 {
    font-size: 36px;
  }
  .tb-how h2 {
    font-size: 28px;
  }
  .tb-subscribe {
    justify-content: center;
  }
  .tb-subscribe-box {
    margin: 30px 20px;
    padding: 36px 28px;
  }
  .tb-subscribe-box h2 {
    font-size: 28px;
  }
}



    /* ===== HERO ===== */
    .hero {
      background: linear-gradient(135deg, #0a1628 0%, #0f2744 100%);
      color: white;
      padding: 90px 20px 100px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -20%;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
      border-radius: 50%;
    }

    .hero h1 {
      font-size: clamp(28px, 5vw, 42px);
      font-weight: 700;
      max-width: 800px;
      margin: 0 auto 20px;
      line-height: 1.3;
      text-align: start;
      color: #fff;
    }

    .hero p {
      font-size: 17px;
      opacity: 0.9;
      max-width: 700px;
      text-align: left;
    }

    .hero-badges {
      display: flex;
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap;
      margin-bottom: 35px;
      font-size: 14px;
    }

    .hero-badges span {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .btn-primary {
      display: inline-block;
      background: #f59e0b;
      color: #0f172a;
      padding: 16px 36px;
      border-radius: 50px;
      font-weight: 600;
      font-size: 16px;
      transition: all 0.3s ease;
      border: none;
      cursor: pointer;
    }

    .btn-primary:hover {
      background: #fbbf24;
      transform: translateY(-2px);
      box-shadow: 0 10px 25px rgba(245, 158, 11, 0.35);
    }

    .btn-outline {
      display: inline-block;
      background: transparent;
      color: #0f172a;
      padding: 12px 28px;
      border-radius: 50px;
      font-weight: 500;
      border: 2px solid #0f172a;
      transition: all 0.3s ease;
    }

    .btn-outline:hover {
      background: #0f172a;
      color: white;
    }

    /* ===== SECTION COMMON ===== */
    section {
      padding: 80px 0;
    }

    .section-title {
      text-align: center;
      margin-bottom: 50px;
    }

    .section-title h2 {
      font-size: 32px;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: 10px;
    }

    .section-title p {
      color: #64748b;
      font-size: 17px;
    }

    /* ===== EXPERIENCE ===== */
    .experience {
      background: white;
      padding: 60px 0;
    }

    .experience-content {
      display: flex;
      align-items: center;
      gap: 50px;
      flex-wrap: wrap;
    }

    .experience-badge {
      flex: 0 0 180px;
      text-align: center;
    }

    .experience-badge .number {
      font-size: 64px;
      font-weight: 700;
      color: #0f172a;
      line-height: 1;
    }

    .experience-badge .label {
      font-size: 15px;
      color: #64748b;
      margin-top: 8px;
    }

    .experience-text {
      flex: 1;
      min-width: 280px;
    }

    .experience-text h3 {
      font-size: 24px;
      margin-bottom: 12px;
    }

    .experience-text p {
      color: #475569;
      margin-bottom: 16px;
    }

    .experience-features {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      font-size: 14px;
      color: #334155;
    }

    /* ===== ABOUT ===== */
    .about {
      background: #f1f5f9;
    }

    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
      align-items: center;
    }

    .about-text h2 {
      font-size: 28px;
      margin-bottom: 20px;
    }

    .about-text p {
      color: #475569;
      margin-bottom: 25px;
    }

    .about-buttons {
      display: flex;
      gap: 15px;
      flex-wrap: wrap;
    }

    .about-image {
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }

    .about-image img {
      width: 100%;
      height: 340px;
      object-fit: cover;
    }

    /* ===== WHY US ===== */
    .why-us {
      background: white;
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 25px;
    }

    .feature-card {
      background: #f8fafc;
      border-radius: 16px;
      padding: 30px 20px;
      text-align: center;
      transition: all 0.3s ease;
      border: 1px solid #e2e8f0;
    }

    .feature-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 15px 30px rgba(0,0,0,0.08);
      border-color: #cbd5e1;
    }

    .feature-card .icon {
      width: 60px;
      height: 60px;
      background: #e0f2fe;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 18px;
      font-size: 26px;
    }

    .feature-card h4 {
      font-size: 16px;
      margin-bottom: 8px;
    }

    .feature-card p {
      font-size: 14px;
      color: #64748b;
    }

    /* ===== PROGRAMS ===== */
    .programs {
      background: linear-gradient(135deg, #0a1628 0%, #0f2744 100%);
      color: white;
    }

    .programs .section-title h2,
    .programs .section-title p {
      color: white;
    }

    .programs-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 20px;
    }

    .program-card {
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 16px;
      padding: 28px 18px;
      text-align: center;
      transition: all 0.3s ease;
    }

    .program-card:hover {
      background: rgba(255,255,255,0.15);
      transform: translateY(-5px);
    }

    .program-card .icon {
      font-size: 32px;
      margin-bottom: 14px;
    }

    .program-card h4 {
      font-size: 15px;
      font-weight: 600;
      color: #fff;
    }

    /* ===== COURSES ===== */
    .courses {
      background: #f8fafc;
    }

    .courses-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 30px;
    }

    .course-card {
      background: white;
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0,0,0,0.06);
      transition: all 0.3s ease;
      border: 1px solid #e2e8f0;
    }

    .course-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }

    .course-card .course-img {
      height: 180px;
      background: linear-gradient(135deg, #1e3a5f, #0f2744);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 48px;
    }

    .course-card .course-body {
      padding: 24px;
    }

    .course-card h3 {
      font-size: 18px;
      margin-bottom: 10px;
    }

    .course-card p {
      font-size: 14px;
      color: #64748b;
      margin-bottom: 20px;
    }

    .course-card .btn-course {
      display: inline-block;
      background: #0f172a;
      color: white;
      padding: 10px 22px;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 500;
      transition: background 0.3s;
    }

    .course-card .btn-course:hover {
      background: #1e293b;
    }

    /* ===== FOR WHO ===== */
    .for-who {
      background: white;
    }

    .audience-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 25px;
    }

    .audience-card {
      background: #f8fafc;
      border-radius: 16px;
      padding: 30px 22px;
      text-align: center;
      border: 1px solid #e2e8f0;
    }

    .audience-card .check {
      width: 40px;
      height: 40px;
      background: #dbeafe;
      color: #1d4ed8;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 15px;
      font-weight: 700;
    }

    .audience-card h4 {
      margin-bottom: 8px;
    }

    .audience-card p {
      font-size: 14px;
      color: #64748b;
    }

    /* ===== HOW IT WORKS ===== */
    .how-it-works {
      background: #f1f5f9;
    }

    .steps {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
      text-align: center;
    }

    .step {
      position: relative;
    }

    .step-number {
      width: 60px;
      height: 60px;
      background: #0f172a;
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      font-weight: 700;
      margin: 0 auto 18px;
    }

    .step h4 {
      margin-bottom: 8px;
    }

    .step p {
      font-size: 14px;
      color: #64748b;
    }

    /* ===== TEACHERS ===== */
    .teachers {
      background: white;
    }

    .teachers-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
    }

    .teacher-card {
      background: #f8fafc;
      border-radius: 18px;
      padding: 30px 22px;
      text-align: center;
      border: 1px solid #e2e8f0;
      transition: all 0.3s ease;
    }

    .teacher-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    }

    .teacher-card img {
      width: 110px;
      height: 110px;
      border-radius: 50%;
      object-fit: cover;
      margin: 0 auto 18px;
      border: 4px solid white;
      box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .teacher-card h4 {
      font-size: 17px;
      margin-bottom: 6px;
    }

    .teacher-card .role {
      font-size: 13px;
      color: #64748b;
      margin-bottom: 12px;
    }

    .teacher-card p {
      font-size: 13px;
      color: #475569;
    }

    /* ===== PRICING ===== */
    .pricing {
      background: linear-gradient(135deg, #0a1628 0%, #0f2744 100%);
      color: white;
    }

    .pricing .section-title h2,
    .pricing .section-title p {
      color: white;
    }

    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 20px;
    }

    .price-card {
      background: white;
      color: #0f172a;
      border-radius: 18px;
      padding: 30px 20px;
      text-align: center;
      transition: all 0.3s ease;
    }

    .price-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    }

    .price-card .duration {
      font-size: 14px;
      color: #64748b;
      margin-bottom: 8px;
    }

    .price-card .price {
      font-size: 32px;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: 4px;
    }

    .price-card .period {
      font-size: 13px;
      color: #64748b;
      margin-bottom: 18px;
    }

    .price-card ul {
      list-style: none;
      margin-bottom: 22px;
      font-size: 13px;
      color: #475569;
    }

    .price-card ul li {
      margin-bottom: 6px;
    }

    .price-card .btn-price {
      display: inline-block;
      background: #0f172a;
      color: white;
      padding: 12px 24px;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 500;
      width: 100%;
    }

    .price-card .btn-price:hover {
      background: #1e293b;
    }

    /* ===== TESTIMONIALS ===== */
    .testimonials {
      background: #f8fafc;
    }

    .testimonial-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
    }

    .testimonial-card {
      background: white;
      border-radius: 16px;
      padding: 28px;
      border: 1px solid #e2e8f0;
    }

    .stars {
      color: #f59e0b;
      margin-bottom: 12px;
      font-size: 18px;
    }

    .testimonial-card p {
      font-size: 15px;
      color: #334155;
      font-style: italic;
    }

    /* ===== CTA FORM ===== */
    .cta-form {
      background: white;
      padding: 80px 0;
    }

    .cta-wrapper {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
      align-items: center;
      background: #f1f5f9;
      border-radius: 24px;
      padding: 50px;
    }

    .cta-text h2 {
      font-size: 28px;
      margin-bottom: 15px;
    }

    .cta-text p {
      color: #475569;
      margin-bottom: 20px;
    }

    .form-group {
      margin-bottom: 16px;
    }

    .form-group label {
      display: block;
      font-size: 14px;
      font-weight: 500;
      margin-bottom: 6px;
    }

    .form-group input,
    .form-group select {
      width: 100%;
      padding: 13px 16px;
      border: 1px solid #cbd5e1;
      border-radius: 10px;
      font-size: 15px;
      font-family: inherit;
      background: white;
    }

    .form-group input:focus,
    .form-group select:focus {
      outline: none;
      border-color: #0f172a;
    }

    .checkbox {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      margin: 18px 0;
    }

    /* ===== CONTACT ===== */
    .contact {
      background: linear-gradient(135deg, #0a1628 0%, #0f2744 100%);
      color: white;
      padding: 70px 0;
      text-align: center;
    }

    .contact h2 {
      font-size: 28px;
      margin-bottom: 15px;
    }

    .contact p {
      opacity: 0.9;
      max-width: 600px;
      margin: 0 auto 40px;
    }

    .contact-boxes {
      display: flex;
      justify-content: center;
      gap: 30px;
      flex-wrap: wrap;
    }

    .contact-box {
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 16px;
      padding: 25px 40px;
      min-width: 220px;
    }

    .contact-box strong {
      display: block;
      margin-bottom: 6px;
      font-size: 15px;
    }

    /* ===== FOOTER ===== */
    footer {
      background: #020617;
      color: #94a3b8;
      padding: 25px 20px;
      font-size: 14px;
    }

    /* ===== FLOATING BUTTONS ===== */
    .float-buttons {
      position: fixed;
      bottom: 25px;
      right: 25px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      z-index: 100;
    }

    .float-btn {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 26px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.2);
      transition: transform 0.2s;
    }

    .float-btn:hover {
      transform: scale(1.1);
    }

    .whatsapp {
      background: #25d366;
      color: white;
    }

    .chat {
      background: #0f172a;
      color: white;
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 900px) {
      .about-grid,
      .cta-wrapper {
        grid-template-columns: 1fr;
      }

      .experience-content {
        flex-direction: column;
        text-align: center;
      }

      .experience-features {
        justify-content: center;
      }
    }

    @media (max-width: 600px) {
      section {
        padding: 60px 0;
      }

      .cta-wrapper {
        padding: 30px 20px;
      }

      .hero {
        padding: 70px 20px 80px;
      }
    }

.features__content {
    text-align: left;
}
  .home .features__content {
    text-align:center
  }
  :is(.page-id-6587, .page-id-6527, .page-id-6528, .page-id-6529, .page-id-6530, .page-id-6531, .page-id-6532, .page-id-6533) :is(
  header,
  .breadcrumb__bg,
  .sec-head.sec-head--center,
  footer.footer__area
) {
    display: none !important;
}