/* ==================================================
   1. CSS VARIABLES
================================================== */
:root {
  /* Backgrounds */
  --bg-main: #0A2540;
  --bg-secondary: #082036;
  --bg-elevated: #0F3155;

  /* Brand */
  --green: #22C55E;
  --green-2: #10B981;
  --gold: #D6A43A;
  --gold-light: #E9C978;
  --gradient-brand: linear-gradient(135deg, #D6A43A, #F0CB7A);

  /* Text */
  --text-main: #F8FAFC;
  --text-secondary: #A9B9CE;
  --text-muted: #7C90A8;

  /* Structure */
  --border-color: rgba(198, 178, 130, 0.16);
  --positive: #22C55E;
  --negative: #EF4444;

  /* Type */
  --font-display: 'Inter', Arial, sans-serif;
  --font-body: 'Inter', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* Layout */
  --container-w: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --section-pad: 112px;

  --shadow-card: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
  --shadow-glow-green: 0 0 40px rgba(34, 197, 94, 0.25);
  --shadow-glow-gold: 0 0 44px rgba(214, 164, 58, 0.28);
}

/* ==================================================
   2. RESET AND BASE
================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4, p { margin: 0; }

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: #0A2540;
  padding: 12px 20px;
  font-weight: 700;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* ==================================================
   3. UTILITIES
================================================== */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.section { padding: var(--section-pad) 0; }

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.section-desc {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.check-list { margin: 28px 0 32px; display: flex; flex-direction: column; gap: 14px; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15.5px;
  color: var(--text-secondary);
}
.check-list svg { flex-shrink: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gradient-brand);
  color: #0A2540;
  box-shadow: 0 8px 24px -8px rgba(34, 197, 94, 0.5);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(34, 197, 94, 0.6); }

.btn--secondary {
  background: rgba(248, 250, 252, 0.03);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}
.btn--secondary:hover { border-color: rgba(214, 164, 58, 0.5); background: rgba(214, 164, 58, 0.06); transform: translateY(-2px); }

.btn--verify {
  background: rgba(214, 164, 58, 0.08);
  border: 1px solid rgba(214, 164, 58, 0.3);
  color: var(--gold);
  padding: 10px 18px;
  font-size: 14px;
}
.btn--verify:hover { background: rgba(214, 164, 58, 0.16); }

.btn--full { width: 100%; margin-top: 8px; }

/* ==================================================
   4. NAVIGATION
================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.navbar[data-scrolled="true"] {
  background: rgba(7, 17, 31, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-color);
  padding: 12px 0;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.navbar__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.navbar__logo-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: -0.01em;
}
.navbar__logo-text strong { font-weight: 800; }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.navbar__link {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 0;
  transition: color 0.2s ease;
}
.navbar__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--gradient-brand);
  transition: width 0.25s ease;
}
.navbar__link:hover { color: var(--text-main); }
.navbar__link:hover::after { width: 100%; }
.navbar__link--active { color: var(--text-main); }
.navbar__link--active::after { width: 100%; }

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
}
.navbar__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text-main);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.navbar__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}
.mobile-menu[data-open="true"] { max-height: 480px; }
.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px 28px;
}
.mobile-menu__link {
  padding: 12px 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}
.mobile-menu__link--active { color: var(--text-main); }

/* ==================================================
   5. HERO
================================================== */
.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
}
.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
}
.hero__glow--1 { width: 480px; height: 480px; background: var(--green); top: -160px; left: -120px; animation: glowFloat 12s ease-in-out infinite; }
.hero__glow--2 { width: 420px; height: 420px; background: var(--gold); top: 40px; right: -140px; animation: glowFloat 14s ease-in-out infinite reverse; }

@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, 20px); }
}

/* Hero background photograph, dimmed beneath the grid + gradient */
.hero__photo {
  position: absolute;
  inset: -60px 0 0 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0.24;
  will-change: transform;
}
.hero__photo img {
  width: 100%;
  height: calc(100% + 120px);
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.7) contrast(1.05);
}
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg-main) 0%, rgba(10, 37, 64, 0.55) 35%, var(--bg-main) 100%);
}

/* Floating gold particles for premium ambience */
.hero__particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
  pointer-events: none;
  animation: particleDrift 9s ease-in-out infinite;
}
.hero__particle--1 { width: 5px; height: 5px; top: 18%; left: 46%; animation-delay: 0s; }
.hero__particle--2 { width: 3px; height: 3px; top: 62%; left: 38%; animation-delay: 1.4s; }
.hero__particle--3 { width: 4px; height: 4px; top: 32%; left: 58%; animation-delay: 2.8s; }
.hero__particle--4 { width: 3px; height: 3px; top: 78%; left: 52%; animation-delay: 4.2s; }

@keyframes particleDrift {
  0%, 100% { transform: translate(0, 0); opacity: 0.35; }
  50% { transform: translate(14px, -22px); opacity: 0.75; }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero__title {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.hero__desc {
  margin-top: 22px;
  max-width: 520px;
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 36px;
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Trading dashboard visual */
.hero__visual {
  position: relative;
}

.dashboard {
  position: relative;
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg-secondary));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.dashboard__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}
.dashboard__pair-name {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.dashboard__pair-label {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
.dashboard__price { text-align: right; }
.dashboard__price-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
}
.dashboard__price-change {
  display: inline-block;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}
.dashboard__price-change--up { color: var(--positive); background: rgba(34, 197, 94, 0.12); }
.dashboard__price-change--down { color: var(--negative); background: rgba(239, 68, 68, 0.12); }

.dashboard__timeframes {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.tf-btn {
  padding: 6px 14px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid transparent;
}
.tf-btn--active {
  color: var(--text-main);
  background: rgba(148, 163, 184, 0.08);
  border-color: var(--border-color);
}

.dashboard__chart {
  border-radius: var(--radius-sm);
  background: rgba(7, 17, 31, 0.5);
  padding: 8px 4px 0;
}
.chart-svg { width: 100%; height: 200px; }
.chart-price-label { fill: var(--text-muted); font-size: 10px; font-family: var(--font-mono); }
.chart-line {
  stroke: var(--gold);
  stroke-width: 2;
  opacity: 0.55;
}

.dashboard__volume {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 34px;
  margin-top: 6px;
  padding: 0 4px;
}
.vol-bar {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: rgba(148, 163, 184, 0.25);
}
.vol-bar--up { background: rgba(34, 197, 94, 0.45); }
.vol-bar--down { background: rgba(239, 68, 68, 0.4); }

.dashboard__footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.dashboard__stat { display: flex; flex-direction: column; gap: 2px; }
.dashboard__stat-label { font-size: 10.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.dashboard__stat-value { font-family: var(--font-mono); font-size: 13px; font-weight: 600; }

.dashboard__signal {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 6px;
}
.dashboard__signal--buy { color: var(--positive); background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.3); }
.dashboard__signal--sell { color: var(--negative); background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.25); margin-left: 0; }

.dashboard__disclaimer {
  margin-top: 16px;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}

.verify-card {
  position: absolute;
  bottom: -26px;
  left: -22px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(16, 29, 48, 0.92);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-glow-green), var(--shadow-card);
  backdrop-filter: blur(10px);
  animation: floatCard 6s ease-in-out infinite;
}
.verify-card__icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.verify-card__text { display: flex; flex-direction: column; font-size: 12.5px; }
.verify-card__text strong { font-size: 13.5px; }
.verify-card__text span { color: var(--text-muted); margin-top: 2px; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ==================================================
   6. TRADING DASHBOARD candle styles (used via JS) 
================================================== */
.candle { stroke-linecap: round; }
.candle--up { fill: rgba(34, 197, 94, 0.85); stroke: rgba(34, 197, 94, 0.85); }
.candle--down { fill: rgba(239, 68, 68, 0.8); stroke: rgba(239, 68, 68, 0.8); }

/* ==================================================
   6b. MARKET TICKER (decorative, educational demo data)
================================================== */
.ticker {
  position: relative;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  overflow: hidden;
}
.ticker__label {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  background: linear-gradient(90deg, var(--bg-secondary) 70%, transparent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.ticker__track {
  display: flex;
  width: max-content;
  padding-left: 210px;
  animation: tickerScroll 38s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  white-space: nowrap;
  border-right: 1px solid var(--border-color);
}
.ticker__item strong { color: var(--text-main); font-weight: 600; }
.ticker__change--up { color: var(--positive); }
.ticker__change--down { color: var(--negative); }

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==================================================
   7. STATISTICS
================================================== */
.stats {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
  padding: 48px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-card { display: flex; flex-direction: column; gap: 6px; }
.stat-card__value {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-card__label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==================================================
   8. WHY CHOOSE US
================================================== */
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: var(--shadow-card);
}
.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.08);
  margin-bottom: 20px;
}
.feature-card__title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card__desc { font-size: 14.5px; color: var(--text-secondary); line-height: 1.65; }

/* ==================================================
   9. COURSES
================================================== */
.courses { background: var(--bg-secondary); }
.courses__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.course-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.course-card__media {
  position: relative;
  height: 160px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.course-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.course-card:hover .course-card__media img { transform: scale(1.06); }
.course-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 37, 64, 0.15) 0%, rgba(10, 37, 64, 0.92) 100%);
}
.course-card__spark { position: relative; z-index: 1; width: 100%; height: 70px; opacity: 0.9; }
.course-card__body { padding: 24px; }
.badge--level {
  display: inline-block;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 999px;
  margin-bottom: 14px;
}
.badge--beginner { background: rgba(34, 197, 94, 0.12); color: var(--green); border: 1px solid rgba(34, 197, 94, 0.3); }
.badge--intermediate { background: rgba(214, 164, 58, 0.12); color: var(--gold); border: 1px solid rgba(214, 164, 58, 0.3); }
.badge--advanced { background: rgba(239, 68, 68, 0.1); color: #F87171; border: 1px solid rgba(239, 68, 68, 0.25); }

.course-card__title { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.course-card__desc { font-size: 14px; color: var(--text-secondary); line-height: 1.65; min-height: 66px; }
.course-card__meta {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
}
.course-card__meta span {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-muted);
}
.course-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  transition: gap 0.2s ease;
}
.course-card__link:hover { gap: 10px; }

/* ==================================================
   10. ABOUT PREVIEW
================================================== */
.about-preview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--bg-elevated), var(--bg-secondary));
  border: 1px solid var(--border-color);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transition: clip-path 1s cubic-bezier(0.65, 0, 0.35, 1);
}
.about-visual.is-visible {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.about-visual:not(.is-visible) {
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
}
.about-visual__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.about-visual__grid {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,37,64,0.15) 0%, rgba(10,37,64,0.85) 100%),
    linear-gradient(rgba(214,164,58,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(214,164,58,0.07) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px, 32px 32px;
}
.about-visual__chart { position: absolute; bottom: 30px; left: 20px; right: 20px; height: 100px; }
.about-visual__badge {
  position: absolute;
  top: 24px; left: 24px;
  display: flex; align-items: center; gap: 8px;
  background: rgba(7,17,31,0.7);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}
.about-visual__card {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  background: rgba(16,29,48,0.92);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: var(--shadow-card);
}
.about-visual__card--1 { top: 78px; right: 20px; animation: floatCard 7s ease-in-out infinite; }
.about-visual__card--2 { bottom: 26px; right: 24px; animation: floatCard 8s ease-in-out infinite 1s; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot--green { background: var(--positive); }
.dot--red { background: var(--negative); }

/* ==================================================
   11. LEARNING JOURNEY
================================================== */
.journey { background: var(--bg-secondary); position: relative; }
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 66px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  opacity: 0.35;
}
.timeline__step {
  position: relative;
  text-align: left;
}
.timeline__number {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 14px;
}
.timeline__icon {
  position: relative;
  z-index: 1;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.timeline__title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.timeline__desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ==================================================
   12. MENTORS
================================================== */
.mentors__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mentor-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mentor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.mentor-card:hover .mentor-card__photo { border-color: rgba(214, 164, 58, 0.55); }
.mentor-card:hover .mentor-card__photo img { transform: scale(1.08); }
.mentor-card__photo {
  position: relative;
  width: 92px; height: 92px;
  border-radius: 50%;
  margin: 0 auto 18px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(214,164,58,0.35), rgba(34,197,94,0.25));
  border: 2px solid var(--border-color);
  transition: border-color 0.25s ease;
}
.mentor-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.mentor-card__name { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.mentor-card__role { font-size: 13.5px; color: var(--text-secondary); margin-bottom: 16px; }
.mentor-card__tags { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.tag {
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(214, 164, 58, 0.1);
  color: var(--gold);
  border: 1px solid rgba(214, 164, 58, 0.25);
}

/* ==================================================
   13. CERTIFICATE VERIFICATION
================================================== */
.verify { position: relative; background: var(--bg-secondary); overflow: hidden; }
.verify__grid-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 80% 30%, rgba(6,182,212,0.12), transparent 55%), radial-gradient(circle at 15% 75%, rgba(34,197,94,0.1), transparent 55%);
}
.verify__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.cert-card {
  background: linear-gradient(160deg, var(--bg-elevated), var(--bg-secondary));
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-glow-green), var(--shadow-card);
  position: relative;
}
.cert-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--gradient-brand);
  opacity: 0.25;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: ringPulse 3.4s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.55; }
}
.cert-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.cert-card__status { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--green); }
.cert-card__valid {
  font-size: 11px; font-weight: 800; letter-spacing: 0.06em;
  color: var(--green);
  border: 1px solid rgba(34,197,94,0.4);
  background: rgba(34,197,94,0.1);
  padding: 4px 10px; border-radius: 6px;
}
.cert-card__body { display: flex; flex-direction: column; gap: 14px; padding: 20px 0; border-top: 1px dashed var(--border-color); border-bottom: 1px dashed var(--border-color); }
.cert-card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cert-card__label { font-size: 12.5px; color: var(--text-muted); }
.cert-card__value { font-size: 15px; font-weight: 600; text-align: right; }
.cert-card__value--mono { font-family: var(--font-mono); font-size: 13.5px; color: var(--gold); }
.cert-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.qr-placeholder {
  background: rgba(7,17,31,0.7);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 6px;
}
.security-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--text-secondary);
}

/* ==================================================
   14. TESTIMONIALS
================================================== */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testimonial-card__rating { display: flex; gap: 3px; }
.testimonial-card__text { font-size: 15px; color: var(--text-secondary); line-height: 1.7; flex-grow: 1; }
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__author strong { display: block; font-size: 14.5px; font-weight: 700; }
.testimonial-card__author span:last-child { display: block; font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.testimonial-card__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(214, 164, 58, 0.3);
}
.testimonial-card__avatar img {
  width: 100%; height: 100%; object-fit: cover;
}

/* ==================================================
   15. FINAL CTA
================================================== */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.final-cta__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.final-cta__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: saturate(0.75);
}
.final-cta__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg-main) 0%, rgba(10,37,64,0.75) 40%, var(--bg-main) 100%);
}
.final-cta__grid-bg {
  position: absolute; inset: 0;
  z-index: 1;
  background-image: linear-gradient(rgba(214,164,58,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(214,164,58,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 50%, black 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 100% at 50% 50%, black 30%, transparent 100%);
}
.final-cta__line { position: absolute; z-index: 1; bottom: 0; left: 0; width: 100%; height: 120px; opacity: 0.5; }
.final-cta__inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; text-align: center; }
.final-cta__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  margin-top: 6px;
}
.final-cta__desc { margin-top: 18px; font-size: 16.5px; color: var(--text-secondary); line-height: 1.7; }
.final-cta__actions { display: flex; justify-content: center; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

/* ==================================================
   16. FOOTER
================================================== */
.footer { background: var(--bg-secondary); padding-top: 72px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col a, .footer__text {
  font-size: 14.5px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}
.footer__col a:hover { color: var(--text-main); }
.footer__heading { font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--text-main); }
.footer__desc { font-size: 14px; color: var(--text-secondary); line-height: 1.65; margin: 14px 0 6px; max-width: 320px; }
.footer__social { display: flex; gap: 10px; }
.footer__social-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  border: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer__social-icon:hover { color: var(--gold); border-color: rgba(6,182,212,0.4); }

.footer__bottom { border-top: 1px solid var(--border-color); padding: 24px 0; }
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer__bottom-links { display: flex; gap: 20px; }
.footer__bottom-links a { font-size: 13px; color: var(--text-muted); }
.footer__bottom-links a:hover { color: var(--text-main); }
.footer__disclaimer {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 720px;
}

/* ==================================================
   17. ANIMATIONS
================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.candle-enter {
  transform-origin: bottom;
  animation: candleGrow 0.5s ease forwards;
}
@keyframes candleGrow {
  from { transform: scaleY(0); opacity: 0; }
  to { transform: scaleY(1); opacity: 1; }
}

.chart-line-draw {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: drawLine 2.2s ease forwards 0.4s;
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

/* ==================================================
   17b. ABOUT PAGE COMPONENTS
================================================== */

/* Page header (used on interior pages like About) */
.page-header {
  position: relative;
  padding: 168px 0 88px;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}
.page-header__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-header__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: saturate(0.7);
}
.page-header__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg-main) 0%, rgba(10,37,64,0.5) 50%, var(--bg-main) 100%);
}
.page-header__grid {
  position: absolute; inset: 0; z-index: 1;
  background-image: linear-gradient(rgba(214,164,58,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(214,164,58,0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 20%, black 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 20%, black 30%, transparent 100%);
}
.page-header__inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-secondary); transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span[aria-current] { color: var(--gold); }
.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.page-header__desc {
  margin-top: 18px;
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Our Story — reuses about-preview grid patterns with a reversible order */
.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.story__grid--reverse .story__visual { order: 2; }
.story__grid--reverse .story__content { order: 1; }
.story__visual {
  position: relative;
  aspect-ratio: 4 / 3.2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transition: clip-path 1s cubic-bezier(0.65, 0, 0.35, 1);
}
.story__visual:not(.is-visible) { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); }
.story__visual img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85) contrast(1.03);
}
.story__visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10,37,64,0.05), rgba(10,37,64,0.55));
}
.story__content p { margin-top: 16px; font-size: 15.5px; color: var(--text-secondary); line-height: 1.8; }
.story__content p:first-of-type { margin-top: 22px; }

/* Pull quote */
.pull-quote {
  position: relative;
  margin: 0 auto;
  max-width: 780px;
  text-align: center;
  padding: 8px 28px 0;
}
.pull-quote__mark {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.5;
  display: block;
  margin-bottom: 4px;
}
.pull-quote__text {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 27px);
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-main);
}
.pull-quote__author {
  display: block;
  margin-top: 22px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Team grid — variant of mentor cards sized for a fuller roster */
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(214, 164, 58, 0.35);
}
.team-card__photo {
  position: relative;
  width: 100px; height: 100px;
  border-radius: 50%;
  margin: 0 auto 18px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  transition: border-color 0.25s ease;
}
.team-card:hover .team-card__photo { border-color: rgba(214, 164, 58, 0.55); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.team-card:hover .team-card__photo img { transform: scale(1.08); }
.team-card__name { font-size: 17.5px; font-weight: 700; margin-bottom: 4px; }
.team-card__role { font-size: 13px; font-weight: 600; color: var(--gold); margin-bottom: 12px; letter-spacing: 0.02em; }
.team-card__bio { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.team-card__tags { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }

/* Milestone timeline (vertical, alternating) */
.milestones {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.milestones::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(214,164,58,0.4) 10%, rgba(214,164,58,0.4) 90%, transparent);
}
.milestone {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  align-items: start;
  gap: 0;
  margin-bottom: 52px;
}
.milestone:last-child { margin-bottom: 0; }
.milestone__dot {
  grid-column: 2;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 2px solid var(--gold);
  margin: 6px auto 0;
  box-shadow: 0 0 0 5px rgba(214,164,58,0.12);
  z-index: 1;
}
.milestone__content { grid-column: 1; text-align: right; padding-right: 32px; }
.milestone:nth-child(even) .milestone__content { grid-column: 3; text-align: left; padding-right: 0; padding-left: 32px; }
.milestone__year {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}
.milestone__title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.milestone__desc { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* ==================================================
   18. RESPONSIVE BREAKPOINTS
================================================== */
@media (max-width: 1200px) {
  :root { --section-pad: 96px; }
  .container { padding: 0 20px; }
}

@media (max-width: 992px) {
  .navbar__links { display: none; }
  .navbar__toggle { display: flex; }
  .mobile-menu { display: block; }

  .hero__inner { grid-template-columns: 1fr; gap: 64px; }
  .hero__visual { max-width: 560px; margin: 0 auto; }
  .hero__content { text-align: left; }

  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .courses__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }

  .about-preview__grid { grid-template-columns: 1fr; gap: 48px; }
  .about-preview__visual { max-width: 480px; margin: 0 auto; width: 100%; }

  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .timeline::before { display: none; }

  .mentors__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }

  .verify__grid { grid-template-columns: 1fr; gap: 48px; }
  .verify__visual { max-width: 440px; margin: 0 auto; width: 100%; }

  .footer__grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }

  .story__grid { grid-template-columns: 1fr; gap: 48px; }
  .story__grid--reverse .story__visual,
  .story__grid--reverse .story__content { order: initial; }
  .story__visual { max-width: 480px; margin: 0 auto; width: 100%; }

  .team__grid { grid-template-columns: repeat(2, 1fr); }

  .milestones::before { left: 20px; }
  .milestone { grid-template-columns: 40px 1fr; gap: 0 20px; }
  .milestone__dot { grid-column: 1; margin: 6px 0 0; }
  .milestone__content,
  .milestone:nth-child(even) .milestone__content {
    grid-column: 2;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  :root { --section-pad: 76px; }
  .hero { padding: 56px 0 72px; }
  .verify-card { position: static; margin-top: 20px; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: 1fr; }
  .courses__grid { grid-template-columns: 1fr; }
  .mentors__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; row-gap: 36px; }
  .team__grid { grid-template-columns: 1fr; }
  .page-header { padding: 148px 0 64px; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 576px) {
  .container { padding: 0 18px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__trust { gap: 16px; }
  .final-cta__actions { flex-direction: column; align-items: stretch; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .navbar__actions { gap: 10px; }
  .btn--verify span { display: none; }
}

@media (max-width: 400px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .dashboard__footer { justify-content: flex-start; }
  .dashboard__signal--sell { margin-left: 0; }
}

/* ==================================================
   17c. WHATSAPP FLOATING BUTTON (site-wide)
================================================== */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: whatsappEnter 0.6s ease 1.2s backwards, whatsappPulse 2.8s ease-out 2s infinite;
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px -8px rgba(0, 0, 0, 0.55);
}
.whatsapp-float svg { position: relative; z-index: 1; }

.whatsapp-float__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.whatsapp-float:hover .whatsapp-float__tooltip,
.whatsapp-float:focus-visible .whatsapp-float__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@keyframes whatsappEnter {
  from { opacity: 0; transform: scale(0.5) translateY(16px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes whatsappPulse {
  0% { box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.5), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 576px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-float__tooltip { display: none; }
}

/* ==================================================
   19. REDUCED MOTION
================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__glow--1, .hero__glow--2, .verify-card, .about-visual__card--1, .about-visual__card--2 {
    animation: none;
  }
  .whatsapp-float { animation: none; opacity: 1; }
}


/* ===== about.css (page-specific) ===== */

/* ==================================================
   ABOUT PAGE — PAGE-SPECIFIC STYLES
   Extends css/home.css. Reuses all shared design
   tokens (colors, spacing, radius, buttons, cards,
   nav, footer, stats, timeline) from the global file.
   Only genuinely new components live here:
   hero entrance animation, Who We Are feature points,
   Our Story milestone list, Mission/Vision cards,
   Values grid, flexible mentors grid + socials,
   and the vanilla-JS testimonial slider.
================================================== */

/* ==================================================
   0. UTILITIES (page-specific)
================================================== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==================================================
   1. HERO ENTRANCE ANIMATION
   (page-header base styles live in home.css;
   this file only adds the staggered reveal)
================================================== */
.page-header__eyebrow,
.page-header__title,
.page-header__desc,
.page-header__crumbs {
  opacity: 0;
  transform: translateY(18px);
  animation: heroFadeUp 0.8s ease forwards;
}
.page-header__crumbs { animation-delay: 0s; }
.page-header__eyebrow { animation-delay: 0.08s; }
.page-header__title { animation-delay: 0.2s; }
.page-header__desc { animation-delay: 0.36s; }

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Decorative candlestick strip in the page header */
.page-header__chart {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, 90%);
  height: 64px;
  opacity: 0.5;
  pointer-events: none;
}
.page-header__chart .candle-mini {
  transform-origin: bottom;
  animation: candleGrow 0.5s ease forwards;
  opacity: 0;
}

/* ==================================================
   2. WHO WE ARE
================================================== */
.who__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.who__visual {
  position: relative;
  aspect-ratio: 4 / 4.6;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transition: clip-path 1s cubic-bezier(0.65, 0, 0.35, 1);
}
.who__visual:not(.is-visible) { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); }
.who__visual img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85) contrast(1.03);
}
.who__visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(10,37,64,0.05), rgba(10,37,64,0.6));
}
.who__badge {
  position: absolute;
  bottom: 20px; left: 20px;
  z-index: 2;
  display: flex; align-items: center; gap: 8px;
  background: rgba(10, 37, 64, 0.82);
  border: 1px solid rgba(214, 164, 58, 0.35);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.feature-points {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 28px 0 32px;
}
.feature-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.feature-point__icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(214, 164, 58, 0.1);
  border: 1px solid rgba(214, 164, 58, 0.25);
  display: flex; align-items: center; justify-content: center;
}
.feature-point__text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}
.feature-point__text span {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ==================================================
   3. OUR STORY + MILESTONE LIST
================================================== */
.story-alt__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.story-alt__content p {
  margin-top: 16px;
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.8;
}
.story-alt__content p:first-of-type { margin-top: 22px; }

.story-milestones {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.story-milestone {
  position: relative;
  padding: 20px 0 20px 34px;
  border-left: 2px solid var(--border-color);
}
.story-milestone:last-child { border-left-color: transparent; }
.story-milestone::before {
  content: "";
  position: absolute;
  left: -7px; top: 22px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 2px solid var(--gold);
}
.story-milestone__title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}
.story-milestone__desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==================================================
   4. MISSION & VISION
================================================== */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.mv-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(214, 164, 58, 0.3);
}
.mv-card__graphic {
  position: absolute;
  top: -30px; right: -30px;
  width: 160px; height: 160px;
  opacity: 0.12;
  pointer-events: none;
}
.mv-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 14px;
  background: rgba(214, 164, 58, 0.1);
  border: 1px solid rgba(214, 164, 58, 0.25);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.mv-card--vision .mv-card__icon {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.25);
}
.mv-card__label {
  position: relative; z-index: 1;
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.mv-card--vision .mv-card__label { color: var(--green); }
.mv-card__title {
  position: relative; z-index: 1;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 14px;
}
.mv-card__desc {
  position: relative; z-index: 1;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ==================================================
   5. CORE VALUES GRID
================================================== */
.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ==================================================
   6. WHY CHOOSE — BENEFITS GRID
================================================== */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 44px;
}

/* ==================================================
   7. MENTORS — FLEXIBLE GRID + SOCIAL LINKS
================================================== */
.team__grid--flex {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.team-card__social {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.team-card__social a {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.team-card__social a:hover { color: var(--gold); border-color: rgba(214, 164, 58, 0.4); }

/* ==================================================
   8. TESTIMONIAL SLIDER (vanilla JS driven)
================================================== */
.testimonial-slider {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}
.testimonial-slider__viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.testimonial-slider__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.testimonial-slide {
  flex: 0 0 100%;
  padding: 4px;
}
.testimonial-slide__card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}
.testimonial-slide__rating {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-bottom: 20px;
}
.testimonial-slide__text {
  font-size: 17px;
  color: var(--text-main);
  line-height: 1.8;
  font-weight: 500;
  max-width: 560px;
  margin: 0 auto 26px;
}
.testimonial-slide__author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.avatar-initials {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #0A2540;
  background: var(--gradient-brand);
}
.testimonial-slide__author strong { font-size: 15px; font-weight: 700; }
.testimonial-slide__author span { font-size: 13px; color: var(--text-muted); }

.testimonial-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}
.testimonial-slider__btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-elevated);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-main);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.testimonial-slider__btn:hover {
  border-color: rgba(214, 164, 58, 0.5);
  color: var(--gold);
  transform: translateY(-2px);
}
.testimonial-slider__dots {
  display: flex;
  gap: 8px;
}
.testimonial-slider__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-color);
  transition: background 0.2s ease, transform 0.2s ease;
}
.testimonial-slider__dot[aria-current="true"] {
  background: var(--gold);
  transform: scale(1.3);
}

/* ==================================================
   9. RESPONSIVE — ABOUT PAGE COMPONENTS
================================================== */
@media (max-width: 992px) {
  .who__grid { grid-template-columns: 1fr; gap: 40px; }
  .who__visual { max-width: 440px; margin: 0 auto; width: 100%; }

  .story-alt__grid { grid-template-columns: 1fr; gap: 40px; }

  .mv-grid { grid-template-columns: 1fr; }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }

  .testimonial-slide__card { padding: 32px 24px; }
}

@media (max-width: 768px) {
  .values__grid { grid-template-columns: 1fr; }
  .benefits__grid { grid-template-columns: 1fr; }
  .team__grid--flex { grid-template-columns: 1fr; }
  .testimonial-slide__text { font-size: 15.5px; }
}

/* ==================================================
   10. REDUCED MOTION
================================================== */
@media (prefers-reduced-motion: reduce) {
  .page-header__eyebrow,
  .page-header__title,
  .page-header__desc,
  .page-header__crumbs {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .testimonial-slider__track { transition: none; }
}


/* ===== courses.css (page-specific) ===== */

/* ==================================================
   COURSES PAGE — PAGE-SPECIFIC STYLES
   Extends css/home.css and css/about.css. Reuses all
   shared tokens/components (nav, footer, buttons,
   page-header, course-card base, timeline, feature-card,
   benefits grid, team grid) from those files. Only new
   components live here: hero trust bar, search/filter
   bar, featured programme, course-card extensions
   (category badge, mentor/price/cert rows), empty state,
   results count, learning-path 5-step modifier, and the
   FAQ accordion.
================================================== */

/* ==================================================
   1. HERO TRUST BAR
================================================== */
.hero-trustbar {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.hero-trustbar span.sep {
  color: var(--gold);
  opacity: 0.6;
}

/* ==================================================
   2. SEARCH & FILTER BAR
================================================== */
.filter-bar {
  position: relative;
  z-index: 5;
  margin-top: -46px;
  margin-bottom: 64px;
}
.filter-bar__panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.filter-bar__search {
  position: relative;
  margin-bottom: 18px;
}
.filter-bar__search svg {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.filter-bar__search input {
  width: 100%;
  padding: 14px 16px 14px 46px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 14.5px;
}
.filter-bar__search input::placeholder { color: var(--text-muted); }
.filter-bar__search input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-color: rgba(214, 164, 58, 0.5);
}

.filter-bar__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 14px;
  align-items: end;
}
.filter-field { display: flex; flex-direction: column; gap: 6px; }
.filter-field label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.filter-field select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 11px 38px 11px 14px;
  border-radius: 9px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'><path d='M6 9l6 6 6-6' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 13.5px;
  cursor: pointer;
}
.filter-field select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.filter-bar__reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 18px;
  border-radius: 9px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.filter-bar__reset:hover { color: var(--gold); border-color: rgba(214,164,58,0.4); }

.filter-results {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.filter-results strong { color: var(--text-main); }

/* ==================================================
   3. FEATURED PROGRAMME
================================================== */
.featured-programme {
  position: relative;
  background: linear-gradient(160deg, var(--bg-elevated), var(--bg-secondary));
  border: 1px solid rgba(214, 164, 58, 0.25);
  border-radius: var(--radius-lg);
  padding: 44px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.featured-programme__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(214, 164, 58, 0.1);
  border: 1px solid rgba(214, 164, 58, 0.3);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.featured-programme__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
}
.featured-programme__subtitle {
  font-size: 15px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}
.featured-programme__desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 26px;
}
.featured-programme__details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
  margin-bottom: 30px;
}
.featured-programme__detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
}
.featured-programme__detail strong { color: var(--text-main); }
.featured-programme__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.featured-programme__visual {
  position: relative;
  aspect-ratio: 4 / 3.3;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transition: clip-path 1s cubic-bezier(0.65, 0, 0.35, 1);
}
.featured-programme__visual:not(.is-visible) { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); }
.featured-programme__visual img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.featured-programme__visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(10,37,64,0.05), rgba(10,37,64,0.55));
}

/* ==================================================
   4. COURSE CARD EXTENSIONS
   (base .course-card, .course-card__media,
   .course-card__body, .badge--level come from home.css)
================================================== */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.course-card__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.badge--category {
  display: inline-block;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}
.badge--level.badge--all { background: rgba(214,164,58,0.12); color: var(--gold); border-color: rgba(214,164,58,0.3); }
.badge--level.badge--professional { background: rgba(6, 182, 212, 0.12); color: #38BDF8; border-color: rgba(56,189,248,0.3); }
.badge--level.badge--master { background: rgba(239, 68, 68, 0.1); color: #F87171; border-color: rgba(239,68,68,0.25); }

.course-card__meta--full {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
}
.course-card__meta--full span {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--text-muted);
}
.course-card__mentor {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-secondary);
}
.course-card__mentor img {
  width: 24px; height: 24px;
  border-radius: 50%;
  object-fit: cover;
}
.course-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
}
.course-card__price {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}
.course-card__price--free { color: var(--green); }
.course-card__price--enquire { font-size: 13px; font-family: var(--font-body); color: var(--text-muted); }
.course-card__cert {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--green);
  margin-top: 10px;
}

/* Empty state */
.empty-state {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 72px 24px;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
}
.empty-state.is-active { display: flex; }
.empty-state__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(214, 164, 58, 0.1);
  border: 1px solid rgba(214, 164, 58, 0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.empty-state__title { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.empty-state__desc { font-size: 14.5px; color: var(--text-secondary); margin-bottom: 22px; max-width: 380px; }

/* ==================================================
   5. LEARNING PATH — 5-STEP TIMELINE MODIFIER
   (base .timeline styles come from home.css)
================================================== */
.timeline--5 { grid-template-columns: repeat(5, 1fr); }
.timeline--5::before { left: 6%; right: 6%; }

/* ==================================================
   6. FAQ ACCORDION
================================================== */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item:has(.faq-item__trigger[aria-expanded="true"]) {
  border-color: rgba(214, 164, 58, 0.35);
}
.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-main);
}
.faq-item__icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.faq-item__trigger[aria-expanded="true"] .faq-item__icon {
  transform: rotate(45deg);
  border-color: rgba(214, 164, 58, 0.5);
  color: var(--gold);
}
.faq-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq-item__panel-inner { overflow: hidden; }
.faq-item__trigger[aria-expanded="true"] + .faq-item__panel {
  grid-template-rows: 1fr;
}
.faq-item__answer {
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==================================================
   7. RESPONSIVE — COURSES PAGE COMPONENTS
================================================== */
@media (max-width: 1200px) {
  .filter-bar__row { grid-template-columns: repeat(2, 1fr); }
  .filter-bar__reset { grid-column: span 2; justify-content: center; }
}

@media (max-width: 992px) {
  .featured-programme { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .featured-programme__visual { max-width: 480px; margin: 0 auto; width: 100%; }

  .courses-grid { grid-template-columns: repeat(2, 1fr); }

  .timeline--5 { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .timeline--5::before { display: none; }
}

@media (max-width: 768px) {
  .filter-bar { margin-top: -32px; }
  .filter-bar__row { grid-template-columns: 1fr; }
  .filter-bar__reset { grid-column: span 1; }

  .featured-programme__details { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
  .timeline--5 { grid-template-columns: 1fr; }
}

/* ==================================================
   8. REDUCED MOTION
================================================== */
@media (prefers-reduced-motion: reduce) {
  .featured-programme__visual { transition: none; }
  .faq-item__panel { transition: none; }
  .faq-item__icon { transition: none; }
}


/* ===== pricing.css (page-specific) ===== */

/* ==================================================
   PRICING PAGE — PAGE-SPECIFIC STYLES
   Extends css/home.css, css/about.css and css/courses.css.
   Reuses nav, footer, page-header, buttons, badges,
   .check-list, .timeline, .feature-card, .verify /
   .cert-card, and the .filter-bar / .empty-state /
   .faq-list components wherever they fit. Only genuinely
   new components live here: trust strip, pricing cards,
   comparison table, payment-option grid, and the risk
   notice.
================================================== */

/* ==================================================
   1. TRUST STRIP
================================================== */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-bottom: 24px;
}
.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
}
.trust-strip__item svg { flex-shrink: 0; }
.intro-statement {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==================================================
   2. PRICING CARDS
================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.pricing-card--featured {
  border-color: rgba(214, 164, 58, 0.5);
  box-shadow: var(--shadow-glow-gold);
}
.pricing-card__ribbon {
  position: absolute;
  top: -13px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #0A2540;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pricing-card__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.pricing-card__title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}
.pricing-card__desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}
.pricing-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 22px;
}
.pricing-card__price {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
}
.pricing-card__price--free { color: var(--green); }
.pricing-card__price--enquire { font-size: 19px; }
.pricing-card__price-original {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.pricing-card__price-note {
  font-size: 12px;
  color: var(--text-muted);
}

.pricing-card__features {
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex-grow: 1;
}
.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
}
.pricing-card__features svg { flex-shrink: 0; }

.pricing-card__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-card__details-link {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
}
.pricing-card__mentor {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.pricing-card__mentor img {
  width: 22px; height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

/* ==================================================
   3. COMPARISON TABLE
================================================== */
.compare-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}
.compare-table th,
.compare-table td {
  padding: 16px 22px;
  text-align: left;
  font-size: 13.5px;
  white-space: nowrap;
  border-bottom: 1px solid var(--border-color);
}
.compare-table thead th {
  background: var(--bg-secondary);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.compare-table tbody tr {
  transition: background 0.2s ease;
}
.compare-table tbody tr:hover {
  background: rgba(214, 164, 58, 0.05);
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td:first-child {
  font-weight: 600;
  color: var(--text-main);
}
.compare-table__cert {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  font-weight: 600;
}
.compare-table__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.compare-hint {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ==================================================
   4. PAYMENT OPTIONS GRID (3-up, reuses .feature-card)
================================================== */
.payment__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ==================================================
   5. WHAT'S INCLUDED GRID (reuses .feature-card)
================================================== */
.includes__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.includes__grid .feature-card { padding: 26px 22px; }
.includes__grid .feature-card__title { font-size: 15.5px; }
.includes__grid .feature-card__desc { font-size: 13px; }

/* ==================================================
   6. RISK NOTICE
================================================== */
.risk-notice {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 30px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid rgba(214, 164, 58, 0.3);
  max-width: 880px;
  margin: 0 auto;
}
.risk-notice__icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(214, 164, 58, 0.1);
  border: 1px solid rgba(214, 164, 58, 0.3);
  display: flex; align-items: center; justify-content: center;
}
.risk-notice__title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.risk-notice__text { font-size: 13.5px; color: var(--text-secondary); line-height: 1.75; }

/* ==================================================
   7. RESPONSIVE — PRICING PAGE COMPONENTS
================================================== */
@media (max-width: 992px) {
  .payment__grid { grid-template-columns: 1fr; }
  .includes__grid { grid-template-columns: repeat(2, 1fr); }
  .compare-hint { display: flex; }
  .risk-notice { flex-direction: column; text-align: left; }
}

@media (max-width: 768px) {
  .includes__grid { grid-template-columns: 1fr; }
  .trust-strip { gap: 16px 22px; }
}


/* ===== contact.css (page-specific) ===== */

/* ==================================================
   CONTACT PAGE — PAGE-SPECIFIC STYLES
   Extends css/home.css, css/about.css, css/courses.css
   and css/pricing.css. Reuses nav, footer, page-header,
   buttons, badges, .feature-card / .why__grid, .faq-list,
   .risk-notice and .hero-trustbar wherever they fit. Only
   genuinely new components live here: contact info cards,
   the contact form, the info panel, business hours,
   location/map, and the student-support / certificate
   shortcut cards.
================================================== */

/* ==================================================
   1. QUICK CONTACT INFO CARDS
   (grid reuses .why__grid; cards reuse .feature-card)
================================================== */
.contact-card {
  display: block;
  text-decoration: none;
}
.contact-card__label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.contact-card__value {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  word-break: break-word;
}
.contact-card:hover .contact-card__value { color: var(--gold); }

/* ==================================================
   2. MAIN CONTACT — TWO COLUMN LAYOUT
================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

/* ==================================================
   3. CONTACT FORM
================================================== */
.contact-form {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}
.form-field--full { grid-column: 1 / -1; }
.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}
.form-label .optional {
  font-weight: 400;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
}
.form-label .required {
  color: var(--gold);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 9px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.2s ease;
}
.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'><path d='M6 9l6 6 6-6' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.form-textarea { min-height: 130px; resize: vertical; }
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }

.form-input:focus-visible,
.form-select:focus-visible,
.form-textarea:focus-visible {
  outline: none;
  border-color: rgba(214, 164, 58, 0.6);
  box-shadow: 0 0 0 3px rgba(214, 164, 58, 0.15);
}
.form-input[aria-invalid="true"],
.form-select[aria-invalid="true"],
.form-textarea[aria-invalid="true"] {
  border-color: rgba(239, 68, 68, 0.6);
}
.form-input[aria-invalid="true"]:focus-visible,
.form-select[aria-invalid="true"]:focus-visible,
.form-textarea[aria-invalid="true"]:focus-visible {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-error {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #F87171;
}
.form-error.is-visible { display: flex; }

.form-conditional {
  grid-column: 1 / -1;
  display: none;
}
.form-conditional.is-visible { display: flex; flex-direction: column; }

.form-hint {
  grid-column: 1 / -1;
  display: none;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(214, 164, 58, 0.08);
  border: 1px solid rgba(214, 164, 58, 0.25);
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.form-hint.is-visible { display: flex; }
.form-hint a {
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

.form-checkbox-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
}
.form-checkbox-row input[type="checkbox"] {
  margin-top: 3px;
  width: 17px; height: 17px;
  accent-color: var(--gold);
  flex-shrink: 0;
}
.form-checkbox-row label {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.form-submit {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.form-submit .btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}
.form-spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(10, 37, 64, 0.3);
  border-top-color: #0A2540;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.is-sending .form-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status {
  grid-column: 1 / -1;
  display: none;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.6;
}
.form-status.is-visible { display: flex; }
.form-status--success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86EFAC;
}
.form-status--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #FCA5A5;
}

/* ==================================================
   4. INFO PANEL (right column)
================================================== */
.info-panel {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.info-panel__card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.info-panel__title { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.info-panel__desc { font-size: 13.5px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 22px; }

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}
.info-row:last-child { margin-bottom: 0; }
.info-row__icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(214, 164, 58, 0.1);
  border: 1px solid rgba(214, 164, 58, 0.25);
  display: flex; align-items: center; justify-content: center;
}
.info-row__text { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; }
.info-row__text strong { display: block; color: var(--text-main); font-size: 14px; margin-bottom: 2px; }
.info-row__text a { color: var(--text-secondary); }
.info-row__text a:hover { color: var(--gold); }

.info-panel__social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border-color);
}

/* ==================================================
   5. BUSINESS HOURS
================================================== */
.hours-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 34px;
  max-width: 560px;
  margin: 0 auto;
}
.hours-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
}
.status-pill__dot { width: 7px; height: 7px; border-radius: 50%; }
.status-pill--open { background: rgba(34, 197, 94, 0.12); color: var(--green); border: 1px solid rgba(34,197,94,0.3); }
.status-pill--open .status-pill__dot { background: var(--green); box-shadow: 0 0 0 3px rgba(34,197,94,0.25); }
.status-pill--closed { background: rgba(148, 163, 184, 0.1); color: var(--text-muted); border: 1px solid var(--border-color); }
.status-pill--closed .status-pill__dot { background: var(--text-muted); }

.hours-list { display: flex; flex-direction: column; gap: 13px; }
.hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
}
.hours-row__day { color: var(--text-main); font-weight: 600; }
.hours-row__time { color: var(--text-secondary); }
.hours-row--today .hours-row__day,
.hours-row--today .hours-row__time { color: var(--gold); }
.hours-note {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==================================================
   6. LOCATION / MAP
================================================== */
.location-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.map-placeholder {
  position: relative;
  aspect-ratio: 4 / 3.2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background:
    radial-gradient(circle at 30% 35%, rgba(214,164,58,0.14), transparent 55%),
    radial-gradient(circle at 70% 65%, rgba(34,197,94,0.1), transparent 55%),
    linear-gradient(160deg, var(--bg-elevated), var(--bg-secondary));
}
.map-placeholder__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(214,164,58,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(214,164,58,0.08) 1px, transparent 1px);
  background-size: 34px 34px;
}
.map-placeholder__pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.map-placeholder__pin-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow-gold);
  animation: pinPulse 2.6s ease-in-out infinite;
}
@keyframes pinPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.map-placeholder__label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
  background: rgba(10, 37, 64, 0.75);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(6px);
}

.address-block__name { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.address-block__lines {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 24px;
}

/* ==================================================
   7. STUDENT SUPPORT / CERTIFICATE SHORTCUT
================================================== */
.support-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}
.support-card {
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.support-card--primary {
  background: linear-gradient(160deg, var(--bg-elevated), var(--bg-secondary));
  border: 1px solid var(--border-color);
}
.support-card--accent {
  background: linear-gradient(160deg, rgba(214,164,58,0.1), rgba(10,37,64,0.4));
  border: 1px solid rgba(214, 164, 58, 0.3);
}
.support-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(214, 164, 58, 0.1);
  border: 1px solid rgba(214, 164, 58, 0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.support-card__title { font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.support-card__desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }
.support-card__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ==================================================
   8. RESPONSIVE — CONTACT PAGE COMPONENTS
================================================== */
@media (max-width: 992px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-form { padding: 28px; }
  .contact-form__grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
  .contact-form { padding: 22px; }
  .hours-card { padding: 26px; }
  .form-submit { flex-direction: column; align-items: stretch; }
}