/* ==============================================
   The Earner — Modern Trading Homepage
   Color scheme drawn from the THE EARNER logo
   ============================================== */

:root {
  /* Brand colors from logo */
  --teal:           #1B8D9F;
  --teal-dark:      #0F6573;
  --teal-darker:    #083D45;
  --teal-light:     #2BA9BC;
  --orange:         #E37528;
  --orange-dark:    #C25C16;
  --orange-light:   #F08D44;

  --primary:        var(--teal);
  --accent:         var(--orange);

  --ink:            #0B2A30;
  --heading:        #0F2730;
  --body-text:      #4A5A60;
  --muted:          #7d8b91;
  --border-color:   #e3eaec;
  --bg:             #ffffff;
  --bg-tint:        #f3f8f9;
  --bg-soft:        #eaf4f6;
  --footer-bg:      #07252b;

  --gradient-brand: linear-gradient(135deg, #1B8D9F 0%, #0F4C5C 100%);
  --gradient-accent: linear-gradient(135deg, #E37528 0%, #F08D44 100%);
  --gradient-mix:    linear-gradient(135deg, #1B8D9F 0%, #E37528 100%);
  --gradient-dark:   linear-gradient(135deg, #083D45 0%, #07252b 100%);

  --radius-pill: 999px;
  --radius-xl:   24px;
  --radius-lg:   18px;
  --radius-md:   12px;

  --shadow-xs: 0 2px 6px rgba(11, 42, 48, .06);
  --shadow-sm: 0 6px 18px rgba(11, 42, 48, .08);
  --shadow-md: 0 16px 40px rgba(11, 42, 48, .12);
  --shadow-lg: 0 30px 70px rgba(11, 42, 48, .18);
  --shadow-teal: 0 14px 30px rgba(27, 141, 159, .35);
  --shadow-orange: 0 14px 30px rgba(227, 117, 40, .35);

  --font: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }

a { color: var(--teal); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--teal-dark); }

h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
  font-weight: 700;
  margin: 0 0 .5em;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(36px, 4.8vw, 60px); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -0.02em; }
h3 { font-size: clamp(20px, 1.9vw, 26px); }

p  { margin: 0 0 1em; }

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

.text-gradient {
  background: var(--gradient-mix);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-teal   { color: var(--teal); }
.text-orange { color: var(--orange); }

/* ============== Buttons ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
  text-align: center;
}
.btn-lg { padding: 16px 36px; font-size: 16px; }

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(227, 117, 40, .45);
}

.btn-teal {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-teal);
}
.btn-teal:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(27, 141, 159, .45);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline:hover {
  background: var(--teal);
  color: #fff;
}

.btn-ghost {
  background: rgba(27, 141, 159, .1);
  color: var(--teal-dark);
}
.btn-ghost:hover { background: rgba(27, 141, 159, .18); color: var(--teal-darker); }

.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover { background: #fff; color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ============== Topbar ============== */
.topbar {
  background: var(--gradient-dark);
  color: rgba(255,255,255,.78);
  font-size: 13px;
  padding: 9px 0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-info span { margin-right: 22px; display: inline-flex; align-items: center; gap: 8px; }
.topbar-info i { color: var(--orange); }
.topbar-social { display: flex; align-items: center; gap: 14px; }
.topbar-social a {
  color: rgba(255,255,255,.78);
  font-size: 13px;
  transition: color .2s ease;
}
.topbar-social a:hover { color: var(--orange); }

/* ============== Header ============== */
.header {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(0,0,0,.05);
  transition: box-shadow .25s ease;
}
.header.scrolled { box-shadow: 0 8px 24px rgba(11,42,48,.08); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { height: 50px; width: auto; }

.nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 6px 0;
}
.nav a:hover, .nav a.active { color: var(--teal); }
.nav a.active::after,
.nav a:hover::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 100%; height: 2px;
  background: var(--gradient-mix);
  border-radius: 2px;
}

.header-cta { display: flex; gap: 10px; align-items: center; }
/* Mobile-only CTA copy that lives inside the dropdown nav; revealed ≤1024px. */
.header-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ============== Hero ============== */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 600px at 90% -10%, rgba(27,141,159,.18), transparent 70%),
    radial-gradient(900px 500px at -10% 20%, rgba(227,117,40,.14), transparent 70%),
    linear-gradient(180deg, #f3f8f9 0%, #ffffff 100%);
  padding: 100px 0 40px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27,141,159,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,141,159,.07) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(27, 141, 159, .12);
  color: var(--teal-dark);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.eyebrow i { color: var(--orange); }
.eyebrow-orange {
  background: rgba(227, 117, 40, .12);
  color: var(--orange-dark);
}
.eyebrow-orange i { color: var(--teal); }

.hero h1 { margin-bottom: 22px; color: var(--ink); }
.lead { font-size: 18px; color: var(--body-text); max-width: 560px; }
.hero-cta {
  display: flex;
  gap: 14px;
  margin: 32px 0;
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}
.avatar-stack { display: flex; }
.avatar-stack .av {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}
.avatar-stack .av:first-child { margin-left: 0; }
.av-1 { background: linear-gradient(135deg,#1B8D9F,#0F4C5C); }
.av-2 { background: linear-gradient(135deg,#E37528,#F08D44); }
.av-3 { background: linear-gradient(135deg,#0F4C5C,#1B8D9F); }
.av-4 { background: linear-gradient(135deg,#C25C16,#E37528); }
.hero-trust strong { color: var(--ink); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 42px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}
.stat h3 {
  font-size: 30px;
  color: var(--teal-darker);
  margin: 0 0 4px;
  font-weight: 800;
}
.stat p { margin: 0; font-size: 13px; color: var(--muted); }

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 500px;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 30px -20px 30px 30px;
  background: var(--gradient-brand);
  border-radius: 30% 70% 65% 35% / 50% 30% 70% 50%;
  opacity: .12;
  filter: blur(40px);
  animation: morph 14s ease-in-out infinite;
}
@keyframes morph {
  0%,100% { border-radius: 30% 70% 65% 35% / 50% 30% 70% 50%; }
  50%     { border-radius: 60% 40% 30% 70% / 40% 70% 30% 60%; }
}

.hero-card {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  border: 1px solid rgba(255,255,255,.6);
}
.hero-card-main { position: relative; z-index: 2; }
.card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ff5f56; }
.dot-amber { background: #ffbd2e; }
.dot-green { background: #27c93f; }
.card-title { margin-left: 8px; }
.badge-up {
  margin-left: auto;
  background: rgba(27, 141, 159, .15);
  color: var(--teal-dark);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.chart { width: 100%; height: 160px; display: block; }
.chart-axis {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.card-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  font-size: 12px;
  color: var(--body-text);
}
.card-foot strong { color: var(--ink); }

.hero-card-mini {
  position: absolute;
  bottom: 30px;
  left: -30px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
}
.hero-card-mini i {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  color: #fff;
  border-radius: 12px;
  font-size: 18px;
}
.hero-card-mini strong { display: block; color: var(--ink); font-size: 14px; }
.hero-card-mini p { margin: 0; font-size: 12px; color: var(--muted); }

.hero-card-pill {
  position: absolute;
  top: -10px;
  right: 20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-teal);
  animation: float 5s ease-in-out infinite reverse;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}

.hero-card-stats {
  position: absolute;
  top: 200px;
  right: -10px;
  z-index: 3;
  padding: 14px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  animation: float 6s ease-in-out infinite;
}
.hero-card-stats .label { font-size: 11px; color: var(--muted); margin-bottom: 2px; display: block; }
.hero-card-stats .value { font-size: 20px; font-weight: 800; color: var(--teal-darker); display: block; }
.hero-card-stats .delta { font-size: 12px; color: var(--orange); font-weight: 600; }

/* ============== Live ticker (TradingView) ============== */
.ticker-tape {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  /* Reserve the widget height so there's no layout shift while the iframe loads. */
  min-height: 150px;
}
.ticker-tape .tradingview-widget-container {
  width: 100%;
  display: block;
  min-height: 110px;
}
.ticker-tape .tradingview-widget-container__widget {
  width: 100%;
  display: block;
  min-height: 110px;
}
.ticker-tape .tradingview-widget-container__widget iframe {
  display: block;
  width: 100% !important;
  /* Override TradingView's own inline iframe height. */
  height: 110px !important;
}

/* ============== Marquee ============== */
.marquee {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: 22px 0;
  position: relative;
}
.marquee::before, .marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.marquee::after  { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.marquee-track {
  display: flex;
  gap: 70px;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255,255,255,.85);
}
.marquee-track span { display: inline-flex; align-items: center; gap: 14px; }
.marquee-track span::after {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============== Sections ============== */
.section { padding: 100px 0; position: relative; }
.section-tint { background: var(--bg-tint); }
.section-soft { background: var(--bg-soft); }
.section-dark {
  background: var(--gradient-dark);
  color: rgba(255,255,255,.82);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }

.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 60px;
}
.section-head .eyebrow { margin-bottom: 16px; }
.section-head p { font-size: 16px; }
.section-head-light p { color: rgba(255,255,255,.78); }

/* ============== Why Choose Us ============== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px 30px;
  transition: all .35s ease;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: 0;
}
.feature-card > * { position: relative; z-index: 1; }
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  color: rgba(255,255,255,.9);
  border-color: transparent;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover h3 { color: #fff; }
.feature-card:hover .icon-wrap {
  background: rgba(255,255,255,.18);
  color: #fff;
}
.feature-card:hover .link-arrow { color: #fff; }
.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  background: rgba(27, 141, 159, .12);
  color: var(--teal);
  border-radius: 18px;
  font-size: 26px;
  margin-bottom: 22px;
  transition: all .35s ease;
}
.feature-card:nth-child(2) .icon-wrap {
  background: rgba(227, 117, 40, .12);
  color: var(--orange);
}
.feature-card h3 { margin-bottom: 12px; transition: color .25s ease; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--teal);
  margin-top: 12px;
  transition: color .25s ease;
}
.link-arrow:hover i { transform: translateX(4px); }
.link-arrow i { transition: transform .25s ease; }
.cta-row { text-align: center; margin-top: 50px; }

/* ============== About Split ============== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.about-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 460px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}
.about-visual::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,.2);
  animation: spin 20s linear infinite;
}
.about-visual::after {
  content: '';
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,.15);
  animation: spin 12s linear infinite reverse;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.about-icon-cluster {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  z-index: 2;
}
.about-icon-cluster .ai {
  width: 70px; height: 70px;
  background: rgba(255,255,255,.92);
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--teal-darker);
  box-shadow: var(--shadow-md);
}
.about-icon-cluster .ai.accent { color: var(--orange); }
.about-content h2 { margin-bottom: 18px; }
.about-meta { display: flex; gap: 30px; margin: 28px 0; }
.about-meta div { flex: 1; }
.about-meta h4 { font-size: 30px; color: var(--teal-darker); margin: 0; font-weight: 800; }
.about-meta p { margin: 0; font-size: 13px; color: var(--muted); }
.about-list { padding: 0; margin: 24px 0 30px; list-style: none; }
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--body-text);
}
.about-list i {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--gradient-mix);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-top: 4px;
}

/* ============== Courses ============== */
.courses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.course-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  border: 1px solid var(--border-color);
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
}
.course-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--gradient-mix);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(27,141,159,.3);
}
.course-card:hover::before { transform: scaleX(1); }
.course-icon {
  width: 70px; height: 70px;
  background: var(--gradient-brand);
  color: #fff;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  position: relative;
}
.course-card:nth-child(even) .course-icon { background: var(--gradient-accent); }
.course-tag {
  display: inline-block;
  background: rgba(227,117,40,.12);
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.course-card h4 { font-size: 19px; margin-bottom: 10px; }
.course-card p { font-size: 14px; margin-bottom: 18px; }
.course-meta {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}
.course-meta span i { color: var(--teal); margin-right: 5px; }

/* ============== Mentorship Program ============== */
.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.program-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: all .35s ease;
  backdrop-filter: blur(6px);
}
.program-card:hover {
  background: rgba(227, 117, 40, 0.14);
  border-color: var(--orange);
  transform: translateY(-6px);
}
.program-card i {
  font-size: 32px;
  color: var(--orange-light);
  margin-bottom: 18px;
}
.program-card h4 { font-size: 17px; margin-bottom: 8px; color: #fff; }
.program-card p { font-size: 14px; color: rgba(255,255,255,.7); margin: 0; }

/* ============== Stats band ============== */
.stats-band {
  background: var(--gradient-brand);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats-grid > div {
  padding: 0 8px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.stats-grid > div:last-child { border-right: 0; }
.stats-grid h3 {
  font-size: 46px;
  color: #fff;
  margin: 0 0 4px;
  font-weight: 800;
}
.stats-grid h3 span { color: var(--orange-light); }
.stats-grid p { color: rgba(255,255,255,.85); margin: 0; font-size: 14px; }

/* ============== Testimonials ============== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  position: relative;
  border: 1px solid var(--border-color);
  transition: all .3s ease;
}
.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(27,141,159,.3);
}
.testimonial .quote-icon {
  position: absolute;
  top: 24px; right: 28px;
  font-size: 40px;
  color: rgba(27,141,159,.18);
}
.stars {
  color: var(--orange);
  margin-bottom: 14px;
  font-size: 14px;
  letter-spacing: 2px;
}
.testimonial p {
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}
.testimonial-author .av {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  overflow: hidden;
  flex-shrink: 0;
}
/* When a photo is uploaded we drop the gradient so the image (not color)
   fills the circle. The <img> itself is object-fit-covered. */
.testimonial-author .av-photo { background: #eaf0f2; }
.testimonial-author .av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.testimonial-author strong { display: block; color: var(--ink); font-size: 15px; }
.testimonial-author span  { font-size: 13px; color: var(--muted); }

/* ============== Feedback / Google Reviews ============== */
.feedback-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 26px;
  margin-bottom: 36px;
  align-items: stretch;
}
.feedback-intro {
  align-self: center;
  padding-right: 10px;
}
.feedback-intro h2 {
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}
.hand-underline {
  position: relative;
  display: inline-block;
  color: var(--teal-darker);
  white-space: nowrap;
}
.hand-underline::after {
  content: '';
  position: absolute;
  left: -4px; right: -4px;
  bottom: -6px;
  height: 12px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 12' preserveAspectRatio='none'><path d='M2 8 C 50 -2, 120 -2, 218 6' stroke='%231B8D9F' stroke-width='3' fill='none' stroke-linecap='round'/></svg>") no-repeat center / 100% 100%;
}

.fb-stat {
  background: rgba(27, 141, 159, 0.08);
  border: 2px dashed rgba(27, 141, 159, 0.45);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  transition: all .3s ease;
}
.fb-stat:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  background: rgba(27, 141, 159, 0.12);
}
.feedback-top .fb-stat:nth-child(3) {
  background: rgba(227, 117, 40, 0.08);
  border-color: rgba(227, 117, 40, 0.45);
}
.feedback-top .fb-stat:nth-child(3):hover {
  background: rgba(227, 117, 40, 0.14);
  border-color: var(--orange);
}
.fb-stat-icon {
  width: 60px; height: 60px;
  background: var(--gradient-brand);
  color: #fff;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 26px;
}
.feedback-top .fb-stat:nth-child(3) .fb-stat-icon {
  background: var(--gradient-accent);
}
.fb-stat-num {
  font-size: clamp(40px, 4.6vw, 60px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.fb-stat-num span { font-size: .55em; color: var(--muted); font-weight: 700; }
.fb-stat-label { font-weight: 600; color: var(--heading); font-size: 18px; }

/* Bottom row: business card + slider */
.feedback-bottom {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  align-items: start;
}
.business-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-xs);
}
.business-logo {
  width: 90px; height: 90px;
  margin: 0 auto 16px;
  background: rgba(27,141,159,.08);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.business-logo img { max-height: 55px; width: auto; }
.business-card h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--ink);
}
.business-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.business-rating .stars { color: var(--orange); font-size: 16px; letter-spacing: 1px; }
.business-score { color: var(--ink); font-weight: 700; font-size: 14px; }
.business-count {
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0 16px;
}
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* Slider — native CSS scroll-snap. Browser handles sizing, touch, and
   smooth scrolling; JS only drives arrow clicks, dot navigation, and auto-play. */
.reviews-slider-wrap {
  position: relative;
  padding: 0 8px;
}
.reviews-slider {
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: var(--radius-lg);
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;         /* Firefox */
  -ms-overflow-style: none;      /* IE/old Edge */
}
.reviews-slider::-webkit-scrollbar { display: none; }

.reviews-track {
  display: flex;
  gap: 20px;
}

.review-card {
  /* Fallback for browsers without @container support: cards take full slider
     width, user scrolls horizontally between them. The @supports block below
     narrows cards into a 1/2/3-per-view grid for modern browsers. */
  flex: 0 0 100%;
  scroll-snap-align: start;

  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow .25s ease, transform .25s ease;
  display: flex;
  flex-direction: column;
  min-height: 240px;
}
.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.review-card header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.rv-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.rv-meta { flex: 1; line-height: 1.3; }
.rv-meta strong { display: block; color: var(--ink); font-size: 15px; }
.rv-meta span { font-size: 12px; color: var(--muted); }
.rv-google {
  font-size: 22px;
  background: linear-gradient(135deg, #4285F4 0%, #EA4335 33%, #FBBC05 66%, #34A853 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rv-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.rv-rating .stars { color: var(--orange); font-size: 16px; letter-spacing: 1px; }
.rv-verified { color: #4285F4; font-size: 14px; }
.review-card p {
  color: var(--body-text);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 10px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rv-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  margin-top: auto;
  align-self: flex-start;
}
.rv-more:hover { color: var(--orange); }

/* Container queries — let cards size themselves to the slider's actual width,
   dodging the old "JS must measure then fight with CSS" problem. */
@supports (container-type: inline-size) {
  .reviews-slider { container-type: inline-size; }
  .review-card { flex: 0 0 100cqi; }                                /* < 500px container → 1 per view */
  @container (min-width: 500px) {
    .review-card { flex: 0 0 calc((100cqi - 20px) / 2); }            /* 2 per view */
  }
  @container (min-width: 820px) {
    .review-card { flex: 0 0 calc((100cqi - 40px) / 3); }            /* 3 per view */
  }
}

/* Slider arrows — vertically centered on the slider row (the wrap also
   contains .slider-dots below, so "top: 50%" of the wrap is too low). */
.slider-arrow {
  position: absolute;
  top: calc(50% - 16px);
  transform: translateY(-50%);
  width: 44px; height: 44px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  z-index: 5;
  transition: all .25s ease;
  font-size: 14px;
}
.slider-prev { left: -22px; }
.slider-next { right: -22px; }
.slider-arrow:hover {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
  transform: translateY(-50%) scale(1.06);
}
.slider-arrow:disabled {
  opacity: .4;
  cursor: not-allowed;
  transform: translateY(-50%);
}
.slider-arrow:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.slider-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-color);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: all .25s ease;
}
.slider-dots button.active {
  background: var(--gradient-mix);
  width: 28px;
  border-radius: 999px;
}

@media (max-width: 1024px) {
  .feedback-top { grid-template-columns: 1fr 1fr; gap: 20px; }
  .feedback-intro { grid-column: 1 / -1; padding-right: 0; }
  .feedback-bottom { grid-template-columns: 1fr; }
  .business-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    text-align: left;
    gap: 18px;
  }
  .business-logo { margin: 0; width: 70px; height: 70px; }
  .business-card h4 { margin: 0; }
  .business-rating { justify-content: flex-start; margin-bottom: 4px; }
  .business-count { margin: 0; }
  .business-card .btn { justify-self: end; }
}
@media (max-width: 640px) {
  .feedback-top { grid-template-columns: 1fr; }
  .business-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .business-logo { margin: 0 auto; }
  .business-rating { justify-content: center; }
  .business-card .btn { justify-self: center; }
  .slider-prev { left: -8px; }
  .slider-next { right: -8px; }
}

/* ============== Partners slider ============== */
.partners-slider-wrap {
  position: relative;
  padding: 0 8px;
}
.partners-slider {
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: var(--radius-lg);
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.partners-slider::-webkit-scrollbar { display: none; }
.partners-track {
  display: flex;
  gap: 20px;
  padding: 6px 2px;
}
.partner-card {
  flex: 0 0 calc((100% - 80px) / 5);      /* 5 per view on wide */
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
  box-shadow: var(--shadow-xs);
}
.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(27,141,159,.3);
}
.partner-card img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
}
.partner-card-fallback {
  font-weight: 700;
  color: var(--teal-darker);
  font-size: 16px;
  letter-spacing: .5px;
}
@media (max-width: 1024px) {
  .partner-card { flex: 0 0 calc((100% - 60px) / 4); }    /* 4 per view */
}
@media (max-width: 720px) {
  .partner-card { flex: 0 0 calc((100% - 40px) / 3); }    /* 3 per view */
}
@media (max-width: 520px) {
  .partner-card { flex: 0 0 calc((100% - 20px) / 2); }    /* 2 per view */
}

/* ============== FAQ ============== */
.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 70px;
  align-items: start;
}
.faq-side h2 { margin-bottom: 18px; }
.faq-side p { margin-bottom: 26px; }
.faq-side-card {
  margin-top: 30px;
  background: var(--gradient-brand);
  padding: 28px;
  border-radius: var(--radius-xl);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.faq-side-card::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  right: -60px; bottom: -60px;
  background: var(--orange);
  border-radius: 50%;
  opacity: .2;
}
.faq-side-card i { font-size: 30px; margin-bottom: 12px; color: var(--orange-light); }
.faq-side-card h4 { color: #fff; margin-bottom: 8px; }
.faq-side-card p { color: rgba(255,255,255,.85); font-size: 14px; margin: 0 0 16px; }
.faq-side-card a {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.faq-side-card a:hover { color: var(--orange-light); }

.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 26px;
  transition: all .25s ease;
}
.faq-item[open] {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 30px; height: 30px;
  background: rgba(27,141,159,.12);
  color: var(--teal);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  transition: all .25s ease;
}
.faq-item[open] summary::after {
  content: '−';
  background: var(--gradient-accent);
  color: #fff;
}
.faq-item p { margin: 14px 0 0; color: var(--body-text); font-size: 14.5px; }

/* ============== CTA Banner ============== */
.cta-banner {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
  background: var(--gradient-dark);
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: var(--teal);
  filter: blur(100px);
  opacity: .35;
  top: -150px; left: -100px;
}
.cta-banner::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: var(--orange);
  filter: blur(110px);
  opacity: .3;
  bottom: -150px; right: -100px;
}
.cta-banner-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
  z-index: 2;
}
.cta-banner h2 { color: #fff; margin-bottom: 10px; }
.cta-banner p  { color: rgba(255,255,255,.85); margin: 0; max-width: 520px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============== Footer ============== */
.footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,.7);
  padding-top: 90px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-mix);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 50px;
  padding-bottom: 60px;
}
.footer-col h5 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 600;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 3px;
  background: var(--gradient-accent);
  border-radius: 3px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: rgba(255,255,255,.7); font-size: 14px; }
.footer-col a:hover { color: var(--orange); padding-left: 4px; }
.footer-col p { font-size: 14px; margin: 18px 0; }
.footer-col .logo img { height: 50px; filter: brightness(1.1); }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  transition: all .25s ease;
}
.footer-social a:hover {
  background: var(--gradient-accent);
  color: #fff;
  transform: translateY(-3px);
}
.contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
}
.contact-list i { color: var(--orange); margin-top: 6px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
}
.footer-bottom-inner a { color: rgba(255,255,255,.7); margin-left: 18px; font-size: 13px; }
.footer-bottom-inner a:hover { color: var(--orange); }

/* ============== Back to top ============== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  color: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-orange);
  opacity: 0;
  transform: translateY(10px);
  transition: all .3s ease;
  pointer-events: none;
  z-index: 60;
}
.back-to-top.show {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.back-to-top:hover { color: #fff; transform: translateY(-3px); }

/* ============== Reveal on scroll ============== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============== About — 4 feature cards ============== */
.about-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.about-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 34px 26px;
  text-align: left;
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--gradient-mix);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.about-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(27,141,159,.3);
}
.about-card:hover::before { transform: scaleX(1); }
.about-card-icon {
  width: 58px; height: 58px;
  background: rgba(27, 141, 159, .12);
  color: var(--teal);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 22px;
}
.about-card:nth-child(even) .about-card-icon {
  background: rgba(227, 117, 40, .12);
  color: var(--orange);
}
.about-card h3 { font-size: 19px; margin-bottom: 10px; color: var(--heading); }
.about-card p  { font-size: 14.5px; margin: 0; color: var(--body-text); }

/* ============== Trading Assets We Cover ============== */
.assets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.asset-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 34px 28px;
  border: 1px solid var(--border-color);
  transition: all .35s ease;
}
.asset-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.asset-icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  margin-bottom: 20px;
}
.asset-green  .asset-icon { background: linear-gradient(135deg, #2ecc71, #1ea55a); }
.asset-blue   .asset-icon { background: linear-gradient(135deg, #1B8D9F, #0F4C5C); }
.asset-orange .asset-icon { background: linear-gradient(135deg, #E37528, #F08D44); }
.asset-purple .asset-icon { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.asset-card h3 { font-size: 20px; margin-bottom: 10px; color: var(--heading); }
.asset-card p  { font-size: 14.5px; margin: 0; color: var(--body-text); line-height: 1.65; }

.assets-cta {
  margin-top: 56px;
  padding: 40px 48px;
  background: var(--gradient-brand);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-teal);
}
.assets-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.assets-cta::after {
  content: '';
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: var(--orange);
  filter: blur(90px);
  opacity: .28;
  top: -120px; right: -100px;
  pointer-events: none;
}
.assets-cta p {
  position: relative;
  z-index: 1;
  font-size: 18px;
  color: #fff;
  margin: 0;
  font-weight: 500;
  max-width: 620px;
  line-height: 1.55;
}
.assets-cta .btn {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .assets-cta {
    padding: 32px 28px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .assets-cta p { font-size: 16px; }
}

/* ============== Courses — 3-tier layout ============== */
.courses-3 { grid-template-columns: repeat(3, 1fr); }
.course-tier {
  display: flex;
  flex-direction: column;
  padding-top: 40px;
}
.course-tier .course-icon { margin-bottom: 18px; }
.course-tier h4 { margin-bottom: 6px; }
.course-tier .course-tag { margin: 0 0 12px; }
.course-points {
  list-style: none;
  padding: 0;
  margin: 16px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--body-text);
}
.course-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.course-points i {
  color: var(--teal);
  font-size: 13px;
  margin-top: 4px;
  flex-shrink: 0;
}
.course-cta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.course-price {
  color: var(--teal-dark);
  font-size: 15px;
  font-weight: 700;
}
.course-cta .btn { align-self: stretch; justify-content: center; }
.course-popular {
  border-color: var(--teal);
  box-shadow: 0 18px 44px rgba(27, 141, 159, .2);
  position: relative;
}
.course-popular::before { transform: scaleX(1); }
.course-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--gradient-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-orange);
}

.courses-banner {
  margin-top: 48px;
  background: var(--gradient-dark);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.courses-banner::before {
  content: '';
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: var(--teal);
  filter: blur(90px);
  opacity: .35;
  top: -120px; left: -80px;
}
.courses-banner::after {
  content: '';
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: var(--orange);
  filter: blur(100px);
  opacity: .28;
  bottom: -100px; right: -60px;
}
.courses-banner > div { position: relative; z-index: 1; max-width: 640px; }
.courses-banner .btn { position: relative; z-index: 1; }
.courses-banner h3 { color: #fff; font-size: 24px; margin-bottom: 6px; }
.courses-banner p  { color: rgba(255,255,255,.82); margin: 0; font-size: 14.5px; font-style: italic; }

/* ============== Achievements gallery ============== */
.gallery-filter {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-pill);
  margin: 0 auto 40px;
  justify-content: center;
}
.section-dark .gallery-filter { background: rgba(255,255,255,.08); }
.gallery-filter-btn {
  background: transparent;
  border: 0;
  color: rgba(255,255,255,.72);
  font-family: inherit;
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all .25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.gallery-filter-btn:hover { color: #fff; }
.gallery-filter-btn.active {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.gallery-filter { display: flex; width: fit-content; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: rgba(255,255,255,.04);
  transition: all .35s ease;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(0,0,0,.8), transparent);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: all .3s ease;
}
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }
.gallery-item.hidden { display: none; }
.gallery-item-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  position: relative;
}
.gallery-item-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.gallery-item-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,.18), transparent 60%);
  pointer-events: none;
}
.gallery-placeholder-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px;
  text-align: center;
}
.gallery-placeholder-inner i {
  font-size: 44px;
  color: rgba(255,255,255,.92);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.25));
}
.gallery-placeholder-caption {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  line-height: 1.4;
  opacity: .95;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
  max-width: 180px;
}
.gallery-item-placeholder:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
}

/* Feature the first tile on desktop */
@media (min-width: 900px) {
  .gallery-grid { grid-auto-rows: 1fr; }
  .gallery-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: 1 / 1; }
}

/* ============== Get In Touch ============== */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 34px 26px;
  text-align: center;
  transition: all .35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.contact-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
  margin-bottom: 8px;
}
.cm-whatsapp  .contact-icon { background: linear-gradient(135deg, #25d366, #128c7e); }
.cm-email     .contact-icon { background: var(--gradient-brand); }
.cm-phone     .contact-icon { background: linear-gradient(135deg, #e91e63, #c2185b); }
.cm-locations .contact-icon { background: var(--gradient-accent); }
.contact-card h4 { margin: 0; font-size: 18px; color: var(--heading); }
.contact-card .contact-note  { margin: 0; font-size: 13px; color: var(--muted); }
.contact-card .contact-value { margin: 8px 0 14px; font-size: 14px; color: var(--ink); font-weight: 600; word-break: break-word; }
.contact-card .btn {
  margin-top: auto;
  padding: 9px 22px;
  font-size: 13px;
}
.cm-whatsapp  .btn { background: linear-gradient(135deg, #25d366, #128c7e); box-shadow: 0 10px 24px rgba(37, 211, 102, .35); }
.cm-whatsapp  .btn:hover { box-shadow: 0 14px 30px rgba(37, 211, 102, .45); }
.cm-email     .btn { background: var(--gradient-brand); box-shadow: var(--shadow-teal); }
.cm-phone     .btn { background: linear-gradient(135deg, #e91e63, #c2185b); box-shadow: 0 10px 24px rgba(233, 30, 99, .35); }
.cm-locations .btn { background: var(--gradient-accent); box-shadow: var(--shadow-orange); }

.offices {
  background: var(--bg-tint);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 38px 40px;
}
.offices-title {
  text-align: center;
  margin: 0 0 28px;
  font-size: 22px;
  color: var(--heading);
}
.offices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.office-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 24px;
  transition: all .3s ease;
  position: relative;
}
.office-card::before {
  content: '';
  position: absolute;
  left: 0; top: 20px; bottom: 20px;
  width: 3px;
  background: var(--gradient-mix);
  border-radius: 3px;
}
.office-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(27,141,159,.3);
}
.office-card h4 { font-size: 16px; color: var(--teal-dark); margin-bottom: 6px; padding-left: 10px; }
.office-card p  { font-size: 13.5px; color: var(--body-text); margin: 0; padding-left: 10px; line-height: 1.55; }

/* ============== Responsive ============== */
@media (max-width: 1024px) {
  .hero-grid, .about-split, .faq-wrap { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { min-height: 420px; }
  .features, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .courses, .program-grid { grid-template-columns: repeat(2, 1fr); }
  .courses-3 { grid-template-columns: repeat(2, 1fr); }
  .about-cards, .assets-grid, .contact-methods { grid-template-columns: repeat(2, 1fr); }
  .offices-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid  { grid-template-columns: repeat(2, 1fr); }
  .courses-banner { flex-direction: column; text-align: center; align-items: flex-start; }
  .courses-banner > div { max-width: none; }
  .header-cta   { display: none; }
  .nav-toggle   { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 20px 24px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: all .25s ease;
  }
  .nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav ul { flex-direction: column; gap: 14px; }
  .header-cta-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
  }
  .header-cta-mobile .btn { width: 100%; justify-content: center; }
}

@media (max-width: 640px) {
  .topbar-info span:nth-child(2) { display: none; }
  .features, .courses, .program-grid, .testimonials,
  .stats-grid, .footer-grid,
  .about-cards, .assets-grid, .contact-methods, .gallery-grid, .courses-3 {
    grid-template-columns: 1fr;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:first-child { grid-column: span 2; grid-row: auto; }
  .stats-grid > div { border-right: 0; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stat h3 { font-size: 22px; }
  .section { padding: 70px 0; }
  .hero { padding: 70px 0 80px; }
  .hero-card-mini { left: 0; }
  .hero-card-stats { right: 0; top: 230px; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .stats-grid h3 { font-size: 32px; }
  .about-meta { flex-direction: column; gap: 18px; }
  .offices { padding: 24px; }
  .courses-banner { padding: 26px 22px; }
  .courses-banner h3 { font-size: 20px; }
}

/* ==================================================================
   About Us page — sections specific to page-about.php
   ================================================================== */

/* ---------- About Hero (dark) ---------- */
.about-hero {
  position: relative;
  padding: 80px 0 90px;
  background: var(--gradient-dark);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.about-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 400px at 85% -10%, rgba(27,141,159,.35), transparent 60%),
    radial-gradient(600px 380px at -5% 90%, rgba(227,117,40,.32), transparent 60%);
}
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 40%, transparent 85%);
  pointer-events: none;
}
.about-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: rgba(255,255,255,.6);
  font-size: 13px;
  letter-spacing: .4px;
}
.breadcrumb a {
  color: rgba(255,255,255,.85);
  font-weight: 500;
}
.breadcrumb a:hover { color: var(--orange-light); }
.breadcrumb i { font-size: 10px; opacity: .6; }

.about-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 22px;
}
.about-hero-eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(227,117,40,.3);
}

.about-hero-title {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08;
  color: #fff;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  font-weight: 800;
}
.about-hero-title .text-gradient {
  background: linear-gradient(135deg, #E37528 0%, #F08D44 45%, #2BA9BC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-hero-lead {
  font-size: 17px;
  color: rgba(255,255,255,.78);
  line-height: 1.65;
  max-width: 660px;
  margin: 0 auto 40px;
}

.about-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
}
.about-hero-stat {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  padding: 24px 18px;
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all .3s ease;
}
.about-hero-stat:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.1);
  border-color: rgba(227,117,40,.35);
}
.about-hero-stat i {
  font-size: 22px;
  color: var(--orange);
  margin-bottom: 6px;
}
.about-hero-stat strong {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.about-hero-stat span {
  font-size: 12px;
  color: rgba(255,255,255,.65);
  letter-spacing: .3px;
}

/* ---------- Mission & Vision ---------- */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.mv-card {
  position: relative;
  padding: 40px 36px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all .35s ease;
}
.mv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.mv-card:hover::before { transform: scaleX(1); }
.mv-vision::before { background: var(--gradient-accent); }
.mv-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--gradient-brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
}
.mv-vision .mv-icon { background: var(--gradient-accent); }
.mv-tag {
  display: inline-block;
  background: rgba(27, 141, 159, .12);
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.mv-vision .mv-tag {
  background: rgba(227, 117, 40, .12);
  color: var(--orange-dark);
}
.mv-card h3 {
  font-size: 24px;
  margin: 0 0 14px;
  color: var(--heading);
  line-height: 1.25;
}
.mv-card h3 em {
  font-style: normal;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mv-vision h3 em { background: var(--gradient-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mv-card p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--body-text); }

/* ---------- Core Values (4-card grid) ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 34px 26px;
  text-align: left;
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
}
.value-card::after {
  content: '';
  position: absolute;
  width: 120px; height: 120px;
  border-radius: 50%;
  right: -40px; bottom: -40px;
  background: var(--gradient-mix);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(27,141,159,.35);
}
.value-card:hover::after { opacity: .06; }
.value-card-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: rgba(27, 141, 159, .12);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 22px;
}
.value-card:nth-child(even) .value-card-icon {
  background: rgba(227, 117, 40, .12);
  color: var(--orange);
}
.value-card h3 { font-size: 18px; margin: 0 0 10px; color: var(--heading); }
.value-card p { font-size: 14px; line-height: 1.6; margin: 0; color: var(--body-text); }

/* ---------- Founder Spotlight ---------- */
.founder-spotlight {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 50px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.founder-photo {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, rgba(27,141,159,.12), rgba(227,117,40,.08));
  border: 1px solid rgba(255,255,255,.06);
}
.founder-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.founder-photo-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, rgba(27,141,159,.35), rgba(227,117,40,.22));
  color: rgba(255,255,255,.6);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .3px;
  text-align: center;
  padding: 20px;
}
.founder-photo-placeholder i {
  font-size: 56px;
  color: rgba(255,255,255,.4);
}
.founder-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  padding: 10px 16px;
  background: rgba(10, 30, 36, .82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.founder-badge i {
  color: var(--orange);
}

.founder-content h3 {
  font-size: 34px;
  color: #fff;
  margin: 0 0 4px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.founder-role {
  display: inline-block;
  color: var(--orange-light);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 22px;
  letter-spacing: .3px;
}
.founder-content p {
  color: rgba(255,255,255,.78);
  font-size: 15.5px;
  line-height: 1.75;
  margin: 0 0 14px;
}
.founder-creds {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}
.founder-creds li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,.85);
  font-size: 14px;
  line-height: 1.5;
}
.founder-creds i {
  color: #22c55e;
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}
.founder-quote {
  position: relative;
  margin: 14px 0 0;
  padding: 22px 26px 22px 54px;
  background: rgba(255,255,255,.05);
  border-left: 3px solid var(--orange);
  border-radius: 12px;
}
.founder-quote i {
  position: absolute;
  left: 20px;
  top: 22px;
  font-size: 22px;
  color: var(--orange);
  opacity: .6;
}
.founder-quote p {
  color: rgba(255,255,255,.9);
  font-size: 16px;
  font-style: italic;
  margin: 0;
  line-height: 1.6;
}

/* ---------- Timeline ---------- */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom,
    rgba(27,141,159,.2) 0%,
    var(--teal) 30%,
    var(--orange) 70%,
    rgba(227,117,40,.2) 100%);
}
.timeline-item {
  position: relative;
  padding: 0 0 36px 90px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
  position: absolute;
  left: 8px;
  top: 0;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 18px;
  box-shadow: 0 10px 24px rgba(27, 141, 159, .15);
  z-index: 1;
}
.timeline-item:nth-child(even) .timeline-marker {
  border-color: var(--orange);
  color: var(--orange);
}
.timeline-year {
  display: inline-block;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.timeline-item:nth-child(even) .timeline-year { background: var(--gradient-accent); }
.timeline-item h4 {
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--heading);
}
.timeline-item p {
  color: var(--body-text);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
}

/* ---------- Team grid ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all .35s ease;
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.team-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, rgba(27,141,159,.14), rgba(227,117,40,.1));
  overflow: hidden;
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.team-photo-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, rgba(27,141,159,.06) 0 10px, transparent 10px 20px),
    linear-gradient(135deg, rgba(27,141,159,.12), rgba(227,117,40,.08));
}
.team-photo-placeholder i {
  font-size: 54px;
  color: rgba(27, 141, 159, .35);
}
.team-socials {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: all .3s ease;
}
.team-card:hover .team-socials { opacity: 1; transform: translateY(0); }
.team-socials a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all .25s ease;
}
.team-socials a:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}
.team-body { padding: 22px 22px 26px; }
.team-body h4 {
  font-size: 17px;
  margin: 0 0 3px;
  color: var(--heading);
}
.team-role {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--teal-dark);
  letter-spacing: .3px;
  margin-bottom: 2px;
}
.team-focus {
  display: block;
  font-size: 11.5px;
  color: var(--orange);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.team-body p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--body-text);
  margin: 0;
}

/* ---------- CTA banner ---------- */
.about-cta {
  position: relative;
  padding: 80px 0;
  background: var(--gradient-dark);
  overflow: hidden;
  color: #fff;
}
.about-cta::before {
  content: '';
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: var(--teal);
  filter: blur(100px);
  opacity: .35;
  top: -160px; left: -120px;
}
.about-cta::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: var(--orange);
  filter: blur(110px);
  opacity: .3;
  bottom: -160px; right: -100px;
}
.about-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}
.about-cta-inner h2 { color: #fff; margin: 8px 0 12px; }
.about-cta-inner p { color: rgba(255,255,255,.8); max-width: 540px; margin: 0; }
.about-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .mv-grid, .values-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-hero-stats { grid-template-columns: repeat(4, 1fr); }
  .founder-spotlight { grid-template-columns: 320px 1fr; gap: 36px; }
  .founder-creds { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .about-hero { padding: 60px 0 70px; }
  .about-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .mv-grid, .values-grid, .team-grid { grid-template-columns: 1fr; }
  .founder-spotlight { grid-template-columns: 1fr; gap: 30px; }
  .founder-photo { max-width: 320px; margin: 0 auto; }
  .timeline::before { left: 24px; }
  .timeline-item { padding-left: 70px; }
  .timeline-marker { left: 0; width: 46px; height: 46px; font-size: 16px; }
  .about-cta-inner { flex-direction: column; text-align: center; }
  .about-cta-inner p { margin: 0 auto; }
}

/* ==================================================================
   Contact Us page — sections specific to page-contact.php
   ================================================================== */

/* ---------- Hero pills ---------- */
.contact-hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}
.contact-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-pill);
  color: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(6px);
}
.contact-hero-pill i {
  color: var(--orange-light);
  font-size: 12px;
}

/* 4th contact method (Telegram) styling, matches existing .cm-* pattern */
.cm-telegram .contact-icon { background: linear-gradient(135deg, #229ED9, #1a7ca8); }
.cm-telegram .btn { background: linear-gradient(135deg, #229ED9, #1a7ca8); box-shadow: 0 10px 24px rgba(34, 158, 217, .35); }
.cm-telegram .btn:hover { box-shadow: 0 14px 30px rgba(34, 158, 217, .45); }

/* ---------- Form + Info split ---------- */
.contact-split {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  align-items: start;
}

/* Info card (left) */
.contact-info {
  background: var(--gradient-brand);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.contact-info::before {
  content: '';
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: var(--orange);
  filter: blur(80px);
  opacity: .22;
  top: -100px; right: -60px;
  pointer-events: none;
}
.contact-info > * { position: relative; z-index: 1; }
.contact-info h3 {
  color: #fff;
  font-size: 24px;
  line-height: 1.25;
  margin: 0 0 14px;
}
.contact-info h3 .text-gradient {
  background: linear-gradient(135deg, #fbbf24, #F08D44);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact-info > p {
  color: rgba(255,255,255,.82);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 24px;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ci-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.18);
}
.contact-info-list strong {
  display: block;
  color: #fff;
  font-size: 13px;
  letter-spacing: .5px;
  margin-bottom: 2px;
}
/* Scope the text-span rule to the <div> children only — otherwise it matches
   the .ci-icon wrapper span too and breaks its inline-flex centering. */
.contact-info-list li > div > span,
.contact-info-list li > div > a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
  word-break: break-word;
}
.contact-info-list li > div > a:hover { color: var(--orange-light); }

.contact-info-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.contact-info-socials > span {
  font-size: 12px;
  color: rgba(255,255,255,.75);
  letter-spacing: .4px;
  margin-right: 6px;
}
.contact-info-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all .25s ease;
}
.contact-info-socials a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}

/* Form card (right) */
.contact-form-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.form-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}
.form-banner i { font-size: 20px; margin-top: 2px; flex-shrink: 0; }
.form-banner strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.form-banner span { font-size: 13px; line-height: 1.4; }
.form-banner-success {
  background: rgba(34, 197, 94, .1);
  border: 1px solid rgba(34, 197, 94, .35);
  color: #14532d;
}
.form-banner-success i { color: #22c55e; }
.form-banner-error {
  background: rgba(239, 68, 68, .1);
  border: 1px solid rgba(239, 68, 68, .35);
  color: #7f1d1d;
}
.form-banner-error i { color: #ef4444; }

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.contact-form .form-field { margin-bottom: 18px; }
.contact-form .form-row .form-field { margin-bottom: 0; }

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 7px;
  letter-spacing: .3px;
}
.contact-form label span { color: var(--orange); }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-tint);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: all .25s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(27, 141, 159, .12);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); }
.contact-form textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%234A5A60' d='M6 8 0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 42px;
}

.form-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 400;
  color: var(--body-text);
  line-height: 1.5;
  cursor: pointer;
}
.form-consent input[type="checkbox"] {
  width: 16px; height: 16px;
  margin-top: 2px;
  accent-color: var(--teal);
  flex-shrink: 0;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.form-footer-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.form-footer-note i { color: var(--teal); }

/* Honeypot — hidden from humans, visible to bots */
.te-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Office map grid ---------- */
.office-map-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.office-map-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all .35s ease;
}
.office-map-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(27, 141, 159, .3);
}
.office-map {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-tint);
  overflow: hidden;
}
.office-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.office-map-body {
  padding: 26px 28px 28px;
}
.office-map-body h4 {
  font-size: 20px;
  color: var(--heading);
  margin: 0 0 14px;
}
.office-map-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.office-map-body li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.5;
}
.office-map-body li i {
  color: var(--teal);
  font-size: 14px;
  margin-top: 4px;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}
.office-map-body a { color: var(--teal-dark); }
.office-map-body a:hover { color: var(--orange); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .contact-split { grid-template-columns: 1fr; }
  .contact-info { order: 2; }
  .office-map-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .contact-form-card { padding: 28px 22px; }
  .contact-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form .form-row .form-field { margin-bottom: 18px; }
  .form-footer { flex-direction: column; align-items: flex-start; }
  .contact-hero-pill { font-size: 12px; padding: 6px 12px; }
}

/* ==================================================================
   Other Projects page — sections specific to page-other-projects.php
   ================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(11, 42, 48, .08);
  border-radius: var(--radius-xl);
  padding: 26px 22px 22px;
  box-shadow: var(--shadow-xs);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.project-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-brand);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  opacity: 0;
  transition: opacity .25s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(27, 141, 159, .25);
}
.project-card:hover::before { opacity: 1; }
.project-card:nth-child(even)::before { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); }

.project-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.project-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(27, 141, 159, .12), rgba(27, 141, 159, .04));
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  overflow: hidden;
}
.project-card:nth-child(even) .project-card-icon {
  background: linear-gradient(135deg, rgba(227, 117, 40, .14), rgba(227, 117, 40, .04));
  color: var(--orange-dark);
}
.project-card-icon--image,
.project-card:nth-child(even) .project-card-icon--image {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 0;
}
.project-card-icon--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-card-cat {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(11, 42, 48, .05);
  color: var(--teal-darker);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3px;
  text-transform: uppercase;
  white-space: nowrap;
}
.project-card-title {
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--heading);
  line-height: 1.3;
}
.project-card-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--body-text);
  margin: 0 0 16px;
}
.project-card-meta {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.project-card-meta li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--body-text);
  line-height: 1.45;
}
.project-card-meta i {
  color: var(--teal);
  font-size: 13px;
  margin-top: 3px;
  flex-shrink: 0;
}
.project-card:nth-child(even) .project-card-meta i { color: var(--orange); }
.project-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: var(--shadow-teal);
}
.project-card-link:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(27, 141, 159, .45);
}
.project-card:nth-child(even) .project-card-link {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  box-shadow: var(--shadow-orange);
}
.project-card:nth-child(even) .project-card-link:hover {
  box-shadow: 0 18px 36px rgba(227, 117, 40, .45);
}
.project-card-link i { font-size: 12px; }

/* Disclaimer block */
.op-disclaimer { max-width: 860px; }
.op-disclaimer-body {
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  line-height: 1.75;
  text-align: center;
  margin: 0;
}
.op-disclaimer-body em {
  color: var(--orange-light);
  font-style: normal;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .projects-grid { grid-template-columns: 1fr; gap: 18px; }
  .project-card { padding: 22px 18px 18px; }
  .project-card-title { font-size: 18px; }
}

/* ---------- About Our Organization — image gallery (Other Projects page) ---------- */
.org-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.org-gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-tint);
  box-shadow: var(--shadow-xs);
  transition: transform .35s ease, box-shadow .35s ease;
  isolation: isolate;
}
.org-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.org-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s ease;
}
.org-gallery-item:hover img { transform: scale(1.06); }

.org-gallery-item--placeholder { color: rgba(255, 255, 255, .94); }
.org-gallery-item--placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 28% 24%, rgba(255, 255, 255, .22), transparent 65%);
  pointer-events: none;
}
.org-gallery-item-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
}

.org-gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px 14px;
  background: linear-gradient(to top, rgba(8, 61, 69, .92) 0%, rgba(8, 61, 69, .55) 65%, rgba(8, 61, 69, 0) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .1px;
  opacity: 0;
  transform: translateY(20%);
  transition: opacity .3s ease, transform .3s ease;
}
.org-gallery-item:hover .org-gallery-caption,
.org-gallery-item:focus-within .org-gallery-caption {
  opacity: 1;
  transform: translateY(0);
}
/* Placeholder tiles always show their caption so editors know what each slot is for. */
.org-gallery-item--placeholder .org-gallery-caption {
  background: linear-gradient(to top, rgba(11, 42, 48, .55), rgba(11, 42, 48, 0));
  opacity: 1;
  transform: none;
  z-index: 1;
}

@media (max-width: 1024px) {
  .org-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .org-gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 36px; }
  .org-gallery-item-icon { font-size: 44px; }
  .org-gallery-caption { font-size: 12px; padding: 10px 12px; }
}

/* ==================================================================
   Admission page — sections specific to page-admission.php
   ================================================================== */

/* ---------- Hero pulsing dot + extra CTA row ---------- */
.admission-hero .dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 0 rgba(46, 204, 113, .6);
  animation: ad-pulse 2s infinite;
}
@keyframes ad-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(46, 204, 113, .6); }
  70%  { box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}
.ad-open-pill { border-color: rgba(46, 204, 113, .45); }
.admission-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

/* ---------- Enrolment course cards (3 expanded) ---------- */
.enrol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 40px;
  align-items: stretch;
}
.enrol-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(11, 42, 48, .08);
  border-radius: var(--radius-xl);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-xs);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.enrol-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(27, 141, 159, .25);
}
.enrol-card.enrol-popular {
  border-color: var(--orange);
  box-shadow: 0 20px 50px rgba(227, 117, 40, .18);
}
.enrol-card.enrol-popular::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 2px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.enrol-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-orange);
}
.enrol-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.enrol-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(27, 141, 159, .14), rgba(27, 141, 159, .04));
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.enrol-popular .enrol-icon {
  background: linear-gradient(135deg, rgba(227, 117, 40, .16), rgba(227, 117, 40, .04));
  color: var(--orange-dark);
}
.enrol-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(11, 42, 48, .05);
  color: var(--teal-darker);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.enrol-title {
  font-size: 21px;
  margin: 0 0 10px;
  color: var(--heading);
  line-height: 1.3;
}
.enrol-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--body-text);
  margin: 0 0 18px;
}
.enrol-meta {
  list-style: none;
  margin: 0 0 20px;
  padding: 16px 0;
  border-top: 1px solid rgba(11, 42, 48, .08);
  border-bottom: 1px solid rgba(11, 42, 48, .08);
  display: grid;
  gap: 10px;
}
.enrol-meta li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--body-text);
  line-height: 1.4;
}
.enrol-meta i {
  color: var(--teal);
  font-size: 14px;
  width: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}
.enrol-popular .enrol-meta i { color: var(--orange); }
.enrol-modules { margin-bottom: 22px; }
.enrol-modules h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--teal-darker);
  margin: 0 0 12px;
  font-weight: 700;
}
.enrol-modules ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.enrol-modules li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: var(--body-text);
  line-height: 1.5;
}
.enrol-modules li i {
  color: var(--teal);
  font-size: 13px;
  margin-top: 3px;
  flex-shrink: 0;
}
.enrol-popular .enrol-modules li i { color: var(--orange); }
.enrol-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(11, 42, 48, .08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.enrol-fee { display: flex; flex-direction: column; }
.enrol-fee-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--muted, #6b7b80);
  font-weight: 600;
}
.enrol-fee strong {
  font-size: 16px;
  color: var(--heading);
  line-height: 1.25;
}
.enrol-footer .btn { white-space: nowrap; }

/* ---------- Admission process timeline tweak ---------- */
.ad-process-timeline .timeline-year {
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ---------- What's Included grid ---------- */
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.included-item {
  background: #fff;
  border: 1px solid rgba(11, 42, 48, .08);
  border-radius: var(--radius-xl);
  padding: 24px 22px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.included-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(27, 141, 159, .22);
}
.included-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}
.included-item:nth-child(even) .included-icon {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
}
.included-item h4 {
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--heading);
  line-height: 1.3;
}
.included-item p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--body-text);
  margin: 0;
}

/* ---------- Upcoming Batches ---------- */
.batch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.batch-card {
  background: #fff;
  border: 1px solid rgba(11, 42, 48, .08);
  border-radius: var(--radius-xl);
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.batch-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(27, 141, 159, .25);
}
.batch-card-hot {
  border-color: rgba(227, 117, 40, .35);
  background: linear-gradient(180deg, #fff 0%, rgba(227, 117, 40, .04) 100%);
}
.batch-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.batch-card-program {
  font-size: 14px;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.3;
}
.batch-card-seats {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: rgba(46, 204, 113, .1);
  color: #1e8449;
  white-space: nowrap;
}
.batch-card-seats i { font-size: 7px; }
.batch-card-seats.batch-seats-few-seats-left,
.batch-card-seats.batch-seats-filling-fast,
.batch-card-seats.batch-seats-last-seats,
.batch-card-seats.batch-seats-almost-full {
  background: rgba(227, 117, 40, .12);
  color: var(--orange-dark);
}
.batch-card-date {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid rgba(11, 42, 48, .08);
  border-bottom: 1px solid rgba(11, 42, 48, .08);
}
.batch-card-date i {
  color: var(--teal);
  font-size: 22px;
  flex-shrink: 0;
}
.batch-card-hot .batch-card-date i { color: var(--orange); }
.batch-card-date strong {
  font-size: 18px;
  color: var(--heading);
  line-height: 1.2;
  letter-spacing: -.2px;
}
.batch-card-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.batch-card-meta li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: var(--body-text);
  line-height: 1.4;
}
.batch-card-meta i {
  color: var(--teal);
  font-size: 12px;
  margin-top: 3px;
  width: 14px;
  flex-shrink: 0;
}
.batch-card .btn { margin-top: auto; justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .enrol-grid     { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .included-grid  { grid-template-columns: repeat(2, 1fr); }
  .batch-grid     { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .included-grid  { grid-template-columns: 1fr; }
  .batch-grid     { grid-template-columns: 1fr; }
  .enrol-card     { padding: 24px 20px 20px; }
  .enrol-footer   { flex-direction: column; align-items: stretch; }
  .enrol-footer .btn { width: 100%; }
  .admission-hero-cta .btn { width: 100%; }
}

/* ==================================================================
   Blog — home.php, archive.php, single.php, searchform.php
   ================================================================== */

/* ---------- Hero search ---------- */
.blog-hero-search {
  margin: 30px auto 0;
  max-width: 600px;
}
.te-search {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
  padding: 6px 6px 6px 48px;
  transition: background .25s ease, border-color .25s ease;
}
.te-search:focus-within {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(227, 117, 40, .5);
}
.te-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, .7);
  font-size: 15px;
}
.te-search-input {
  flex: 1;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 15px;
  padding: 11px 10px;
  outline: none;
  font-family: inherit;
}
.te-search-input::placeholder { color: rgba(255, 255, 255, .6); }
.te-search-submit {
  background: var(--gradient-brand);
  color: #fff;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.te-search-submit:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-teal);
}

/* Search form re-styled when it appears on a light page */
.section .te-search,
.blog-empty .te-search {
  background: #fff;
  border-color: rgba(11, 42, 48, .1);
}
.section .te-search-icon,
.blog-empty .te-search-icon { color: var(--teal); }
.section .te-search-input,
.blog-empty .te-search-input { color: var(--heading); }
.section .te-search-input::placeholder,
.blog-empty .te-search-input::placeholder { color: #93a0a4; }

/* ---------- Category filter bar (editorial) ---------- */
.blog-filter-bar {
  background: #fff;
  border-bottom: 1px solid rgba(11, 42, 48, .08);
  position: sticky;
  top: 0;
  z-index: 40;
}
.blog-filter-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0;
}
.blog-filter-inner::-webkit-scrollbar { display: none; }

.blog-filter-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #93a0a4;
  padding: 16px 22px 16px 0;
  margin-right: 8px;
  border-right: 1px solid rgba(11, 42, 48, .08);
  flex-shrink: 0;
}

.blog-pill {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 18px 16px;
  background: transparent;
  color: #5a6b70;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .1px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color .2s ease;
}
.blog-pill::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -1px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.blog-pill:hover {
  background: transparent;
  color: var(--teal-darker);
}
.blog-pill.active {
  background: transparent;
  color: var(--teal-darker);
  font-weight: 600;
  box-shadow: none;
}
.blog-pill.active::after { transform: scaleX(1); }

.blog-pill-count {
  display: inline-block;
  padding: 0;
  background: transparent;
  color: #9fadb1;
  font-size: 11.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  margin-left: 2px;
}
.blog-pill.active .blog-pill-count {
  background: transparent;
  color: var(--orange);
}

@media (max-width: 620px) {
  .blog-filter-label { padding: 14px 16px 14px 0; margin-right: 4px; }
  .blog-pill { padding: 14px 12px; font-size: 13px; }
  .blog-pill::after { left: 12px; right: 12px; }
}

/* ---------- Category badges (inside cards) ---------- */
.blog-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.blog-cat {
  display: inline-block;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: rgba(27, 141, 159, .12);
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  transition: background .2s ease;
}
.blog-cat:hover { background: rgba(27, 141, 159, .22); color: var(--teal-darker); }

/* ---------- Featured post ---------- */
.blog-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(11, 42, 48, .06);
  overflow: hidden;
}
.blog-featured-media {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: rgba(11, 42, 48, .05);
}
.blog-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.blog-featured-media:hover img { transform: scale(1.04); }
.blog-featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  box-shadow: var(--shadow-orange);
}
.blog-featured-body { padding: 10px 14px 10px 0; }
.blog-featured-title {
  font-size: 34px;
  line-height: 1.18;
  margin: 0 0 16px;
  color: var(--heading);
  letter-spacing: -.3px;
}
.blog-featured-title a {
  color: inherit;
  background-image: linear-gradient(var(--teal), var(--teal));
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .3s ease;
}
.blog-featured-title a:hover { background-size: 100% 2px; color: var(--teal-dark); }
.blog-featured-excerpt {
  font-size: 16px;
  line-height: 1.65;
  color: var(--body-text);
  margin: 0 0 22px;
}
.blog-featured-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 12px 24px;
  background: var(--gradient-brand);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14.5px;
  box-shadow: var(--shadow-teal);
  transition: transform .2s ease, box-shadow .2s ease;
}
.blog-featured-link:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(27, 141, 159, .45);
}

/* ---------- Blog grid cards ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 20px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(11, 42, 48, .06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(27, 141, 159, .2);
}
.blog-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(11, 42, 48, .05);
}
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.blog-card:hover .blog-card-media img { transform: scale(1.05); }
.blog-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-brand);
  color: rgba(255, 255, 255, .4);
  font-size: 56px;
}
.blog-featured-placeholder { aspect-ratio: 16 / 10; }
.blog-card-body {
  padding: 22px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-title {
  font-size: 19px;
  line-height: 1.35;
  margin: 0 0 10px;
  color: var(--heading);
}
.blog-card-title a { color: inherit; transition: color .2s ease; }
.blog-card-title a:hover { color: var(--teal); }
.blog-card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--body-text);
  margin: 0 0 16px;
  flex: 1;
}

/* ---------- Post meta ---------- */
.blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--body-text);
}
.blog-meta-compact { font-size: 12.5px; margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(11, 42, 48, .06); }
.blog-meta-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--heading);
}
.blog-avatar {
  border-radius: 50%;
  object-fit: cover;
}
.blog-meta-dot { color: rgba(11, 42, 48, .3); font-weight: 700; }
.blog-meta i { color: var(--teal); font-size: 12px; margin-right: 4px; }

/* ---------- Pagination ---------- */
.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
  flex-wrap: wrap;
}
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff;
  color: var(--heading);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid rgba(11, 42, 48, .08);
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  min-width: 44px;
  justify-content: center;
}
.blog-pagination .page-numbers:hover {
  background: rgba(27, 141, 159, .08);
  color: var(--teal-dark);
  border-color: rgba(27, 141, 159, .25);
}
.blog-pagination .page-numbers.current {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-teal);
}
.blog-pagination .dots { border: 0; background: transparent; }

/* ---------- Search hero query title ---------- */
.search-hero-title {
  word-break: break-word;
}
.search-hero .about-hero-eyebrow strong {
  font-weight: 700;
  color: var(--orange-light);
  margin-right: 4px;
}

/* ---------- Search empty state ---------- */
.search-empty {
  max-width: 640px;
  margin: 40px auto;
  padding: 50px 30px;
  background: #fff;
  border: 1px solid rgba(11, 42, 48, .08);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-xs);
}
.search-empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 22px;
  background: linear-gradient(135deg, rgba(27, 141, 159, .12), rgba(27, 141, 159, .04));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--teal);
}
.search-empty h2 {
  font-size: 26px;
  color: var(--heading);
  margin: 0 0 12px;
  letter-spacing: -.2px;
}
.search-empty > p {
  color: var(--body-text);
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0 auto 24px;
  max-width: 480px;
}
.search-empty > p strong { color: var(--heading); }
.search-empty-tips {
  list-style: none;
  margin: 0 auto 30px;
  padding: 22px 24px;
  text-align: left;
  max-width: 480px;
  background: rgba(27, 141, 159, .04);
  border: 1px solid rgba(27, 141, 159, .1);
  border-radius: 14px;
  display: grid;
  gap: 12px;
}
.search-empty-tips li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.55;
}
.search-empty-tips i {
  color: var(--teal);
  font-size: 13px;
  margin-top: 4px;
  flex-shrink: 0;
}
.search-empty-topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0 auto 28px;
  max-width: 520px;
}
.search-empty-topics-label {
  width: 100%;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #93a0a4;
  margin-bottom: 4px;
}
.search-empty-topic {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(11, 42, 48, .04);
  color: var(--teal-darker);
  font-size: 13px;
  font-weight: 500;
  transition: background .2s ease, color .2s ease;
}
.search-empty-topic:hover {
  background: rgba(27, 141, 159, .14);
  color: var(--teal-dark);
}
.search-empty-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ---------- Empty state (blog) ---------- */
.blog-empty {
  text-align: center;
  max-width: 520px;
  margin: 40px auto;
  padding: 60px 20px;
}
.blog-empty i {
  font-size: 52px;
  color: var(--teal-light);
  margin-bottom: 20px;
}
.blog-empty h2 {
  font-size: 28px;
  color: var(--heading);
  margin: 0 0 12px;
}
.blog-empty p {
  color: var(--body-text);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 24px;
}

/* ==================================================================
   Single post
   ================================================================== */
.single-post-head {
  background: var(--gradient-brand);
  color: #fff;
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}
.single-post-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 30%, rgba(227, 117, 40, .25), transparent 45%);
  pointer-events: none;
}
.single-post-head-inner {
  position: relative;
  max-width: 820px;
  text-align: left;
}
.breadcrumb-dark a,
.breadcrumb-dark span { color: rgba(255, 255, 255, .78); }
.breadcrumb-dark a:hover { color: #fff; }
.breadcrumb-dark i { color: rgba(255, 255, 255, .4); }
.single-cats { margin: 18px 0 20px; }
.single-cats .blog-cat {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}
.single-cats .blog-cat:hover { background: rgba(255, 255, 255, .26); color: #fff; }
.single-post-title {
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -.5px;
  margin: 0 0 18px;
  color: #fff;
}
.single-post-standfirst {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .85);
  margin: 0 0 28px;
  max-width: 680px;
}
.single-post-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, .85);
  font-size: 14px;
}
.single-post-author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
}
.single-avatar { border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); }
.single-meta-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
}
.single-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.single-meta-item i { color: var(--orange-light); font-size: 12px; }

.single-post-hero {
  margin-top: -30px;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}
.single-post-hero img {
  display: block;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.single-post-section { padding-top: 50px; }
.single-post-container { max-width: 780px; }

.single-post-content {
  font-size: 17px;
  line-height: 1.75;
  color: var(--body-text);
}
.single-post-content > * + * { margin-top: 1.3em; }
.single-post-content h2 {
  font-size: 28px;
  line-height: 1.25;
  color: var(--heading);
  margin-top: 2em;
  letter-spacing: -.3px;
}
.single-post-content h3 {
  font-size: 22px;
  line-height: 1.3;
  color: var(--heading);
  margin-top: 1.8em;
}
.single-post-content h4 {
  font-size: 18px;
  color: var(--heading);
  margin-top: 1.6em;
}
.single-post-content p { margin-bottom: 0; }
.single-post-content a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.single-post-content a:hover { color: var(--orange); }
.single-post-content img,
.single-post-content figure {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 2em 0;
}
.single-post-content figcaption {
  font-size: 13.5px;
  color: var(--body-text);
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}
.single-post-content blockquote {
  border-left: 4px solid var(--orange);
  padding: 18px 0 18px 24px;
  margin: 2em 0;
  font-size: 20px;
  line-height: 1.55;
  color: var(--heading);
  font-style: italic;
  background: rgba(227, 117, 40, .05);
  border-radius: 0 14px 14px 0;
}
.single-post-content blockquote p { margin: 0; }
.single-post-content ul,
.single-post-content ol {
  padding-left: 1.5em;
  margin: 1.3em 0;
}
.single-post-content li { margin-bottom: .6em; }
.single-post-content code {
  background: rgba(27, 141, 159, .08);
  color: var(--teal-dark);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: .9em;
}
.single-post-content pre {
  background: var(--teal-darker);
  color: #e8f4f7;
  padding: 22px;
  border-radius: 14px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.6;
}
.single-post-content pre code { background: transparent; color: inherit; padding: 0; }
.single-post-content hr {
  border: 0;
  border-top: 1px solid rgba(11, 42, 48, .1);
  margin: 3em 0;
}
.single-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: 15px;
}
.single-post-content th,
.single-post-content td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(11, 42, 48, .08);
  text-align: left;
}
.single-post-content th { background: rgba(27, 141, 159, .06); color: var(--heading); font-weight: 700; }

/* ---------- Tags ---------- */
.single-post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(11, 42, 48, .08);
}
.single-tags-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--teal-darker);
  margin-right: 6px;
}
.single-tags-label i { color: var(--orange); margin-right: 4px; }
.single-tag {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(11, 42, 48, .05);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 500;
  transition: background .2s ease, color .2s ease;
}
.single-tag:hover { background: rgba(27, 141, 159, .14); color: var(--teal-darker); }

/* ---------- Share bar ---------- */
.single-post-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding: 22px 24px;
  background: rgba(27, 141, 159, .04);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(27, 141, 159, .1);
}
.single-share-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-darker);
}
.single-share-buttons {
  display: flex;
  gap: 10px;
}
.single-share-buttons a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--teal-darker);
  font-size: 15px;
  border: 1px solid rgba(11, 42, 48, .08);
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.single-share-buttons a:hover {
  transform: translateY(-2px);
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
}

/* ---------- Author card ---------- */
.single-author-card {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  margin-top: 36px;
  padding: 28px;
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(11, 42, 48, .08);
  box-shadow: var(--shadow-xs);
}
.single-author-avatar {
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid rgba(27, 141, 159, .15);
}
.single-author-body { flex: 1; }
.single-author-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--orange);
}
.single-author-body h3 {
  font-size: 20px;
  color: var(--heading);
  margin: 4px 0 8px;
}
.single-author-body p {
  color: var(--body-text);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 12px;
}
.single-author-link {
  font-weight: 600;
  color: var(--teal);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.single-author-link:hover { color: var(--orange); }

/* ---------- Prev / Next post nav ---------- */
.single-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.single-nav-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(11, 42, 48, .08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.single-nav-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(27, 141, 159, .25);
}
.single-nav-prev { text-align: left; }
.single-nav-next { text-align: right; align-items: flex-end; }
.single-nav-dir {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--orange);
}
.single-nav-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.4;
}

/* ==================================================================
   Responsive
   ================================================================== */
@media (max-width: 900px) {
  .blog-featured { grid-template-columns: 1fr; padding: 18px; gap: 24px; }
  .blog-featured-title { font-size: 26px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .single-post-title { font-size: 34px; }
  .single-post-nav { grid-template-columns: 1fr; }
  .single-nav-next { text-align: left; align-items: flex-start; }
}
@media (max-width: 620px) {
  .blog-grid { grid-template-columns: 1fr; gap: 20px; }
  .single-post-head { padding: 50px 0 44px; }
  .single-post-title { font-size: 28px; }
  .single-post-standfirst { font-size: 16px; }
  .single-post-content { font-size: 16px; }
  .single-post-content h2 { font-size: 24px; }
  .single-author-card { flex-direction: column; text-align: left; }
  .single-share-buttons { flex-wrap: wrap; }
  .te-search-submit { padding: 9px 14px; font-size: 13px; }
  .te-search { padding-left: 40px; }
  .te-search-icon { left: 14px; }
}

/* ==================================================================
   Admission application form (page-admission.php #apply section)
   ================================================================== */

.section-apply {
  position: relative;
  padding: 80px 0 90px;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(27,141,159,.08), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(227,117,40,.07), transparent 60%),
    var(--bg);
  scroll-margin-top: 90px;
}

.apply-wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 50px;
  align-items: start;
}

.apply-side .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--teal-dark);
}
.apply-side .eyebrow i { color: var(--orange); }
.apply-side h2 {
  font-size: clamp(28px, 3vw, 40px);
  margin: 0 0 16px;
}
.apply-side > p {
  color: var(--body-text);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 24px;
  max-width: 460px;
}

.apply-side-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.apply-side-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink);
}
.apply-side-list i {
  color: var(--teal);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.apply-side-card {
  display: flex;
  gap: 16px;
  padding: 22px 22px 20px;
  background: var(--gradient-dark);
  color: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.apply-side-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 220px at 100% 0%, rgba(227,117,40,.25), transparent 60%);
  pointer-events: none;
}
.apply-side-card > i {
  font-size: 30px;
  color: #25d366;
  flex-shrink: 0;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}
.apply-side-card > div { position: relative; z-index: 1; }
.apply-side-card h4 {
  margin: 0 0 6px;
  font-size: 17px;
  color: #fff;
}
.apply-side-card p {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: rgba(255,255,255,.8);
  line-height: 1.55;
}
.apply-side-card .btn-outline {
  border-color: rgba(255,255,255,.4);
  color: #fff;
}
.apply-side-card .btn-outline:hover {
  background: #25d366;
  border-color: #25d366;
}

.apply-form-card { padding: 36px 36px 32px; }
.admission-form .form-row { margin-bottom: 16px; }
.admission-form .form-field { margin-bottom: 16px; }
.admission-form textarea { min-height: 110px; }

@media (max-width: 960px) {
  .apply-wrap { grid-template-columns: 1fr; gap: 36px; }
  .apply-side > p { max-width: none; }
  .apply-form-card { padding: 28px 22px 24px; }
}
@media (max-width: 520px) {
  .section-apply { padding: 56px 0 64px; }
  .admission-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .admission-form .form-row .form-field { margin-bottom: 16px; }
}

/* ==================================================================
   Legal / Policy pages (page.php fallback template)
   Used by: /refund-policy/, /privacy-policy/, /terms-of-service/,
   and any future WP Page without a dedicated page-*.php template.
   ================================================================== */

.legal-hero { padding: 70px 0 64px; }
.legal-hero-inner { max-width: 860px; }
.legal-hero-title { margin-bottom: 18px; }
.legal-hero-lead  { margin-bottom: 26px; }

.legal-hero-meta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 6px;
}
.legal-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: rgba(255,255,255,.85);
  letter-spacing: .2px;
  backdrop-filter: blur(6px);
}
.legal-hero-meta i { font-size: 12px; color: var(--orange); }

/* -------- Body + two-column grid -------- */
.legal-body {
  padding: 70px 0 80px;
  background: var(--bg);
  position: relative;
}
.legal-body::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 60px;
  background: linear-gradient(to bottom, var(--bg-tint), transparent);
  pointer-events: none;
}

.legal-grid {
  position: relative;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.legal-grid--solo { grid-template-columns: minmax(0, 780px); justify-content: center; }

/* -------- Sticky TOC -------- */
.legal-toc {
  position: sticky;
  top: 110px;
  align-self: start;
  max-height: calc(100vh - 140px);
  overflow: auto;
  padding-right: 6px;
}
.legal-toc-inner {
  background: var(--bg-tint);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px 22px 18px;
}
.legal-toc-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--teal-dark);
}
.legal-toc-head i { color: var(--orange); font-size: 12px; }

.legal-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: legal-toc;
}
.legal-toc-item { margin: 0; }
.legal-toc-item a {
  display: block;
  position: relative;
  padding: 8px 10px 8px 16px;
  border-left: 2px solid transparent;
  color: var(--body-text);
  font-size: 14px;
  line-height: 1.45;
  border-radius: 0 8px 8px 0;
  transition: all .18s ease;
}
.legal-toc-item a:hover {
  background: #fff;
  color: var(--teal-dark);
  border-left-color: var(--teal);
}
.legal-toc-item.is-active a {
  background: #fff;
  color: var(--teal-dark);
  border-left-color: var(--orange);
  font-weight: 600;
  box-shadow: var(--shadow-xs);
}
.legal-toc-h3 a {
  padding-left: 28px;
  font-size: 13px;
  color: var(--muted);
}

/* -------- Article body -------- */
.legal-article {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 48px 56px 40px;
  box-shadow: var(--shadow-xs);
}
.legal-content {
  color: var(--body-text);
  font-size: 16px;
  line-height: 1.8;
}
.legal-content > *:first-child { margin-top: 0; }
.legal-content > *:last-child  { margin-bottom: 0; }

.legal-content h2 {
  font-size: clamp(24px, 2.2vw, 30px);
  color: var(--heading);
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}
.legal-content h3 {
  font-size: clamp(18px, 1.4vw, 21px);
  color: var(--heading);
  margin: 40px 0 12px;
  scroll-margin-top: 110px;
  position: relative;
  padding-left: 18px;
}
.legal-content h3::before {
  content: '';
  position: absolute;
  left: 0; top: .35em;
  width: 4px; height: .9em;
  background: var(--gradient-mix);
  border-radius: 4px;
}
.legal-content h2 { scroll-margin-top: 110px; }

.legal-content p  { margin: 0 0 16px; }
.legal-content strong { color: var(--heading); font-weight: 600; }
.legal-content em { color: var(--teal-dark); }

.legal-content ul,
.legal-content ol {
  margin: 0 0 18px;
  padding-left: 22px;
}
.legal-content li {
  margin-bottom: 8px;
  padding-left: 6px;
}
.legal-content li::marker { color: var(--teal); }
.legal-content li p { margin: 0 0 6px; }

.legal-content a {
  color: var(--teal-dark);
  font-weight: 500;
  border-bottom: 1px solid rgba(27,141,159,.3);
  transition: all .18s ease;
}
.legal-content a:hover {
  color: var(--orange-dark);
  border-bottom-color: var(--orange);
}

.legal-content hr {
  border: 0;
  height: 1px;
  background: var(--border-color);
  margin: 32px 0;
}

.legal-content blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  background: var(--bg-tint);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--ink);
  font-style: italic;
}

.legal-content code {
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .9em;
  color: var(--teal-darker);
}

/* -------- Footer block inside article -------- */
.legal-foot {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px dashed var(--border-color);
}
.legal-foot-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(27,141,159,.06), rgba(227,117,40,.05));
  border: 1px solid rgba(27,141,159,.15);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--ink);
  margin: 0 0 12px;
}
.legal-foot-note i {
  color: var(--teal);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}
.legal-foot-updated {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  text-align: right;
}

/* -------- Related policies -------- */
.legal-related {
  padding: 70px 0 80px;
  background: var(--bg-tint);
  border-top: 1px solid var(--border-color);
}
.legal-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.legal-related-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  color: var(--ink);
  transition: all .28s ease;
  overflow: hidden;
  isolation: isolate;
}
.legal-related-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--gradient-mix);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s ease;
  z-index: 1;
}
.legal-related-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.legal-related-card:hover::after { transform: scaleX(1); }

.legal-related-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--gradient-mix);
  color: #fff;
  font-size: 18px;
  box-shadow: var(--shadow-teal);
  margin-bottom: 4px;
}
.legal-related-card h3 {
  margin: 0;
  font-size: 19px;
  color: var(--heading);
}
.legal-related-card p {
  margin: 0 0 auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.legal-related-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  color: var(--teal-dark);
  text-transform: uppercase;
}
.legal-related-cta i { transition: transform .25s ease; }
.legal-related-card:hover .legal-related-cta i { transform: translateX(4px); }

/* -------- Responsive -------- */
@media (max-width: 1024px) {
  .legal-grid { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; }
  .legal-article { padding: 40px 40px 32px; }
}
@media (max-width: 860px) {
  .legal-grid,
  .legal-grid--solo { grid-template-columns: 1fr; gap: 28px; }
  .legal-toc {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
  }
  .legal-toc-inner { padding: 18px 20px; }
  .legal-article { padding: 32px 28px 28px; }
  .legal-hero { padding: 56px 0 48px; }
  .legal-hero-meta { gap: 8px 10px; }
  .legal-hero-meta span { padding: 6px 12px; font-size: 12px; }
  .legal-body { padding: 48px 0 56px; }
  .legal-related { padding: 56px 0 64px; }
}
@media (max-width: 520px) {
  .legal-article { padding: 26px 22px 22px; border-radius: var(--radius-lg); }
  .legal-content { font-size: 15.5px; }
  .legal-content h3 { margin-top: 32px; }
  .legal-foot-updated { text-align: left; }
}

/* ==============================================
   Crypto Signals (VIP) page  — page-crypto-signals.php
   Self-contained block; reuses .btn-*, .container,
   .section, .section-tint, .eyebrow, .text-gradient,
   .about-cta, breadcrumb from elsewhere.
   ============================================== */

/* Hero */
.cs-hero {
  position: relative;
  padding: clamp(72px, 10vw, 120px) 0 clamp(48px, 6vw, 72px);
  background: linear-gradient(180deg, #f3f8f9 0%, #ffffff 100%);
  overflow: hidden;
  isolation: isolate;
}
.cs-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(27, 141, 159, .18), transparent 60%),
    radial-gradient(50% 40% at 5% 100%, rgba(227, 117, 40, .14), transparent 60%);
}
.cs-hero-inner { position: relative; }
.cs-hero-inner .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.cs-hero-inner .breadcrumb a { color: var(--teal-dark); font-weight: 600; }
.cs-hero-inner .breadcrumb i { font-size: 10px; }
.cs-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(27, 141, 159, .12);
  color: var(--teal-darker);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.cs-hero-eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(227, 117, 40, .25);
  animation: cs-pulse 2s infinite;
}
@keyframes cs-pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(227,117,40,.25); }
  50%     { box-shadow: 0 0 0 6px rgba(227,117,40,.05); }
}
.cs-hero-title { max-width: 880px; margin-bottom: 18px; }
.cs-hero-lead  { max-width: 720px; font-size: clamp(16px, 1.3vw, 19px); color: var(--body-text); }
.cs-hero-meta  {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.cs-hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow-xs);
}
.cs-hero-meta i { color: var(--orange); }

/* Pricing card */
.cs-pricing-section { padding-top: 80px; }
.cs-pricing-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 48px);
  padding: clamp(28px, 3.5vw, 44px);
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.cs-pricing-card::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--gradient-mix);
  opacity: .04;
  pointer-events: none;
}
/* Stacked variant: narrow centered card — used when 1 or 0 buttons render.
 * Caps card width and centers content so the right half doesn't read as empty. */
.cs-pricing-card-stacked {
  grid-template-columns: 1fr;
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
  padding: clamp(36px, 4.5vw, 56px) clamp(28px, 4vw, 48px);
}
.cs-pricing-card-stacked .cs-price-new { justify-content: center; }
.cs-pricing-card-stacked .cs-price-note {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.cs-pricing-card-stacked .cs-price-actions {
  align-self: center;
  width: 100%;
  max-width: 340px;
  margin-top: 28px;
}
.cs-pricing-card-stacked .cs-price-actions .btn { width: 100%; }
.cs-price-side { position: relative; }
.cs-price-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  background: rgba(227, 117, 40, .12);
  color: var(--orange-dark);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 18px;
}
.cs-price-old {
  display: block;
  font-size: 18px;
  color: var(--muted);
  text-decoration: line-through;
  margin-bottom: 6px;
}
.cs-price-new {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  color: var(--teal-darker);
  line-height: 1;
  letter-spacing: -0.02em;
}
.cs-price-new small {
  font-size: 18px;
  color: var(--orange-dark);
  font-weight: 700;
}
.cs-price-period {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}
.cs-price-note {
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--body-text);
  max-width: 360px;
}
.cs-price-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: center;
  position: relative;
}
.cs-price-actions .btn {
  justify-content: flex-start;
  text-align: left;
  padding: 16px 22px;
}
.cs-price-actions .btn small {
  display: block;
  font-weight: 500;
  font-size: 12.5px;
  opacity: .82;
  margin-top: 2px;
}
.cs-step-num {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}

/* How To Get Access */
.cs-howto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.cs-howto-content h2 { margin-top: 8px; margin-bottom: 14px; }
.cs-howto-steps {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 16px;
}
.cs-howto-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}
.cs-howto-steps h4 { margin: 2px 0 4px; font-size: 16px; color: var(--ink); }
.cs-howto-steps p  { margin: 0; font-size: 14px; }
.cs-step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-teal);
}
.cs-howto-steps li:nth-child(even) .cs-step-circle { background: var(--gradient-accent); box-shadow: var(--shadow-orange); }

.cs-howto-video,
.cs-test-video,
.cs-video-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #07252b;
  box-shadow: var(--shadow-md);
}
.cs-video-wrap iframe,
.cs-howto-video iframe,
.cs-test-video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.cs-video-placeholder,
.cs-test-placeholder,
.cs-video-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  color: rgba(255, 255, 255, .82);
  text-align: center;
  padding: 24px;
  font-size: 14px;
}
.cs-video-placeholder i,
.cs-test-placeholder i,
.cs-video-fallback i {
  font-size: 56px;
  color: var(--orange);
}
.cs-test-placeholder,
.cs-test-video {
  max-width: 920px;
  margin: 32px auto 0;
}
.cs-video-fallback {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
}

/* Benefits */
.cs-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}
.cs-benefit-col {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.6vw, 32px);
  box-shadow: var(--shadow-xs);
}
.cs-benefit-col-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  margin: 0 0 16px;
  color: var(--teal-darker);
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-color);
}
.cs-benefit-col:nth-child(2) .cs-benefit-col-title { color: var(--orange-dark); }
.cs-benefit-col-title i { color: var(--orange); }
.cs-benefit-col:nth-child(2) .cs-benefit-col-title i { color: var(--teal); }
.cs-benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.cs-benefit-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 15px;
  color: var(--body-text);
}
.cs-benefit-list i {
  color: var(--teal);
  margin-top: 4px;
}

/* Payment Methods */
.cs-pay-fx {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}
.cs-pay-fx i { color: var(--orange); margin-right: 6px; }
.cs-pay-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
  margin-top: 8px;
}
.cs-pay-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.4vw, 28px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cs-pay-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.cs-pay-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: var(--shadow-teal);
}
.cs-pay-card:nth-child(2) .cs-pay-icon { background: var(--gradient-accent); box-shadow: var(--shadow-orange); }
.cs-pay-card:nth-child(3) .cs-pay-icon { background: linear-gradient(135deg, #F0B90B 0%, #E37528 100%); box-shadow: 0 14px 30px rgba(240, 185, 11, .35); }
.cs-pay-card h3 { margin: 0; font-size: 18px; color: var(--ink); }
.cs-pay-sub { margin: 0; font-size: 13px; color: var(--muted); }
.cs-pay-rows {
  display: grid;
  gap: 10px;
  margin: 6px 0 0;
}
.cs-pay-rows > div {
  display: grid;
  grid-template-columns: minmax(110px, 30%) 1fr;
  gap: 10px;
  font-size: 13.5px;
  align-items: center;
}
.cs-pay-rows dt {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 11.5px;
}
.cs-pay-rows dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  word-break: break-word;
}
.cs-pay-row-copy dd {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cs-pay-row-copy code {
  flex: 1 1 auto;
  display: inline-block;
  padding: 8px 10px;
  background: var(--bg-tint);
  border-radius: 8px;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  font-size: 13px;
  color: var(--teal-darker);
  word-break: break-all;
}
.cs-copy-btn {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: #fff;
  color: var(--teal-dark);
  cursor: pointer;
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cs-copy-btn:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.cs-copy-btn.is-ok { background: var(--teal); color: #fff; border-color: var(--teal); }
.cs-copy-btn.is-err { background: var(--orange); color: #fff; border-color: var(--orange); }
.cs-pay-warn {
  margin: 8px 0 0;
  padding: 10px 12px;
  background: rgba(227, 117, 40, .08);
  border-left: 3px solid var(--orange);
  border-radius: 6px;
  font-size: 12.5px;
  color: var(--ink);
}
.cs-pay-warn i { color: var(--orange); margin-right: 6px; }

/* Registration form */
.cs-form-wrap {
  max-width: 920px;
}
.cs-form {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-md);
}
.cs-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.cs-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
}
.cs-form-field-full { grid-column: 1 / -1; }
.cs-form-field span em {
  color: var(--orange);
  font-style: normal;
  font-weight: 700;
  margin-left: 2px;
}
.cs-form-field input[type="text"],
.cs-form-field input[type="email"],
.cs-form-field input[type="tel"],
.cs-form-field select,
.cs-form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: #fff;
  font-weight: 500;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cs-form-field input[type="file"] {
  padding: 10px;
  border: 1px dashed var(--teal);
  border-radius: var(--radius-md);
  background: var(--bg-tint);
  font-size: 13.5px;
}
.cs-form-field input:focus,
.cs-form-field select:focus,
.cs-form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(27, 141, 159, .15);
}
.cs-form-field small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.cs-form-consent {
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--body-text);
}
.cs-form-consent input { margin-top: 4px; flex: 0 0 auto; }
.cs-form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.cs-form-fineprint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}
.cs-form-fineprint i { color: var(--teal); }

.cs-form-alert {
  display: flex;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  font-size: 14px;
  align-items: flex-start;
}
.cs-form-alert i { font-size: 22px; margin-top: 2px; }
.cs-form-alert div { display: grid; gap: 2px; }
.cs-form-alert strong { color: var(--ink); }
.cs-form-alert-ok {
  background: rgba(27, 141, 159, .08);
  border: 1px solid rgba(27, 141, 159, .25);
}
.cs-form-alert-ok i { color: var(--teal-dark); }
.cs-form-alert-err {
  background: rgba(227, 117, 40, .08);
  border: 1px solid rgba(227, 117, 40, .25);
}
.cs-form-alert-err i { color: var(--orange-dark); }

/* Notice */
.cs-notice {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  padding: clamp(20px, 2.6vw, 28px);
  background: #fff;
  border: 1px solid rgba(227, 117, 40, .25);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.cs-notice-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(227, 117, 40, .12);
  color: var(--orange-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.cs-notice-body h3 { margin: 0 0 6px; font-size: 19px; color: var(--ink); }
.cs-notice-body p { margin: 0 0 14px; }
.cs-notice-contacts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.cs-notice-contacts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.cs-notice-contacts i { color: var(--teal); }
.cs-notice-contacts a { color: var(--teal-dark); }
.cs-notice-contacts a:hover { color: var(--orange-dark); }

/* Testimonials */
.cs-test-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
  margin-top: 36px;
}
.cs-test-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-xs);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cs-test-card > i {
  font-size: 24px;
  color: var(--orange);
  opacity: .6;
}
.cs-test-card p {
  margin: 0;
  font-style: italic;
  color: var(--body-text);
}
.cs-test-card footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--border-color);
}
.cs-test-card strong { color: var(--ink); font-size: 15px; }
.cs-test-card span { color: var(--muted); font-size: 13px; }

/* Responsive */
@media (max-width: 900px) {
  .cs-pricing-card { grid-template-columns: 1fr; }
  .cs-howto-grid   { grid-template-columns: 1fr; }
  .cs-benefits-grid { grid-template-columns: 1fr; }
  .cs-pay-grid      { grid-template-columns: 1fr; }
  .cs-test-grid     { grid-template-columns: 1fr; }
  .cs-form-grid     { grid-template-columns: 1fr; }
  .cs-form-field-full { grid-column: auto; }
}
@media (max-width: 540px) {
  .cs-price-new { font-size: 56px; }
  .cs-price-actions .btn { padding: 14px 18px; font-size: 14px; }
  .cs-step-num { width: 30px; height: 30px; font-size: 14px; }
  .cs-howto-steps li { grid-template-columns: 40px 1fr; gap: 12px; padding: 12px; }
  .cs-step-circle { width: 40px; height: 40px; font-size: 16px; }
  .cs-notice { grid-template-columns: 1fr; }
}
