/* =====================================================================================
   KAYLEE TUTORING — LUXURY ENTERPRISE STYLESHEET v7.0
   Design Language: Ultra-Premium Agency × Executive Education Platform
   Features: Glassmorphism · Bento Grid · Kinetic Typography · Liquid Gradients
   Brand Color: #008b78 (Emerald) + Deep Blacks + Metallic Accents
   ===================================================================================== */

/* --- Google Fonts Import — Premium Corporate Suite --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* =====================================================================================
   CSS CUSTOM PROPERTIES — LUXURY DESIGN TOKENS
   ===================================================================================== */
:root {
  /* ── Brand Palette ── */
  --emerald:        #008b78;
  --emerald-deep:   #006657;
  --emerald-vivid:  #00a88e;
  --emerald-glow:   rgba(0,139,120,0.35);
  --emerald-glass:  rgba(0,139,120,0.12);
  --emerald-pale:   rgba(0,139,120,0.07);

  /* ── Luxury Gold Accent ── */
  --gold:           #c9a227;
  --gold-light:     #f0c952;
  --gold-pale:      rgba(201,162,39,0.1);

  /* ── Light Mode ── */
  --bg-void:        #f8f9f6;
  --bg-primary:     #ffffff;
  --bg-secondary:   #f2f4f0;
  --bg-tertiary:    #e8ece5;
  --bg-card:        #ffffff;
  --bg-card-hover:  #fafafa;
  --bg-nav:         rgba(255,255,255,0.85);
  --bg-glass:       rgba(255,255,255,0.7);
  --bg-glass-dark:  rgba(255,255,255,0.5);
  --bg-input:       #f5f7f4;

  --text-primary:   #0a0f0a;
  --text-secondary: #3d4a3e;
  --text-muted:     #7a8b7b;
  --text-hint:      #aababc;
  --text-inverse:   #ffffff;

  --border-color:   rgba(0,0,0,0.08);
  --border-strong:  rgba(0,0,0,0.15);
  --border-glass:   rgba(255,255,255,0.3);

  --shadow-xs:      0 1px 3px rgba(0,0,0,0.06);
  --shadow-sm:      0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:      0 4px 24px rgba(0,0,0,0.1);
  --shadow-lg:      0 8px 48px rgba(0,0,0,0.12);
  --shadow-xl:      0 20px 80px rgba(0,0,0,0.15);
  --shadow-green:   0 8px 40px rgba(0,139,120,0.25);
  --shadow-green-lg: 0 20px 60px rgba(0,139,120,0.35);

  /* ── Typography — Premium Corporate Fonts ── */
  --font-display:   'Space Grotesk', sans-serif;
  --font-heading:   'Plus Jakarta Sans', sans-serif;
  --font-body:      'Inter', sans-serif;

  /* ── Layout ── */
  --section-pad:    120px 0;
  --radius-xs:      6px;
  --radius-sm:      10px;
  --radius:         14px;
  --radius-lg:      22px;
  --radius-xl:      32px;
  --radius-2xl:     48px;
  --radius-pill:    100px;

  /* ── Motion ── */
  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition:     all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* ── Glassmorphism ── */
  --glass-blur:     20px;
  --glass-sat:      180%;
}

/* ── Dark Mode ── */
[data-theme="dark"] {
  --bg-void:        #050906;
  --bg-primary:     #0a0f0a;
  --bg-secondary:   #0f150f;
  --bg-tertiary:    #141c14;
  --bg-card:        #101710;
  --bg-card-hover:  #141c14;
  --bg-nav:         rgba(10,15,10,0.92);
  --bg-glass:       rgba(15,25,15,0.75);
  --bg-glass-dark:  rgba(10,15,10,0.85);
  --bg-input:       #141c14;

  --text-primary:   #eef2ee;
  --text-secondary: #b0c0b2;
  --text-muted:     #5e7060;
  --text-hint:      #3a4a3c;

  --border-color:   rgba(255,255,255,0.06);
  --border-strong:  rgba(255,255,255,0.12);
  --border-glass:   rgba(255,255,255,0.08);

  --shadow-md:      0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg:      0 8px 48px rgba(0,0,0,0.5);
  --shadow-xl:      0 20px 80px rgba(0,0,0,0.6);
}

/* =====================================================================================
   RESET & BASE
   ===================================================================================== */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-void);
  color: var(--text-primary);
  line-height: 1.7;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; }

/* ── Premium Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--emerald), var(--emerald-deep));
  border-radius: 10px;
}

/* ── Text Selection ── */
::selection {
  background: var(--emerald-glass);
  color: var(--emerald-deep);
}

/* =====================================================================================
   TYPOGRAPHY — EDITORIAL SCALE
   ===================================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 700; }
h5 { font-size: 0.95rem; font-weight: 700; }

p { color: var(--text-secondary); }

.display-text {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.overline {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald);
}

.text-gradient {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-vivid) 60%, #5dde6b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =====================================================================================
   LAYOUT
   ===================================================================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: var(--section-pad); }
.section-sm { padding: 80px 0; }

.section-alt { background: var(--bg-secondary); }

/* =====================================================================================
   LUXURY BUTTONS
   ===================================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: var(--transition);
  letter-spacing: 0.01em;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

/* Ensure button text/icons always sit above ::before pseudo-element */
.btn > * {
  position: relative;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
  z-index: 0;
}

/* Primary — Emerald */
.btn-primary {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-deep) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 20px var(--emerald-glow);
}

.btn-primary::before {
  background: linear-gradient(135deg, var(--emerald-vivid) 0%, var(--emerald) 100%);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}

.btn-primary:hover::before { opacity: 1; }

/* Ensure text spans inside primary button stay white on hover */
.btn-primary span,
.btn-primary i,
.btn-primary:hover span,
.btn-primary:hover i {
  position: relative;
  z-index: 2;
  color: inherit;
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--emerald);
  border-color: var(--emerald);
}

.btn-outline:hover {
  background: var(--emerald);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}

.btn-outline:hover span,
.btn-outline:hover i {
  color: #fff !important;
}

/* Ghost */
.btn-ghost {
  background: var(--bg-glass);
  color: var(--text-primary);
  border-color: var(--border-color);
  backdrop-filter: blur(var(--glass-blur));
}

.btn-ghost:hover {
  background: var(--bg-card);
  border-color: var(--emerald);
  color: var(--emerald) !important;
  transform: translateY(-2px);
}

.btn-ghost:hover span,
.btn-ghost:hover i {
  color: var(--emerald) !important;
}

/* White */
.btn-white {
  background: rgba(255,255,255,0.95);
  color: var(--emerald-deep);
  border-color: transparent;
  font-weight: 700;
}

.btn-white:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* Sizes */
.btn-xl  { padding: 20px 48px; font-size: 1.05rem; }
.btn-lg  { padding: 17px 40px; font-size: 1rem; }
.btn-sm  { padding: 10px 22px; font-size: 0.83rem; }
.btn-xs  { padding: 7px 16px; font-size: 0.76rem; }
.btn-full { width: 100%; justify-content: center; }

/* =====================================================================================
   PAGE LOADER — CINEMATIC
   ===================================================================================== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg-void);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
}

/* Loader inner — perfectly centered column */
.loader-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
  max-width: 360px !important;
  margin: 0 auto !important;
  gap: 16px;
}

/* Logo wrapper — centered flex container */
.loader-logo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 auto !important;
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  animation: loaderPulse 1.5s ease-in-out infinite;
  position: relative;
}

/* All loader images: base state — hidden, perfectly centered */
.loader-logo img {
  height: 200px !important;
  width: auto !important;
  display: none !important;         /* hidden by default — CSS class controls which shows */
  margin: 0 auto !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  object-fit: contain !important;
  max-width: 320px !important;
}

/* Light mode: show colored logo only */
.loader-logo img.logo-light {
  display: block !important;
}
.loader-logo img.logo-dark {
  display: none !important;
}

/* Dark mode: show white logo only */
[data-theme="dark"] .loader-logo img.logo-light {
  display: none !important;
}
[data-theme="dark"] .loader-logo img.logo-dark {
  display: block !important;
}

.loader-logo i { color: white; font-size: 1.8rem; }

.loader-bar {
  width: 260px;
  height: 4px;
  background: var(--border-color);
  border-radius: 3px;
  overflow: hidden;
}

.loader-bar::after {
  content: '';
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--emerald), transparent);
  border-radius: 3px;
  animation: loaderSlide 1.2s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.03); }
}

@keyframes loaderSlide {
  0% { transform: translateX(-200%); }
  100% { transform: translateX(350%); }
}

/* =====================================================================================
   TICKER BAR
   ===================================================================================== */
.ticker-bar {
  display: none !important;
}

.ticker-bar::before, .ticker-bar::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
}

.ticker-bar::before { left: 0; background: linear-gradient(to right, var(--emerald-deep), transparent); }
.ticker-bar::after  { right: 0; background: linear-gradient(to left, var(--emerald-deep), transparent); }

.ticker-inner {
  display: inline-flex;
  gap: 64px;
  animation: ticker 40s linear infinite;
}

.ticker-inner span {
  color: rgba(255,255,255,0.92);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.03em;
}

.ticker-inner span i {
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =====================================================================================
   NAVIGATION — GLASSMORPHISM LUXURY
   ===================================================================================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

#navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: var(--bg-nav);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 32px;
}

/* ── Logo ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Image-based logo (replaces icon) — 2× size */
.nav-logo-img {
  height: 144px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

/* Show colored logo in light mode, white logo in dark mode */
.logo-light { display: block; }
.logo-dark  { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark  { display: block; }

/* Legacy icon fallback — hide when image logo is present */
.logo-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-deep) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  box-shadow: 0 4px 16px var(--emerald-glass);
  flex-shrink: 0;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }

.logo-text .brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.logo-text .tagline {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.65rem;
  color: var(--emerald);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Footer Logo — 2× size ── */
.footer-logo-img {
  height: 144px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}
.footer-logo-img.logo-light { display: block; }
.footer-logo-img.logo-dark  { display: none; }
[data-theme="dark"] .footer-logo-img.logo-light { display: none; }
[data-theme="dark"] .footer-logo-img.logo-dark  { display: block; }

/* ── Nav Links ── */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.87rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  letter-spacing: 0.01em;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active { color: var(--emerald); }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--emerald), var(--emerald-vivid));
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out);
}

.nav-link:hover::after, .nav-link.active::after { transform: translateX(-50%) scaleX(1); }

/* ── Dropdown ── */
.nav-item-dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--bg-glass);
  backdrop-filter: blur(24px) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(24px) saturate(var(--glass-sat));
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 10px;
  min-width: 220px;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 200;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-family: var(--font-heading);
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius);
  transition: var(--transition);
}

.dropdown-item:hover {
  background: var(--emerald-pale);
  color: var(--emerald);
  transform: translateX(4px);
}

/* ── Nav Actions ── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.theme-toggle:hover {
  background: var(--emerald);
  color: #fff;
  border-color: var(--emerald);
  transform: rotate(15deg);
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── Mobile Menu ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px; left: 0; right: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  border-top: 1px solid var(--border-glass);
  padding: 24px;
  z-index: 999;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.mobile-menu.open { display: block; }

.mobile-menu .nav-link {
  display: block;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
  border-radius: 0;
}

.mobile-menu .mobile-actions {
  display: flex; gap: 12px;
  padding-top: 20px;
  flex-wrap: wrap;
}

/* =====================================================================================
   PAGE HERO (inner pages)
   ===================================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--bg-void) 0%, var(--bg-secondary) 100%);
  padding: 140px 0 70px;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--emerald-glass) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 24px;
  color: var(--text-secondary);
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 500;
}

.breadcrumb a { color: var(--emerald); }
.breadcrumb a:hover { text-decoration: underline; }

/* =====================================================================================
   SECTION HEADER
   ===================================================================================== */
.section-header { margin-bottom: 64px; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--emerald-pale);
  color: var(--emerald);
  border: 1px solid var(--emerald-glass);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.025em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.75;
}

.section-header.centered { text-align: center; }
.section-header.centered .section-desc { margin: 0 auto; }

.section-divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--emerald-vivid));
  border-radius: 3px;
  margin: 16px 0;
}

.section-header.centered .section-divider { margin: 16px auto; }

/* =====================================================================================
   GLASSMORPHISM CARDS
   ===================================================================================== */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.glass-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--emerald-glass);
}

/* =====================================================================================
   HERO SECTION
   ===================================================================================== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: var(--bg-void);
}

/* Animated gradient mesh background */
.hero-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-mesh::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle at 70% 50%, rgba(0,139,120,0.1) 0%, transparent 60%);
  animation: meshFloat 12s ease-in-out infinite;
}

.hero-mesh::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle at 30% 50%, rgba(0,139,120,0.06) 0%, transparent 60%);
  animation: meshFloat 16s ease-in-out infinite reverse;
}

@keyframes meshFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%  { transform: translate(30px,-20px) scale(1.05); }
  66%  { transform: translate(-20px,30px) scale(0.95); }
}

/* Decorative grid lines */
.hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(to right, var(--emerald) 1px, transparent 1px),
    linear-gradient(to bottom, var(--emerald) 1px, transparent 1px);
  background-size: 80px 80px;
}

[data-theme="dark"] .hero-grid-lines { opacity: 0.04; }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 40px 0 60px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  background: var(--emerald-pale);
  border: 1px solid var(--emerald-glass);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--emerald);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-badge .badge-dot {
  width: 7px; height: 7px;
  background: var(--emerald);
  border-radius: 50%;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-title .line-green {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-vivid) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero-title .line-highlight {
  position: relative;
  display: inline-block;
}

.hero-title .line-highlight::after {
  content: '';
  position: absolute;
  bottom: 6px; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--emerald-glass), var(--emerald-glass));
  border-radius: 3px;
  z-index: -1;
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 500px;
  line-height: 1.78;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-avatars {
  display: flex;
  margin-right: 4px;
}

.trust-avatars span {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2.5px solid var(--bg-void);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  margin-left: -10px;
}

.trust-avatars span:first-child { margin-left: 0; background: var(--emerald); }
.trust-avatars span:nth-child(2) { background: #2563eb; }
.trust-avatars span:nth-child(3) { background: var(--gold); }
.trust-avatars span:nth-child(4) { background: #8b5cf6; }

.trust-text {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.trust-text strong { color: var(--text-primary); }

/* ── Hero Stats Pills ── */
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 40px;
}

.hero-stat-item { display: flex; flex-direction: column; }

.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-num span { color: var(--emerald); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; margin-top: 4px; }

/* ── Hero Visual ── */
.hero-visual { position: relative; }

.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
}

.hero-img-wrap img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.hero-img-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.hero-img-content {
  position: absolute;
  bottom: 28px; left: 28px; right: 28px;
  z-index: 2;
}

.hero-img-content h3 {
  color: white; font-size: 1.2rem; margin-bottom: 6px;
}

.hero-img-content p {
  color: rgba(255,255,255,0.8); font-size: 0.85rem;
}

/* ── Floating Cards ── */
.hero-card-floating {
  position: absolute;
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: floatCard 5s ease-in-out infinite;
  z-index: 3;
}

.hero-card-floating:nth-child(2) { animation-delay: 0s; }
.hero-card-floating:nth-child(3) { animation-delay: -2.5s; }

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

.fc-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-deep));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.fc-text .label { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; }
.fc-text .value { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700; color: var(--text-primary); }

/* ── Exam Logo Pills ── */
.exam-logos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

.exam-logo-pill {
  padding: 6px 14px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  transition: var(--transition);
}

.exam-logo-pill:hover {
  background: var(--emerald-pale);
  border-color: var(--emerald-glass);
  color: var(--emerald);
}

/* =====================================================================================
   FEATURES / WHY CHOOSE US — BENTO GRID
   ===================================================================================== */
#features { background: var(--bg-secondary); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--emerald), transparent);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-green);
  border-color: var(--emerald-glass);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--emerald-pale);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
  transition: var(--transition);
}

.feature-card:hover .feature-number {
  color: var(--emerald-glass);
}

.feature-icon {
  width: 56px; height: 56px;
  background: var(--emerald-pale);
  border: 1px solid var(--emerald-glass);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--emerald);
  margin-bottom: 22px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--emerald);
  border-color: var(--emerald);
  color: white;
  transform: scale(1.1);
}

.feature-card h4 { font-size: 1.05rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.9rem; line-height: 1.72; }

/* =====================================================================================
   STATS SECTION — DARK LUXURY
   ===================================================================================== */
#stats {
  background: linear-gradient(135deg, #0a150a 0%, #0f2010 50%, #0a150a 100%);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

#stats::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,139,120,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}

.stat-item:last-child { border-right: none; }

.stat-item:hover { transform: translateY(-4px); }

.stat-num-big {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
}

.stat-num-big span {
  color: var(--emerald-vivid);
  -webkit-text-fill-color: var(--emerald-vivid);
  font-size: 2rem;
}

.stat-label-big {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* =====================================================================================
   SERVICES / COURSES GRID
   ===================================================================================== */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-green);
  border-color: var(--emerald-glass);
}

.course-thumb {
  height: 190px;
  position: relative;
  overflow: hidden;
}

.course-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.course-card:hover .course-thumb img { transform: scale(1.05); }

.course-badge {
  position: absolute;
  top: 14px; right: 14px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-free     { background: rgba(255,255,255,0.95); color: var(--emerald); }
.badge-paid     { background: linear-gradient(135deg, var(--emerald), var(--emerald-deep)); color: #fff; }
.badge-popular  { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #fff; }

.course-body {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-category {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.course-body h3 { font-size: 1.05rem; margin-bottom: 10px; }

.course-body p {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 18px;
}

.course-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
}

.course-meta span { display: flex; align-items: center; gap: 5px; }

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.course-price.free { color: var(--emerald); }
.course-price.paid { color: var(--text-primary); }

.course-price .old-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 400;
  display: block;
}

/* =====================================================================================
   HOW IT WORKS — PROCESS STEPS
   ===================================================================================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 13%;
  right: 13%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--emerald-glass), var(--emerald-glass), transparent);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-green);
  border-color: var(--emerald-glass);
}

.step-num {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--bg-void);
  border: 2px solid var(--emerald-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--emerald);
  margin: 0 auto 24px;
  transition: var(--transition);
  position: relative;
}

.step-num::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed var(--emerald-glass);
  animation: stepRotate 10s linear infinite;
}

@keyframes stepRotate {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}

.process-step:hover .step-num {
  background: var(--emerald);
  border-color: var(--emerald);
  color: white;
  transform: scale(1.08);
}

.process-step h4 { margin-bottom: 10px; font-size: 1rem; }
.process-step p { font-size: 0.87rem; }

/* =====================================================================================
   TESTIMONIALS — LUXURY CARDS
   ===================================================================================== */
#testimonials { background: var(--bg-secondary); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 34px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 24px;
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 900;
  color: var(--emerald);
  opacity: 0.07;
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-green);
  border-color: var(--emerald-glass);
}

.rating-stars { color: var(--gold); font-size: 0.95rem; margin-bottom: 18px; letter-spacing: 3px; }

.testimonial-text {
  font-size: 0.93rem;
  line-height: 1.78;
  color: var(--text-secondary);
  margin-bottom: 26px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author { display: flex; align-items: center; gap: 14px; }

.author-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: white;
  flex-shrink: 0;
}

.author-info .name { font-weight: 700; font-size: 0.9rem; color: var(--text-primary); }
.author-info .role { font-size: 0.76rem; color: var(--emerald); font-weight: 600; margin-top: 2px; }

/* =====================================================================================
   CTA BANNER
   ===================================================================================== */
#cta-banner {
  background: linear-gradient(135deg, #0a1f0a 0%, #0f2a10 30%, #102f12 70%, #0a1f0a 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

#cta-banner::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse, rgba(0,139,120,0.18) 0%, transparent 65%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 18px;
}

.cta-content p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =====================================================================================
   BLOG THUMB
   ===================================================================================== */
.blog-thumb {
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.blog-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.blog-preview-card:hover .blog-thumb img { transform: scale(1.06); }

/* =====================================================================================
   FAQ
   ===================================================================================== */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover { border-color: var(--emerald-glass); }

.faq-question {
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--text-primary);
  transition: var(--transition);
  gap: 16px;
}

.faq-question:hover { color: var(--emerald); }

.faq-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--emerald-pale);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
  border: 1px solid var(--emerald-glass);
}

.faq-item.open .faq-icon {
  background: var(--emerald);
  color: white;
  transform: rotate(45deg);
  border-color: var(--emerald);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.3s ease;
}

.faq-item.open .faq-answer { max-height: 320px; padding: 0 26px 22px; }

.faq-answer p { font-size: 0.92rem; line-height: 1.8; }

/* =====================================================================================
   CONTACT FORM
   ===================================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 18px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.contact-icon {
  width: 50px; height: 50px;
  background: var(--emerald-pale);
  border: 1px solid var(--emerald-glass);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--emerald);
  flex-shrink: 0;
}

.contact-info-text h4 { font-size: 0.96rem; margin-bottom: 5px; }
.contact-info-text p, .contact-info-text a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.contact-info-text a:hover { color: var(--emerald); }

.social-links { display: flex; gap: 10px; margin-top: 32px; }

.social-link {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--emerald);
  border-color: var(--emerald);
  color: white;
  transform: translateY(-3px);
}

/* Contact Form Card */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.form-group { margin-bottom: 22px; }

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-input);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--emerald);
  background: var(--bg-primary);
  box-shadow: 0 0 0 4px var(--emerald-glass);
}

.form-control::placeholder { color: var(--text-hint); }

textarea.form-control { resize: vertical; min-height: 140px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.input-group { position: relative; }

.input-group .form-control { padding-left: 46px; }

.input-group .input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.input-group .toggle-password {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.input-group .toggle-password:hover { color: var(--emerald); }

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--emerald);
  cursor: pointer;
}

.form-check label {
  font-size: 0.87rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.forgot-link {
  font-size: 0.87rem;
  color: var(--emerald);
  font-weight: 600;
}

/* =====================================================================================
   FOOTER — ENTERPRISE
   ===================================================================================== */
#footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 90px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 56px;
  margin-bottom: 56px;
}

.footer-brand .logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-brand .brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.footer-brand .tagline {
  font-size: 0.62rem;
  color: var(--emerald);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-brand p { font-size: 0.88rem; line-height: 1.75; margin-bottom: 24px; }

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 0.87rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links a::before {
  content: '→';
  opacity: 0;
  color: var(--emerald);
  transition: var(--transition);
  font-size: 0.8rem;
}

.footer-links a:hover { color: var(--emerald); transform: translateX(4px); }
.footer-links a:hover::before { opacity: 1; }

.footer-newsletter p { font-size: 0.87rem; color: var(--text-secondary); margin-bottom: 16px; }

.newsletter-form {
  display: flex;
  border-radius: var(--radius-pill);
  overflow: hidden;
  border: 1.5px solid var(--border-color);
  transition: var(--transition);
}

.newsletter-form:focus-within { border-color: var(--emerald); box-shadow: 0 0 0 4px var(--emerald-glass); }

.newsletter-form input {
  flex: 1;
  padding: 13px 18px;
  border: none;
  background: var(--bg-input);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.87rem;
  outline: none;
}

.newsletter-form input::placeholder { color: var(--text-hint); }

.newsletter-form button {
  padding: 13px 22px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-deep));
  color: white;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.87rem;
  transition: var(--transition);
}

.newsletter-form button:hover { background: var(--emerald-deep); }

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }

.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 0.82rem; color: var(--text-muted); }
.footer-bottom-links a:hover { color: var(--emerald); }

/* =====================================================================================
   ABOUT PAGE
   ===================================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-img-wrap { position: relative; }

.service-img-box {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 360px;
  position: relative;
}

.service-img-box img { width: 100%; height: 100%; object-fit: cover; }

.service-img-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  padding: 28px;
}

.service-img-overlay h3 {
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
}

.about-exp-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-deep));
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-green);
}

.about-exp-badge .exp-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: white;
  line-height: 1;
}

.about-exp-badge .exp-text {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

.about-list { margin: 26px 0; }

.about-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.about-list-item:last-child { border-bottom: none; }

.about-list-item .ali-icon {
  width: 30px; height: 30px;
  background: var(--emerald-pale);
  border: 1px solid var(--emerald-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  font-size: 0.82rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-list-item .ali-text h5 { font-size: 0.93rem; margin-bottom: 4px; }
.about-list-item .ali-text p { font-size: 0.84rem; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-green);
}

.team-avatar {
  height: 200px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255,255,255,0.25);
  position: relative;
  overflow: hidden;
}

.team-body { padding: 22px; }
.team-body h4 { font-size: 0.98rem; margin-bottom: 4px; }
.team-body .role { font-size: 0.8rem; color: var(--emerald); font-weight: 600; }

/* =====================================================================================
   AUTH PAGES
   ===================================================================================== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 24px 60px;
  background: var(--bg-void);
  position: relative;
  overflow: hidden;
}

.auth-page::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, var(--emerald-glass) 0%, transparent 65%);
  pointer-events: none;
}

.auth-container {
  width: 100%;
  max-width: 490px;
  position: relative;
  z-index: 1;
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 52px 44px;
  box-shadow: var(--shadow-lg);
}

.auth-logo {
  text-align: center;
  margin-bottom: 34px;
}

.auth-logo .logo-icon {
  width: 66px; height: 66px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-deep));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 14px;
  box-shadow: var(--shadow-green);
}

.auth-logo h2 { font-size: 1.5rem; margin-bottom: 7px; }
.auth-logo p { font-size: 0.9rem; color: var(--text-muted); }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
}

.auth-divider span { font-size: 0.8rem; color: var(--text-muted); white-space: nowrap; }

.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.auth-footer a { color: var(--emerald); font-weight: 600; }

/* =====================================================================================
   ORDER / CHECKOUT PAGE
   ===================================================================================== */
.order-page-wrap {
  min-height: 100vh;
  padding: 100px 0 80px;
  background: var(--bg-secondary);
}

.order-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

.order-form-card, .order-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.order-form-card h2, .order-summary-card h3 {
  font-size: 1.25rem;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

/* Payment Tabs */
.payment-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--emerald);
}

.payment-tab {
  flex: 1;
  padding: 14px 16px;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.payment-tab.active {
  background: var(--emerald);
  color: white;
}

/* =====================================================================================
   PRICING CARDS
   ===================================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--emerald);
  transform: scale(1.04);
  box-shadow: var(--shadow-green-lg);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--emerald-glass);
  box-shadow: var(--shadow-green);
}

.pricing-card.featured:hover { transform: scale(1.04) translateY(-6px); }

.pricing-popular-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--emerald), var(--emerald-deep));
  color: white;
  padding: 7px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.pricing-plan-name {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.pricing-price { font-family: var(--font-display); margin-bottom: 8px; }
.pricing-price .amount { font-size: 3.2rem; font-weight: 900; color: var(--text-primary); line-height: 1; letter-spacing: -0.03em; }
.pricing-price .currency { font-size: 1.4rem; font-weight: 700; color: var(--text-secondary); vertical-align: top; margin-top: 10px; display: inline-block; }
.pricing-price .period { font-size: 0.85rem; color: var(--text-muted); font-weight: 400; }

.pricing-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.pricing-features { margin-bottom: 30px; }

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-feature-item .fi-check { color: var(--emerald); font-size: 1rem; flex-shrink: 0; }
.pricing-feature-item .fi-x { color: var(--text-hint); font-size: 1rem; flex-shrink: 0; }
.pricing-feature-item.disabled { opacity: 0.4; text-decoration: line-through; }

/* =====================================================================================
   SERVICES PAGE — SPECIAL CARDS
   ===================================================================================== */
.exam-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.exam-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  text-align: center;
}

.exam-card:hover {
  border-color: var(--emerald);
  box-shadow: var(--shadow-green);
  transform: translateY(-4px);
}

.exam-card-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius);
  background: var(--emerald-pale);
  border: 1px solid var(--emerald-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.exam-card-icon i { color: var(--emerald); font-size: 1.4rem; }

.exam-card h4 { font-weight: 800; font-size: 0.95rem; margin-bottom: 10px; }
.exam-card p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.62; margin-bottom: 16px; }
.exam-card .exam-price { font-family: var(--font-display); font-weight: 800; color: var(--emerald); font-size: 1.1rem; margin-bottom: 14px; }

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.platform-card-s {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.platform-card-s:hover {
  border-color: var(--emerald);
  box-shadow: var(--shadow-green);
}

.platform-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius);
  background: var(--emerald-pale);
  border: 1px solid var(--emerald-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.platform-icon i { color: var(--emerald); font-size: 1.1rem; }

.platform-info h4 { font-weight: 700; font-size: 0.94rem; margin-bottom: 6px; }
.platform-info p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.62; margin-bottom: 12px; }

/* Service-specific card */
.service-section-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition);
}

.service-section-card:hover { border-color: var(--emerald-glass); background: var(--emerald-pale); }

.service-section-card .ssc-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--emerald-pale);
  border: 1px solid var(--emerald-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-section-card .ssc-icon i { color: var(--emerald); }
.service-section-card h5 { font-weight: 700; font-size: 0.9rem; margin-bottom: 2px; }
.service-section-card p { font-size: 0.82rem; color: var(--text-secondary); margin: 0; }

/* Filter buttons */
.filter-btn { cursor: pointer; }

/* =====================================================================================
   SCROLL TOP
   ===================================================================================== */
#scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-deep));
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-green);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 999;
}

#scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scroll-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-green-lg); }

/* =====================================================================================
   WHATSAPP FLOATING BUTTON
   ===================================================================================== */
#whatsapp-btn {
  position: fixed;
  bottom: 32px; left: 32px;
  width: 48px; height: 48px;
  background: #25D366;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 999;
  text-decoration: none;
}

#whatsapp-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
  background: #20ba5a;
}

/* =====================================================================================
   TOAST NOTIFICATIONS
   ===================================================================================== */
.toast {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--text-primary);
  color: var(--bg-primary);
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.87rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 99999;
  box-shadow: var(--shadow-xl);
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast i { color: var(--emerald); }
.toast.toast-error i { color: #ef4444; }

/* =====================================================================================
   ANIMATION UTILITIES
   ===================================================================================== */
.fade-in-up    { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.fade-in-left  { opacity: 0; transform: translateX(-30px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.fade-in-right { opacity: 0; transform: translateX(30px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }

.fade-in-up.visible, .fade-in-left.visible, .fade-in-right.visible {
  opacity: 1;
  transform: translate(0,0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ── Misc ── */
.text-green  { color: var(--emerald); }
.text-center { text-align: center; }
.text-white  { color: #fff !important; }
.fw-bold     { font-weight: 700; }
.mt-0        { margin-top: 0 !important; }

/* =====================================================================================
   MODAL
   ===================================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: modalSlide 0.35s var(--ease-spring);
}

@keyframes modalSlide {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* =====================================================================================
   RESPONSIVE — TABLET & MOBILE
   ===================================================================================== */
@media (max-width: 1100px) {
  .features-grid    { grid-template-columns: repeat(2, 1fr); }
  .courses-grid     { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid        { grid-template-columns: repeat(2, 1fr); }
  .footer-grid      { grid-template-columns: 1fr 1fr; }
  .process-steps    { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .stats-grid       { grid-template-columns: repeat(2, 1fr); }
  .stat-item        { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .pricing-grid     { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

@media (max-width: 900px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.9rem; }
  .hero-inner       { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual      { display: none; }
  .about-grid       { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid     { grid-template-columns: 1fr; gap: 40px; }
  .order-grid       { grid-template-columns: 1fr; }
  .exam-grid        { grid-template-columns: 1fr 1fr; }
  .platform-grid    { grid-template-columns: 1fr; }
  .nav-menu         { display: none; }
  .hamburger        { display: flex; }
  .nav-actions .btn-outline:not(.platform-btn), .nav-actions .btn-primary:not(.platform-btn) { display: none; }
  .nav-actions .btn-sm + .btn-sm { display: flex; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section   { padding: 80px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .courses-grid  { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: 1fr 1fr; }
  .exam-grid     { grid-template-columns: 1fr; }
  .team-grid     { grid-template-columns: 1fr 1fr; }
  .footer-grid   { grid-template-columns: 1fr; gap: 36px; }
  .hero-stats    { gap: 20px; }
  .auth-card     { padding: 36px 24px; }
  .contact-form  { padding: 32px 24px; }
  .form-row      { grid-template-columns: 1fr; }
  .hero-cta      { flex-direction: column; }
  .process-steps { grid-template-columns: 1fr; }
  .faq-grid      { grid-template-columns: 1fr !important; }
}

/* =====================================================================================
   BUG FIXES — v7.5 (2026-07-10)
   ===================================================================================== */

/* ── Fix 1: Green button hover — DEFINITIVE NUCLEAR FIX ── */
/* ROOT CAUSE: .btn has z-index:0 + overflow:hidden. The ::before pseudo-element
   (the hover gradient overlay) also has z-index:0. When it transitions to opacity:1
   on hover, it renders above text nodes (which are not elements and don't inherit
   the z-index:1 from `.btn > *`). In Chrome/WebKit this causes text to disappear.
   
   SOLUTION:
   1. isolation:isolate on .btn — creates its own stacking context
   2. z-index:-1 on ::before — overlay is ALWAYS behind ALL content
   3. Explicit color + -webkit-text-fill-color on ALL .btn-primary states
   4. Per-context overrides for every button location across ALL pages
*/

/* Step 1: Create isolated stacking context — prevents ::before from bleeding */
.btn {
  isolation: isolate !important;
}

/* Step 2: Push overlay behind everything — the REAL fix */
.btn::before {
  z-index: -1 !important;
}

/* Step 3: Force all text and icon children above the overlay */
.btn > *,
.btn > span,
.btn > i,
.btn > svg,
.btn > strong,
.btn > em {
  position: relative !important;
  z-index: 2 !important;
}

/* Step 4: Lock color on .btn-primary for ALL states — normal, hover, focus, active */
.btn-primary {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:visited {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Step 5: Every possible child inside .btn-primary — elements AND text containers */
.btn-primary *,
.btn-primary:hover *,
.btn-primary:focus *,
.btn-primary:active * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Step 6: Named-context overrides — every location across every page */

/* NAVBAR "Get Started" button */
#navbar .btn-primary,
#navbar .btn-primary:hover,
#navbar .btn-primary *,
#navbar .btn-primary:hover * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* MOBILE MENU "Get Started" button */
.mobile-menu .btn-primary,
.mobile-menu .btn-primary:hover,
.mobile-menu .btn-primary *,
.mobile-menu .btn-primary:hover * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* HERO SECTION buttons (index.html "Explore Services") */
.hero-cta .btn-primary,
.hero-cta .btn-primary:hover,
.hero-cta .btn-primary *,
.hero-cta .btn-primary:hover * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* SERVICE CARDS "Order Now" buttons */
.service-card .btn-primary,
.service-card .btn-primary:hover,
.service-card .btn-primary *,
.service-card .btn-primary:hover *,
.svc-card .btn-primary,
.svc-card .btn-primary:hover,
.svc-card .btn-primary *,
.svc-card .btn-primary:hover * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* COURSES PAGE buttons */
.courses-grid .btn-primary,
.courses-grid .btn-primary:hover,
.courses-grid .btn-primary *,
.courses-grid .btn-primary:hover * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* SERVICES PAGE buttons */
.services-grid .btn-primary,
.services-grid .btn-primary:hover,
.services-grid .btn-primary *,
.services-grid .btn-primary:hover * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* FORM SUBMIT buttons */
form .btn-primary,
form .btn-primary:hover,
form .btn-primary *,
form .btn-primary:hover * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* DASHBOARD / ORDER page buttons */
.dashboard-content .btn-primary,
.dashboard-content .btn-primary:hover,
.dashboard-content .btn-primary *,
.dashboard-content .btn-primary:hover * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* btn-sm, btn-lg, btn-xl, btn-full variants */
.btn-primary.btn-sm,
.btn-primary.btn-lg,
.btn-primary.btn-xl,
.btn-primary.btn-full,
.btn-primary.btn-sm:hover,
.btn-primary.btn-lg:hover,
.btn-primary.btn-xl:hover,
.btn-primary.btn-full:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.btn-primary.btn-sm *,
.btn-primary.btn-lg *,
.btn-primary.btn-xl *,
.btn-primary.btn-full *,
.btn-primary.btn-sm:hover *,
.btn-primary.btn-lg:hover *,
.btn-primary.btn-xl:hover *,
.btn-primary.btn-full:hover * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* btn-outline on hover (also becomes green) */
.btn-outline:hover,
.btn-outline:focus {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: var(--emerald) !important;
}
.btn-outline:hover *,
.btn-outline:focus * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* ── Fix 2: Navbar offset — pages with custom hero sections ──
   The navbar is fixed at 88px height. Inner page hero sections that
   use padding instead of the standard .page-hero class need
   padding-top accounting for the navbar. */
.tut-hero {
  padding-top: calc(80px + 88px) !important;  /* local padding + navbar height */
}

.mat-hero {
  padding-top: calc(72px + 88px) !important;  /* local padding + navbar height */
}

/* General fix for any section immediately after navbar on pages
   where it is the first content element */
body > nav + div > *:first-child,
body > nav + section:first-of-type {
  scroll-margin-top: 88px;
}

/* ── Fix 3: Scroll-to-top button — ensure .scroll-top class also works ──
   Some pages use class="scroll-top" instead of id="scroll-top". */
.scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-deep));
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-green);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-green-lg);
  color: white;
}

/* ── Fix 4: Mobile responsive — hide ghost buttons on smaller screens too ── */
@media (max-width: 900px) {
  .nav-actions .btn-ghost { display: none; }
  .nav-actions .btn-primary { display: none; }
  /* Keep platform buttons visible on mobile — just shrink them */
  .nav-actions .platform-btn { display: inline-flex !important; padding: 8px 12px !important; font-size: 0.78rem !important; }
}

/* ── Platform Nav Buttons — LMS & Tutoring ── */
.nav-actions .platform-btn {
  font-weight: 700;
  letter-spacing: 0.01em;
}
.nav-actions .platform-btn.btn-outline {
  border-width: 1.5px;
}
@media (max-width: 480px) {
  .nav-actions .platform-btn { padding: 6px 10px !important; font-size: 0.72rem !important; }
  .nav-actions .platform-btn i { display: none; }
}

/* ── Platforms Dropdown Button in Nav Actions ── */
.platforms-dropdown-wrap {
  position: relative;
}
.platforms-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1.5px solid var(--emerald);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--emerald);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.platforms-dropdown-btn:hover {
  background: var(--emerald);
  color: white;
}
.platforms-dropdown-btn .platforms-chevron {
  font-size: 0.7rem;
  transition: transform 0.2s;
}
.platforms-dropdown-wrap:hover .platforms-chevron,
.platforms-dropdown-wrap.open .platforms-chevron {
  transform: rotate(180deg);
}
.platforms-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(24px) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(24px) saturate(var(--glass-sat));
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 10px;
  min-width: 200px;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 999;
}
.platforms-dropdown-wrap:hover .platforms-dropdown-menu,
.platforms-dropdown-wrap.open .platforms-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.platforms-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  font-family: var(--font-heading);
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius);
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.platforms-dropdown-item:hover {
  background: var(--emerald-pale);
  color: var(--emerald);
  transform: translateX(4px);
}
.platforms-dropdown-item i {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--emerald-pale);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.platforms-dropdown-item:hover i {
  background: var(--emerald);
  color: white;
}
/* Mobile platforms dropdown in mobile menu */
.mobile-platforms-section {
  border-top: 1px solid var(--border-color);
  margin-top: 6px;
  padding-top: 10px;
}
.mobile-platforms-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px 4px;
}
/* Ensure navbar height is comfortable with larger logo */
#navbar .nav-inner {
  min-height: 80px;
}
/* =====================================================================================
   SMALL-SCREEN REFINEMENTS — shared by public pages, articles and the client dashboard.
   Keep overrides scoped to components; desktop styling and business logic are unchanged.
   ===================================================================================== */
@media (max-width: 1350px) {
  /* Switch before the full navigation can collide with account/platform actions. */
  #navbar .nav-inner { height: 72px; min-height: 72px; gap: 12px; }
  #navbar .nav-logo { min-width: 0; }
  #navbar .nav-logo:has(.nav-logo-img) .logo-text { display: none; }
  #navbar .nav-logo-img { height: 88px; max-width: 120px; object-fit: contain; }
  #navbar .nav-menu { display: none; }
  #navbar .nav-actions { gap: 8px; flex-shrink: 0; }
  #navbar .nav-actions > .btn,
  #navbar .nav-actions .platform-btn,
  #navbar .nav-actions .platforms-dropdown-wrap { display: none !important; }
  #navbar .hamburger { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; flex-shrink: 0; }
  #navbar .theme-toggle { width: 44px; height: 44px; flex-shrink: 0; }
  #navbar .mobile-menu {
    position: absolute; top: 100%; max-height: calc(100vh - 73px);
    max-height: calc(100dvh - 73px); padding: 12px 18px max(20px, env(safe-area-inset-bottom));
    background: var(--bg-card); overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  #navbar .mobile-menu .nav-link { white-space: normal; min-height: 44px; }
  #navbar .mobile-actions > .btn { flex: 1 1 120px; justify-content: center; min-height: 44px; }
  #navbar .mobile-platforms-label { padding: 16px 16px 4px; color: var(--text-muted); font-size: 0.75rem; font-weight: 700; }
}
@media (min-width: 1351px) {
  #navbar .mobile-menu { display: none !important; }
}
@media (min-width: 1351px) and (max-width: 1600px) {
  #navbar .nav-inner { gap: 16px; }
  #navbar .nav-logo-img { height: 112px; }
  #navbar .nav-menu .nav-link { padding-left: 8px; padding-right: 8px; }
  #navbar .nav-actions { gap: 8px; }
}

@media (max-width: 1024px) {
  /* Grid items must be allowed to shrink below their intrinsic text/tab widths. */
  :where(.hero-inner, .about-grid, .contact-grid, .checkout-grid, .cd-hero-grid,
    .cd-layout-main, .md-hero-grid, .md-layout, .article-layout, .footer-grid,
    .features-grid, .courses-grid, .mat-grid, .pt-grid, .form-row) > * { min-width: 0; }
  .cd-layout-main .cd-tabs { max-width: 100%; }
  .dash-content { min-width: 0; }
  .dash-content .orders-table { display: block; max-width: 100%; overflow-x: auto; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 88px; }
  .container { padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }
  h1, h2, h3, p, .article-body, .form-group, .contact-info-item { overflow-wrap: anywhere; }
  .btn { max-width: 100%; white-space: normal; justify-content: center; text-align: center; min-height: 44px; }
  /* A 16px field size prevents automatic iOS zoom on focus. */
  body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),
  body select, body textarea { font-size: 16px !important; min-width: 0; max-width: 100%; }
  body select { width: 100%; }
  .hero-title { font-size: clamp(2rem, 9vw, 3rem); }
  .hero-badge { max-width: 100%; letter-spacing: 0.035em; font-size: 0.68rem; }
  .hero-badge i, .badge-dot { flex-shrink: 0; }
  .hero-trust, .hero-stats { flex-wrap: wrap; }
  .hero-trust { gap: 12px; }
  .hero-stats { gap: 20px; }
  .hero-stat-item { min-width: 0; }
  .hero-cta .btn { width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-bottom-links { flex-wrap: wrap; gap: 12px 20px; }
  .newsletter-form input { min-width: 0; }
  .section-tag, .breadcrumb { max-width: 100%; flex-wrap: wrap; }
  .contact-form, .order-form { min-width: 0; }
  .cd-hero-grid, .cd-layout-main, .md-hero-grid, .md-layout { grid-template-columns: minmax(0, 1fr) !important; gap: 28px; }
  .cd-price-card, .md-price-card, .co-card-body, .co-card-header, .paypal-section { padding: 24px 18px !important; }
  .cd-tab { padding: 12px 16px !important; flex-shrink: 0; }
  .instructor-card { flex-direction: column; align-items: flex-start; padding: 24px !important; }
  .curriculum-header { flex-wrap: wrap; gap: 8px; padding: 16px !important; }
  .curriculum-title { min-width: 0; }
  .cd-tab-panel > div[style*="grid-template-columns"] { grid-template-columns: minmax(0, 1fr) !important; }
  .co-steps { gap: 6px; align-items: flex-start !important; }
  .co-step { min-width: 0; flex-direction: column; gap: 6px !important; text-align: center; }
  .co-step-label { overflow-wrap: anywhere; font-size: 0.75rem !important; }
  .co-step-line { min-width: 8px; margin: 16px 0 0 !important; }
  .paypal-btn { max-width: 100%; justify-content: center; padding: 16px 20px !important; }
  .order-summary-card { position: static !important; }
  .os-item { gap: 12px; }
  .os-item .value { min-width: 0; overflow-wrap: anywhere; }
  .step-track { min-width: 0 !important; flex: 1 1 0 !important; }
  .step-line { min-width: 4px !important; margin-left: 3px !important; margin-right: 3px !important; }
  .step-label-t { max-width: 100%; overflow-wrap: anywhere; font-size: 0.65rem !important; }
  .modal-overlay { padding: 12px !important; }
  .modal-overlay .modal-box { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow-y: auto !important; }
  .toast, .dash-toast { max-width: calc(100vw - 32px) !important; right: 16px; overflow-wrap: anywhere; }
  .scroll-top, #scroll-top { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); width: 44px; height: 44px; }
  #whatsapp-btn { right: 16px; bottom: calc(72px + env(safe-area-inset-bottom)); }
  .dash-content { padding: 20px 16px !important; }
  .dash-content .dash-header, .dash-content .orders-header { flex-wrap: wrap; gap: 12px; }
  .dash-content .chat-input { min-width: 0; }
  .dash-content .progress-outer { grid-template-columns: minmax(0, 1fr) !important; }
  .order-modal { max-height: calc(100dvh - 24px); }
  /* Pause moving reviews on touch screens so the text stays readable. */
  .testimonials-scroll { overflow-x: auto; overscroll-behavior-x: contain; }
  .testimonials-track { animation: none !important; }
  .testimonial-scroll-card { min-width: 0 !important; width: min(320px, calc(100vw - 36px)); padding: 24px !important; }
}
@media (max-width: 400px) {
  .hero-stats { gap: 16px 12px; }
  .hero-stat-item .stat-num { font-size: 1.7rem; }
  .team-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in-up, .fade-in-left, .fade-in-right { opacity: 1; transform: none; transition: none; }
  .testimonials-track, .marquee-track { animation: none !important; }
}
@media (max-width: 1024px) {
  .stats-grid[style*="grid-template-columns"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px) {
  .stats-grid[style*="grid-template-columns"] > * { min-width: 0; }
  .stats-grid[style*="grid-template-columns"] > * > div:first-child { font-size: 2rem !important; }
  .profile-avatar-section { flex-wrap: wrap; gap: 16px !important; }
  .profile-card { padding: 24px 18px !important; }
  .resource-card { flex-wrap: wrap; }
  .chat-main { min-width: 0; }
  .chat-footer { padding: 12px !important; }
}
@media (max-width: 640px) {
  .ptc-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .ptc-grid > * { min-width: 0; }
  .ptc-panel { padding: 24px 18px !important; }
}
@media (max-width: 900px) {
  /* The summary moves above the form at this breakpoint and must not cover it. */
  .ptc-grid .ptc-summary { position: static; }
}
@media (max-width: 900px) {
  .about-exp-badge { right: 0; bottom: 0; max-width: 100%; }
}

/* Kaylee Tutoring: editorial education design, inspired by the reference's
   white space, bold typography, teal selection pills and yellow highlights. */
:root {
 --emerald:#008b78;--emerald-deep:#006657;--emerald-vivid:#00a88e;
 --emerald-glow:rgba(0,139,120,.18);--emerald-glass:rgba(0,139,120,.09);--emerald-pale:#f0faf7;
 --gold:#f4ce24;--gold-light:#ffe64d;--gold-pale:#fff8d7;
 --bg-void:#fff;--bg-primary:#fff;--bg-secondary:#f5f7f7;--bg-tertiary:#e9efed;
 --bg-input:#f8faf9;--text-primary:#292c32;--text-secondary:#50545c;--text-muted:#687078;
 --font-heading:'Inter',Arial,sans-serif;--font-display:'Inter',Arial,sans-serif;
 --radius:10px;--radius-lg:16px;--radius-xl:28px;--radius-pill:40px;--section-pad:80px 0;
 --shadow-green:0 12px 35px rgba(0,90,78,.09);--shadow-green-lg:0 20px 50px rgba(0,90,78,.13);
}
[data-theme=dark]{--bg-void:#171c21;--bg-primary:#171c21;--bg-secondary:#20282e;--bg-card:#20282e;--bg-input:#283138;--text-primary:#f7f9fa;--text-secondary:#d0d8dd;--text-muted:#a2b0b8;--emerald:#43d7ba;--emerald-pale:#1c3532;--border-color:#ffffff26;--bg-nav:#171c21;}
body{letter-spacing:-.01em}.container{max-width:1280px}h1,h2,h3,h4{letter-spacing:-.035em}
.page-loader{display:none!important}.theme-toggle{width:32px;height:32px}
#navbar{position:sticky;top:0;background:var(--bg-primary);backdrop-filter:none;border-bottom:1px solid var(--border-color);box-shadow:none;z-index:1000}
#navbar.scrolled{background:var(--bg-primary);box-shadow:0 2px 12px #00000005}.nav-inner{min-height:84px;gap:22px;padding:10px 0}.nav-logo{flex-shrink:0}.nav-logo-img{height:49px!important;width:172px!important;max-width:none;object-fit:contain}.nav-menu{gap:18px}.nav-link{font-size:.8rem;font-weight:600;padding:12px 0}.nav-link:after{height:2px}.nav-actions{gap:12px}.nav-actions .btn{font-size:.78rem;padding:12px 17px}.platforms-dropdown-btn{font-size:.75rem;padding:10px}.nav-actions .btn-primary{background:#eb008b!important;border-color:#eb008b;color:white!important;box-shadow:none;border-radius:3px}.btn{border-radius:6px;font-weight:650;letter-spacing:0;box-shadow:none}.btn-primary{background:var(--emerald);border:1px solid var(--emerald);box-shadow:none}.btn-primary:before,.btn-primary:after{display:none}.btn-primary:hover{background:var(--emerald-deep);box-shadow:none;transform:translateY(-2px)}.btn-outline{border-color:var(--emerald);color:var(--emerald)}.btn-ghost{border:1px solid var(--border-strong);background:transparent}.btn-lg{padding:15px 25px;font-size:.9rem}
.ticker-bar{background:var(--emerald-deep);font-size:.75rem}.ticker-inner{animation-duration:60s}.ticker-bar:before,.ticker-bar:after{display:none}
.page-hero{padding:65px 0 55px;background:var(--emerald-pale);border-bottom:1px solid var(--border-color)}.page-hero:before{display:none}.page-hero h1{font-size:clamp(2rem,4vw,3.4rem);font-weight:750}.page-hero p{max-width:690px;margin:15px auto 0;font-size:1.05rem}.section-title{font-weight:750;font-size:clamp(1.8rem,3.3vw,2.65rem);line-height:1.18}.section-tag{border:none;border-radius:0;background:transparent;padding:0;font-size:.73rem;letter-spacing:.12em}.section-divider{height:3px;width:44px;background:#f4ce24}.section-desc{font-size:1rem;max-width:680px}.feature-card,.course-card,.study-method-card,.testimonial-card{box-shadow:none;border:1px solid var(--border-color);border-radius:14px}.feature-card:before{display:none}.feature-card:hover,.course-card:hover{box-shadow:0 10px 30px #182f2920}.feature-icon{background:var(--emerald-pale);color:var(--emerald);border-radius:10px}.feature-number{color:var(--text-muted);opacity:.25}.form-control:focus{box-shadow:0 0 0 3px var(--emerald-glass)}
#footer{background:var(--bg-secondary);border-top:1px solid var(--border-color);padding:65px 0 0}#footer:before{display:none}.footer-brand .logo-wrap img{width:175px!important;height:auto!important}.footer-grid{grid-template-columns:1.6fr 1fr 1fr;gap:65px}.footer-col h5{font-size:.85rem;letter-spacing:0;text-transform:none}.footer-bottom{font-size:.78rem}.social-links{display:none!important}.footer-brand p{max-width:360px}.footer-bottom p{font-size:.76rem}.rating-stars{color:#ca9c00}.about-exp-badge{display:none}.about-img-box{background:var(--emerald-pale)}
/* Rebuilt homepage */
.kt-home{overflow:hidden}.kt-home .container{max-width:1280px}.kt-hero{padding:32px 0 42px}.kt-hero-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:38px;align-items:center}.kt-eyebrow{display:flex;gap:10px;align-items:center;font-size:.68rem;letter-spacing:.15em;font-weight:750;text-transform:uppercase;color:var(--emerald);margin:0 0 20px}.kt-eyebrow:before{content:'';height:2px;width:26px;background:var(--emerald)}.kt-hero h1{font-size:clamp(2.7rem,4.5vw,4.25rem);line-height:1.06;font-weight:740;letter-spacing:-.055em;margin:0 0 20px}.kt-hero h1 em{font-style:normal;color:var(--emerald)}.kt-hero .kt-intro{font-size:1.08rem;line-height:1.65;max-width:455px;color:var(--text-secondary);margin-bottom:27px}.kt-hero-actions{display:flex;gap:12px;flex-wrap:wrap}.kt-photo{height:430px;position:relative;border-radius:25px 25px 0 25px;background:#ebf1e9;overflow:hidden}.kt-photo>img{width:100%;height:100%;object-fit:cover;object-position:50% 35%}.kt-photo:after{content:'';position:absolute;bottom:0;right:0;width:90px;height:90px;background:#ffe32c;clip-path:polygon(100% 0,100% 100%,0 100%)}.kt-photo-caption{position:absolute;left:0;right:0;bottom:48px;background:#e2edc9f2;padding:20px 30px;display:flex;gap:17px;align-items:center}.kt-caption-icon{display:flex;align-items:center;justify-content:center;flex:0 0 46px;height:46px;border:1px solid #66734d;border-radius:50%;font-size:22px;color:#26382c}.kt-photo-caption strong{display:block;font-size:1.2rem;line-height:1.25;color:#27322b;margin-bottom:5px}.kt-photo-caption p{font-size:.8rem;margin:0;color:#45513f;line-height:1.5}
.kt-finder{margin-top:31px}.kt-finder h2{font-size:1.08rem;margin-bottom:12px;font-weight:750}.kt-tabs{display:inline-flex;border:1.5px solid var(--emerald);border-radius:30px;overflow:hidden;margin-bottom:15px}.kt-tab{padding:8px 15px;border:0;border-right:1px solid var(--emerald);background:var(--bg-primary);color:var(--text-primary);font-size:.73rem;font-weight:650;cursor:pointer}.kt-tab:last-child{border-right:0}.kt-tab[aria-selected=true]{background:var(--emerald);color:white}.kt-exam-links{display:flex;gap:8px;flex-wrap:wrap;min-height:40px}.kt-exam-links a{border:1.5px solid var(--emerald);border-radius:30px;padding:5px 14px;font-size:.78rem;font-weight:600;background:var(--bg-primary);color:var(--text-primary)}.kt-exam-links a:hover{background:var(--emerald);color:white}.kt-exam-links a[hidden]{display:none}
.kt-promo{border-radius:24px;background:linear-gradient(105deg,#ffe031,#fff5a8);padding:30px 38px;display:flex;align-items:center;gap:27px;justify-content:space-between;margin:0 0 60px;color:#292c32}.kt-promo-symbol{font-size:40px;min-width:58px}.kt-promo h2{font-size:1.35rem;margin:0 0 5px;font-weight:750}.kt-promo p{font-size:.88rem;max-width:660px;margin:0}.kt-promo a{white-space:nowrap;background:#292c32;color:white;border:0}.kt-section{padding:60px 0}.kt-section-head{text-align:center;margin-bottom:35px}.kt-section-head h2{font-size:clamp(1.8rem,3vw,2.55rem);line-height:1.2;margin-bottom:13px}.kt-section-head p{font-size:.96rem;max-width:660px;margin:0 auto;color:var(--text-secondary)}.kt-programs{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.kt-program{border:1px solid var(--border-color);border-radius:14px;overflow:hidden;background:var(--bg-card);display:flex;flex-direction:column;position:relative}.kt-program-top{padding:22px 24px;background:var(--emerald-pale);display:flex;justify-content:space-between;align-items:center;min-height:90px}.kt-program-top i{font-size:25px;color:var(--emerald)}.kt-program-top span{font-size:.65rem;letter-spacing:.08em;font-weight:700;text-transform:uppercase;color:var(--emerald-deep)}.kt-program-content{padding:25px;display:flex;flex-direction:column;flex:1}.kt-program h3{font-size:1.35rem;line-height:1.25;margin:0 0 12px}.kt-program p{font-size:.85rem;color:var(--text-secondary);margin-bottom:18px;line-height:1.65}.kt-program a{font-size:.84rem;font-weight:700;color:var(--emerald);margin-top:auto;display:flex;justify-content:space-between;align-items:center}.kt-program:hover{box-shadow:0 12px 30px #243b2c10;border-color:var(--emerald)}.kt-program:nth-child(2) .kt-program-top{background:#fff3d3}.kt-program:nth-child(3) .kt-program-top{background:#f9e9f3}.kt-program:nth-child(4) .kt-program-top{background:#eaf0fc}
.kt-benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;border-top:1px solid var(--border-color);border-bottom:1px solid var(--border-color);padding:30px 0;margin-top:45px}.kt-benefit{display:flex;gap:13px;align-items:center}.kt-benefit>i{font-size:23px;color:var(--emerald)}.kt-benefit strong{display:block;font-size:.87rem}.kt-benefit span{font-size:.73rem;color:var(--text-secondary)}.kt-learning{background:var(--bg-secondary)}.kt-split{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.kt-split-photo{height:400px;width:100%;object-fit:cover;border-radius:22px}.kt-split h2{font-size:clamp(1.8rem,3vw,2.6rem);line-height:1.2;margin-bottom:18px}.kt-split p{color:var(--text-secondary);font-size:.95rem}.kt-steps{margin:22px 0}.kt-step{display:flex;gap:13px;margin-bottom:18px}.kt-step-num{font-size:.8rem;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:33px;height:33px;background:var(--emerald);color:white;border-radius:50%;font-weight:700}.kt-step strong{font-size:.9rem}.kt-step p{font-size:.82rem;margin:3px 0 0}.kt-resources{display:grid;grid-template-columns:repeat(3,1fr);gap:23px}.kt-resource{border:1px solid var(--border-color);border-radius:12px;overflow:hidden}.kt-resource img{width:100%;height:185px;object-fit:cover}.kt-resource-body{padding:23px}.kt-resource small{font-size:.64rem;color:var(--emerald);text-transform:uppercase;font-weight:750;letter-spacing:.1em}.kt-resource h3{font-size:1.16rem;line-height:1.4;margin:10px 0}.kt-resource p{font-size:.84rem;color:var(--text-secondary)}.kt-resource a{display:inline-block;font-size:.82rem;font-weight:700;color:var(--emerald);margin-top:12px}.kt-bottom-cta{padding:50px;background:var(--emerald-deep);color:white;border-radius:20px;display:flex;align-items:center;justify-content:space-between;gap:30px;margin:20px 0 70px}.kt-bottom-cta h2{color:white;font-size:2rem;margin:0 0 10px}.kt-bottom-cta p{color:#e0f6ef;font-size:.95rem;margin:0}.kt-bottom-cta .btn{background:#ffe32c;color:#292c32;white-space:nowrap}.kt-faq{max-width:850px;margin:0 auto}.kt-faq details{border-bottom:1px solid var(--border-color);padding:20px 0}.kt-faq summary{cursor:pointer;font-size:.95rem;font-weight:650;list-style:none;display:flex;justify-content:space-between;gap:18px}.kt-faq summary:after{content:'+';font-size:1.2rem;color:var(--emerald)}.kt-faq details[open] summary:after{content:'−'}.kt-faq details p{padding-top:14px;font-size:.9rem;color:var(--text-secondary)}
.kt-skip{position:fixed;top:-100px;left:20px;background:#292c32;color:white;padding:12px;z-index:9999}.kt-skip:focus{top:10px}:focus-visible{outline:3px solid #eb008b;outline-offset:4px}button:disabled{opacity:.55;cursor:not-allowed}.kt-review-empty{padding:45px;text-align:center;border:1px dashed var(--border-strong);border-radius:18px;background:var(--emerald-pale)}.kt-review-empty h2{font-size:1.9rem;margin:12px 0}.kt-review-empty p{max-width:610px;margin:0 auto;color:var(--text-secondary)}
@media(min-width:1351px){.hamburger{display:none!important}.nav-menu{display:flex!important}}
@media(max-width:1350px){.nav-menu{display:none!important}.hamburger{display:flex!important}}
@media(max-width:1000px){.kt-hero-grid{gap:25px}.kt-photo{height:420px}.kt-hero h1{font-size:3rem}.kt-photo-caption{padding:17px}.kt-photo-caption strong{font-size:1rem}.kt-programs{grid-template-columns:repeat(2,1fr)}.kt-split{gap:35px}.kt-benefits{grid-template-columns:repeat(2,1fr)}.kt-promo{padding:25px}.kt-promo-symbol{display:none}.kt-promo h2{font-size:1.2rem}}
@media(max-width:700px){.container{padding-left:20px;padding-right:20px}.nav-inner{min-height:72px;gap:8px}.nav-logo-img{width:138px!important;height:42px!important}.nav-actions{gap:9px}.nav-actions .btn-ghost,.theme-toggle,.platforms-dropdown-wrap{display:none}.nav-actions .btn-primary{padding:10px 12px;font-size:.72rem}.kt-hero{padding:30px 0}.kt-hero-grid{grid-template-columns:1fr;gap:30px}.kt-hero h1{font-size:3.1rem;max-width:500px}.kt-eyebrow{margin-bottom:15px}.kt-hero .kt-intro{font-size:1rem}.kt-photo{height:330px;order:2}.kt-finder{margin-top:27px}.kt-photo-caption{bottom:32px}.kt-photo-caption strong{font-size:1.05rem}.kt-promo{flex-direction:column;align-items:flex-start;gap:18px;padding:25px;margin-bottom:20px;border-radius:16px}.kt-section{padding:42px 0}.kt-programs{grid-template-columns:1fr;gap:16px}.kt-program-top{min-height:70px;padding:17px 23px}.kt-program-content{padding:23px}.kt-benefits{gap:22px 15px;padding:25px 0;margin-top:30px}.kt-benefit{align-items:flex-start;gap:9px}.kt-benefit>i{font-size:19px}.kt-benefit strong{font-size:.79rem}.kt-benefit span{font-size:.7rem;line-height:1.4;display:block}.kt-split{grid-template-columns:1fr;gap:30px}.kt-split-photo{height:280px}.kt-resources{grid-template-columns:1fr}.kt-resource img{height:210px}.kt-bottom-cta{flex-direction:column;align-items:flex-start;padding:30px;margin:15px 0 45px}.kt-bottom-cta h2{font-size:1.7rem}.kt-tabs{max-width:100%}.kt-tab{padding:9px 12px}.footer-grid{grid-template-columns:1fr;gap:28px}.footer-bottom{flex-direction:column;align-items:flex-start;gap:15px}.section{padding:50px 0}.page-hero{padding:40px 0}.kt-review-empty{padding:28px}.footer-newsletter{width:100%}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important;transition:none!important}.fade-in-up,.fade-in-left,.fade-in-right{opacity:1!important;transform:none!important}}

/* Final consistency and resilient visibility across legacy page layouts. */
body .fade-in-up,body .fade-in-left,body .fade-in-right,body .scale-in{opacity:1!important;transform:none!important}
body .pt-hero,body .tut-hero,body .mat-hero,body .cs-hero{background:var(--emerald-pale)!important;color:var(--text-primary)!important;padding:68px 0 58px!important;border-bottom:1px solid var(--border-color)}
body .pt-hero:before,body .pt-hero:after,body .tut-hero:before,body .mat-hero:before,body .cs-hero:before,body .cs-hero:after{display:none!important}
body .pt-hero h1,body .tut-hero h1,body .mat-hero h1,body .cs-hero h1{color:var(--text-primary)!important;text-shadow:none;font-size:clamp(2rem,4vw,3.3rem)}
body .pt-hero h1 span,body .cs-hero h1 span{background:none!important;-webkit-text-fill-color:var(--emerald)!important;color:var(--emerald)!important}
body .pt-hero p,body .tut-hero p,body .mat-hero p,body .cs-hero p{color:var(--text-secondary)!important}
body .tut-hero .tut-hero-tag,body .pt-badge{color:var(--emerald)!important;background:var(--emerald-glass)!important;border-color:transparent!important}
body #cta-banner{background:var(--emerald-deep)!important}body #cta-banner:before{display:none}
body .pt-card-header{filter:saturate(.65)}
@media(max-width:700px){body .pt-hero,body .tut-hero,body .mat-hero,body .cs-hero{padding:42px 0!important}}
