/* Hoor Academy — Design System
   Matched to logo: Navy Blue · Bright Blue · Gold
*/

:root {
  /* Mapped from logo navy (kept --teal-* names for existing rules) */
  --teal-900: #071e4a;
  --teal-800: #0a3482;
  --teal-700: #1347a0;
  --teal-600: #1e5bb8;
  /* Accent / secondary blue from globe highlights */
  --emerald-700: #0b6fa8;
  --emerald-600: #1e8fd5;
  --emerald-500: #3cacec;
  /* Logo gold */
  --gold-600: #b8922a;
  --gold-500: #c9a227;
  --gold-400: #d4b44a;
  --gold-100: #f3e4a8;
  /* Cool soft backgrounds matching logo plate */
  --cream: #f4f8fc;
  --cream-dark: #e5eef7;
  --soft-blue: #e8f3fb;
  --soft-blue-dark: #d3e7f5;
  --light-pink: #fdf2f4;
  --coral: #e07a5f;
  --coral-dark: #c9654a;
  --ink: #0d1b3a;
  --ink-soft: #334568;
  --muted: #5a6b86;
  --line: rgba(10, 52, 130, 0.12);
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(7, 30, 74, 0.07);
  --shadow-md: 0 8px 24px rgba(7, 30, 74, 0.09);
  --shadow-lg: 0 16px 48px rgba(7, 30, 74, 0.13);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --header-h: 88px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --container: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-800); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--emerald-600); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 600;
  color: var(--teal-900);
  margin: 0 0 .5em;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 9999;
  background: var(--teal-800); color: #fff; padding: .75rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s;
  text-align: center; text-decoration: none; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--teal-800), var(--emerald-600));
  color: #fff; box-shadow: 0 8px 20px rgba(10, 52, 130, .25);
}
.btn-primary:hover { color: #fff; box-shadow: 0 12px 28px rgba(10, 52, 130, .32); }
.btn-secondary {
  background: var(--gold-500); color: var(--teal-900);
  box-shadow: 0 8px 20px rgba(201, 162, 39, .28);
}
.btn-secondary:hover { background: var(--gold-400); color: var(--teal-900); }
.btn-ghost {
  background: transparent; color: var(--teal-800); border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--teal-800); color: var(--teal-800); background: rgba(10, 52, 130,.04); }
.btn-outline {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.45);
}
.btn-outline:hover { background: #fff; color: var(--teal-800); }
.btn-sm { padding: .6rem 1.05rem; font-size: .85rem; }
.btn-lg { padding: 1rem 1.75rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Top trust bar */
.top-bar {
  background: var(--teal-900);
  color: rgba(255,255,255,.92);
  font-size: .82rem;
  font-weight: 600;
}
.top-bar-inner {
  display: flex; flex-wrap: wrap; gap: .5rem 1rem;
  align-items: center; justify-content: space-between;
  min-height: 36px; padding: .45rem 0;
}
.top-bar p { margin: 0; }
.top-bar a {
  color: var(--gold-100); font-weight: 800; white-space: nowrap;
}
.top-bar a:hover { color: #fff; }

/* Swift-inspired chip strip + benefit columns */
.chip-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
.hero-chip-row {
  display: flex; flex-wrap: wrap; gap: .55rem;
  justify-content: center; list-style: none; margin: 0; padding: 0;
}
.hero-chip-row li {
  background: linear-gradient(180deg, #fff, rgba(10, 52, 130, .04));
  color: var(--teal-800);
  border: 1px solid rgba(10, 52, 130, .12);
  border-radius: 999px;
  padding: .5rem .95rem;
  font-size: .8rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.benefit-columns {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  margin-bottom: .5rem;
}
.benefit-col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.benefit-col h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid rgba(201, 162, 39, .4);
  color: var(--teal-800);
}
.audience-card h3 { font-size: 1.05rem; }
.audience-card {
  border-top: 3px solid var(--gold-500);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.audience-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
@media (max-width: 720px) {
  .top-bar-inner { justify-content: center; text-align: center; }
  .top-bar p { font-size: .75rem; }
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 248, 252, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h);
}
.logo {
  display: inline-flex; align-items: center; color: inherit;
  flex-shrink: 0; line-height: 0;
}
.logo:hover { color: inherit; opacity: .96; }
.logo-img {
  display: block;
  width: auto;
  height: 64px;
  max-width: min(200px, 42vw);
  object-fit: contain;
  object-position: left center;
  background: transparent;
}
.logo-footer .logo-img {
  height: 72px;
  max-width: 200px;
  background: #fff;
  border-radius: 14px;
  padding: .35rem .55rem;
  box-shadow: var(--shadow-sm);
}
.nav-desktop { display: none; }
.nav-list { display: flex; align-items: center; gap: .15rem; }
.nav-link {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .55rem .7rem; border-radius: 8px; border: 0; background: none;
  color: var(--ink-soft); font-weight: 600; font-size: .88rem; cursor: pointer;
}
.nav-link:hover, .nav-item.is-active > .nav-link { color: var(--teal-800); background: rgba(10, 52, 130,.06); }
.chevron { transition: transform .2s; }
.has-dropdown:hover .chevron, .has-dropdown:focus-within .chevron,
.submenu-toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.has-dropdown { position: relative; }
.dropdown-panel {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: .5rem; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: .2s var(--ease); z-index: 50;
}
.has-dropdown:hover .dropdown-panel,
.has-dropdown:focus-within .dropdown-panel,
.has-dropdown.is-open .dropdown-panel {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-item {
  display: block; padding: .7rem .9rem; border-radius: 10px;
  color: var(--ink-soft); font-weight: 600; font-size: .9rem;
}
.dropdown-item:hover { background: var(--soft-blue); color: var(--teal-800); }
.dropdown-overview { color: var(--teal-800); border-bottom: 1px solid var(--line); margin-bottom: .25rem; }
.header-ctas { display: flex; align-items: center; gap: .5rem; }
.login-dropdown { position: relative; display: none; }
.login-toggle {
  gap: .4rem;
}
.login-toggle .chevron { color: currentColor; }
.login-panel {
  left: auto; right: 0; min-width: 260px;
}
.login-panel .dropdown-item {
  display: flex; flex-direction: column; gap: .15rem; align-items: flex-start;
}
.login-item-title { font-weight: 700; color: var(--teal-900); }
.login-item-desc { font-size: .78rem; font-weight: 500; color: var(--muted); }
.menu-toggle {
  width: 44px; height: 44px; border: 0; background: transparent;
  display: grid; place-content: center; gap: 5px; cursor: pointer; border-radius: 10px;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px; background: var(--teal-800);
  border-radius: 2px; transition: .25s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  border-top: 1px solid var(--line);
  background: var(--cream);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-inner { padding: 1rem 1.25rem 1.5rem; }
.mobile-nav-link {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  padding: .9rem 0; border: 0; border-bottom: 1px solid var(--line);
  background: none; color: var(--ink); font-weight: 700; font-size: 1rem; cursor: pointer; text-align: left;
}
.mobile-submenu { display: none; padding: .25rem 0 .75rem .75rem; }
.has-submenu.is-open .mobile-submenu { display: block; }
.mobile-submenu a {
  display: block; padding: .55rem 0; color: var(--ink-soft); font-weight: 600; font-size: .92rem;
}
.mobile-ctas { display: grid; gap: .65rem; margin-top: 1.25rem; }
.mobile-login-label {
  margin: 0; font-size: .78rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
}

@media (min-width: 1100px) {
  .nav-desktop { display: block; }
  .menu-toggle { display: none; }
  .login-dropdown { display: block; }
  .mobile-menu { display: none !important; }
  .logo-img { height: 70px; max-width: 220px; }
}

@media (max-width: 560px) {
  .logo-img { height: 52px; max-width: 150px; }
  :root { --header-h: 72px; }
}

/* Sections common */
.section { padding: 4.5rem 0; position: relative; }
.section-alt { background: var(--white); }
.section-soft { background: linear-gradient(180deg, var(--soft-blue) 0%, var(--cream) 100%); }
.section-teal {
  background: linear-gradient(145deg, var(--teal-900) 0%, var(--teal-700) 55%, var(--emerald-700) 100%);
  color: #fff;
}
.section-teal h2, .section-teal h3 { color: #fff; }
.section-header { max-width: 640px; margin-bottom: 2.5rem; }
.section-header.centered { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold-600); margin-bottom: .65rem;
}
.section-header p, .lead { color: var(--muted); font-size: 1.05rem; }
.section-teal .lead, .section-teal p { color: rgba(255,255,255,.85); }

/* Hero — CHS-inspired full-bleed photo layout */
.hero-chs {
  position: relative;
  overflow: hidden;
  min-height: clamp(520px, 78vh, 720px);
  display: flex;
  align-items: center;
  color: #fff;
  background: #071e4a;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s var(--ease), visibility .7s;
  will-change: opacity;
}
.hero-media-layer.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hero-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  display: block;
  transform: scale(1.04);
  transition: transform 7s linear;
}
.hero-media-layer.is-active .hero-media-img {
  transform: scale(1.08);
}
.hero-media-layer[data-bg="0"] .hero-media-img { object-position: 78% center; }
.hero-media-layer[data-bg="1"] .hero-media-img { object-position: 70% center; }
.hero-media-layer[data-bg="2"] .hero-media-img { object-position: 45% center; }
.hero-media-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(7, 30, 74, .92) 0%,
      rgba(7, 30, 74, .82) 34%,
      rgba(7, 30, 74, .45) 58%,
      rgba(7, 30, 74, .18) 78%,
      rgba(7, 30, 74, .08) 100%),
    linear-gradient(180deg, rgba(7, 30, 74, .25) 0%, transparent 35%, rgba(7, 30, 74, .45) 100%);
}
.hero-media-layer[data-bg="0"] .hero-media-overlay {
  background:
    linear-gradient(90deg,
      rgba(7, 30, 74, .94) 0%,
      rgba(10, 52, 130, .78) 40%,
      rgba(7, 30, 74, .28) 72%,
      rgba(7, 30, 74, .12) 100%),
    linear-gradient(180deg, rgba(184, 146, 42, .12) 0%, transparent 40%, rgba(7, 30, 74, .5) 100%);
}
.hero-media-layer[data-bg="1"] .hero-media-overlay {
  background:
    linear-gradient(90deg,
      rgba(7, 30, 74, .93) 0%,
      rgba(11, 111, 168, .55) 42%,
      rgba(7, 30, 74, .22) 75%,
      rgba(7, 30, 74, .1) 100%),
    linear-gradient(180deg, rgba(30, 143, 213, .15) 0%, transparent 40%, rgba(7, 30, 74, .48) 100%);
}
.hero-media-layer[data-bg="2"] .hero-media-overlay {
  background:
    linear-gradient(90deg,
      rgba(7, 30, 74, .93) 0%,
      rgba(7, 30, 74, .78) 38%,
      rgba(7, 30, 74, .35) 70%,
      rgba(7, 30, 74, .14) 100%),
    linear-gradient(180deg, rgba(201, 162, 39, .1) 0%, transparent 42%, rgba(7, 30, 74, .5) 100%);
}
.hero-chs-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  padding: 4.5rem 0 5rem;
  display: grid;
  gap: 1.5rem;
}
.hero-slides {
  max-width: 620px;
  min-height: 280px;
}
.hero-slide[hidden] { display: none !important; }
.hero-slide.is-active {
  display: block;
  animation: hero-fade .55s var(--ease);
}
@keyframes hero-fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.hero-kicker {
  display: inline-block;
  margin: 0 0 1rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.hero-chs h1 {
  color: #fff;
  font-size: clamp(2.05rem, 4.6vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 1rem;
  max-width: 16ch;
  text-shadow: 0 8px 28px rgba(0, 0, 0, .25);
}
.hero-sub {
  margin: 0 0 1.75rem;
  max-width: 34em;
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .9);
}
.btn-hero-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}
.btn-hero-outline:hover {
  background: #fff;
  color: var(--teal-900);
  border-color: #fff;
}
.hero-chs .btn-secondary {
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
}
.hero-dots {
  display: flex;
  gap: .55rem;
  align-items: center;
  margin-top: .25rem;
}
.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .85);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.hero-dot.is-active {
  background: #fff;
  transform: scale(1.08);
}
.hero-dot:hover { background: rgba(255, 255, 255, .45); }
.hero-badge {
  position: absolute;
  right: max(1rem, calc((100% - var(--container)) / 2));
  bottom: 3.5rem;
  width: min(230px, calc(100% - 2rem));
  background: rgba(7, 30, 74, .88);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .28);
  backdrop-filter: blur(8px);
  display: grid;
  gap: .25rem;
}
.hero-badge strong {
  color: #fff;
  font-size: .95rem;
}
.hero-stars {
  color: var(--gold-400);
  letter-spacing: .12em;
  font-size: .95rem;
}
.hero-badge span:last-child {
  color: rgba(255, 255, 255, .78);
  font-size: .8rem;
  font-weight: 600;
}
.hero-gold-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-400), var(--gold-600));
  z-index: 2;
}

@media (max-width: 900px) {
  .hero-chs { min-height: auto; }
  .hero-media-layer .hero-media-img,
  .hero-media-layer[data-bg="0"] .hero-media-img,
  .hero-media-layer[data-bg="1"] .hero-media-img,
  .hero-media-layer[data-bg="2"] .hero-media-img { object-position: center 35%; }
  .hero-media-overlay,
  .hero-media-layer[data-bg="0"] .hero-media-overlay,
  .hero-media-layer[data-bg="1"] .hero-media-overlay,
  .hero-media-layer[data-bg="2"] .hero-media-overlay {
    background:
      linear-gradient(180deg,
        rgba(7, 30, 74, .8) 0%,
        rgba(7, 30, 74, .72) 45%,
        rgba(7, 30, 74, .9) 100%),
      linear-gradient(90deg, rgba(7, 30, 74, .55), rgba(7, 30, 74, .25));
  }
  .hero-chs h1 { max-width: none; }
  .hero-badge {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: .5rem;
    width: 100%;
  }
  .hero-chs-inner { padding: 3rem 0 3.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active { animation: none; }
  .hero-media-layer { transition: none; }
  .hero-media-img,
  .hero-media-layer.is-active .hero-media-img { transform: none; transition: none; }
}

/* Cards */
.card-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 1rem;
  background: var(--soft-blue); color: var(--teal-800);
}
.card-icon.gold { background: rgba(201,162,39,.15); color: var(--gold-600); }
.card-icon.pink { background: var(--light-pink); color: var(--coral); }
.card-icon.green { background: rgba(30, 143, 213,.12); color: var(--emerald-600); }
.card h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }

.program-detail-grid {
  display: grid; gap: 2rem; align-items: start;
}
@media (min-width: 900px) {
  .program-detail-grid { grid-template-columns: 1.35fr .85fr; }
}
.program-side-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.5rem; box-shadow: var(--shadow-md); position: sticky; top: calc(var(--header-h) + 1rem);
}
.program-side-card h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.fact-list { display: grid; gap: .75rem; }
.fact-list li { color: var(--muted); font-size: .95rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.fact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.fact-list strong { color: var(--ink); }
.topic-grid {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}
.topic-item {
  display: flex; align-items: flex-start; gap: .65rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .9rem 1rem; font-weight: 600; color: var(--ink-soft);
}
.topic-check {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: .75rem;
  background: rgba(30, 143, 213, .12); color: var(--teal-800); font-weight: 800;
}
.who-outcome-grid {
  display: grid; gap: 2rem;
}
@media (min-width: 800px) {
  .who-outcome-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
.check-list { list-style: none; padding: 0; margin: .75rem 0 0; display: grid; gap: .7rem; }
.check-list li {
  position: relative; padding-left: 1.6rem; color: var(--muted); font-size: .98rem;
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--emerald-600); font-weight: 800;
}
.mode-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s;
}
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.program-card-head {
  padding: 1.35rem 1.5rem 1rem;
  background: linear-gradient(135deg, var(--soft-blue), #fff);
  border-bottom: 1px solid var(--line);
}
.delivery-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .35rem .7rem;
  border-radius: 999px;
  margin-bottom: .65rem;
}
.delivery-badge.own {
  background: rgba(11, 111, 168, .14);
  color: var(--emerald-700);
}
.delivery-badge.match {
  background: rgba(10, 52, 130, .1);
  color: var(--teal-800);
}
.delivery-badge.both {
  background: rgba(201, 162, 39, .18);
  color: var(--gold-600);
}
.teacher-card .delivery-badge { margin-bottom: 0; }
.program-card-head.quran { background: linear-gradient(135deg, #e8f4f0, #fff); }
.program-card-head.school { background: linear-gradient(135deg, var(--soft-blue), #fff); }
.program-card-head.home { background: linear-gradient(135deg, #fdf6e8, #fff); }
.program-card-head.lang { background: linear-gradient(135deg, var(--light-pink), #fff); }
.program-card-head.ai { background: linear-gradient(135deg, #eef2ff, #fff); }
.program-card-head.code { background: linear-gradient(135deg, #ecfdf5, #fff); }
.program-card-head.dev { background: linear-gradient(135deg, #fff7ed, #fff); }
.program-card-head.exam { background: linear-gradient(135deg, #f0f9ff, #fff); }
.program-card h3 { font-size: 1.25rem; }
.program-card-body { padding: 1.25rem 1.5rem; flex: 1; }
.chip-list { display: flex; flex-wrap: wrap; gap: .4rem; margin: .75rem 0 0; }
.chip {
  display: inline-block; padding: .3rem .65rem; border-radius: 999px;
  background: var(--cream-dark); color: var(--ink-soft);
  font-size: .75rem; font-weight: 600;
}
.age-chips .chip { background: rgba(10, 52, 130,.08); color: var(--teal-800); }
.program-card-foot {
  padding: 1rem 1.5rem 1.4rem; border-top: 1px solid var(--line);
}
.program-card-foot .btn { width: 100%; }

/* Age cards */
.age-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.age-card {
  position: relative; padding: 1.75rem 1.5rem; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); overflow: hidden;
}
.age-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
}
.age-card:nth-child(1)::before { background: var(--coral); }
.age-card:nth-child(2)::before { background: var(--gold-500); }
.age-card:nth-child(3)::before { background: var(--emerald-500); }
.age-card:nth-child(4)::before { background: var(--teal-700); }
.age-range {
  display: inline-block; font-size: .8rem; font-weight: 800;
  color: var(--teal-800); background: var(--soft-blue);
  padding: .3rem .7rem; border-radius: 999px; margin-bottom: .85rem;
}

/* Steps */
.steps {
  display: grid; gap: 1.25rem;
  counter-reset: step;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.step {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius); padding: 1.5rem; backdrop-filter: blur(6px);
}
.step-num {
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 700;
  color: var(--gold-100); margin-bottom: .75rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.step p { margin: 0; font-size: .95rem; }

/* Course cards */
.course-card {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.course-thumb {
  aspect-ratio: 16/10; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--teal-800);
}
.course-thumb.t1 { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.course-thumb.t2 { background: linear-gradient(135deg, #fce7f3, #fbcfe8); }
.course-thumb.t3 { background: linear-gradient(135deg, #e0e7ff, #c7d2fe); }
.course-thumb.t4 { background: linear-gradient(135deg, #ccfbf1, #99f6e4); }
.course-thumb.t5 { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.course-thumb.t6 { background: linear-gradient(135deg, #ffedd5, #fed7aa); }
.course-body { padding: 1.25rem 1.35rem; flex: 1; display: flex; flex-direction: column; }
.course-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .75rem; }
.meta-pill {
  font-size: .72rem; font-weight: 700; padding: .25rem .55rem; border-radius: 6px;
  background: var(--cream-dark); color: var(--muted);
}
.course-body h3 { font-size: 1.1rem; }
.course-body p { flex: 1; color: var(--muted); font-size: .9rem; }
.course-actions { display: grid; gap: .5rem; margin-top: 1rem; }

/* Teachers */
.teacher-card {
  text-align: center; padding: 1.75rem 1.35rem;
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
}
.teacher-avatar {
  width: 88px; height: 88px; margin: 0 auto 1rem; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700; color: var(--teal-800);
  background: linear-gradient(145deg, var(--soft-blue), var(--cream-dark));
  border: 3px solid #fff; box-shadow: var(--shadow-sm);
}
.teacher-card h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.teacher-qual { color: var(--emerald-700); font-weight: 700; font-size: .85rem; margin-bottom: .5rem; }
.teacher-details { font-size: .85rem; color: var(--muted); margin-bottom: .75rem; }
.teacher-details span { display: block; }

/* Forms */
.form-panel {
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line);
  padding: 1.75rem; box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-weight: 700; font-size: .88rem; color: var(--ink-soft); }
.form-group .req { color: var(--coral); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: .85rem 1rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--cream);
  color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(10, 52, 130,.12); background: #fff;
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-hint { font-size: .8rem; color: var(--muted); }
.form-actions { margin-top: 1.25rem; }
.form-success {
  text-align: center; padding: 2rem 1rem;
}
.form-success svg { color: var(--emerald-600); margin-bottom: 1rem; }
.assessment-layout {
  display: grid; gap: 2rem; align-items: start;
}
@media (min-width: 900px) {
  .assessment-layout { grid-template-columns: .9fr 1.1fr; }
}

/* CTA banner */
.cta-banner {
  border-radius: var(--radius-lg); padding: 2.5rem 1.75rem;
  background:
    radial-gradient(circle at 90% 20%, rgba(247,231,169,.25), transparent 40%),
    linear-gradient(135deg, var(--teal-900), var(--emerald-700));
  color: #fff; text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-banner p { color: rgba(255,255,255,.88); max-width: 36em; margin-inline: auto 1.5rem; margin: 0 auto 1.5rem; }
.cta-banner .btn-group { justify-content: center; }

/* FAQ */
.faq-list { max-width: 760px; margin-inline: auto; display: grid; gap: .65rem; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.25rem;
  font-weight: 700; color: var(--teal-900); display: flex;
  justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.25rem; color: var(--gold-600); font-weight: 400;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-answer {
  padding: 0 1.25rem 1.15rem; color: var(--muted); font-size: .95rem;
}

/* Blog */
.blog-layout {
  display: grid; gap: 2rem;
}
@media (min-width: 900px) {
  .blog-layout { grid-template-columns: 1fr 300px; }
}
.blog-featured {
  display: grid; gap: 0; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm);
}
@media (min-width: 700px) {
  .blog-featured { grid-template-columns: 1.1fr 1fr; }
}
.blog-featured-media {
  min-height: 220px; background: linear-gradient(135deg, var(--teal-800), var(--emerald-600));
  display: grid; place-items: center; color: #fff; padding: 2rem;
  font-family: var(--font-display); font-size: 1.5rem; text-align: center;
}
.blog-featured-body { padding: 1.75rem; }
.blog-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.blog-card-media {
  aspect-ratio: 16/9; display: grid; place-items: center;
  background: var(--soft-blue); color: var(--teal-800); font-weight: 700;
}
.blog-card-body { padding: 1.15rem 1.25rem 1.35rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-body h3 { font-size: 1.05rem; }
.blog-card-body p { flex: 1; color: var(--muted); font-size: .9rem; }
.category-list { display: flex; flex-wrap: wrap; gap: .4rem; }
.sidebar-block {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; margin-bottom: 1rem;
}
.sidebar-block h3 { font-size: 1rem; margin-bottom: .85rem; }
.search-box { display: flex; gap: .5rem; }
.search-box input {
  flex: 1; padding: .75rem 1rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--cream);
}
.search-box button {
  border: 0; border-radius: var(--radius-sm); padding: 0 1rem;
  background: var(--teal-800); color: #fff; font-weight: 700; cursor: pointer;
}

/* Contact */
.contact-grid {
  display: grid; gap: 2rem;
}
@media (min-width: 800px) {
  .contact-grid { grid-template-columns: .85fr 1.15fr; }
}
.contact-info-card {
  background: linear-gradient(160deg, var(--teal-900), var(--teal-700));
  color: #fff; border-radius: var(--radius-lg); padding: 2rem;
}
.contact-info-card h2 { color: #fff; }
.contact-info-card p { color: rgba(255,255,255,.85); }
.contact-row {
  display: flex; gap: .85rem; align-items: flex-start;
  padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.15);
}
.contact-row:last-child { border-bottom: 0; }
.contact-row a { color: #fff; font-weight: 600; }
.contact-row a:hover { color: var(--gold-100); }
.contact-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: rgba(255,255,255,.12); display: grid; place-items: center;
}

/* Page hero (inner) */
.page-hero {
  padding: 3rem 0 2.5rem;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(30, 143, 213,.1), transparent 50%),
    linear-gradient(180deg, var(--soft-blue), var(--cream));
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(1.85rem, 3.5vw, 2.6rem); }
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
  font-size: .85rem; color: var(--muted); margin-bottom: 1rem;
}
.breadcrumb a { color: var(--teal-800); font-weight: 600; }
.breadcrumb span[aria-hidden] { opacity: .5; }

/* Legal */
.prose { max-width: 720px; }
.prose h2 { margin-top: 2rem; font-size: 1.35rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }

/* Footer */
.site-footer {
  position: relative; background: var(--teal-900); color: rgba(255,255,255,.82);
  padding-top: 3.5rem; overflow: hidden;
}
.footer-pattern {
  position: absolute; inset: 0; opacity: .06; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 2 L22 12 L32 12 L24 18 L27 28 L20 22 L13 28 L16 18 L8 12 L18 12 Z' fill='%23fff'/%3E%3C/svg%3E");
}
.footer-grid {
  position: relative; display: grid; gap: 2rem;
  grid-template-columns: 1fr; padding-bottom: 2.5rem;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-brand .logo { display: inline-block; margin-bottom: .75rem; }
.footer-blurb { font-size: .9rem; max-width: 28em; }
.footer-col h3 {
  color: #fff; font-family: var(--font-body); font-size: .85rem;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem;
}
.footer-col a {
  color: rgba(255,255,255,.75); font-size: .92rem; display: inline-block; padding: .28rem 0;
}
.footer-col a:hover { color: var(--gold-100); }
.social-links { display: flex; gap: .5rem; margin-top: 1rem; }
.social-links a {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff;
}
.social-links a:hover { background: rgba(255,255,255,.16); color: var(--gold-100); }
.footer-contact { display: grid; gap: .4rem; margin-top: 1.25rem; }
.footer-bottom {
  position: relative; border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.15rem 0;
}
.footer-bottom-inner {
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between;
  font-size: .85rem;
}
.footer-bottom p { margin: 0; }

/* WhatsApp float */
.whatsapp-float {
  position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 90;
  display: inline-flex; align-items: center; gap: .55rem;
  background: #25D366; color: #fff !important;
  padding: .85rem 1.15rem; border-radius: 999px;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .4);
  font-weight: 700; font-size: .9rem;
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover {
  transform: translateY(-2px); color: #fff !important;
  box-shadow: 0 14px 32px rgba(37, 211, 102, .5);
}
@media (max-width: 560px) {
  .whatsapp-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .whatsapp-float { width: 56px; height: 56px; padding: 0; justify-content: center; }
}

/* Reveal animation */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.divider { height: 1px; background: var(--line); margin: 2rem 0; }
