/* ============================================================
   NurulQuran — Online Quran Academy
   Main Stylesheet
   ============================================================ */

/* ── Google Fonts are loaded in each HTML page ── */

/* ── CSS Variables ─────────────────────────────────────── */
:root {
  --ink:    #0B1A2C;
  --gold:   #C9963A;
  --gilt:   #F0C96B;
  --cream:  #FAF6EE;
  --sage:   #2E6B57;
  --mist:   #E8EFF5;
  --ink-95: rgba(11,26,44,.95);
  --ink-80: rgba(11,26,44,.8);
  --ink-60: rgba(11,26,44,.6);
  --ink-40: rgba(11,26,44,.4);
  --ink-10: rgba(11,26,44,.1);
  --gold-20: rgba(201,150,58,.2);
  --gold-10: rgba(201,150,58,.1);
  --white-70: rgba(255,255,255,.7);
  --white-50: rgba(255,255,255,.5);
  --white-20: rgba(255,255,255,.2);
  --white-10: rgba(255,255,255,.1);
  --white-05: rgba(255,255,255,.05);

  --ff-display: 'Cormorant Garamond', serif;
  --ff-arabic:  'Amiri', serif;
  --ff-body:    'Jost', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-card: 0 4px 24px rgba(11,26,44,.08);
  --shadow-card-hover: 0 12px 48px rgba(11,26,44,.14);
  --shadow-gold: 0 8px 32px rgba(201,150,58,.35);
}

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--ff-body); }

/* ── Geometric Pattern ─────────────────────────────────── */
.geo-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cg fill='none' stroke='%23C9963A' stroke-width='0.4' opacity='0.18'%3E%3Cpolygon points='40,2 78,21 78,59 40,78 2,59 2,21'/%3E%3Cpolygon points='40,14 66,28 66,52 40,66 14,52 14,28'/%3E%3Cline x1='40' y1='2' x2='40' y2='14'/%3E%3Cline x1='78' y1='21' x2='66' y2='28'/%3E%3Cline x1='78' y1='59' x2='66' y2='52'/%3E%3Cline x1='40' y1='78' x2='40' y2='66'/%3E%3Cline x1='2' y1='59' x2='14' y2='52'/%3E%3Cline x1='2' y1='21' x2='14' y2='28'/%3E%3C/g%3E%3C/svg%3E");
}
.geo-bg-dark {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cg fill='none' stroke='%23C9963A' stroke-width='0.5' opacity='0.1'%3E%3Cpolygon points='40,2 78,21 78,59 40,78 2,59 2,21'/%3E%3Cpolygon points='40,14 66,28 66,52 40,66 14,52 14,28'/%3E%3Cline x1='40' y1='2' x2='40' y2='14'/%3E%3Cline x1='78' y1='21' x2='66' y2='28'/%3E%3Cline x1='78' y1='59' x2='66' y2='52'/%3E%3Cline x1='40' y1='78' x2='40' y2='66'/%3E%3Cline x1='2' y1='59' x2='14' y2='52'/%3E%3Cline x1='2' y1='21' x2='14' y2='28'/%3E%3C/g%3E%3C/svg%3E");
}

/* ── Animations ────────────────────────────────────────── */
@keyframes fadeUp   { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:none; } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
@keyframes slideL   { from { opacity:0; transform:translateX(-30px); } to { opacity:1; transform:none; } }
@keyframes slideR   { from { opacity:0; transform:translateX(30px);  } to { opacity:1; transform:none; } }
@keyframes scaleIn  { from { opacity:0; transform:scale(.93); } to { opacity:1; transform:none; } }
@keyframes shimmer  { 0%,100% { opacity:.6; } 50% { opacity:1; } }
@keyframes float    { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-10px); } }
@keyframes pulse-gold { 0%,100% { box-shadow:0 0 0 0 rgba(201,150,58,.4); } 50% { box-shadow:0 0 0 14px rgba(201,150,58,0); } }

.anim-fadeup  { animation: fadeUp  .75s ease both; }
.anim-fadein  { animation: fadeIn  .6s ease both; }
.anim-slidel  { animation: slideL  .75s ease both; }
.anim-slider  { animation: slideR  .75s ease both; }
.anim-scalein { animation: scaleIn .65s ease both; }
.anim-float   { animation: float 4s ease-in-out infinite; }

.delay-1 { animation-delay:.1s; }
.delay-2 { animation-delay:.2s; }
.delay-3 { animation-delay:.3s; }
.delay-4 { animation-delay:.4s; }
.delay-5 { animation-delay:.5s; }
.delay-6 { animation-delay:.6s; }
.delay-7 { animation-delay:.7s; }

/* ── Typography ────────────────────────────────────────── */
.font-display { font-family: var(--ff-display); }
.font-arabic  { font-family: var(--ff-arabic); }
.font-body    { font-family: var(--ff-body); }

.text-gold  { color: var(--gold); }
.text-gilt  { color: var(--gilt); }
.text-sage  { color: var(--sage); }
.text-ink   { color: var(--ink); }
.text-cream { color: var(--cream); }

/* ── Gold Divider ──────────────────────────────────────── */
.gold-line {
  display: block;
  width: 56px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gilt), var(--gold));
  border-radius: 2px;
}
.gold-line.center { margin: 0 auto; }

/* ── Section Label ─────────────────────────────────────── */
.section-label {
  font-family: var(--ff-body);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--gold);
}
.section-label.center { justify-content: center; }

/* ── PAGE HEADER (inner pages) ─────────────────────────── */
.page-header {
  background: linear-gradient(160deg, var(--ink) 0%, #122840 45%, #1A3C30 100%);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header h1 {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: .5rem;
}
.page-header p {
  font-family: var(--ff-body);
  color: var(--white-60, rgba(255,255,255,.6));
  font-size: 1.05rem;
  margin-top: .8rem;
}
.page-header .arc {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 72px;
  overflow: hidden;
}
.page-header .arc svg { display: block; width: 100%; height: 100%; }

/* ── Breadcrumb ────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--ff-body);
  font-size: .8rem;
  color: var(--white-50, rgba(255,255,255,.5));
  justify-content: center;
  margin-bottom: 1.2rem;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: var(--white-50, rgba(255,255,255,.5)); }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .8rem 2rem;
  border-radius: var(--radius-sm);
  border: none;
  transition: all .3s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gilt));
  color: var(--ink);
}
.btn-gold:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--ink);
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  background: #162e45;
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: var(--ink);
}
.btn-white:hover {
  background: var(--cream);
  transform: translateY(-2px);
}
.btn-sm { padding: .55rem 1.4rem; font-size: .75rem; }
.btn-lg { padding: 1rem 2.6rem; font-size: .9rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Badge / Tag ───────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 30px;
  font-family: var(--ff-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.6;
}
.badge-gold   { background: var(--gold-10); color: var(--gold); }
.badge-sage   { background: rgba(46,107,87,.1); color: var(--sage); }
.badge-ink    { background: var(--ink-10); color: var(--ink); }
.badge-solid-gold { background: var(--gold); color: var(--ink); }

/* ── Card ──────────────────────────────────────────────── */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201,150,58,.12);
  box-shadow: var(--shadow-card);
  transition: box-shadow .3s, transform .3s;
  overflow: hidden;
}
.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-5px);
}
.card-body { padding: 1.75rem; }

/* ── Stars ─────────────────────────────────────────────── */
.stars { color: var(--gold); letter-spacing: .05em; }

/* ── Form Fields ───────────────────────────────────────── */
.form-group { margin-bottom: 1.4rem; }
.form-label {
  display: block;
  font-family: var(--ff-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: .45rem;
}
.form-field {
  width: 100%;
  padding: .82rem 1.1rem;
  border: 1.5px solid rgba(11,26,44,.14);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: var(--ff-body);
  font-size: .95rem;
  color: var(--ink);
  outline: none;
  transition: border-color .25s, box-shadow .25s;
  appearance: none;
}
.form-field:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,150,58,.12);
}
.form-field::placeholder { color: rgba(11,26,44,.35); }
textarea.form-field { resize: vertical; min-height: 130px; }
select.form-field { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230B1A2C' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

/* ── Social Icons ──────────────────────────────────────── */
.social-icons { display: flex; gap: .6rem; flex-wrap: wrap; }
.social-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(201,150,58,.3);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, border-color .3s, transform .2s;
  color: var(--cream);
}
.social-icon:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.social-icon svg { width: 17px; height: 17px; fill: currentColor; }
/* Dark variant */
.social-icon.dark {
  border-color: rgba(11,26,44,.2);
  color: var(--ink);
}
.social-icon.dark:hover { color: var(--ink); }

/* ── Accordion ─────────────────────────────────────────── */
.accordion-item {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(201,150,58,.15);
  overflow: hidden;
  margin-bottom: .75rem;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.6rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--ff-display);
  font-size: 1.15rem;
  color: var(--ink);
  gap: 1rem;
}
.accordion-trigger:hover { background: rgba(201,150,58,.04); }
.accordion-icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  background: var(--gold-10);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s, background .3s;
}
.accordion-icon svg { width: 13px; height: 13px; color: var(--gold); }
.accordion-item.open .accordion-icon { background: var(--gold); transform: rotate(180deg); }
.accordion-item.open .accordion-icon svg { color: var(--ink); }
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .38s cubic-bezier(.4,0,.2,1);
}
.accordion-content.open { max-height: 500px; }
.accordion-inner { padding: 0 1.6rem 1.4rem; }
.accordion-inner p {
  font-family: var(--ff-body);
  color: var(--ink-60);
  font-size: .95rem;
  line-height: 1.75;
}

/* ── Scroll-to-top ─────────────────────────────────────── */
#scrollTop {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 300;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gilt));
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  transition: transform .2s;
  color: var(--ink);
}
#scrollTop:hover { transform: scale(1.1); }
#scrollTop.show  { display: flex; }
#scrollTop svg   { width: 20px; height: 20px; stroke: var(--ink); }

/* ── NAVBAR ────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background .35s, box-shadow .35s;
  padding: .6rem 0;
}
#navbar.scrolled {
  background: rgba(11,26,44,.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
  padding: .3rem 0;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-icon span {
  font-family: var(--ff-arabic);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
}
.nav-logo-text { line-height: 1.1; }
.nav-logo-name {
  font-family: var(--ff-display);
  color: #fff;
  font-size: 1.25rem;
  letter-spacing: .04em;
}
.nav-logo-sub {
  font-family: var(--ff-body);
  color: rgba(201,150,58,.8);
  font-size: .58rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}
/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: .2rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--ff-body);
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  padding: .5rem .85rem;
  border-radius: 4px;
  transition: color .2s, background .2s;
  letter-spacing: .02em;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a.active { background: rgba(201,150,58,.1); }
/* Nav CTA */
.nav-cta {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
  flex-wrap: nowrap;
}
/* Hide some CTA items progressively at smaller widths */
@media (max-width: 1100px) {
  .nav-cta .btn-outline[href="search.html"],
  .nav-cta .btn-outline[href*="career"] { display: none; }
}
/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  padding: .4rem;
  flex-shrink: 0;
}
.hamburger svg { width: 26px; height: 26px; stroke: currentColor; }
/* Mobile menu */
#mobile-nav {
  display: none;
  background: rgba(11,26,44,.98);
  border-top: 1px solid rgba(255,255,255,.08);
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
#mobile-nav.open { display: block; }
#mobile-nav a {
  display: block;
  font-family: var(--ff-body);
  font-size: .9rem;
  color: rgba(255,255,255,.75);
  padding: .9rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: color .2s, padding-left .2s;
}
#mobile-nav a:hover { color: var(--gold); padding-left: 2.5rem; }
#mobile-nav a.active { color: var(--gold); }
.mobile-cta { padding: 1rem 2rem 1.4rem; display: flex; gap: .75rem; flex-wrap: wrap; }

/* ── FOOTER ────────────────────────────────────────────── */
.footer {
  background: #070F1A;
  padding: 5rem 0 0;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand p {
  font-family: var(--ff-body);
  font-size: .9rem;
  color: rgba(255,255,255,.45);
  line-height: 1.8;
  margin: 1.2rem 0 1.6rem;
  max-width: 300px;
}
.footer-col h4 {
  font-family: var(--ff-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.4rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .7rem; }
.footer-col ul a {
  font-family: var(--ff-body);
  font-size: .87rem;
  color: rgba(255,255,255,.45);
  transition: color .2s;
}
.footer-col ul a:hover { color: var(--gilt); }
.footer-newsletter { margin-top: 1.4rem; }
.footer-newsletter h4 {
  font-family: var(--ff-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: .8rem;
}
.newsletter-form { display: flex; }
.newsletter-input {
  flex: 1;
  padding: .7rem 1rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-family: var(--ff-body);
  font-size: .85rem;
  color: #fff;
  outline: none;
  transition: border-color .25s;
}
.newsletter-input::placeholder { color: rgba(255,255,255,.3); }
.newsletter-input:focus { border-color: var(--gold); }
.newsletter-btn {
  background: linear-gradient(135deg, var(--gold), var(--gilt));
  color: var(--ink);
  border: none;
  padding: .7rem 1.2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 700;
  font-size: .85rem;
  transition: opacity .2s;
}
.newsletter-btn:hover { opacity: .9; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-family: var(--ff-body);
  font-size: .8rem;
  color: rgba(255,255,255,.25);
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a {
  font-family: var(--ff-body);
  font-size: .8rem;
  color: rgba(255,255,255,.25);
  transition: color .2s;
}
.footer-legal a:hover { color: var(--gold); }

/* ── HERO (index only) ─────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #0B1A2C 0%, #122840 45%, #1A3C30 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero-orb-1 {
  position: absolute; top: 20%; right: 8%;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,150,58,.18), transparent 70%);
  filter: blur(40px); pointer-events: none;
}
.hero-orb-2 {
  position: absolute; bottom: 30%; left: 5%;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,107,87,.2), transparent 70%);
  filter: blur(40px); pointer-events: none;
}
.hero-inner {
  max-width: 1280px; margin: 0 auto; padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative; z-index: 2;
}
.hero-content h1 {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: #fff;
  line-height: 1.15;
  margin: .5rem 0 1.4rem;
}
.hero-content h1 span { color: var(--gilt); }
.hero-content p {
  font-family: var(--ff-body);
  font-size: 1.1rem;
  color: rgba(255,255,255,.68);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 2.2rem;
}
.hero-arabic {
  font-family: var(--ff-arabic);
  color: var(--gold);
  font-size: 2.8rem;
  line-height: 1.4;
  direction: rtl;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.8rem; }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; }
.hero-stat {
  text-align: center;
  padding: 0 1.5rem;
  border-right: 1px solid rgba(255,255,255,.1);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-val {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  color: var(--gilt);
  font-weight: 700;
  line-height: 1;
}
.hero-stat-lbl {
  font-family: var(--ff-body);
  font-size: .7rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-top: .3rem;
}
/* Hero visual card */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-card {
  width: 340px;
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid rgba(201,150,58,.25);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
}
.hero-card-arabic {
  font-family: var(--ff-arabic);
  color: var(--gold);
  font-size: 3.2rem;
  line-height: 1.5;
  direction: rtl;
  margin-bottom: 1.2rem;
}
.hero-card-verse {
  font-family: var(--ff-display);
  color: rgba(255,255,255,.6);
  font-style: italic;
  font-size: .9rem;
  line-height: 1.7;
}
.hero-float-1 {
  position: absolute; top: -16px; right: -20px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: .6rem 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--ff-body); font-size: .78rem; font-weight: 600; color: var(--ink);
  white-space: nowrap;
}
.hero-float-2 {
  position: absolute; bottom: -16px; left: -20px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: .6rem 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  font-family: var(--ff-body); font-size: .78rem; font-weight: 600; color: var(--ink);
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: pulse-gold 2s infinite; }
.hero-arc {
  position: absolute; bottom: -2px; left: 0; right: 0; height: 80px; overflow: hidden;
}
.hero-arc svg { display: block; width: 100%; height: 100%; }

/* ── WHY US SECTION ────────────────────────────────────── */
.section { padding: 6rem 0; }
.section-alt { background: #F3EFE6; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section-head { text-align: center; margin-bottom: 3.5rem; }
.section-head h2 {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ink);
  margin: .6rem 0 1rem;
}
.section-head p {
  font-family: var(--ff-body);
  color: var(--ink-60);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}
.section-head .gold-line { margin-top: .2rem; }

/* Feature cards */
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  text-align: center;
  border: 1px solid rgba(201,150,58,.1);
  box-shadow: var(--shadow-card);
  transition: box-shadow .3s, transform .3s;
}
.feature-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-5px); }
.feature-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: .7rem;
}
.feature-card p {
  font-family: var(--ff-body);
  font-size: .88rem;
  color: var(--ink-60);
  line-height: 1.7;
}

/* Course Cards */
.courses-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.course-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(201,150,58,.12);
  box-shadow: var(--shadow-card);
  transition: box-shadow .3s, transform .3s;
}
.course-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-5px); }
.course-card-top { height: 5px; }
.course-card-body { padding: 1.8rem; }
.course-card h3 {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  color: var(--ink);
  margin: .8rem 0 .5rem;
}
.course-card p {
  font-family: var(--ff-body);
  font-size: .88rem;
  color: var(--ink-60);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.course-meta {
  display: flex;
  gap: 1rem;
  font-family: var(--ff-body);
  font-size: .78rem;
  color: var(--ink-40);
  margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.8rem; }
.testimonial-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(6px);
}
.testimonial-card .quote {
  font-family: var(--ff-body);
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  line-height: 1.8;
  font-style: italic;
  margin: 1rem 0 1.4rem;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-info h4 {
  font-family: var(--ff-body);
  font-weight: 600;
  color: #fff;
  font-size: .9rem;
}
.testimonial-info span {
  font-family: var(--ff-body);
  color: rgba(255,255,255,.4);
  font-size: .78rem;
}

/* Teacher Cards */
.teachers-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.8rem; }
.teacher-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(201,150,58,.12);
  box-shadow: var(--shadow-card);
  transition: box-shadow .3s, transform .3s;
}
.teacher-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-5px); }
.teacher-photo {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.teacher-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 2.5px solid rgba(201,150,58,.4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-arabic);
  font-size: 2.5rem;
  color: var(--gold);
  transition: transform .3s;
}
.teacher-card:hover .teacher-avatar { transform: scale(1.08); }
.teacher-overlay {
  position: absolute; inset: 0;
  background: rgba(11,26,44,.82);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}
.teacher-card:hover .teacher-overlay { opacity: 1; }
.teacher-info { padding: 1.4rem; }
.teacher-info h3 {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: .3rem;
}
.teacher-info .role {
  font-family: var(--ff-body);
  font-size: .72rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: .6rem;
}
.teacher-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }

/* Blog Cards */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.blog-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(201,150,58,.12);
  box-shadow: var(--shadow-card);
  transition: box-shadow .3s, transform .3s;
}
.blog-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-5px); }
.blog-thumb {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-arabic);
  font-size: 5rem;
  color: rgba(255,255,255,.25);
  overflow: hidden;
}
.blog-body { padding: 1.6rem; }
.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--ff-body);
  font-size: .76rem;
  color: var(--ink-40);
  margin-top: .8rem;
}
.blog-body h3 {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  color: var(--ink);
  line-height: 1.4;
  margin: .6rem 0;
}
.blog-body p {
  font-family: var(--ff-body);
  font-size: .87rem;
  color: var(--ink-60);
  line-height: 1.7;
}
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--ff-body);
  font-size: .82rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: 1rem;
  transition: gap .2s;
}
.blog-read-more:hover { gap: .7rem; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.pricing-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  border: 1px solid rgba(201,150,58,.15);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.pricing-card.popular {
  background: linear-gradient(160deg, var(--ink) 0%, #122840 100%);
  border-color: transparent;
  box-shadow: 0 16px 60px rgba(11,26,44,.3);
  transform: scale(1.03);
}
.popular-badge {
  position: absolute; top: 20px; right: -30px;
  background: linear-gradient(135deg, var(--gold), var(--gilt));
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .3rem 2.8rem;
  transform: rotate(45deg);
}
.pricing-tier {
  font-family: var(--ff-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: .5rem;
}
.pricing-card.popular .pricing-tier { color: rgba(255,255,255,.5); }
.pricing-price {
  font-family: var(--ff-display);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin: .3rem 0;
}
.pricing-card.popular .pricing-price { color: #fff; }
.pricing-price span { font-size: 1.2rem; color: var(--ink-40); }
.pricing-card.popular .pricing-price span { color: rgba(255,255,255,.4); }
.pricing-period {
  font-family: var(--ff-body);
  font-size: .85rem;
  color: var(--ink-40);
  margin-bottom: 1.6rem;
}
.pricing-card.popular .pricing-period { color: rgba(255,255,255,.45); }
.pricing-divider { height: 1px; background: rgba(201,150,58,.2); margin: 1.2rem 0 1.6rem; }
.pricing-card.popular .pricing-divider { background: rgba(255,255,255,.1); }
.pricing-list { list-style: none; margin-bottom: 2rem; }
.pricing-list li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-family: var(--ff-body); font-size: .88rem;
  color: var(--ink-70, rgba(11,26,44,.7));
  padding: .4rem 0;
}
.pricing-card.popular .pricing-list li { color: rgba(255,255,255,.72); }
.pricing-check { color: var(--gold); font-size: 1rem; flex-shrink: 0; margin-top: .05rem; }

/* Stats Bar */
.stats-bar {
  background: linear-gradient(135deg, var(--ink), #122840);
  padding: 3.5rem 0;
}
.stats-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 1rem;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat-item:last-child { border-right: none; }
.stat-value {
  font-family: var(--ff-display);
  font-size: 2.8rem;
  color: var(--gilt);
  font-weight: 700;
  line-height: 1;
}
.stat-label {
  font-family: var(--ff-body);
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-top: .4rem;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gilt) 100%);
  padding: 4.5rem 2rem;
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--ink);
  margin-bottom: .8rem;
}
.cta-banner p {
  font-family: var(--ff-body);
  color: rgba(11,26,44,.7);
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
}
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Timeline */
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 6px; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-dot {
  position: absolute;
  left: -2.5rem; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gilt));
  border: 2px solid var(--cream);
}
.timeline-year {
  font-family: var(--ff-body);
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .3rem;
}
.timeline-item h3 {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: .4rem;
}
.timeline-item p {
  font-family: var(--ff-body);
  font-size: .88rem;
  color: var(--ink-60);
  line-height: 1.7;
}

/* About Page Specifics */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-text h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--ink);
  margin: .8rem 0 1.2rem;
}
.about-text p {
  font-family: var(--ff-body);
  font-size: .95rem;
  color: var(--ink-60);
  line-height: 1.8;
  margin-bottom: 1.1rem;
}
.about-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 440px;
  display: flex; align-items: center; justify-content: center;
}
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.value-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(201,150,58,.12);
  box-shadow: var(--shadow-card);
  transition: box-shadow .3s, transform .3s;
}
.value-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.value-arabic {
  font-family: var(--ff-arabic);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: .8rem;
}
.value-card h3 {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: .5rem;
}
.value-card p {
  font-family: var(--ff-body);
  font-size: .88rem;
  color: var(--ink-60);
  line-height: 1.7;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; }
.contact-info-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.4rem;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(201,150,58,.12);
  box-shadow: var(--shadow-card);
  margin-bottom: 1rem;
}
.contact-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gold-10);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; color: var(--gold); }
.contact-info-item h4 {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  margin-bottom: .25rem;
}
.contact-info-item p, .contact-info-item a {
  font-family: var(--ff-body);
  font-size: .87rem;
  color: var(--ink-60);
  line-height: 1.6;
  transition: color .2s;
}
.contact-info-item a:hover { color: var(--gold); }

/* Registration Steps */
.reg-steps {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-bottom: 3rem;
}
.reg-step {
  display: flex; align-items: center;
}
.reg-step-circle {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-body);
  font-size: .9rem;
  font-weight: 700;
  border: 2px solid rgba(201,150,58,.25);
  color: var(--ink-40);
  transition: all .3s;
}
.reg-step.active .reg-step-circle {
  background: linear-gradient(135deg, var(--gold), var(--gilt));
  color: var(--ink);
  border-color: transparent;
}
.reg-step.done .reg-step-circle {
  background: var(--sage);
  color: #fff;
  border-color: transparent;
}
.reg-step-label {
  font-family: var(--ff-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: .4rem;
  color: var(--ink-40);
}
.reg-step.active .reg-step-label { color: var(--gold); }
.reg-step-wrapper { display: flex; flex-direction: column; align-items: center; gap: 0; }
.reg-connector { width: 60px; height: 2px; background: rgba(201,150,58,.2); margin: 0 .3rem; margin-bottom: 1.2rem; }

/* Search */
.search-hero {
  background: linear-gradient(160deg, var(--ink) 0%, #122840 100%);
  padding: 120px 0 60px;
  text-align: center;
}
.search-box-wrap { max-width: 680px; margin: 0 auto; position: relative; }
.search-input-big {
  width: 100%;
  padding: 1.1rem 4rem 1.1rem 1.5rem;
  border-radius: var(--radius-md);
  border: 2px solid rgba(201,150,58,.25);
  background: rgba(255,255,255,.07);
  font-family: var(--ff-body);
  font-size: 1.1rem;
  color: #fff;
  outline: none;
  transition: border-color .3s, background .3s;
  backdrop-filter: blur(6px);
}
.search-input-big::placeholder { color: rgba(255,255,255,.35); }
.search-input-big:focus { border-color: var(--gold); background: rgba(255,255,255,.1); }
.search-icon-btn {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--gold);
}
.search-icon-btn svg { width: 22px; height: 22px; }
.search-tags { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.2rem; }
.search-tag {
  font-family: var(--ff-body);
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(201,150,58,.2);
  border-radius: 30px;
  padding: .35rem .9rem;
  cursor: pointer;
  transition: all .25s;
}
.search-tag:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.6rem;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(201,150,58,.12);
  cursor: pointer;
  transition: box-shadow .25s, transform .25s;
  margin-bottom: .75rem;
  text-decoration: none;
}
.search-result-item:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.search-result-title {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  color: var(--ink);
}
.search-result-type {
  font-family: var(--ff-body);
  font-size: .7rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-top: .2rem;
}
.search-result-arrow svg { width: 20px; height: 20px; color: var(--gold); }

/* Blog Single */
.blog-single-content { max-width: 760px; margin: 0 auto; }
.blog-single-content h2 { font-family: var(--ff-display); font-size: 1.8rem; color: var(--ink); margin: 2rem 0 .8rem; }
.blog-single-content h3 { font-family: var(--ff-display); font-size: 1.35rem; color: var(--ink); margin: 1.5rem 0 .6rem; }
.blog-single-content p { font-family: var(--ff-body); font-size: 1rem; color: var(--ink-70,rgba(11,26,44,.7)); line-height: 1.85; margin-bottom: 1.2rem; }
.blog-single-content ul, .blog-single-content ol { margin: 1rem 0 1.5rem 1.5rem; }
.blog-single-content li { font-family: var(--ff-body); font-size: .97rem; color: var(--ink-70,rgba(11,26,44,.7)); line-height: 1.8; margin-bottom: .4rem; }
.blog-single-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  background: rgba(201,150,58,.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
}

/* ── UTILITIES ─────────────────────────────────────────── */
.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.flex-col    { flex-direction: column; }
.gap-1  { gap: .4rem; }
.gap-2  { gap: .75rem; }
.gap-3  { gap: 1rem; }
.gap-4  { gap: 1.5rem; }
.gap-6  { gap: 2rem; }
.mt-2   { margin-top: .75rem; }
.mt-4   { margin-top: 1.5rem; }
.mt-6   { margin-top: 2rem; }
.mb-2   { margin-bottom: .75rem; }
.mb-4   { margin-bottom: 1.5rem; }
.mb-6   { margin-bottom: 2rem; }
.mb-10  { margin-bottom: 3rem; }
.text-center { text-align: center; }
.hidden      { display: none !important; }
.w-full      { width: 100%; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }

/* Alert/Notice */
.alert {
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  font-family: var(--ff-body);
  font-size: .9rem;
  margin-top: 1rem;
}
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #16a34a; }
.alert-error   { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; }

/* Filter Bar */
.filter-bar { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }
.filter-btn {
  font-family: var(--ff-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .5rem 1.2rem;
  border-radius: 30px;
  border: 1.5px solid rgba(201,150,58,.25);
  background: transparent;
  color: var(--ink-60);
  cursor: pointer;
  transition: all .25s;
}
.filter-btn:hover,
.filter-btn.active { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .courses-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .teachers-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .pricing-card.popular { transform: none; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; align-items: center; }
  .courses-grid { grid-template-columns: 1fr; }
  .teachers-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { grid-template-columns: repeat(3,1fr); }
  .section { padding: 4rem 0; }
  .values-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-stats { gap: 0; }
  .hero-stat { padding: 0 .8rem; }
  .hero-stat-val { font-size: 1.6rem; }
  .teachers-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
}

/* ════════════════════════════════════════════
   DROPDOWN NAVIGATION — Learning Plans & Services
   ════════════════════════════════════════════ */

.nav-links .has-dropdown {
  position: relative;
}

.nav-links .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  cursor: pointer;
}

.nav-links .dropdown-toggle svg.chevron {
  width: 12px; height: 12px;
  stroke: currentColor;
  transition: transform .3s;
  flex-shrink: 0;
}

.has-dropdown:hover .chevron,
.has-dropdown.open .chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 60px rgba(11,26,44,.16), 0 0 0 1px rgba(201,150,58,.1);
  padding: .6rem;
  min-width: 240px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 500;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Arrow tip */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 12px;
  background: #fff;
  border-top: 1px solid rgba(201,150,58,.12);
  border-left: 1px solid rgba(201,150,58,.12);
  transform: translateX(-50%) rotate(45deg);
}

.dropdown-section-label {
  font-family: var(--ff-body);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-40);
  padding: .4rem .85rem .3rem;
  margin-top: .3rem;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background .2s;
  cursor: pointer;
}

.dropdown-item:hover {
  background: rgba(201,150,58,.07);
}

.dropdown-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: var(--ff-arabic);
  font-size: 1.1rem;
}

.dropdown-item-text strong {
  display: block;
  font-family: var(--ff-body);
  font-size: .83rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.dropdown-item-text span {
  font-family: var(--ff-body);
  font-size: .73rem;
  color: var(--ink-40);
  line-height: 1.3;
}

.dropdown-divider {
  height: 1px;
  background: rgba(201,150,58,.12);
  margin: .4rem .5rem;
}

/* Wide dropdown for Services */
.dropdown-menu.wide {
  min-width: 520px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  left: auto;
  right: 0;
  transform: translateY(8px);
}

.has-dropdown:hover .dropdown-menu.wide,
.has-dropdown.open .dropdown-menu.wide {
  transform: translateY(0);
}

.dropdown-menu.wide::before {
  left: auto;
  right: 40px;
  transform: rotate(45deg);
}

.dropdown-col-label {
  font-family: var(--ff-body);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  padding: .75rem .85rem .3rem;
  grid-column: 1 / -1;
  border-bottom: 1px solid rgba(201,150,58,.1);
  margin-bottom: .3rem;
}

/* Mobile dropdown */
.mobile-dropdown-section {
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--ff-body);
  font-size: .9rem;
  color: rgba(255,255,255,.75);
  padding: .9rem 2rem;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: color .2s;
}
.mobile-dropdown-toggle:hover { color: var(--gold); }
.mobile-dropdown-toggle svg { width: 14px; height: 14px; stroke: currentColor; transition: transform .3s; }
.mobile-dropdown-toggle.open svg { transform: rotate(180deg); }
.mobile-sub-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  background: rgba(255,255,255,.03);
}
.mobile-sub-menu.open { max-height: 600px; }
.mobile-sub-menu a {
  display: block;
  font-family: var(--ff-body);
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  padding: .65rem 2rem .65rem 3rem;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: color .2s, padding-left .2s;
}
.mobile-sub-menu a:hover { color: var(--gold); padding-left: 3.4rem; }

/* ════════════════════════════════════════════
   COURSE SINGLE PAGE
   ════════════════════════════════════════════ */
.course-hero {
  background: linear-gradient(160deg, #0B1A2C 0%, #122840 55%, #1A3C30 100%);
  padding: 130px 0 80px;
  position: relative;
  overflow: hidden;
}
.course-hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}
.course-hero-badge { display: inline-flex; gap: .5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.course-hero h1 { font-family: var(--ff-display); font-size: clamp(2rem,4.5vw,3.4rem); color: #fff; line-height: 1.15; margin-bottom: 1rem; }
.course-hero p { font-family: var(--ff-body); color: rgba(255,255,255,.65); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.5rem; }
.course-meta-bar {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,.08);
  margin-bottom: 1.8rem;
}
.course-meta-item { display: flex; align-items: center; gap: .5rem; font-family: var(--ff-body); font-size: .82rem; color: rgba(255,255,255,.65); }
.course-meta-item svg { width: 15px; height: 15px; color: var(--gold); }

/* Enrollment card */
.enroll-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.enroll-card-thumb {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
}
.enroll-card-body { padding: 1.6rem; }
.enroll-price { font-family: var(--ff-display); font-size: 2.4rem; font-weight: 700; color: var(--ink); }
.enroll-price span { font-size: 1rem; color: var(--ink-40); }
.enroll-period { font-family: var(--ff-body); font-size: .82rem; color: var(--ink-40); margin-bottom: 1rem; }
.enroll-features { list-style: none; margin-bottom: 1.4rem; display: grid; gap: .5rem; }
.enroll-features li { font-family: var(--ff-body); font-size: .84rem; color: var(--ink-60); display: flex; gap: .5rem; }
.enroll-features li span { color: var(--gold); flex-shrink: 0; }

/* Curriculum accordion */
.curriculum-item {
  border: 1px solid rgba(201,150,58,.12);
  border-radius: var(--radius-md);
  margin-bottom: .6rem;
  overflow: hidden;
}
.curriculum-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.4rem;
  background: #fff;
  cursor: pointer;
  transition: background .2s;
}
.curriculum-header:hover { background: rgba(201,150,58,.04); }
.curriculum-header h4 { font-family: var(--ff-display); font-size: 1.05rem; color: var(--ink); }
.curriculum-header span { font-family: var(--ff-body); font-size: .78rem; color: var(--ink-40); }
.curriculum-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; background: #fefdfb; }
.curriculum-body.open { max-height: 400px; }
.curriculum-body ul { list-style: none; padding: .8rem 1.4rem 1.2rem; display: grid; gap: .5rem; }
.curriculum-body li { font-family: var(--ff-body); font-size: .86rem; color: var(--ink-60); display: flex; gap: .6rem; align-items: flex-start; }
.lesson-icon { color: var(--gold); flex-shrink: 0; margin-top: .1rem; }

/* Review Stars */
.review-bar { display: flex; align-items: center; gap: .8rem; margin-bottom: .5rem; }
.bar-fill { height: 8px; border-radius: 4px; background: linear-gradient(90deg,var(--gold),var(--gilt)); }
.bar-bg { flex: 1; height: 8px; border-radius: 4px; background: rgba(11,26,44,.08); overflow: hidden; }

/* ════════════════════════════════════════════
   LEARNING PLAN PAGES (Namaz, Kalma, Duas)
   ════════════════════════════════════════════ */
.plan-hero {
  min-height: 60vh;
  background: linear-gradient(160deg, #0B1A2C 0%, #122840 50%, #1A3C30 100%);
  display: flex; align-items: center;
  padding-top: 90px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.plan-hero-arabic {
  font-family: var(--ff-arabic);
  font-size: clamp(4rem, 10vw, 8rem);
  color: rgba(201,150,58,.18);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  direction: rtl;
}
.step-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  border: 1px solid rgba(201,150,58,.12);
  box-shadow: var(--shadow-card);
  transition: box-shadow .3s, transform .3s;
  position: relative;
}
.step-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.step-number {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gilt));
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.arabic-text-block {
  background: linear-gradient(135deg, #0B1A2C, #122840);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  border: 1px solid rgba(201,150,58,.2);
  margin: 1.5rem 0;
}
.arabic-text-block .arabic-main {
  font-family: var(--ff-arabic);
  color: var(--gilt);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  direction: rtl;
  line-height: 2;
  margin-bottom: .8rem;
}
.arabic-text-block .transliteration {
  font-family: var(--ff-body);
  color: rgba(255,255,255,.5);
  font-style: italic;
  font-size: .9rem;
  margin-bottom: .5rem;
}
.arabic-text-block .translation {
  font-family: var(--ff-body);
  color: rgba(255,255,255,.65);
  font-size: .9rem;
}

/* ════════════════════════════════════════════
   CAREER PAGE
   ════════════════════════════════════════════ */
.job-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.8rem 2rem;
  border: 1px solid rgba(201,150,58,.12);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  transition: box-shadow .3s, transform .3s;
  flex-wrap: wrap;
}
.job-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.job-info h3 { font-family: var(--ff-display); font-size: 1.35rem; color: var(--ink); margin-bottom: .4rem; }
.job-meta { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: .6rem; }
.job-tag { font-family: var(--ff-body); font-size: .72rem; font-weight: 600; letter-spacing: .07em; padding: .25rem .7rem; border-radius: 30px; background: rgba(201,150,58,.08); color: var(--gold); }
.job-tag.remote { background: rgba(46,107,87,.1); color: var(--sage); }
.job-tag.full { background: rgba(11,26,44,.08); color: var(--ink); }
.perk-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  text-align: center;
  border: 1px solid rgba(201,150,58,.1);
  box-shadow: var(--shadow-card);
}
.perk-icon { font-size: 2.2rem; margin-bottom: .8rem; }
.perk-card h3 { font-family: var(--ff-display); font-size: 1.15rem; color: var(--ink); margin-bottom: .4rem; }
.perk-card p { font-family: var(--ff-body); font-size: .85rem; color: var(--ink-60); line-height: 1.6; }

/* ════════════════════════════════════════════
   PRICING GRID PAGE
   ════════════════════════════════════════════ */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 2rem;
}
.pricing-table th {
  font-family: var(--ff-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 1.2rem 1.4rem;
  text-align: left;
  border-bottom: 1px solid rgba(201,150,58,.12);
}
.pricing-table th:first-child { color: var(--ink-40); }
.pricing-table th:not(:first-child) { text-align: center; }
.pricing-table td {
  padding: 1rem 1.4rem;
  border-bottom: 1px solid rgba(11,26,44,.05);
  font-family: var(--ff-body);
  font-size: .87rem;
  color: var(--ink-60);
}
.pricing-table td:not(:first-child) { text-align: center; }
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:hover td { background: rgba(201,150,58,.03); }
.pricing-table td:first-child { color: var(--ink); font-weight: 500; }
.check-yes { color: var(--sage); font-size: 1.1rem; }
.check-no  { color: rgba(11,26,44,.2); font-size: 1.1rem; }
.plan-header-cell {
  padding: 1.4rem 1.4rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(201,150,58,.12);
}
.plan-header-cell.featured { background: linear-gradient(160deg, #0B1A2C, #122840); }
.plan-header-cell .plan-name { font-family: var(--ff-body); font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .3rem; }
.plan-header-cell.featured .plan-name { color: rgba(255,255,255,.5); }
.plan-header-cell .plan-price { font-family: var(--ff-display); font-size: 2rem; font-weight: 700; }
.plan-header-cell.featured .plan-price { color: #fff; }
.plan-header-cell .plan-price sub { font-size: .9rem; }

/* Comparison toggle tabs */
.tab-bar { display: flex; background: rgba(11,26,44,.06); border-radius: 30px; padding: .3rem; margin-bottom: 2.5rem; width: fit-content; }
.tab-btn { font-family: var(--ff-body); font-size: .82rem; font-weight: 600; padding: .55rem 1.4rem; border-radius: 30px; border: none; background: none; color: var(--ink-60); cursor: pointer; transition: all .25s; }
.tab-btn.active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(11,26,44,.1); }

/* ════════════════════════════════════════════
   GLOBAL SERVICES (Kids USA / UK / Gulf pages)
   ════════════════════════════════════════════ */
.geo-hero {
  background: linear-gradient(160deg, #0B1A2C 0%, #122840 50%, #1A3C30 100%);
  padding: 130px 0 80px;
  position: relative;
  overflow: hidden;
}
.geo-hero-inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 2; }
.geo-flag { font-size: 4rem; margin-bottom: .8rem; display: block; }
.geo-hero h1 { font-family: var(--ff-display); font-size: clamp(2rem, 4.5vw, 3.4rem); color: #fff; line-height: 1.15; margin-bottom: 1rem; }
.geo-hero h1 em { color: var(--gilt); font-style: normal; }
.geo-hero p { font-family: var(--ff-body); color: rgba(255,255,255,.65); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.8rem; max-width: 500px; }
.trust-badges { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.trust-badge { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-md); padding: .75rem 1.1rem; display: flex; align-items: center; gap: .5rem; font-family: var(--ff-body); font-size: .8rem; color: rgba(255,255,255,.7); white-space: nowrap; }
.trust-badge svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; }
.geo-visual { position: relative; }
.geo-map-card { background: rgba(255,255,255,.06); border: 1px solid rgba(201,150,58,.2); border-radius: var(--radius-xl); padding: 2.5rem; backdrop-filter: blur(8px); }
.city-pin { display: flex; align-items: center; gap: .75rem; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.city-pin:last-child { border-bottom: none; }
.pin-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); animation: pulse-gold 2s infinite; flex-shrink: 0; }
.city-pin-name { font-family: var(--ff-body); font-weight: 600; color: #fff; font-size: .9rem; flex: 1; }
.city-pin-count { font-family: var(--ff-body); font-size: .78rem; color: rgba(255,255,255,.45); }
.local-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.local-feature { background: #fff; border-radius: var(--radius-lg); padding: 1.6rem; border: 1px solid rgba(201,150,58,.1); box-shadow: var(--shadow-card); transition: box-shadow .3s, transform .3s; }
.local-feature:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.local-feature-icon { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: .9rem; }
.local-feature h3 { font-family: var(--ff-display); font-size: 1.15rem; color: var(--ink); margin-bottom: .4rem; }
.local-feature p { font-family: var(--ff-body); font-size: .85rem; color: var(--ink-60); line-height: 1.65; }
.testimonial-geo { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg); padding: 1.6rem; }
.timezone-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.timezone-card { background: #fff; border-radius: var(--radius-md); padding: 1.2rem; text-align: center; border: 1px solid rgba(201,150,58,.1); }
.timezone-card .tz-time { font-family: var(--ff-display); font-size: 1.8rem; color: var(--gold); font-weight: 700; }
.timezone-card .tz-city { font-family: var(--ff-body); font-size: .78rem; color: var(--ink-40); text-transform: uppercase; letter-spacing: .12em; margin-top: .2rem; }

/* ════════════════════════════════════════════
   RESPONSIVE ADDITIONS
   ════════════════════════════════════════════ */
@media (max-width: 900px) {
  .course-hero-grid { grid-template-columns: 1fr; }
  .enroll-card { max-width: 400px; }
  .geo-hero-inner { grid-template-columns: 1fr; }
  .local-features { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .dropdown-menu, .dropdown-menu.wide { display: none; }
  .plan-hero-arabic { font-size: 4rem; }
}

/* ─── REGISTRATION STEPS ─────────────────── */
.reg-steps { display:flex; align-items:center; justify-content:center; gap:0; margin-bottom:3rem; }
.reg-step-wrapper { display:flex; flex-direction:column; align-items:center; gap:.5rem; }
.reg-step-circle { width:42px; height:42px; border-radius:50%; background:rgba(11,26,44,.08); border:2px solid rgba(201,150,58,.2); display:flex; align-items:center; justify-content:center; font-family:var(--ff-body); font-weight:700; color:var(--ink-40); font-size:.95rem; transition:all .3s; }
.reg-step.active .reg-step-circle { background:linear-gradient(135deg,var(--gold),var(--gilt)); border-color:var(--gold); color:var(--ink); }
.reg-step-label { font-family:var(--ff-body); font-size:.72rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-40); }
.reg-step.active .reg-step-label { color:var(--gold); }
.reg-connector { flex:1; height:2px; background:rgba(201,150,58,.15); min-width:60px; max-width:100px; }
.grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
@media(max-width:480px){ .grid-2 { grid-template-columns:1fr; } }

/* ─── MISSING UTILITIES ──────────────────── */
.mt-6 { margin-top:3rem; }
.text-center { text-align:center; }
.badge-ink { background:rgba(11,26,44,.08); color:var(--ink); }
.badge-sage { background:rgba(46,107,87,.1); color:var(--sage); }
.flex { display:flex; }
.gap-3 { gap:.75rem; }
.alert { padding:1rem 1.4rem; border-radius:var(--radius-md); font-family:var(--ff-body); font-size:.9rem; line-height:1.6; }
.alert-success { background:rgba(46,107,87,.1); border:1px solid rgba(46,107,87,.3); color:#1e5c41; }
.hidden { display:none; }

/* ══════════════════════════════════════════════════════════
   DROPDOWN NAVIGATION — v2
   ══════════════════════════════════════════════════════════ */

/* Dropdown parent item */
.nav-links .has-dropdown {
  position: relative;
}

/* Trigger button (looks like a nav link) */
.nav-links .dropdown-trigger {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-family: var(--ff-body);
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  padding: .5rem .85rem;
  border-radius: 4px;
  transition: color .2s, background .2s;
  letter-spacing: .02em;
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border: none;
}
.nav-links .dropdown-trigger:hover,
.nav-links .has-dropdown.open .dropdown-trigger { color: var(--gold); }
.nav-links .dropdown-trigger .chevron {
  width: 12px; height: 12px;
  transition: transform .25s;
  stroke: currentColor;
  flex-shrink: 0;
}
.nav-links .has-dropdown.open .chevron { transform: rotate(180deg); }

/* Dropdown panel */
.dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(11,26,44,.97);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(201,150,58,.15);
  border-radius: var(--radius-md);
  min-width: 260px;
  padding: .6rem 0;
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity .25s, transform .25s;
}
.nav-links .has-dropdown.open .dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Each item inside dropdown */
.dropdown-panel a {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .7rem 1.4rem;
  font-family: var(--ff-body);
  font-size: .84rem;
  color: rgba(255,255,255,.72) !important;
  transition: color .2s, background .2s, padding-left .2s;
  border-radius: 0;
  white-space: normal;
  line-height: 1.35;
}
.dropdown-panel a:hover {
  color: var(--gold) !important;
  background: rgba(201,150,58,.07);
  padding-left: 1.7rem;
}
.dropdown-panel a .dp-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(201,150,58,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--ff-arabic);
  color: var(--gold);
  font-size: 1rem;
  transition: background .2s;
}
.dropdown-panel a:hover .dp-icon { background: rgba(201,150,58,.22); }
.dropdown-panel a .dp-text { display: flex; flex-direction: column; }
.dropdown-panel a .dp-title { font-weight: 600; font-size: .84rem; }
.dropdown-panel a .dp-sub { font-size: .72rem; color: rgba(255,255,255,.4); margin-top: .1rem; }
.dropdown-panel a:hover .dp-sub { color: rgba(201,150,58,.6); }

/* Divider inside dropdown */
.dropdown-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.07);
  margin: .4rem 0;
}

/* Wide dropdown (Global Services) */
.dropdown-panel.wide {
  min-width: 320px;
}

/* Mobile dropdown links */
.mobile-dropdown-section {
  border-top: 1px solid rgba(201,150,58,.15);
}
.mobile-dropdown-section .mobile-section-label {
  font-family: var(--ff-body);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  padding: .9rem 2rem .3rem;
}
.mobile-dropdown-section a {
  padding-left: 2.8rem !important;
  font-size: .85rem !important;
  color: rgba(255,255,255,.6) !important;
}

/* ══════════════════════════════════════════════════════════
   REG STEPS (register.html)
   ══════════════════════════════════════════════════════════ */
.reg-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
}
.reg-step { text-align: center; }
.reg-step-wrapper { display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.reg-step-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(201,150,58,.15);
  border: 2px solid rgba(201,150,58,.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-body);
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink-40);
  transition: all .3s;
}
.reg-step.active .reg-step-circle {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(201,150,58,.4);
}
.reg-step-label {
  font-family: var(--ff-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-40);
}
.reg-step.active .reg-step-label { color: var(--gold); }
.reg-connector {
  flex: 1;
  height: 2px;
  background: rgba(201,150,58,.15);
  min-width: 60px;
  max-width: 100px;
}

/* ══════════════════════════════════════════════════════════
   ALERT
   ══════════════════════════════════════════════════════════ */
.alert { padding: 1rem 1.4rem; border-radius: var(--radius-md); font-family: var(--ff-body); font-size: .92rem; line-height: 1.6; }
.alert-success { background: #D1FAE5; color: #065F46; border: 1px solid #6EE7B7; }
.hidden { display: none; }

/* ══════════════════════════════════════════════════════════
   SEARCH HERO
   ══════════════════════════════════════════════════════════ */
.search-hero {
  padding: 130px 2rem 80px;
  text-align: center;
}
.search-box-wrap {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 600px;
  margin: 0 auto 1.4rem;
}
.search-input-big {
  width: 100%;
  padding: 1.05rem 3.5rem 1.05rem 1.6rem;
  border: 2px solid rgba(201,150,58,.3);
  border-radius: 50px;
  background: rgba(255,255,255,.07);
  font-family: var(--ff-body);
  font-size: 1rem;
  color: #fff;
  outline: none;
  transition: border-color .25s, background .25s;
}
.search-input-big::placeholder { color: rgba(255,255,255,.4); }
.search-input-big:focus { border-color: var(--gold); background: rgba(255,255,255,.1); }
.search-icon-btn {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  color: var(--gold);
  padding: .4rem;
}
.search-icon-btn svg { width: 20px; height: 20px; }
.search-tags { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.search-tag {
  font-family: var(--ff-body);
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(201,150,58,.2);
  border-radius: 20px;
  padding: .3rem .9rem;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.search-tag:hover { background: rgba(201,150,58,.2); color: var(--gold); }

/* Search result card */
.search-result-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  background: #fff;
  border: 1px solid rgba(201,150,58,.12);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  margin-bottom: .8rem;
  transition: box-shadow .2s;
}
.search-result-card:hover { box-shadow: var(--shadow-card-hover); }
.search-result-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(201,150,58,.1);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-arabic);
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.search-result-type { font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: .2rem; }
.search-result-title { font-family: var(--ff-display); font-size: 1.05rem; color: var(--ink); }
.search-result-desc { font-family: var(--ff-body); font-size: .83rem; color: var(--ink-60); margin-top: .2rem; }

/* ══════════════════════════════════════════════════════════
   COURSE SINGLE PAGE
   ══════════════════════════════════════════════════════════ */
.course-hero {
  background: linear-gradient(160deg, var(--ink), #122840 55%, #1A3C30);
  padding: 130px 0 0;
  position: relative;
}
.course-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem 0;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
  padding-bottom: 80px;
}
.course-sticky-card {
  position: sticky;
  top: 90px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,150,58,.2);
  border-radius: var(--radius-xl);
  padding: 2rem;
  backdrop-filter: blur(10px);
}

/* Curriculum list */
.curriculum-module {
  background: #fff;
  border: 1px solid rgba(201,150,58,.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: .75rem;
}
.curriculum-module-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.4rem;
  cursor: pointer;
  background: #fff;
  transition: background .2s;
}
.curriculum-module-header:hover { background: rgba(201,150,58,.04); }
.curriculum-module-title { font-family: var(--ff-body); font-weight: 600; font-size: .95rem; color: var(--ink); }
.curriculum-module-meta { font-family: var(--ff-body); font-size: .78rem; color: var(--ink-40); }
.curriculum-lessons { display: none; }
.curriculum-module.open .curriculum-lessons { display: block; }
.curriculum-lesson {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem 1.4rem;
  border-top: 1px solid rgba(11,26,44,.05);
  font-family: var(--ff-body);
  font-size: .87rem;
  color: var(--ink-60);
}
.curriculum-lesson svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--gold); }

/* ══════════════════════════════════════════════════════════
   PRICING GRID PAGE
   ══════════════════════════════════════════════════════════ */
.pricing-toggle { display: flex; align-items: center; gap: .8rem; justify-content: center; margin-bottom: 2.5rem; }
.pricing-toggle-label { font-family: var(--ff-body); font-size: .9rem; font-weight: 500; color: var(--ink-60); }
.pricing-toggle-label.active { color: var(--gold); font-weight: 700; }
.toggle-switch {
  width: 48px; height: 26px;
  background: var(--gold);
  border-radius: 20px;
  position: relative;
  cursor: pointer;
  border: none;
  transition: background .3s;
}
.toggle-switch::after {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  top: 3px; left: 4px;
  transition: transform .3s;
}
.toggle-switch.annual::after { transform: translateX(22px); }
.toggle-save { font-family: var(--ff-body); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--sage); border-radius: 20px; padding: .2rem .6rem; }

/* Plan comparison table */
.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-card); }
.compare-table th { background: var(--ink); color: #fff; font-family: var(--ff-body); font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 1.2rem 1rem; text-align: left; }
.compare-table th:first-child { padding-left: 1.8rem; }
.compare-table th.featured { background: var(--gold); color: var(--ink); }
.compare-table td { padding: .85rem 1rem; font-family: var(--ff-body); font-size: .9rem; color: var(--ink-60); border-bottom: 1px solid rgba(11,26,44,.05); }
.compare-table td:first-child { padding-left: 1.8rem; font-weight: 500; color: var(--ink); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(201,150,58,.03); }
.check { color: var(--sage); font-size: 1.1rem; }
.cross { color: #D1D5DB; font-size: 1.1rem; }

/* ══════════════════════════════════════════════════════════
   GLOBAL SERVICE LANDING (e.g. USA Kids)
   ══════════════════════════════════════════════════════════ */
.service-hero {
  background: linear-gradient(160deg, #0B1A2C, #122840 50%, #0B2414);
  padding: 140px 0 90px;
  position: relative;
  text-align: center;
  overflow: hidden;
}
.service-hero::before {
  content: 'USA';
  position: absolute;
  font-family: var(--ff-display);
  font-size: 18rem;
  font-weight: 700;
  color: rgba(255,255,255,.018);
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
  white-space: nowrap;
}
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 2rem 0;
  border-top: 1px solid rgba(201,150,58,.12);
  border-bottom: 1px solid rgba(201,150,58,.12);
  margin: 2rem 0;
}
.trust-item { text-align: center; }
.trust-number { font-family: var(--ff-display); font-size: 2rem; color: var(--gold); display: block; }
.trust-label { font-family: var(--ff-body); font-size: .75rem; color: var(--ink-60); text-transform: uppercase; letter-spacing: .15em; }

/* ══════════════════════════════════════════════════════════
   BLOG SINGLE CONTENT
   ══════════════════════════════════════════════════════════ */
.blog-single-content h2 {
  font-family: var(--ff-display);
  font-size: 1.9rem;
  color: var(--ink);
  margin: 2.5rem 0 .8rem;
}
.blog-single-content h3 {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  color: var(--ink);
  margin: 1.8rem 0 .6rem;
}
.blog-single-content p {
  font-family: var(--ff-body);
  font-size: .97rem;
  color: var(--ink-60);
  line-height: 1.85;
  margin-bottom: 1.1rem;
}
.blog-single-content ul {
  padding-left: 1.4rem;
  margin-bottom: 1.1rem;
}
.blog-single-content ul li {
  font-family: var(--ff-body);
  font-size: .97rem;
  color: var(--ink-60);
  line-height: 1.8;
  margin-bottom: .4rem;
}
.blog-single-content blockquote {
  border-left: 3px solid var(--gold);
  background: rgba(201,150,58,.06);
  padding: 1rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--ink);
  margin: 1.5rem 0;
}

/* ══════════════════════════════════════════════════════════
   CAREER PAGE
   ══════════════════════════════════════════════════════════ */
.job-card {
  background: #fff;
  border: 1px solid rgba(201,150,58,.12);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: box-shadow .2s, transform .2s;
  margin-bottom: 1rem;
}
.job-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.job-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(201,150,58,.15), rgba(201,150,58,.05));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-arabic);
  color: var(--gold);
  font-size: 1.4rem;
  flex-shrink: 0;
}
.job-title { font-family: var(--ff-display); font-size: 1.3rem; color: var(--ink); margin-bottom: .3rem; }
.job-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .5rem; }
.job-tag { font-family: var(--ff-body); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(201,150,58,.1); color: var(--gold); padding: .2rem .7rem; border-radius: 20px; }
.job-desc { font-family: var(--ff-body); font-size: .89rem; color: var(--ink-60); line-height: 1.65; }

/* ══════════════════════════════════════════════════════════
   LEARNING PLAN PAGES (namaz, kalma, duas)
   ══════════════════════════════════════════════════════════ */
.step-card {
  background: #fff;
  border: 1px solid rgba(201,150,58,.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.step-number {
  position: absolute;
  top: 1.2rem; right: 1.4rem;
  font-family: var(--ff-display);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(201,150,58,.08);
  line-height: 1;
}
.arabic-card {
  background: linear-gradient(160deg, var(--ink), #122840);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
.arabic-text-lg {
  font-family: 'Amiri', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--gold);
  direction: rtl;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.arabic-transliteration {
  font-family: var(--ff-body);
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,.6);
  margin-bottom: .6rem;
}
.arabic-translation {
  font-family: var(--ff-body);
  font-size: .9rem;
  color: rgba(255,255,255,.45);
}

/* Responsive additions */
@media (max-width: 1100px) {
  .course-hero-inner { grid-template-columns: 1fr; }
  .course-sticky-card { position: static; }
}
@media (max-width: 768px) {
  .dropdown-panel { position: fixed; left: 1rem !important; right: 1rem; width: auto !important; transform: none !important; top: 70px; }
  .search-hero { padding: 100px 1.5rem 60px; }
  .job-card { flex-direction: column; gap: 1rem; }
  .trust-bar { gap: 1.5rem; }
  .reg-steps { gap: 0; }
  .reg-connector { min-width: 30px; }
}

/* ══════════════════════════════════════════════════════════
   HEADER TOPBAR (WhatsApp + Social)
   ══════════════════════════════════════════════════════════ */
#topbar {
  background: #060E18;
  border-bottom: 1px solid rgba(201,150,58,.12);
  padding: .38rem 0;
  font-family: var(--ff-body);
  font-size: .74rem;
  /* ↓ FIXED — stays at top, never scrolls away */
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.topbar-left {
  color: rgba(255,255,255,.45);
  letter-spacing: .04em;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
/* WhatsApp pill */
.topbar-wa {
  display: flex;
  align-items: center;
  gap: .45rem;
  background: rgba(37,211,102,.12);
  border: 1px solid rgba(37,211,102,.25);
  border-radius: 20px;
  padding: .22rem .75rem .22rem .5rem;
  color: #25D366;
  font-weight: 600;
  font-size: .73rem;
  letter-spacing: .02em;
  transition: background .2s;
  white-space: nowrap;
}
.topbar-wa:hover { background: rgba(37,211,102,.2); color: #25D366; }
.topbar-wa svg { width: 14px; height: 14px; fill: #25D366; flex-shrink: 0; }
/* Topbar social icons */
.topbar-socials {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.topbar-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 5px;
  color: rgba(255,255,255,.4);
  transition: color .2s, background .2s;
}
.topbar-social:hover { color: var(--gold); background: rgba(201,150,58,.1); }
.topbar-social svg { width: 13px; height: 13px; fill: currentColor; }
/* Topbar divider */
.topbar-div { width: 1px; height: 16px; background: rgba(255,255,255,.1); }

/* ── TOPBAR: fixed, always visible on ALL screen sizes ── */
#topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;           /* above navbar */
}
/* Topbar register button */
.topbar-register {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: linear-gradient(135deg, var(--gold), var(--gilt));
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .28rem .85rem;
  border-radius: 20px;
  white-space: nowrap;
  transition: box-shadow .2s, transform .2s;
}
.topbar-register:hover {
  box-shadow: 0 4px 12px rgba(201,150,58,.45);
  transform: translateY(-1px);
  color: var(--ink);
}

/* Topbar height = 36px; push navbar down by that amount */
body.has-topbar #navbar { top: 36px; }

/* Tablet: hide the domain text, keep WA + register + socials */
@media (max-width: 900px) {
  .topbar-left { display: none !important; }
  body.has-topbar #navbar { top: 36px; }
}

/* Mobile: keep topbar but slimmer; hide social icons to save space */
@media (max-width: 600px) {
  #topbar { padding: .28rem 0; }
  .topbar-socials { display: none; }
  .topbar-div { display: none; }
  .topbar-inner { padding: 0 1rem; }
  .topbar-right { gap: .6rem; }
  body.has-topbar #navbar { top: 32px; }
}

/* Very small screens: keep WA number abbreviated */
@media (max-width: 380px) {
  .topbar-wa-text { display: none; }   /* hide number, show icon only */
}

/* ══════════════════════════════════════════════════════════
   FEES PAGE - COURSE GRID
   ══════════════════════════════════════════════════════════ */
.fees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.fee-card {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(201,150,58,.12);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
  display: flex;
  flex-direction: column;
}
.fee-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.fee-card-banner {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Amiri', serif;
  font-size: 3rem;
  color: rgba(201,150,58,.55);
  background: linear-gradient(135deg, #0B1A2C, #122840 60%, #1A3C30);
  position: relative;
  overflow: hidden;
}
.fee-card-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cg fill='none' stroke='%23C9963A' stroke-width='0.4' opacity='0.12'%3E%3Cpolygon points='30,2 58,16 58,44 30,58 2,44 2,16'/%3E%3C/g%3E%3C/svg%3E");
}
.fee-card-banner .fee-level-badge {
  position: absolute;
  top: .8rem; right: .8rem;
  font-family: var(--ff-body);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: 20px;
  background: rgba(201,150,58,.2);
  color: var(--gilt);
  border: 1px solid rgba(201,150,58,.3);
}
.fee-card-body {
  padding: 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.fee-card-title {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: .35rem;
}
.fee-card-desc {
  font-family: var(--ff-body);
  font-size: .87rem;
  color: var(--ink-60);
  line-height: 1.65;
  margin-bottom: 1.2rem;
  flex: 1;
}
.fee-card-meta {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(11,26,44,.06);
}
.fee-meta-item {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.fee-meta-label {
  font-family: var(--ff-body);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-40);
}
.fee-meta-value {
  font-family: var(--ff-body);
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
}
.fee-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.fee-price {
  display: flex;
  align-items: baseline;
  gap: .2rem;
}
.fee-price-symbol {
  font-family: var(--ff-body);
  font-size: .85rem;
  color: var(--gold);
  font-weight: 600;
}
.fee-price-amount {
  font-family: var(--ff-display);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}
.fee-price-period {
  font-family: var(--ff-body);
  font-size: .75rem;
  color: var(--ink-40);
}

/* Fees filter tabs */
.fees-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  background: rgba(11,26,44,.04);
  border-radius: var(--radius-md);
  padding: .4rem;
  width: fit-content;
}
.fees-tab {
  font-family: var(--ff-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .55rem 1.2rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--ink-60);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.fees-tab.active, .fees-tab:hover {
  background: #fff;
  color: var(--gold);
  box-shadow: 0 2px 8px rgba(11,26,44,.08);
}

/* Summary banner for fees page */
.fees-summary-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  background: linear-gradient(135deg, #0B1A2C, #122840);
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
  margin-bottom: 3rem;
}
.fees-summary-item { text-align: center; }
.fees-summary-number {
  font-family: var(--ff-display);
  font-size: 2rem;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: .3rem;
}
.fees-summary-label {
  font-family: var(--ff-body);
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .15em;
}

/* ══════════════════════════════════════════════════════════
   VIEW TOGGLE BUTTON (Grid / Table)
   ══════════════════════════════════════════════════════════ */
.view-toggle-btn {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--ink-40);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.view-toggle-btn:hover { background: rgba(201,150,58,.12); color: var(--gold); }
.view-toggle-btn.active { background: #fff; color: var(--gold); box-shadow: 0 2px 8px rgba(11,26,44,.1); }
.view-toggle-btn svg { stroke: currentColor; }

/* ══════════════════════════════════════════════════════════
   FEES COMPARISON TABLE (table view)
   ══════════════════════════════════════════════════════════ */
.fees-comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  font-family: var(--ff-body);
  min-width: 700px;  /* forces horizontal scroll on small screens */
}
.fees-comparison-table thead tr {
  background: linear-gradient(135deg, var(--ink), #122840);
}
.fees-comparison-table th {
  padding: 1rem 1.2rem;
  text-align: left;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  white-space: nowrap;
}
.fees-comparison-table th:first-child { padding-left: 1.8rem; border-radius: 0; }
.fees-comparison-table td {
  padding: .9rem 1.2rem;
  font-size: .88rem;
  color: var(--ink-60);
  border-bottom: 1px solid rgba(11,26,44,.05);
  vertical-align: middle;
}
.fees-comparison-table td:first-child { padding-left: 1.8rem; }
.fees-comparison-table tbody tr:last-child td { border-bottom: none; }
.fees-comparison-table tbody tr:hover td { background: rgba(201,150,58,.03); }
.fees-comparison-table tbody tr:nth-child(even) td { background: rgba(11,26,44,.015); }
.fees-comparison-table tbody tr:nth-child(even):hover td { background: rgba(201,150,58,.04); }

/* Course cell */
.tbl-course {
  display: flex; align-items: center; gap: .9rem;
}
.tbl-arabic {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(11,26,44,.06), rgba(46,107,87,.08));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Amiri', serif;
  font-size: 1.2rem;
  color: var(--gold);
  flex-shrink: 0;
  border: 1px solid rgba(201,150,58,.15);
}
.tbl-sub { font-size: .74rem; color: var(--ink-40); margin-top: .1rem; }
.fees-comparison-table td strong { color: var(--ink); font-weight: 600; font-size: .9rem; }

/* Price cell */
.tbl-price {
  font-family: var(--ff-display) !important;
  font-size: 1.4rem !important;
  color: var(--gold) !important;
  font-weight: 600;
  white-space: nowrap;
}
.tbl-mo { font-family: var(--ff-body); font-size: .72rem; color: var(--ink-40); font-weight: 400; }

/* Level badges in table */
.badge-level {
  font-family: var(--ff-body);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .25rem .65rem;
  border-radius: 20px;
  white-space: nowrap;
}
.badge-level.beginner  { background: rgba(46,107,87,.1);  color: var(--sage); }
.badge-level.intermediate { background: rgba(201,150,58,.12); color: var(--gold); }
.badge-level.advanced  { background: rgba(11,26,44,.08);  color: var(--ink-60); }
.badge-level.kids      { background: rgba(239,68,68,.1);  color: #DC2626; }

/* ══════════════════════════════════════════════════════════
   GENERAL RESPONSIVE FIXES
   ══════════════════════════════════════════════════════════ */

/* Make page-header account for topbar + navbar */
body.has-topbar .page-header,
body.has-topbar .course-hero,
body.has-topbar .service-hero,
body.has-topbar .search-hero {
  padding-top: calc(120px + 36px + 10px);
}
@media (max-width: 600px) {
  body.has-topbar .page-header,
  body.has-topbar .course-hero,
  body.has-topbar .service-hero,
  body.has-topbar .search-hero {
    padding-top: calc(100px + 32px + 10px);
  }
}

/* Nav inner — prevent overflow on medium screens */
@media (max-width: 1200px) {
  .nav-links { gap: 0; }
  .nav-links a { padding: .5rem .6rem; font-size: .8rem; }
  .nav-inner { gap: .8rem; }
}
@media (max-width: 1024px) {
  .nav-links a { padding: .5rem .5rem; font-size: .78rem; }
  .nav-cta .btn-outline[href*="career"] { display: none; }
  .nav-logo-name { font-size: 1.05rem; }
}

/* Fees grid responsive */
@media (max-width: 700px) {
  .fees-grid { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .fees-summary-bar { padding: 1.5rem 1.2rem; }
  .fees-summary-number { font-size: 1.5rem; }
  .fees-tabs { width: 100%; }
  .fees-tab { flex: 1; text-align: center; padding: .5rem .5rem; font-size: .7rem; }
}

/* ══════════════════════════════════════════════════════════
   SOCIAL ICON BRAND COLOURS — global
   ══════════════════════════════════════════════════════════ */

/* Footer / large social icons */
.social-icon[aria-label="Facebook"]  { --sc: #1877F2; }
.social-icon[aria-label="Instagram"] { --sc: #E1306C; }
.social-icon[aria-label="YouTube"]   { --sc: #FF0000; }
.social-icon[aria-label="TikTok"]    { --sc: #010101; }
.social-icon[aria-label="WhatsApp"]  { --sc: #25D366; }
.social-icon[aria-label="Twitter"],
.social-icon[aria-label="X (Twitter)"] { --sc: #1DA1F2; }

.social-icon { color: rgba(255,255,255,.65); border-color: rgba(255,255,255,.12); }
.social-icon:hover {
  background: var(--sc, var(--gold));
  border-color: var(--sc, var(--gold));
  color: #fff;
  transform: translateY(-3px);
}

/* Topbar small social icons */
.topbar-social[aria-label="Facebook"]:hover  { color: #1877F2; background: rgba(24,119,242,.12); }
.topbar-social[aria-label="Instagram"]:hover { color: #E1306C; background: rgba(225,48,108,.12); }
.topbar-social[aria-label="YouTube"]:hover   { color: #FF0000; background: rgba(255,0,0,.10);    }
.topbar-social[aria-label="TikTok"]:hover    { color: #fff;    background: rgba(1,1,1,.7);        }
.topbar-social[aria-label="X (Twitter)"]:hover { color: #1DA1F2; background: rgba(29,161,242,.12); }

/* ══════════════════════════════════════════════════════════
   DYNAMIC COMPONENT CLASSES (used by site.js)
   ══════════════════════════════════════════════════════════ */

/* Course card rendered by site.js */
.course-card-visual {
  height: 110px;
  background: linear-gradient(135deg, var(--ink) 0%, #122840 55%, #1A3C30 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.course-card-title {
  font-family: var(--ff-display);
  font-size: 1.3rem; color: var(--ink);
  margin: .7rem 0 .4rem; line-height: 1.3;
}
.course-card-desc {
  font-family: var(--ff-body); font-size: .86rem;
  color: var(--ink-60); line-height: 1.65; margin-bottom: .8rem;
}
.course-card-meta {
  display: flex; gap: 1rem;
  font-family: var(--ff-body); font-size: .76rem;
  color: var(--ink-40); margin-bottom: 1.2rem;
}
.course-card-footer {
  display: flex; align-items: center;
  justify-content: space-between; gap: .5rem;
  border-top: 1px solid rgba(11,26,44,.06); padding-top: 1rem;
}
.course-card-price {
  font-family: var(--ff-display); font-size: 1.6rem; color: var(--gold);
}

/* Teacher card rendered by site.js */
.teacher-card-top {
  background: linear-gradient(135deg, var(--ink), #122840);
  padding: 1.6rem; display: flex; align-items: center; gap: 1rem;
}
.teacher-card-body { padding: 1.4rem; flex: 1; }
.teacher-card-footer { padding: 0 1.4rem 1.4rem; }
.teacher-name {
  font-family: var(--ff-display); font-size: 1.1rem;
  color: #fff; line-height: 1.2;
}
.teacher-title {
  font-family: var(--ff-body); font-size: .72rem;
  color: var(--gold); text-transform: uppercase;
  letter-spacing: .1em; margin-top: .2rem;
}
.teacher-institute {
  font-family: var(--ff-body); font-size: .74rem;
  color: rgba(255,255,255,.45); margin-top: .15rem;
}
.teacher-bio {
  font-family: var(--ff-body); font-size: .86rem;
  color: var(--ink-60); line-height: 1.7; margin-bottom: .8rem;
}
.teacher-meta {
  display: flex; flex-wrap: wrap; gap: .8rem;
  margin-bottom: .8rem;
}
.teacher-badges { display: flex; flex-wrap: wrap; gap: .4rem; }
.teacher-badge {
  font-family: var(--ff-body); font-size: .65rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  background: rgba(201,150,58,.1); color: var(--gold);
  padding: .2rem .65rem; border-radius: 20px;
}

/* Blog card rendered by site.js */
.blog-card-visual {
  height: 130px;
  background: linear-gradient(135deg, var(--ink), #122840 55%, #1A3C30);
  display: flex; align-items: center; justify-content: center;
}
.blog-card-body { padding: 1.4rem; }
.blog-badge {
  display: inline-block;
  font-family: var(--ff-body); font-size: .65rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  background: rgba(201,150,58,.1); color: var(--gold);
  padding: .22rem .7rem; border-radius: 20px; margin-bottom: .5rem;
}
.blog-card-title {
  font-family: var(--ff-display); font-size: 1.15rem;
  color: var(--ink); line-height: 1.4; margin-bottom: .4rem;
}
.blog-card-excerpt {
  font-family: var(--ff-body); font-size: .86rem;
  color: var(--ink-60); line-height: 1.65; margin-bottom: .8rem;
}
.blog-card-meta {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .4rem;
  font-family: var(--ff-body); font-size: .74rem; color: var(--ink-40);
  padding-bottom: .7rem; border-bottom: 1px solid rgba(11,26,44,.06);
  margin-bottom: .5rem;
}

/* Testimonial rendered by site.js */
.testimonial-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: .5rem; }
.testimonial-text {
  font-family: var(--ff-body); font-size: .9rem;
  color: rgba(255,255,255,.72); line-height: 1.8;
  font-style: italic; margin-bottom: 1rem;
  border: none; padding: 0;
}
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-name {
  font-family: var(--ff-body); font-weight: 600;
  color: #fff; font-size: .9rem;
}
.testimonial-meta {
  font-family: var(--ff-body); font-size: .76rem;
  color: rgba(255,255,255,.4);
}

/* Blog featured block */
.blog-featured-inner {
  display: grid; grid-template-columns: 1fr 160px;
  gap: 2rem; align-items: center;
}
.blog-featured-arabic {
  font-family: 'Amiri', serif; font-size: 5rem;
  color: rgba(201,150,58,.2); text-align: center;
}
@media (max-width: 600px) {
  .blog-featured-arabic { display: none; }
  .blog-featured-inner { grid-template-columns: 1fr; }
}

/* Teacher preview card (home) */
.teacher-preview-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,150,58,.15);
  border-radius: var(--radius-xl);
  padding: 1.6rem; text-align: center;
  transition: background .25s, transform .25s;
}
.teacher-preview-card:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); }
.teacher-preview-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(201,150,58,.18);
  border: 2px solid rgba(201,150,58,.4);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Amiri', serif; font-size: 1.8rem; color: var(--gold);
  margin: 0 auto .8rem;
}
.teacher-preview-name {
  font-family: var(--ff-display); font-size: 1rem; color: #fff; margin-bottom: .2rem;
}
.teacher-preview-title {
  font-family: var(--ff-body); font-size: .73rem;
  color: rgba(201,150,58,.7); text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: .5rem;
}
.teacher-preview-meta {
  font-family: var(--ff-body); font-size: .78rem;
  color: rgba(255,255,255,.4); margin-bottom: .6rem;
}

/* Courses grid (dynamic) */
.courses-grid-dynamic {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.8rem;
}
.teachers-grid-dynamic {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
}
.blog-grid-dynamic {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}
.testimonials-grid-dynamic {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
}
.teachers-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.4rem;
}

/* ══════════════════════════════════════════════════════════
   POLICY PAGES
   ══════════════════════════════════════════════════════════ */
.policy-content {
  max-width: 820px; margin: 0 auto;
  background: #fff; border-radius: var(--radius-xl);
  padding: 3rem 3.5rem;
  border: 1px solid rgba(201,150,58,.1);
  box-shadow: var(--shadow-card);
}
@media (max-width: 600px) { .policy-content { padding: 2rem 1.5rem; } }
.policy-content h2 {
  font-family: var(--ff-display); font-size: 1.7rem;
  color: var(--ink); margin: 2.2rem 0 .6rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid rgba(201,150,58,.15);
}
.policy-content h2:first-of-type { margin-top: 0; }
.policy-content h3 {
  font-family: var(--ff-display); font-size: 1.2rem;
  color: var(--ink); margin: 1.5rem 0 .4rem;
}
.policy-content p {
  font-family: var(--ff-body); font-size: .94rem;
  color: var(--ink-60); line-height: 1.85; margin-bottom: 1rem;
}
.policy-content ul {
  padding-left: 1.4rem; margin-bottom: 1rem;
}
.policy-content ul li {
  font-family: var(--ff-body); font-size: .93rem;
  color: var(--ink-60); line-height: 1.8; margin-bottom: .35rem;
}
.policy-content a { color: var(--gold); }
.policy-content a:hover { text-decoration: underline; }
.policy-updated {
  font-family: var(--ff-body); font-size: .78rem;
  color: var(--ink-40); margin-bottom: 2rem;
  display: flex; align-items: center; gap: .5rem;
}
.policy-updated::before {
  content: ''; display: block;
  width: 24px; height: 2px; background: var(--gold);
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  GLOBAL ADDITIONS — social colors, dynamic components,  ║
   ║  cookie banner, policy pages, filter tabs               ║
   ╚══════════════════════════════════════════════════════════╝ */

/* ── Social icon BRAND COLOURS ──────────────────────────── */
/* Footer large icons */
.social-icon { color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.15); }
.social-icon[aria-label="Facebook"]:hover  { background:#1877F2; border-color:#1877F2; color:#fff; }
.social-icon[aria-label="Instagram"]:hover { background:radial-gradient(circle at 30% 110%,#f09433,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888); border-color:#e6683c; color:#fff; }
.social-icon[aria-label="YouTube"]:hover   { background:#FF0000; border-color:#FF0000; color:#fff; }
.social-icon[aria-label="TikTok"]:hover    { background:#010101; border-color:#69C9D0; color:#fff; }
.social-icon[aria-label="WhatsApp"]:hover  { background:#25D366; border-color:#25D366; color:#fff; }
.social-icon[aria-label="Twitter"],
.social-icon[aria-label="X (Twitter)"]:hover { background:#1DA1F2; border-color:#1DA1F2; color:#fff; }
/* Topbar tiny icons */
.topbar-social[aria-label="Facebook"]:hover  { color:#1877F2; background:rgba(24,119,242,.15); }
.topbar-social[aria-label="Instagram"]:hover { color:#E1306C; background:rgba(225,48,108,.12); }
.topbar-social[aria-label="YouTube"]:hover   { color:#FF0000; background:rgba(255,0,0,.1);     }
.topbar-social[aria-label="TikTok"]:hover    { color:#fff;    background:rgba(0,0,0,.7);        }
.topbar-social[aria-label="X (Twitter)"]:hover { color:#1DA1F2; background:rgba(29,161,242,.12); }

/* ── Shared dynamic badge ────────────────────────────────── */
.dyn-badge {
  display:inline-block;
  font-family:var(--ff-body); font-size:.65rem; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase;
  padding:.25rem .75rem; border-radius:20px;
}

/* ── Plan popular badge ──────────────────────────────────── */
.plan-popular-badge {
  position:absolute; top:-14px; left:50%; transform:translateX(-50%);
  background:linear-gradient(135deg,var(--gold),var(--gilt));
  color:var(--ink); font-family:var(--ff-body); font-size:.65rem;
  font-weight:700; letter-spacing:.18em; text-transform:uppercase;
  padding:.3rem 1.2rem; border-radius:20px; white-space:nowrap;
}

/* ── Dynamic course card extras ─────────────────────────── */
.course-card-visual {
  height:100px;
  background:linear-gradient(135deg,#0B1A2C,#122840 55%,#1A3C30);
  display:flex; align-items:center; justify-content:center;
}
.c-arabic { font-family:'Amiri',serif; font-size:3.5rem; color:rgba(201,150,58,.5); }
.course-card-title { font-family:var(--ff-display); font-size:1.3rem; color:var(--ink); margin:.6rem 0 .4rem; line-height:1.3; }
.course-card-desc  { font-family:var(--ff-body); font-size:.86rem; color:var(--ink-60); line-height:1.65; margin-bottom:.8rem; }
.course-card-meta  { display:flex; gap:1rem; font-family:var(--ff-body); font-size:.76rem; color:var(--ink-40); margin-bottom:1rem; }
.course-card-footer { display:flex; align-items:center; justify-content:space-between; border-top:1px solid rgba(11,26,44,.06); padding-top:1rem; gap:.5rem; }
.course-price { font-family:var(--ff-display); font-size:1.6rem; color:var(--gold); }
.course-price small { font-size:.72rem; font-weight:400; color:var(--ink-40); font-family:var(--ff-body); }
.hl-list { list-style:none; padding:0; margin:0 0 1rem; display:grid; gap:.3rem; }
.hl-list li { display:flex; gap:.55rem; align-items:flex-start; font-family:var(--ff-body); font-size:.84rem; color:var(--ink-60); }
.hl-check { color:var(--sage); flex-shrink:0; font-size:1rem; }

/* ── Dynamic teacher card extras ────────────────────────── */
.t-tag { font-family:var(--ff-body); font-size:.64rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; background:rgba(201,150,58,.1); color:var(--gold); padding:.22rem .65rem; border-radius:20px; }

/* ── FAQ group ───────────────────────────────────────────── */
.faq-group { margin-bottom:2.5rem; }
.faq-group-title { font-family:var(--ff-display); font-size:1.5rem; color:var(--ink); margin-bottom:1rem; padding-bottom:.5rem; border-bottom:2px solid rgba(201,150,58,.2); }

/* ── Cookie consent banner ───────────────────────────────── */
#cookie-banner {
  position:fixed; bottom:-120px; left:0; right:0; z-index:9999;
  background:#0B1A2C; border-top:2px solid rgba(201,150,58,.25);
  box-shadow:0 -4px 30px rgba(0,0,0,.4);
  transition:bottom .4s cubic-bezier(.22,1,.36,1);
}
#cookie-banner.show { bottom:0; }
.cookie-inner {
  max-width:1280px; margin:0 auto; padding:1rem 2rem;
  display:flex; align-items:center; justify-content:space-between;
  gap:1.5rem; flex-wrap:wrap;
}
.cookie-inner p { font-family:var(--ff-body); font-size:.86rem; color:rgba(255,255,255,.7); line-height:1.6; }
.cookie-inner a { color:var(--gold); text-decoration:underline; }
.cookie-btns { display:flex; gap:.75rem; flex-shrink:0; flex-wrap:wrap; }

/* ── Policy pages ────────────────────────────────────────── */
.policy-wrap { max-width:820px; margin:0 auto; }
.policy-card {
  background:#fff; border-radius:var(--radius-xl);
  padding:3rem 3.5rem;
  border:1px solid rgba(201,150,58,.1);
  box-shadow:var(--shadow-card);
  margin-bottom:2rem;
}
@media(max-width:600px){ .policy-card{padding:2rem 1.4rem;} }
.policy-card h2 {
  font-family:var(--ff-display); font-size:1.65rem; color:var(--ink);
  margin:2rem 0 .6rem; padding-bottom:.4rem;
  border-bottom:2px solid rgba(201,150,58,.15);
}
.policy-card h2:first-child { margin-top:0; }
.policy-card h3 { font-family:var(--ff-display); font-size:1.15rem; color:var(--ink); margin:1.4rem 0 .4rem; }
.policy-card p  { font-family:var(--ff-body); font-size:.93rem; color:var(--ink-60); line-height:1.85; margin-bottom:.9rem; }
.policy-card ul { padding-left:1.4rem; margin-bottom:.9rem; }
.policy-card li { font-family:var(--ff-body); font-size:.92rem; color:var(--ink-60); line-height:1.8; margin-bottom:.3rem; }
.policy-card a  { color:var(--gold); }
.policy-card a:hover { text-decoration:underline; }
.policy-updated {
  font-family:var(--ff-body); font-size:.77rem; color:var(--ink-40);
  margin-bottom:2rem; display:flex; align-items:center; gap:.6rem;
}
.policy-updated::before { content:''; display:block; width:28px; height:2px; background:var(--gold); }

/* ── Courses/blog/teachers grid (dynamic) ────────────────── */
.courses-grid-dyn { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:1.8rem; }
.teachers-grid-dyn{ display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:1.8rem; }
.blog-grid-dyn    { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:2rem;   }
.testi-grid-dyn   { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:1.8rem; }
.plans-grid       { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:1.8rem; }

/* ── Filter tabs global style ────────────────────────────── */
.filter-tabs {
  display:flex; flex-wrap:wrap; gap:.45rem;
  background:rgba(11,26,44,.05); border-radius:12px;
  padding:.4rem; width:fit-content;
}
.filter-tabs .filter-btn {
  font-family:var(--ff-body); font-size:.75rem; font-weight:600;
  letter-spacing:.08em; text-transform:uppercase;
  padding:.5rem 1.1rem; border-radius:8px; border:none;
  background:transparent; color:var(--ink-60); cursor:pointer;
  transition:background .18s, color .18s, box-shadow .18s;
}
.filter-tabs .filter-btn:hover,
.filter-tabs .filter-btn.active {
  background:#fff; color:var(--gold);
  box-shadow:0 2px 8px rgba(11,26,44,.09);
}
@media(max-width:500px){
  .filter-tabs{ width:100%; }
  .filter-tabs .filter-btn{ flex:1; text-align:center; padding:.5rem .4rem; font-size:.68rem; }
}

/* ── Responsive fixes ────────────────────────────────────── */
@media(max-width:900px){ .testi-grid-dyn,.testimonials-grid{ grid-template-columns:1fr; } }
@media(max-width:768px){ .courses-grid-dyn,.courses-grid{ grid-template-columns:1fr; } .teachers-grid-dyn,.teachers-grid,.blog-grid-dyn,.blog-grid{ grid-template-columns:1fr; } }

/* ══════════════════════════════════════════════════════════
   BRANDED SOCIAL ICON COLOURS
   Apply to .topbar-social, .social-icon, .footer-social
   ══════════════════════════════════════════════════════════ */
.topbar-social[aria-label="Facebook"],  .social-icon[aria-label="Facebook"]  { color: #1877F2; }
.topbar-social[aria-label="Instagram"], .social-icon[aria-label="Instagram"] { color: #E1306C; }
.topbar-social[aria-label="YouTube"],   .social-icon[aria-label="YouTube"]   { color: #FF0000; }
.topbar-social[aria-label="TikTok"],    .social-icon[aria-label="TikTok"]    { color: #69C9D0; }
.topbar-social[aria-label="X (Twitter)"],.social-icon[aria-label="X (Twitter)"]{ color: #fff;  }
.topbar-social[aria-label="Twitter"],   .social-icon[aria-label="Twitter"]   { color: #1DA1F2; }
.topbar-social[aria-label="WhatsApp"],  .social-icon[aria-label="WhatsApp"]  { color: #25D366; }

/* Hover: brand colour box */
.topbar-social[aria-label="Facebook"]:hover  { background: rgba(24,119,242,.15)  !important; }
.topbar-social[aria-label="Instagram"]:hover { background: rgba(225,48,108,.15)  !important; }
.topbar-social[aria-label="YouTube"]:hover   { background: rgba(255,0,0,.15)     !important; }
.topbar-social[aria-label="TikTok"]:hover    { background: rgba(105,201,208,.15) !important; }
.topbar-social[aria-label="X (Twitter)"]:hover{background: rgba(255,255,255,.1)  !important; }
.topbar-social[aria-label="WhatsApp"]:hover  { background: rgba(37,211,102,.15)  !important; }

/* Footer social icons — same colours */
.social-icon[aria-label="Facebook"]:hover  { color:#1877F2; background:rgba(24,119,242,.15);  }
.social-icon[aria-label="Instagram"]:hover { color:#E1306C; background:rgba(225,48,108,.15);  }
.social-icon[aria-label="YouTube"]:hover   { color:#FF0000; background:rgba(255,0,0,.15);      }
.social-icon[aria-label="TikTok"]:hover    { color:#69C9D0; background:rgba(105,201,208,.15);  }
.social-icon[aria-label="X (Twitter)"]:hover { color:#fff;  background:rgba(255,255,255,.1);  }
.social-icon[aria-label="WhatsApp"]:hover  { color:#25D366; background:rgba(37,211,102,.15);  }

/* ══════════════════════════════════════════════════════════
   COOKIE CONSENT BANNER
   ══════════════════════════════════════════════════════════ */
#cookie-banner {
  position: fixed;
  bottom: -120px;
  left: 0; right: 0;
  z-index: 9999;
  background: rgba(6,14,24,.97);
  border-top: 1px solid rgba(201,150,58,.25);
  backdrop-filter: blur(12px);
  transition: bottom .45s cubic-bezier(.34,1.56,.64,1);
  padding: 1rem 0;
}
#cookie-banner.show { bottom: 0; }
.cookie-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-inner p {
  font-family: var(--ff-body);
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  margin: 0;
  line-height: 1.6;
}
.cookie-inner a { color: var(--gilt); text-decoration: underline; }
.cookie-btns { display: flex; gap: .75rem; flex-shrink: 0; }
@media (max-width: 600px) {
  .cookie-inner { flex-direction: column; gap: .75rem; }
  .cookie-btns { width: 100%; justify-content: flex-end; }
}

/* ══════════════════════════════════════════════════════════
   POLICY PAGES (privacy-policy, cookie-policy)
   ══════════════════════════════════════════════════════════ */
.policy-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}
.policy-body h2 {
  font-family: var(--ff-display);
  font-size: 1.7rem;
  color: var(--ink);
  margin: 2.5rem 0 .6rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(11,26,44,.07);
}
.policy-body h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.policy-body h3 {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  color: var(--ink);
  margin: 1.5rem 0 .4rem;
}
.policy-body p {
  font-family: var(--ff-body);
  font-size: .95rem;
  color: var(--ink-60);
  line-height: 1.85;
  margin-bottom: 1rem;
}
.policy-body ul {
  font-family: var(--ff-body);
  font-size: .93rem;
  color: var(--ink-60);
  line-height: 1.8;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.policy-body li { margin-bottom: .3rem; }
.policy-body a { color: var(--gold); }
.policy-toc {
  background: rgba(201,150,58,.05);
  border: 1px solid rgba(201,150,58,.15);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
}
.policy-toc h4 {
  font-family: var(--ff-display);
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: .8rem;
}
.policy-toc ol {
  font-family: var(--ff-body);
  font-size: .88rem;
  color: var(--ink-60);
  padding-left: 1.3rem;
  margin: 0;
}
.policy-toc li { margin-bottom: .3rem; }
.policy-toc a { color: var(--gold); }
.policy-updated {
  font-family: var(--ff-body);
  font-size: .78rem;
  color: var(--ink-40);
  margin-bottom: 2rem;
  display: flex; align-items: center; gap: .5rem;
}
.policy-updated::before { content: '📅'; }

/* Cookie table */
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--ff-body);
  font-size: .85rem;
  margin: 1.2rem 0;
}
.cookie-table th {
  background: rgba(11,26,44,.06);
  padding: .7rem 1rem;
  text-align: left;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-60);
  border-bottom: 2px solid rgba(11,26,44,.08);
}
.cookie-table td {
  padding: .65rem 1rem;
  color: var(--ink-60);
  border-bottom: 1px solid rgba(11,26,44,.05);
  vertical-align: top;
}
.cookie-table tr:last-child td { border-bottom: none; }
.cookie-table tr:hover td { background: rgba(201,150,58,.03); }

/* ══════════════════════════════════════════════════════════
   DYNAMIC BADGE (rendered by site.js)
   ══════════════════════════════════════════════════════════ */
.dyn-badge {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .25rem .65rem;
  border-radius: 20px;
}

/* Footer legal links */
.footer-legal a[href="privacy-policy.html"],
.footer-legal a[href="cookie-policy.html"] { color: rgba(255,255,255,.4); }
.footer-legal a[href="privacy-policy.html"]:hover,
.footer-legal a[href="cookie-policy.html"]:hover { color: var(--gilt); }

/* ══════════════════════════════════════════════════════════════
   DYNAMIC ARTICLE & TEACHER PROFILE LAYOUT
   ══════════════════════════════════════════════════════════════ */

/* Article two-column layout */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  max-width: 1160px;
  margin: 0 auto;
  padding: 3rem 2rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: contents; }
  .sidebar-card:not(:first-child) { margin-top: 1.5rem; }
}

/* Article body prose styles */
.article-body {
  min-width: 0;
}
.article-body h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  color: var(--ink);
  margin: 2.5rem 0 .7rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(11,26,44,.07);
  line-height: 1.25;
}
.article-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.article-body h3 {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  color: var(--ink);
  margin: 1.8rem 0 .5rem;
}
.article-body p, .article-body li {
  font-family: var(--ff-body);
  font-size: .97rem;
  color: var(--ink-60);
  line-height: 1.9;
  margin-bottom: 1rem;
}
.article-body ul, .article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}
.article-body li { margin-bottom: .4rem; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body blockquote {
  border-left: 4px solid var(--gold);
  background: rgba(201,150,58,.06);
  padding: 1rem 1.4rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--ff-display);
  font-size: 1.05rem;
  color: var(--ink);
  font-style: italic;
}
.article-lead {
  font-family: var(--ff-body) !important;
  font-size: 1.1rem !important;
  color: var(--ink) !important;
  line-height: 1.8 !important;
  font-weight: 500;
  margin-bottom: 1.5rem !important;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(11,26,44,.08);
}

/* In-article CTA strip */
.article-cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: rgba(201,150,58,.07);
  border: 1px solid rgba(201,150,58,.18);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.8rem;
  margin-top: 2.5rem;
}
.article-cta-strip strong {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  display: block;
  margin-bottom: .2rem;
}

/* Share buttons */
.article-share {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}
.share-label {
  font-family: var(--ff-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-right: .3rem;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(11,26,44,.12);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: all .2s;
}
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.share-twitter  { color: #fff; background: #000; border-color: #000; }
.share-facebook { color: #fff; background: #1877F2; border-color: #1877F2; }
.share-whatsapp { color: #fff; background: #25D366; border-color: #25D366; font-size: .78rem; font-weight: 700; }
.share-copy     { font-size: 1rem; }

/* ── Sidebar ── */
.article-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.sidebar-card {
  background: #fff;
  border: 1px solid rgba(11,26,44,.07);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(11,26,44,.04);
}

.sidebar-heading {
  font-family: var(--ff-display);
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid rgba(201,150,58,.15);
}

/* Sidebar posts list */
.sidebar-posts {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: .1rem;
}
.sidebar-posts li { border-radius: var(--radius-sm); }
.sidebar-posts li a {
  display: block;
  font-family: var(--ff-body);
  font-size: .83rem;
  color: var(--ink-60);
  padding: .5rem .6rem;
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
  line-height: 1.4;
}
.sidebar-posts li a:hover,
.sidebar-posts li.active a {
  background: rgba(201,150,58,.08);
  color: var(--ink);
}
.sidebar-posts li.active a { font-weight: 600; }
.sidebar-post-cat {
  display: block;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .1rem;
}

/* Sidebar CTA card */
.sidebar-cta {
  background: linear-gradient(135deg, #0B1A2C, #1A3C30);
  color: #fff;
  text-align: center;
}
.sidebar-cta .sidebar-heading { color: rgba(255,255,255,.4); border-color: rgba(255,255,255,.1); }
.sidebar-cta h4 {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: .4rem;
}
.sidebar-cta p {
  font-family: var(--ff-body);
  font-size: .84rem;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
  margin-bottom: 0;
}
.sidebar-arabic {
  font-family: 'Amiri', serif;
  font-size: 2.8rem;
  color: rgba(201,150,58,.3);
  margin-bottom: .3rem;
  line-height: 1;
}

/* ── Author box (inside article) ── */
.article-author-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Amiri', serif;
  font-size: 1.4rem;
  color: rgba(201,150,58,.7);
}
.author-name {
  font-family: var(--ff-display);
  font-size: 1rem;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: .15rem;
}
.author-title {
  font-family: var(--ff-body);
  font-size: .76rem;
  color: var(--ink-40);
  margin-bottom: .5rem;
}
.author-bio {
  font-family: var(--ff-body);
  font-size: .81rem;
  color: var(--ink-60);
  line-height: 1.6;
  margin-bottom: .5rem;
}
.author-link {
  font-family: var(--ff-body);
  font-size: .78rem;
  color: var(--gold);
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════
   TEACHER PROFILE HERO
   ══════════════════════════════════════════════════════════════ */
.teacher-profile-hero {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 2rem 0;
  flex-wrap: wrap;
  justify-content: center;
}
.tph-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(201,150,58,.35);
  box-shadow: 0 0 40px rgba(201,150,58,.2);
}
.tph-letter {
  font-family: 'Amiri', serif;
  font-size: 3.2rem;
  color: rgba(201,150,58,.75);
}
.tph-info { flex: 1; min-width: 260px; }
@media (max-width: 600px) {
  .teacher-profile-hero { text-align: center; }
  .tph-info { min-width: 0; }
}

/* Teacher achievements list */
.teacher-achievements {
  list-style: none;
  padding: 0; margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.teacher-achievements li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-family: var(--ff-body);
  font-size: .93rem;
  color: var(--ink-60);
  margin: 0;
}
.ach-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: rgba(46,107,87,.12);
  color: #2E6B57;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  margin-top: .1rem;
}

/* Teacher quick stats sidebar */
.teacher-stats-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: .6rem;
}
.teacher-stats-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--ff-body);
  font-size: .84rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid rgba(11,26,44,.05);
}
.teacher-stats-list li:last-child { border-bottom: none; padding-bottom: 0; }
.teacher-stats-list span { color: var(--ink-40); }
.teacher-stats-list strong { color: var(--ink); font-size: .82rem; }

/* Sidebar teacher list */
.sidebar-teachers {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.sidebar-teacher-card {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .6rem .5rem;
  border-radius: var(--radius-sm);
  transition: background .15s;
  text-decoration: none;
}
.sidebar-teacher-card:hover { background: rgba(201,150,58,.06); }
.st-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Amiri', serif;
  font-size: 1.1rem;
  color: rgba(201,150,58,.7);
}
.st-name {
  font-family: var(--ff-display);
  font-size: .88rem;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: .1rem;
}
.st-role {
  font-family: var(--ff-body);
  font-size: .73rem;
  color: var(--ink-40);
  margin-bottom: .15rem;
}

/* Teachers page — update card hover to show profile link */
.teacher-card .teacher-overlay .btn {
  text-align: center;
}
