/* ============================================================
   SYNERGY LAB ISLAMIC SCHOOL — Stylesheet
   NAVY-INSPIRED PALETTE (matches PPT brand identity)
   - Deep Navy:     #0E1B2E / #122849 / #1B3A5C
   - Steel Blue:    #2C4E7A / #3E5F8A
   - Sky/Light:     #6B9CC4 / #B8CFE5 / #DCE7F2
   - Antique gold:  #B89968 / #C9A86A / #8E6B33
   - Cream/parch:   #F5EFE0 / #FBF6EA / #EFE3CB
   - Charcoal:      #0E1B2E / #3A4757
============================================================ */

:root {
  /* Note: variable names still say "green" for compatibility — values are navy */
  --green-900: #0E1B2E;
  --green-800: #122849;
  --green-700: #1B3A5C;
  --green-600: #2C4E7A;
  --green-500: #3E5F8A;
  --green-400: #6B9CC4;
  --gold-800: #6E521E;
  --gold-700: #8E6B33;
  --gold-600: #B89968;
  --gold-500: #C9A86A;
  --gold-400: #D6B477;
  --gold-100: #EFE3CB;
  --gold-50:  #F7EFD9;
  --cream:    #F5EFE0;
  --cream-2:  #FBF6EA;
  --cream-3:  #FFFCF4;
  --paper:    #FFFFFF;
  --navy:     #2C4E7A;
  --blue-100: #DCE7F2;
  --blue-50:  #EEF4FA;
  --ink:      #0E1B2E;
  --ink-2:    #3A4757;
  --muted:    #6B7A8C;
  --line:     #E3E9F0;
  --line-2:   #C8D5E2;

  --shadow-sm: 0 2px 8px rgba(14, 27, 46, 0.06);
  --shadow:    0 10px 30px rgba(14, 27, 46, 0.10);
  --shadow-lg: 0 24px 60px rgba(14, 27, 46, 0.18);

  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --font-sans:    'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-arabic:  'Amiri', 'Scheherazade New', serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream-2);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.section-padded { padding: 100px 28px; }

img { max-width: 100%; display: block; }

a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--gold-700); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--green-900);
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
  font-weight: 700;
}

p { margin: 0 0 1em; }

.ink-accent { color: var(--gold-600); font-style: italic; }
.arabic { font-family: var(--font-arabic); font-style: italic; }

/* ============================================================
   TOP BAR
============================================================ */
.topbar {
  background: var(--green-900);
  color: rgba(245, 239, 224, 0.85);
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(201, 168, 106, 0.18);
}
.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-accent { color: var(--gold-500); font-weight: 600; }

/* ============================================================
   HEADER / NAV
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 234, 0.96);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--green-900);
}
.brand:hover { color: var(--green-900); }

.brand-logo { width: 46px; height: 50px; flex-shrink: 0; }
.brand-logo svg { width: 100%; height: 100%; }

.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--green-900);
}
.brand-name-accent { color: var(--gold-600); }
.brand-sub {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--muted);
  margin-top: 5px;
  font-weight: 700;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  position: relative;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-2);
  border-radius: 8px;
  transition: color .2s ease, background .2s ease;
  letter-spacing: 0.01em;
}
.nav-link:hover { background: var(--gold-50); color: var(--green-700); }
.nav-link.active {
  color: var(--green-900);
  background: var(--gold-100);
}
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--gold-600);
  border-radius: 2px;
}

.nav-cta {
  margin-left: 8px;
  padding: 10px 18px;
  background: var(--green-700);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .15s ease, background .2s ease;
}
.nav-cta:hover { background: var(--gold-600); color: #fff; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  gap: 5px;
  flex-direction: column;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--green-900); border-radius: 2px; }

/* ============================================================
   TAB PANELS
============================================================ */
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .35s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font-sans);
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
  text-align: center;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.btn-lg { padding: 16px 34px; font-size: 16px; }

.btn-primary {
  background: var(--green-700);
  color: #fff;
  box-shadow: 0 14px 30px rgba(27, 58, 92, 0.30);
}
.btn-primary:hover { background: var(--green-900); color: #fff; transform: translateY(-2px); box-shadow: 0 20px 40px rgba(27, 58, 92, 0.36); }

.btn-accent {
  background: var(--gold-600);
  color: var(--green-900);
  box-shadow: 0 14px 30px rgba(184, 153, 104, 0.40);
}
.btn-accent:hover { background: var(--gold-500); color: var(--green-900); transform: translateY(-2px); }

.btn-outline-dark {
  background: transparent;
  color: var(--green-900);
  border-color: var(--green-700);
}
.btn-outline-dark:hover { background: var(--green-700); color: #fff; }

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

.btn-youtube {
  background: #FF0000;
  color: #fff;
  gap: 9px;
  box-shadow: 0 14px 30px rgba(255, 0, 0, 0.28);
}
.btn-youtube:hover { background: #d90000; color: #fff; transform: translateY(-2px); }

/* ============================================================
   FLYER-INSPIRED HERO
============================================================ */
.flyer-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, var(--cream-3) 0%, var(--cream) 55%, var(--gold-100) 100%);
  padding: 60px 0 140px;
  min-height: 720px;
  border-bottom: 1px solid var(--line-2);
}

/* subtle geometric pattern, top left */
.flyer-pattern {
  position: absolute;
  top: 0; left: 0;
  width: 360px;
  height: 360px;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    repeating-linear-gradient(45deg, var(--gold-700) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(-45deg, var(--gold-700) 0 1px, transparent 1px 22px);
  -webkit-mask-image: radial-gradient(circle at top left, #000 30%, transparent 75%);
  mask-image: radial-gradient(circle at top left, #000 30%, transparent 75%);
}

/* pencil at top */
.flyer-pencil {
  position: absolute;
  top: 20px;
  right: -40px;
  width: 460px;
  transform: rotate(-12deg);
  pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(14, 27, 46, 0.12));
}
.flyer-pencil svg { width: 100%; height: auto; }

.flyer-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  padding-top: 60px;
}

.flyer-hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.flyer-shield {
  width: 150px;
  margin-bottom: 18px;
  filter: drop-shadow(0 12px 24px rgba(142, 107, 51, 0.18));
}
.flyer-shield svg { width: 100%; height: auto; }

.flyer-title {
  font-family: var(--font-display);
  font-size: clamp(54px, 8vw, 96px);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 0.95;
  text-transform: uppercase;
}
.flyer-title .title-row { display: block; color: var(--green-800); }
.flyer-title .title-gold {
  color: var(--gold-600);
  letter-spacing: 0.06em;
  margin-top: 6px;
  font-style: italic;
}

.flyer-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 14px;
  width: 240px;
}
.divider-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-600);
}
.divider-line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold-600), transparent);
}

.flyer-subtitle {
  font-family: var(--font-sans);
  font-size: 15px;
  letter-spacing: 0.42em;
  font-weight: 600;
  color: var(--green-900);
  margin: 0 0 18px;
  text-transform: uppercase;
}

.flyer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold-700);
  margin: 0 0 28px;
  text-transform: uppercase;
}

.boys-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--green-800);
  color: var(--gold-500);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.28em;
  margin-bottom: 32px;
  box-shadow: 0 8px 20px rgba(14, 27, 46, 0.25);
}
.boys-pill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 168, 106, 0.25);
}

.flyer-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.flyer-quote {
  position: relative;
  padding: 22px 28px 22px 32px;
  background: var(--cream-3);
  border: 1px solid var(--line-2);
  border-radius: 22px;
  max-width: 460px;
  box-shadow: var(--shadow-sm);
}
.flyer-quote p {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--green-900);
  line-height: 1.5;
}
.flyer-quote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold-700);
  text-transform: uppercase;
  font-weight: 700;
}
.quote-mark-left, .quote-mark-right {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 0;
  color: var(--gold-600);
  position: absolute;
  font-weight: 800;
}
.quote-mark-left { top: 24px; left: 14px; }
.quote-mark-right { display: none; }

/* RIGHT side: visual cluster (books, pencils, plant) */
.flyer-hero-right {
  position: relative;
  height: 520px;
}

.flyer-plant {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 130px;
  filter: drop-shadow(0 6px 12px rgba(14, 27, 46, 0.18));
}
.flyer-plant svg { width: 100%; height: auto; }

.flyer-pencils {
  position: absolute;
  bottom: 0;
  left: 120px;
  width: 95px;
  filter: drop-shadow(0 6px 12px rgba(14, 27, 46, 0.18));
}
.flyer-pencils svg { width: 100%; height: auto; }

.flyer-books {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 320px;
  perspective: 800px;
}
.flyer-books .book {
  height: 50px;
  border-radius: 4px 4px 2px 2px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  padding: 0 26px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  box-shadow: 0 6px 16px rgba(14, 27, 46, 0.18), inset 0 -3px 0 rgba(0, 0, 0, 0.18);
  transform: translateZ(0);
}
.flyer-books .book::before {
  content: "";
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 24px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 1px;
  box-shadow: 6px 0 0 rgba(255, 255, 255, 0.25);
}
.flyer-books .book::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), transparent 40%, rgba(0,0,0,0.10));
  pointer-events: none;
}
.flyer-books .book-1 {
  background: linear-gradient(180deg, #4A6B4A, #2A4329);
  width: 86%;
  margin-left: 14%;
  transform: rotate(-1deg);
}
.flyer-books .book-2 {
  background: linear-gradient(180deg, #5577A1, #2C4E7A);
  width: 94%;
  margin-left: 6%;
  transform: rotate(0.5deg);
}
.flyer-books .book-3 {
  background: linear-gradient(180deg, #D6B477, #8E6B33);
  color: var(--green-900);
  width: 100%;
  margin-left: 0;
  transform: rotate(-0.5deg);
}
.flyer-books .book-3::before { background: rgba(14, 27, 46, 0.35); box-shadow: 6px 0 0 rgba(14, 27, 46, 0.2); }
.flyer-books .book-4 {
  background: linear-gradient(180deg, #6E8F58, #3D5A3D);
  width: 92%;
  margin-left: 8%;
  transform: rotate(1deg);
}

.book-table {
  position: absolute;
  bottom: -12px;
  left: -20px;
  right: -20px;
  height: 14px;
  background: linear-gradient(180deg, #C9A06A, #8E6B33);
  border-radius: 4px;
  box-shadow: 0 14px 24px rgba(14, 27, 46, 0.22);
}

/* mosque silhouette */
.flyer-mosque {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  pointer-events: none;
  z-index: 1;
}
.flyer-mosque svg { width: 100%; height: 100%; display: block; }

/* ============================================================
   TAGLINE BAND
============================================================ */
.tagline-band {
  background: var(--green-900);
  color: var(--gold-500);
  padding: 22px 0;
  border-top: 1px solid var(--gold-700);
  border-bottom: 1px solid var(--gold-700);
}
.tagline-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.tagline-word {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.tagline-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
}

/* ============================================================
   PAGE HEROES (other tabs)
============================================================ */
.page-hero {
  padding: 80px 0 60px;
  background:
    radial-gradient(ellipse at top right, rgba(201, 168, 106, 0.22), transparent 55%),
    linear-gradient(180deg, var(--green-900) 0%, var(--green-700) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(201, 168, 106, 0.06) 0 1px, transparent 1px 22px);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  color: #fff;
  margin: 0 0 14px;
  max-width: 780px;
}
.page-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0;
}
.page-hero .eyebrow { color: var(--gold-500); }
.page-hero .eyebrow::after { background: var(--gold-500); }

/* ============================================================
   EYEBROWS
============================================================ */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.32em;
  font-weight: 700;
  color: var(--gold-700);
  text-transform: uppercase;
  margin-bottom: 22px;
  padding-bottom: 6px;
  position: relative;
}
.eyebrow::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 36px; height: 2px;
  background: var(--gold-600);
}
.eyebrow-light { color: var(--gold-500); }
.eyebrow-light::after { background: var(--gold-500); }
.eyebrow-dark { color: var(--gold-700); }

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.28em;
  font-weight: 700;
  color: var(--gold-700);
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* ============================================================
   SECTION HEADS
============================================================ */
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}
.section-head-left { text-align: left; margin-left: 0; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.section-sub {
  font-size: 17.5px;
  color: var(--muted);
}

/* ============================================================
   PILLARS
============================================================ */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-500);
}
.pillar.open {
  border-color: var(--green-700);
  box-shadow: var(--shadow-lg);
}

.pillar-head {
  display: grid;
  grid-template-columns: 80px 1fr 48px;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 30px 32px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.pillar-head:focus-visible { outline: 3px solid var(--gold-500); outline-offset: -3px; }

.pillar-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: var(--green-700);
  color: var(--gold-500);
  box-shadow: 0 10px 24px rgba(27, 58, 92, 0.22);
  border: 2px solid rgba(201, 168, 106, 0.35);
  transition: transform .3s ease;
}
.pillar-icon svg { width: 38px; height: 38px; }
.pillar.open .pillar-icon { transform: rotate(-4deg) scale(1.05); }

.pillar-icon-navy {
  background: var(--navy);
  color: var(--gold-500);
  box-shadow: 0 10px 24px rgba(44, 78, 122, 0.25);
}
.pillar-icon-gold {
  background: var(--gold-600);
  color: var(--green-900);
  box-shadow: 0 10px 24px rgba(184, 153, 104, 0.32);
}

.pillar-headings { min-width: 0; }
.pillar-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--gold-700);
  font-weight: 700;
  margin-bottom: 4px;
}
.pillar-headings h3 {
  font-family: var(--font-display);
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.005em;
  color: var(--green-900);
}
.pillar-headings p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15.5px;
}

.pillar-chev {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--green-700);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .35s ease, background .25s ease, color .25s ease;
}
.pillar-chev svg { width: 22px; height: 22px; }
.pillar.open .pillar-chev {
  transform: rotate(180deg);
  background: var(--green-700);
  color: var(--gold-500);
}

.pillar-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .55s ease;
}
.pillar.open .pillar-body { max-height: 1800px; }

.pillar-body-inner {
  padding: 8px 32px 36px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}
.pillar-body-inner > *:first-child { margin-top: 28px; }
.pillar-body-inner p { color: var(--ink-2); font-size: 16px; }
.pillar-body-inner em { color: var(--green-700); font-style: italic; font-weight: 500; }

.pillar-body-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}
.pillar-body-grid-reverse > :first-child { order: 2; }
.pillar-body-grid-reverse > :last-child { order: 1; }

.pillar-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}
.pillar-img img { width: 100%; height: 100%; object-fit: cover; }
.pillar-img svg { width: 100%; height: 100%; display: block; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
}
.check-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 15.5px;
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green-700);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 6px; top: 17px;
  width: 6px; height: 10px;
  border-right: 2px solid var(--gold-500);
  border-bottom: 2px solid var(--gold-500);
  transform: rotate(45deg);
}

.quran-quote {
  margin: 22px 0;
  padding: 24px 26px;
  background: linear-gradient(135deg, var(--gold-50), var(--cream));
  border-left: 4px solid var(--gold-600);
  border-radius: 14px;
  color: var(--green-900);
}
.quran-quote .arabic {
  display: block;
  font-size: 28px;
  text-align: right;
  margin-bottom: 12px;
  color: var(--green-900);
}
.quran-quote .quote-en {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  margin-bottom: 6px;
}
.quran-quote cite {
  display: block;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold-700);
  text-transform: uppercase;
  font-weight: 700;
}

.pillar-bottom {
  margin-top: 16px !important;
  padding: 16px 20px;
  background: var(--gold-50);
  border-left: 3px solid var(--green-700);
  border-radius: 8px;
  color: var(--green-900) !important;
  font-weight: 500;
}

.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0 4px;
}
.mini-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream-2);
  transition: transform .2s ease, border-color .2s ease;
}
.mini-card:hover { transform: translateY(-2px); border-color: var(--gold-500); }
.mini-card h4 {
  font-family: var(--font-display);
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--green-800);
}
.mini-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-2);
}

/* ============================================================
   IMAGE STRIP
============================================================ */
.image-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin: 0;
}
.strip-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.strip-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(14, 27, 46, 0.25));
}
.strip-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.strip-img:hover img { transform: scale(1.08); }

/* ============================================================
   WORLDVIEW GRID
============================================================ */
.worldview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}
.worldview-grid .wv-card:nth-child(4) { grid-column: 1 / span 2; }

.wv-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.wv-card:hover { transform: translateY(-3px); border-color: var(--gold-500); box-shadow: var(--shadow); }
.wv-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--gold-700);
  font-weight: 700;
  margin-bottom: 12px;
}
.wv-card h4 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 10px;
  color: var(--green-900);
}
.wv-card p { margin: 0; color: var(--ink-2); font-size: 15px; }

.wv-card-dark {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: rgba(245, 239, 224, 0.88);
  border: 0;
}
.wv-card-dark h4 { color: #fff; }
.wv-card-dark p { color: rgba(245, 239, 224, 0.82); }
.wv-card-dark .wv-num { color: var(--gold-500); }

.wv-card-accent {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
  color: var(--green-900);
  border: 0;
}
.wv-card-accent h4 { color: var(--green-900); }
.wv-card-accent p { color: var(--green-900); }
.wv-card-accent .wv-num { color: var(--green-800); }

/* ============================================================
   CTA BAND
============================================================ */
.cta-band {
  margin: 80px 0 0;
  background:
    linear-gradient(105deg, var(--green-900) 0%, var(--green-800) 60%, var(--green-700) 100%);
  color: #fff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(201, 168, 106, 0.25), transparent 55%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta-inner h2 {
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 10px;
}
.cta-inner p {
  margin: 0;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.82);
}
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ============================================================
   OUR STORY — Founder story video
============================================================ */
.story-video {
  margin: 0 auto 80px;
  max-width: 760px;
}
.story-video-head { margin: 0 auto 28px; max-width: none; }
.story-video-frame {
  position: relative;
  margin: 0 auto;
  max-width: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(14, 27, 46, 0.12);
  box-shadow: var(--shadow-lg);
}
.story-video-frame video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78vh;
  background: #000;
}

/* ============================================================
   OUR STORY — Founder card
============================================================ */
.founder-card {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 50px;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto 80px;
  border: 1px solid var(--line);
}
.founder-photo {
  position: relative;
  overflow: hidden;
  background: var(--green-900);
  min-height: 560px;
}
.founder-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.founder-text {
  padding: 50px 50px 50px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.founder-text h2 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--green-900);
}
.founder-role {
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-700);
  font-weight: 700;
  margin: 14px 0 24px;
}
.founder-quote {
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--green-900);
  padding: 18px 0 18px 28px;
  border-left: 3px solid var(--gold-600);
  margin-bottom: 24px;
}
.big-quote {
  display: inline-block;
  font-size: 48px;
  line-height: 0;
  vertical-align: -10px;
  color: var(--gold-600);
  margin-right: 4px;
}
.founder-text p { color: var(--ink-2); font-size: 16px; }
.founder-sig {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--green-900);
  margin-top: 14px !important;
}

/* ============================================================
   PROBLEMS
============================================================ */
.problem-block {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  margin: 28px auto;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  max-width: 1080px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.problem-block:hover {
  transform: translateY(-3px);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-lg);
}
.problem-num {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  box-shadow: 0 10px 24px rgba(27, 58, 92, 0.22);
  border: 2px solid rgba(201, 168, 106, 0.35);
}
.problem-body h4 {
  font-family: var(--font-display);
  margin: 0 0 12px;
  font-size: 24px;
  color: var(--green-900);
}
.problem-body p { font-size: 16px; margin-bottom: 14px; color: var(--ink-2); }
.problem-fix {
  padding: 16px 20px;
  background: var(--gold-50);
  border-left: 3px solid var(--green-700);
  border-radius: 8px;
  font-size: 15.5px !important;
  color: var(--green-900) !important;
  margin-bottom: 0 !important;
}

/* ============================================================
   CALLOUT BOX
============================================================ */
.callout-box {
  margin: 60px auto;
  max-width: 1080px;
  padding: 40px 44px;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #fff;
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.callout-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(201, 168, 106, 0.2), transparent 60%);
  pointer-events: none;
}
.callout-box > * { position: relative; }
.callout-box h3 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 26px;
  margin: 0 0 12px;
}
.callout-box p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  font-size: 15.5px;
}
.callout-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cpill {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  background: rgba(201, 168, 106, 0.18);
  border: 1px solid rgba(201, 168, 106, 0.35);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--gold-500);
  letter-spacing: 0.04em;
}

/* ============================================================
   CLOSING QUOTE
============================================================ */
.closing-quote {
  position: relative;
  max-width: 880px;
  margin: 80px auto 0;
  padding: 50px 40px;
  text-align: center;
  background: var(--cream);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
}
.closing-quote .quote-mark {
  position: absolute;
  top: -20px; left: 30px;
  font-family: var(--font-display);
  font-size: 120px;
  line-height: 1;
  color: var(--gold-600);
}
.closing-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  color: var(--green-900);
  margin: 0 0 16px;
  line-height: 1.4;
}
.closing-quote cite {
  display: block;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-700);
  font-weight: 700;
}

/* ============================================================
   COURSES
============================================================ */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.course-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-500);
}
.course-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}
.course-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.course-card:hover .course-img img { transform: scale(1.06); }
.course-content { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.course-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--green-800);
  background: var(--gold-100);
  padding: 5px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.course-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--green-900);
}
.course-card > .course-content > p {
  font-size: 14.5px;
  color: var(--ink-2);
  margin-bottom: 16px;
  flex: 1;
}
.course-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.course-card ul li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 14px;
  color: var(--ink-2);
}
.course-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 7px; height: 7px;
  background: var(--gold-600);
  border-radius: 50%;
}

/* ============================================================
   REGISTRATION
============================================================ */
.reg-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.reg-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.reg-form label { display: block; }
.reg-form label.full { margin-bottom: 18px; }
.reg-form label > span {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.reg-form label > span em { color: var(--gold-700); font-style: normal; }
.reg-form input,
.reg-form select,
.reg-form textarea {
  width: 100%;
  padding: 13px 16px;
  font: inherit;
  font-size: 15px;
  border: 1.5px solid var(--line);
  background: var(--cream-2);
  border-radius: 12px;
  color: var(--ink);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.reg-form input:focus,
.reg-form select:focus,
.reg-form textarea:focus {
  outline: none;
  border-color: var(--green-700);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(44, 78, 122, 0.18);
}

.student-block {
  margin: 8px 0 18px;
  padding: 24px;
  border: 1.5px dashed var(--gold-500);
  border-radius: var(--radius);
  background: var(--gold-50);
}
.student-block legend {
  padding: 0 10px;
  font-weight: 800;
  font-size: 12.5px;
  color: var(--green-900);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.form-actions {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.form-note {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.form-success {
  margin-top: 22px;
  padding: 20px 24px;
  background: var(--gold-50);
  border: 1.5px solid var(--green-700);
  color: var(--green-900);
  border-radius: 14px;
  font-size: 15px;
}

.reg-side h3 {
  font-family: var(--font-display);
  font-size: 26px;
  margin-bottom: 16px;
  color: var(--green-900);
}
.step-list {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0 0 22px;
}
.step-list li {
  counter-increment: step;
  position: relative;
  padding: 14px 16px 14px 56px;
  margin-bottom: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 14.5px;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  background: var(--green-700);
  color: var(--gold-500);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
}
.contact-line {
  display: block;
  margin-top: 6px;
  font-weight: 700;
  color: var(--green-700);
}

.side-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-top: 16px;
}
.side-card h4 {
  font-family: var(--font-display);
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--green-900);
}
.side-card p { font-size: 14.5px; color: var(--ink-2); margin: 0; }
.side-card-dark {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #fff;
  border: 0;
}
.side-card-dark h4 { color: var(--gold-500); }
.side-card-dark p { color: rgba(245, 239, 224, 0.85); }

/* Pricing */
.price-list {
  list-style: none;
  margin: 4px 0 16px;
  padding: 0;
}
.price-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(201, 168, 106, 0.22);
}
.price-list li:last-child { border-bottom: 0; }
.price-label {
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(245, 239, 224, 0.92);
}
.price-label em {
  display: block;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 239, 224, 0.55);
  margin-top: 2px;
}
.price-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--gold-500);
  white-space: nowrap;
}
.price-note {
  font-size: 13px !important;
  color: rgba(245, 239, 224, 0.7) !important;
  line-height: 1.6;
}

/* ============================================================
   CONTACT
============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: start;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
a.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-lg);
}
.contact-icon {
  font-size: 28px;
  width: 54px; height: 54px;
  background: var(--gold-50);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  margin: 0;
  color: var(--green-900);
}
.contact-card p { font-size: 15px; color: var(--ink-2); margin: 0; }
.contact-cta {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-700);
  font-weight: 700;
}

.contact-map {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 480px;
}
.contact-map iframe {
  width: 100%; height: 100%;
  min-height: 480px;
  border: 0;
  display: block;
}

.contact-banner {
  margin: 70px auto 0;
  max-width: 1100px;
  padding: 50px 36px;
  text-align: center;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.contact-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(201, 168, 106, 0.25), transparent 60%);
  pointer-events: none;
}
.contact-banner h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 38px;
  color: var(--gold-500);
  margin: 0 0 12px;
  position: relative;
}
.contact-banner p {
  margin: 0;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--green-900);
  color: rgba(245, 239, 224, 0.82);
  padding: 64px 0 0;
  margin-top: 80px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(201, 168, 106, 0.18);
}
.footer-brand .footer-logo { width: 56px; margin-bottom: 16px; }
.footer-brand .footer-logo svg { width: 100%; }
.footer-brand .brand-name { color: #fff; font-size: 24px; display: block; margin-bottom: 6px; }
.footer-brand .brand-name-accent { color: var(--gold-500); }
.footer-brand .brand-sub { color: rgba(201, 168, 106, 0.75); display: block; }
.footer-tag {
  margin-top: 18px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--gold-500);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.footer-cols h5 {
  font-family: var(--font-sans);
  color: var(--gold-500);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 16px;
  font-weight: 700;
}
.footer-cols a,
.footer-cols span {
  display: block;
  font-size: 14px;
  color: rgba(245, 239, 224, 0.72);
  margin-bottom: 9px;
  line-height: 1.5;
}
.footer-cols a:hover { color: var(--gold-500); }

.footer-open {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px !important;
  color: var(--gold-500) !important;
  margin-bottom: 6px !important;
}
.footer-motto {
  font-size: 12px !important;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 239, 224, 0.58) !important;
}

.footer-base {
  padding: 20px 0;
  background: rgba(0, 0, 0, 0.22);
}
.footer-base .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: rgba(245, 239, 224, 0.55);
}
.footer-quran {
  font-family: var(--font-arabic);
  font-size: 16px;
  color: var(--gold-500);
}
.footer-quran .arabic { color: var(--gold-500); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1080px) {
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .worldview-grid { grid-template-columns: repeat(2, 1fr); }
  .worldview-grid .wv-card:nth-child(4) { grid-column: auto; }
}

@media (max-width: 960px) {
  .section-padded { padding: 70px 20px; }
  .flyer-hero { padding: 40px 0 120px; min-height: 0; }
  .flyer-hero-inner { grid-template-columns: 1fr; padding-top: 20px; gap: 40px; }
  .flyer-pencil { right: -80px; width: 360px; top: 14px; }
  .flyer-hero-right { height: 380px; max-width: 460px; margin: 0 auto; }
  .image-strip { grid-template-columns: repeat(3, 1fr); }
  .image-strip .strip-img:nth-child(n+4) { display: none; }
  .pillar-body-grid { grid-template-columns: 1fr; gap: 22px; }
  .pillar-body-grid-reverse > :first-child { order: 1; }
  .pillar-body-grid-reverse > :last-child { order: 2; }
  .pillar-img { aspect-ratio: 16 / 9; }
  .founder-card { grid-template-columns: 1fr; gap: 0; }
  .founder-photo { aspect-ratio: 4 / 3; }
  .founder-text { padding: 36px 32px 40px; }
  .callout-box { grid-template-columns: 1fr; padding: 32px; }
  .cta-inner { grid-template-columns: 1fr; gap: 24px; text-align: left; }
  .cta-actions { justify-content: flex-start; }
  .reg-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .topbar-inner { font-size: 12px; gap: 14px; }
}

@media (max-width: 720px) {
  .topbar { display: none; }
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--cream-2);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 10px;
    box-shadow: var(--shadow);
    display: none;
  }
  .primary-nav.open { display: flex; }
  .nav-link, .nav-cta { width: 100%; padding: 14px 16px; border-radius: 10px; text-align: center; margin: 0; }
  .nav-link.active::after { display: none; }

  .flyer-title { font-size: 48px; }
  .flyer-shield { width: 110px; }
  .flyer-pencil { display: none; }
  .flyer-hero-right { height: 320px; transform: scale(0.85); transform-origin: top center; }
  .tagline-inner { gap: 12px; }
  .tagline-word { font-size: 15px; letter-spacing: 0.08em; }

  .pillar-head { grid-template-columns: 56px 1fr 36px; padding: 22px; gap: 16px; }
  .pillar-icon { width: 56px; height: 56px; }
  .pillar-icon svg { width: 28px; height: 28px; }
  .pillar-headings h3 { font-size: 19px; }
  .pillar-headings p { font-size: 13.5px; }
  .pillar-chev { width: 36px; height: 36px; }
  .pillar-body-inner { padding: 8px 22px 28px; }

  .grid-two { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: 1fr; }
  .worldview-grid { grid-template-columns: 1fr; }
  .image-strip { grid-template-columns: repeat(2, 1fr); }
  .image-strip .strip-img:nth-child(n+3) { display: none; }
  .contact-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .reg-form { padding: 26px; }

  .problem-block { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
  .problem-num { width: 60px; height: 60px; font-size: 22px; }
  .founder-text { padding: 28px 22px; }
  .founder-quote { font-size: 17px; padding-left: 20px; }
  .closing-quote p { font-size: 19px; }
  .contact-banner h3 { font-size: 28px; }
}

/* ============================================================
   EXAMPLES — "How we do it · in real life"
============================================================ */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 16px 0 64px;
}
.ex-card {
  position: relative;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold-600);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ex-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-left-color: var(--green-700);
}
.ex-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gold-700);
  background: var(--gold-50);
  padding: 4px 10px;
  border-radius: 999px;
}
.ex-card h4 {
  font-family: var(--font-display);
  font-size: 19px;
  margin: 4px 0 6px;
  color: var(--green-900);
  line-height: 1.2;
}
.ex-card p {
  font-size: 14.5px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.6;
}
.ex-card em {
  color: var(--green-700);
  font-style: italic;
}

/* ============================================================
   ONTARIO CURRICULUM — 4 STRANDS
============================================================ */
.curriculum-head { margin-top: 30px; }
.strands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 16px;
}
.strand-card {
  position: relative;
  background: linear-gradient(180deg, var(--blue-50) 0%, #fff 60%);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 28px 22px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.strand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.strand-num {
  position: absolute;
  top: -18px;
  left: 22px;
  width: 40px;
  height: 40px;
  background: var(--green-700);
  color: var(--gold-500);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 6px 14px rgba(14, 27, 46, 0.25);
  border: 3px solid var(--cream-2);
}
.strand-card h4 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--green-900);
  margin: 14px 0 4px;
}
.strand-card > p {
  font-size: 14.5px;
  color: var(--ink-2);
  margin: 0 0 12px;
  line-height: 1.55;
}
.strand-sub {
  font-size: 12px !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-700) !important;
  margin: 4px 0 6px !important;
}
.strand-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px dashed var(--line-2);
  padding-top: 10px;
}
.strand-card ul li {
  position: relative;
  padding: 5px 0 5px 18px;
  font-size: 14px;
  color: var(--ink-2);
}
.strand-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 6px; height: 6px;
  background: var(--gold-600);
  border-radius: 50%;
}

@media (max-width: 1024px) {
  .strands-grid  { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
}
@media (max-width: 560px) {
  .strands-grid  { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================
   CINEMATIC HERO  (replaces .flyer-hero)
============================================================ */
.hero-cine {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 90px 0 110px;
  background: #0A1424;
  color: var(--cream-2);
}

/* ---- Background layers ---- */
.hero-cine-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.bg-mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 1100px 720px at 18% 30%, #1B3A5C 0%, transparent 55%),
    radial-gradient(ellipse 900px 700px at 82% 70%, #122849 0%, transparent 55%),
    radial-gradient(ellipse 700px 500px at 50% 110%, #2C4E7A 0%, transparent 60%),
    linear-gradient(160deg, #0E1B2E 0%, #0A1424 60%, #050B16 100%);
}

.bg-geom {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0.16;
  mix-blend-mode: screen;
}

.bg-brush {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.55;
  mix-blend-mode: lighten;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
  animation: glowFloat 14s ease-in-out infinite alternate;
}
.glow-1 { width: 460px; height: 460px; background: #2C4E7A; top: -120px; left: -120px; }
.glow-2 { width: 520px; height: 520px; background: #C9A86A; bottom: -200px; right: -160px; opacity: 0.28; animation-delay: -4s; }
.glow-3 { width: 360px; height: 360px; background: #3E5F8A; top: 40%; left: 45%; opacity: 0.35; animation-delay: -8s; }

@keyframes glowFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, -30px) scale(1.08); }
}

/* Floating ornaments */
.float-orn {
  position: absolute;
  opacity: 0.6;
  animation: ornFloat 9s ease-in-out infinite alternate;
}
.float-orn svg { width: 100%; height: 100%; }
.orn-1 { width: 44px; height: 44px; top: 15%; left: 6%; animation-delay: 0s; }
.orn-2 { width: 70px; height: 70px; top: 70%; left: 8%; animation-delay: -2s; opacity: 0.4; }
.orn-3 { width: 56px; height: 56px; top: 20%; right: 8%; animation-delay: -4s; opacity: 0.45; }
.orn-4 { width: 34px; height: 34px; bottom: 18%; right: 14%; animation-delay: -6s; opacity: 0.6; }

@keyframes ornFloat {
  0%   { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-14px) rotate(20deg); }
}

/* ---- Inner grid ---- */
.hero-cine-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 620px;
}

/* ---- LEFT: text column ---- */
.hero-cine-text { position: relative; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  background: rgba(201, 168, 106, 0.08);
  border: 1px solid rgba(201, 168, 106, 0.32);
  border-radius: 999px;
  color: var(--gold-500);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(6px);
}
.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 168, 106, 0.25);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.3); opacity: 0.6; }
}

.hero-cine-title {
  margin: 0 0 26px;
  font-family: var(--font-display);
  line-height: 0.9;
  letter-spacing: -0.025em;
  color: #fff;
}
.cine-line {
  display: block;
  font-weight: 800;
  font-size: clamp(60px, 10vw, 144px);
}
.cine-line-1 {
  background: linear-gradient(180deg, #FFFFFF 0%, #B8CFE5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 8px 24px rgba(184, 207, 229, 0.18));
}
.cine-line-2 {
  position: relative;
  display: inline-block;
}
.cine-lab-stroke,
.cine-lab-fill {
  display: block;
  font-weight: 800;
  font-size: clamp(60px, 10vw, 144px);
}
.cine-lab-stroke {
  position: absolute; inset: 0;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(201, 168, 106, 0.55);
  letter-spacing: 0.02em;
  transform: translate(8px, 8px);
}
.cine-lab-fill {
  position: relative;
  background: linear-gradient(135deg, #E5C684 0%, #C9A86A 50%, #8E6B33 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 18px rgba(201, 168, 106, 0.35));
}

.hero-cine-sub {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.sub-line {
  flex: 1;
  max-width: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-600), transparent);
}
.sub-text {
  font-size: 12.5px;
  letter-spacing: 0.32em;
  font-weight: 700;
  color: var(--gold-500);
}

.hero-cine-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  color: #DCE7F2;
  margin: 0 0 18px;
  letter-spacing: 0.01em;
}

.hero-cine-lede {
  font-size: 17.5px;
  line-height: 1.65;
  color: rgba(220, 231, 242, 0.85);
  max-width: 540px;
  margin: 0 0 36px;
}
.hero-cine-lede strong { color: var(--gold-500); font-weight: 700; }

.hero-cine-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 50px;
}
.hero-cine-cta .btn { gap: 8px; }
.hero-cine-cta .btn svg { transition: transform .2s ease; }
.hero-cine-cta .btn:hover svg { transform: translateX(3px); }

.trust-strip {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(201, 168, 106, 0.18);
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-500);
  letter-spacing: 0.02em;
  line-height: 1;
}
.trust-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(220, 231, 242, 0.7);
  font-weight: 600;
}
.trust-sep {
  width: 1px; height: 30px;
  background: rgba(201, 168, 106, 0.22);
}

/* ---- RIGHT: visual stack ---- */
.hero-cine-visual {
  position: relative;
  height: 580px;
}

.visual-halo {
  position: absolute;
  top: 50%; left: 50%;
  width: 420px; height: 420px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 106, 0.18) 0%, transparent 65%);
  filter: blur(20px);
  z-index: 1;
}
.visual-halo::before,
.visual-halo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(201, 168, 106, 0.28);
  animation: spinSlow 40s linear infinite;
}
.visual-halo::after {
  inset: 30px;
  border-style: solid;
  border-color: rgba(201, 168, 106, 0.16);
  animation-duration: 60s;
  animation-direction: reverse;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }

.visual-shield {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  z-index: 2;
  filter: drop-shadow(0 30px 60px rgba(201, 168, 106, 0.28));
  animation: shieldFloat 8s ease-in-out infinite alternate;
}
.visual-shield svg { width: 100%; height: auto; display: block; }
@keyframes shieldFloat {
  from { transform: translate(-50%, -52%); }
  to   { transform: translate(-50%, -48%); }
}

/* Floating cards */
.vc {
  position: absolute;
  z-index: 3;
  background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(245, 239, 224, 0.92));
  border: 1px solid rgba(201, 168, 106, 0.45);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow:
    0 20px 50px rgba(5, 11, 22, 0.45),
    0 0 0 1px rgba(255,255,255,0.06) inset;
  color: var(--green-900);
  backdrop-filter: blur(10px);
  animation: cardFloat 6s ease-in-out infinite alternate;
}
@keyframes cardFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-10px); }
}

.vc-quran {
  top: 4%;
  left: -10%;
  max-width: 240px;
  text-align: center;
  padding: 20px 22px;
  animation-delay: 0s;
}
.vc-quran .vc-mark {
  display: block;
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 0.4;
  color: var(--gold-600);
  margin-bottom: 8px;
}
.vc-quran .vc-arabic {
  font-family: var(--font-arabic);
  font-size: 22px;
  color: var(--green-900);
  margin: 0 0 8px;
  line-height: 1.4;
  direction: rtl;
}
.vc-quran .vc-en {
  font-size: 13px;
  color: var(--ink-2);
  font-style: italic;
  margin: 0 0 8px;
  line-height: 1.4;
}
.vc-quran cite {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-700);
  font-weight: 700;
}

.vc-motto {
  top: 14%;
  right: -8%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #0E1B2E, #1B3A5C);
  color: var(--cream);
  border-color: rgba(201, 168, 106, 0.6);
  animation-delay: -2s;
}
.vc-motto-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(201, 168, 106, 0.22);
  flex-shrink: 0;
}
.vc-motto-eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 700;
  margin-bottom: 2px;
}
.vc-motto strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  color: #fff;
}

.vc-subjects {
  bottom: 12%;
  left: -8%;
  padding: 18px 20px;
  animation-delay: -3s;
}
.vc-subjects-title {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-700);
  font-weight: 700;
  margin-bottom: 10px;
}
.vc-subjects-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 220px;
}
.vc-subjects-pills span {
  padding: 4px 10px;
  background: var(--green-900);
  color: var(--gold-500);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.vc-idl {
  bottom: 4%;
  right: -4%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #C9A86A, #B89968);
  color: var(--green-900);
  border-color: rgba(14, 27, 46, 0.4);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  animation-delay: -1s;
}
.idl-sep {
  width: 4px; height: 4px;
  background: var(--green-900);
  border-radius: 50%;
  opacity: 0.5;
}

/* Scroll cue */
.hero-scroll {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(220, 231, 242, 0.7);
  text-decoration: none;
}
.scroll-text {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 700;
}
.scroll-line {
  width: 1px; height: 32px;
  background: linear-gradient(180deg, rgba(201, 168, 106, 0.8), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--gold-500) 0%, transparent 50%);
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* Hide old flyer hero entirely (keeps CSS smaller without removing the rules) */
.flyer-hero { display: none !important; }

.founder-photo {
  background: transparent;
  padding: 0;
  display: flex;
}

@media (max-width: 900px) {
  .founder-photo {
    min-height: 280px;
  }
}

/* ============================================================
   TIMELINE — Founder journey
============================================================ */
.timeline-head { margin-top: 80px; }

.timeline {
  list-style: none;
  margin: 30px 0 70px;
  padding: 0;
  position: relative;
  counter-reset: step;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 130px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-500), var(--gold-700));
  opacity: 0.45;
}
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
  padding: 14px 0;
  margin-bottom: 14px;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: 124px; top: 32px;
  width: 14px; height: 14px;
  background: var(--cream-2);
  border: 3px solid var(--gold-600);
  border-radius: 50%;
  z-index: 1;
}
.tl-item-now::before {
  background: var(--gold-500);
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(201, 168, 106, 0.25);
}
.tl-year {
  text-align: right;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--gold-700);
  letter-spacing: 0.02em;
  padding-top: 16px;
  padding-right: 4px;
}
.tl-body {
  padding: 14px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.tl-body h4 {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--green-900);
  margin: 0 0 6px;
}
.tl-body p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
}
.tl-item-now .tl-body {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: var(--cream);
  border: 0;
}
.tl-item-now .tl-body h4 { color: var(--gold-500); }
.tl-item-now .tl-body p { color: rgba(245, 239, 224, 0.9); }

@media (max-width: 720px) {
  .timeline::before { left: 16px; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; padding-left: 44px; }
  .tl-item::before { left: 10px; top: 22px; }
  .tl-year { text-align: left; padding-top: 0; padding-left: 0; }
}

/* ============================================================
   SYNERGY GRID — "Why Synergy Lab?"
============================================================ */
.synergy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 14px 0 60px;
}
.syn-card {
  position: relative;
  padding: 30px 24px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.syn-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold-500);
}
.syn-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  background: var(--green-900);
  color: var(--gold-500);
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.syn-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--green-900);
}
.syn-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
}
.syn-card-lab {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: var(--cream);
  border: 0;
  grid-column: span 1;
}
.syn-card-lab h4 { color: var(--gold-500); }
.syn-card-lab h4 em { color: #fff; font-style: italic; }
.syn-card-lab p { color: rgba(245, 239, 224, 0.92); }
.syn-card-lab .syn-num { background: var(--gold-600); color: var(--green-900); }

@media (max-width: 1024px) { .synergy-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .synergy-grid { grid-template-columns: 1fr; } }

/* ============================================================
   INVITATION BAND
============================================================ */
.invite-band {
  margin-top: 60px;
  padding: 50px 44px;
  background:
    radial-gradient(ellipse at top right, rgba(201, 168, 106, 0.2), transparent 60%),
    linear-gradient(135deg, var(--green-900), var(--green-700));
  color: var(--cream);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.invite-band::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border: 1px solid rgba(201, 168, 106, 0.3);
  border-radius: 50%;
  pointer-events: none;
}
.invite-band::after {
  content: "";
  position: absolute;
  top: -20px; right: -20px;
  width: 160px; height: 160px;
  border: 1px dashed rgba(201, 168, 106, 0.25);
  border-radius: 50%;
  pointer-events: none;
}
.invite-text .section-eyebrow { color: var(--gold-500); }
.invite-text h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  color: #fff;
  margin: 8px 0 18px;
  line-height: 1.2;
}
.invite-text p {
  font-size: 16px;
  color: rgba(245, 239, 224, 0.88);
  margin: 0 0 12px;
  line-height: 1.65;
}
.invite-sig {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-500) !important;
}
.invite-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-500);
  border-color: var(--gold-500);
}

@media (max-width: 760px) {
  .invite-band { grid-template-columns: 1fr; padding: 36px 28px; }
  .invite-actions { flex-direction: row; flex-wrap: wrap; }
}

/* ============================================================
   VALUE BAND (replaces image strip)
============================================================ */
.value-band {
  background:
    radial-gradient(ellipse at top, rgba(201, 168, 106, 0.12), transparent 55%),
    linear-gradient(180deg, #0E1B2E, #0A1424);
  padding: 60px 0;
  margin: 80px 0;
  border-top: 1px solid rgba(201, 168, 106, 0.18);
  border-bottom: 1px solid rgba(201, 168, 106, 0.18);
}
.value-band-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.vb-card {
  padding: 24px 20px;
  background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(201, 168, 106, 0.22);
  border-radius: var(--radius);
  transition: transform .2s ease, border-color .25s ease, background .25s ease;
}
.vb-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-500);
  background: linear-gradient(160deg, rgba(201, 168, 106, 0.10), rgba(255,255,255,0.02));
}
.vb-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--gold-500);
  letter-spacing: 0.18em;
  margin-bottom: 8px;
}
.vb-label {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 8px;
}
.vb-card p {
  margin: 0;
  font-size: 13.5px;
  color: rgba(220, 231, 242, 0.78);
  line-height: 1.55;
}

@media (max-width: 1024px) { .value-band-inner { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .value-band-inner { grid-template-columns: 1fr; } }

/* ============================================================
   COURSE SVG tiles (replaces broken Unsplash photos)
============================================================ */
.course-svg {
  width: 100%;
  aspect-ratio: 400 / 220;
  overflow: hidden;
  background: #0E1B2E;
  border-bottom: 1px solid rgba(201, 168, 106, 0.25);
}
.course-svg svg {
  width: 100%; height: 100%;
  display: block;
  transition: transform .6s ease;
}
.course-card:hover .course-svg svg { transform: scale(1.04); }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .vc-quran { left: -4%; max-width: 220px; }
  .vc-motto { right: -2%; }
  .vc-subjects { left: -2%; }
  .vc-idl { right: 2%; }
}
@media (max-width: 960px) {
  .hero-cine { padding: 60px 0 80px; }
  .hero-cine-inner { grid-template-columns: 1fr; gap: 50px; min-height: 0; }
  .hero-cine-visual { height: 460px; order: 2; max-width: 480px; margin: 0 auto; width: 100%; }
  .hero-cine-text { order: 1; text-align: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-cine-lede { margin-left: auto; margin-right: auto; }
  .hero-cine-cta { justify-content: center; }
  .hero-cine-sub { justify-content: center; }
  .sub-line { max-width: 50px; }
  .trust-strip { justify-content: center; }
  .visual-shield { width: 240px; }
  .visual-halo { width: 340px; height: 340px; }
  .vc-quran { left: -2%; top: -2%; }
  .vc-motto { right: -2%; top: 6%; }
  .vc-subjects { left: -2%; bottom: 6%; }
  .vc-idl { right: -2%; bottom: -2%; }
}
@media (max-width: 560px) {
  .hero-cine { padding: 48px 0 70px; }
  .cine-line, .cine-lab-stroke, .cine-lab-fill { font-size: 68px; }
  .hero-cine-tagline { font-size: 20px; }
  .hero-cine-lede { font-size: 16px; }
  .hero-cine-visual { height: 380px; }
  .visual-shield { width: 200px; }
  .visual-halo { width: 280px; height: 280px; }
  .vc-quran { max-width: 180px; padding: 14px 16px; }
  .vc-quran .vc-arabic { font-size: 18px; }
  .vc-quran .vc-en { font-size: 11.5px; }
  .vc-motto { padding: 12px 14px; }
  .vc-motto strong { font-size: 13px; }
  .vc-subjects { padding: 14px 16px; }
  .vc-subjects-pills { max-width: 170px; }
  .vc-subjects-pills span { font-size: 10.5px; padding: 3px 8px; }
  .vc-idl { font-size: 11.5px; padding: 10px 14px; gap: 8px; }
  .trust-strip { gap: 14px; padding-top: 20px; }
  .trust-sep { display: none; }
  .trust-num { font-size: 18px; }
  .trust-label { font-size: 10px; letter-spacing: 0.16em; }
  .hero-scroll { display: none; }
}

/* ============================================================
   TEAMS / THE LEAGUE
============================================================ */
.teams-hero .teams-hero-cta { margin-top: 28px; }
.teams-hero .btn { gap: 10px; }

/* --- How the league works --- */
.league-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 96px;
}
.lf-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.lf-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold-500);
}
.lf-icon {
  display: inline-flex;
  width: 54px; height: 54px;
  align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--green-900);
  color: var(--gold-500);
  margin-bottom: 18px;
}
.lf-icon svg { width: 28px; height: 28px; }
.lf-card h4 { font-size: 19px; margin: 0 0 8px; }
.lf-card p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }

/* --- Clubs grid: poster wall --- */
.teams-grid-head { margin-top: 0; }
.teams-grid {
  column-count: 3;
  column-gap: 26px;
  margin-bottom: 96px;
}
.team-poster {
  position: relative;
  display: block;
  width: 100%;
  break-inside: avoid;
  margin: 0 0 26px;
  padding: 0;
  border: 1px solid rgba(14, 27, 46, 0.10);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--green-900);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  -webkit-appearance: none;
  appearance: none;
  transition: transform .28s ease, box-shadow .28s ease;
}
.team-poster:hover,
.team-poster:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  outline: none;
}
.team-poster img {
  width: 100%;
  height: auto;
  display: block;
}
.team-poster-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 46px 18px 16px;
  text-align: left;
  background: linear-gradient(to top, rgba(8, 12, 20, 0.94), rgba(8, 12, 20, 0.55) 55%, transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.team-poster:hover .team-poster-cap,
.team-poster:focus-visible .team-poster-cap {
  opacity: 1;
  transform: translateY(0);
}
.team-poster-cap strong {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: #fff;
}
.team-poster-cap em {
  font-style: italic;
  font-size: 12.5px;
  color: var(--gold-400);
}

/* --- Poster lightbox --- */
.poster-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(7, 11, 19, 0.92);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: plFade .2s ease;
}
.poster-lightbox[hidden] { display: none; }
@keyframes plFade { from { opacity: 0; } to { opacity: 1; } }
.pl-img {
  max-width: min(92vw, 680px);
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
}
.pl-close {
  position: absolute;
  top: 18px; right: 22px;
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.pl-close:hover { background: rgba(255, 255, 255, 0.24); transform: scale(1.05); }

/* --- Watch band --- */
.watch-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  background:
    radial-gradient(ellipse at top right, rgba(201, 168, 106, 0.22), transparent 55%),
    linear-gradient(180deg, var(--green-900) 0%, var(--green-700) 100%);
  border-radius: var(--radius-xl);
  padding: 48px 52px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.watch-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(201, 168, 106, 0.06) 0 1px, transparent 1px 22px);
  pointer-events: none;
}
.watch-text { position: relative; z-index: 1; max-width: 620px; }
.watch-text .section-eyebrow { color: var(--gold-500); }
.watch-text h3 { color: #fff; font-size: clamp(26px, 3.5vw, 36px); margin: 0 0 12px; }
.watch-text p { color: rgba(255, 255, 255, 0.85); margin: 0; font-size: 16.5px; }
.watch-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.watch-actions .btn { gap: 10px; }
.watch-handle {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1080px) {
  .league-features { grid-template-columns: repeat(2, 1fr); }
  .teams-grid { column-count: 2; }
}
@media (max-width: 720px) {
  .league-features { grid-template-columns: 1fr; margin-bottom: 64px; }
  .teams-grid { column-count: 1; margin-bottom: 64px; }
  .watch-band { padding: 36px 28px; }
  .watch-actions { align-items: stretch; width: 100%; }
  .team-poster-cap { opacity: 1; transform: none; }
}
