/**
 * Landing Pages Styles — 2026 Clean/Premium Redesign
 * Color palette matched to englishcharlie.com brand
 *
 * Brand Colors:
 *   Primary blue (accent/headings):  #4890AE
 *   CTA button sky blue:             #87CEEB
 *   Alert/badge red:                 #FA4531
 *   Page bg light blue:              #E8F4FB
 *   Footer navy:                     #1a2744
 *   Dark text:                       #111827
 *   Body text:                       #374151
 *   Muted text:                      #6B7280
 */

/* ============================================
   CSS RESET FOR LANDING
   Break out of base.html's main.container max-width constraint
   ============================================ */
main.container:has(.landing-page),
main.container:has(.hero),
main.container:has(.ielts-page),
html.landing-page-root main.container {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  overflow-x: hidden;
}

html.landing-page-root .app-shell {
  display: block !important;
  grid-template-columns: none !important;
}

.landing-page {
  background: #fff;
  color: #111827;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* IELTS page full-width reset */
.ielts-page {
  width: 100%;
}

/* ============================================
   LANDING NAVBAR
   ============================================ */
.landing-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(72, 144, 174, 0.12);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.landing-navbar.scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 1px 20px rgba(72, 144, 174, 0.1);
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand */
.navbar-brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.navbar-brand .brand-icon {
  width: 36px;
  height: 36px;
  background: #4890AE;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.navbar-brand .brand-text {
  font-size: 17px;
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.3px;
}

.navbar-brand .brand-text strong {
  font-weight: 800;
  color: #4890AE;
}

/* Center nav */
.navbar-center {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.15s ease;
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.nav-link:hover {
  color: #4890AE;
}

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

.dropdown-arrow {
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 190px;
  background: #fff;
  border: 1px solid #D4EBF5;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 8px 32px rgba(72, 144, 174, 0.12), 0 1px 3px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transition: all 0.15s ease;
  pointer-events: none;
}

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

/* Bridge gap so mouse doesn't leave hover zone between trigger and menu */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -10px;
  right: -10px;
  height: 12px;
  background: transparent;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-item:hover {
  background: #E8F4FB;
  color: #4890AE;
}

.dropdown-icon {
  font-size: 15px;
}

/* Right actions */
.navbar-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: #87CEEB;
  color: #111827;
  border-radius: 999px;
  font-weight: 700;
}

.btn-primary:hover {
  background: #6bbde0;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(135, 206, 235, 0.45);
}

/* Mobile toggle — hidden by default on desktop, only shown via @media */
.mobile-menu-toggle {
  display: none !important;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background: #111827;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  border-top: 1px solid #E8F4FB;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-content {
  padding: 24px;
}

.mobile-nav-section {
  margin-bottom: 24px;
}

.mobile-nav-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.mobile-nav-link {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: #111827;
  text-decoration: none;
  border-bottom: 1px solid #f0f8fc;
}

.mobile-nav-link:hover {
  color: #4890AE;
}

.mobile-nav-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .navbar-container {
    padding: 0 16px;
    height: 60px;
  }

  .navbar-center {
    display: none;
  }

  .navbar-actions .nav-link-hide {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex !important;
  }

  .mobile-menu {
    display: block;
    top: 60px;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(160deg, #E8F4FB 0%, #f0f8fd 50%, #E8F4FB 100%);
  overflow: hidden;
  padding: 120px 32px 80px;
  text-align: center;
}

/* Dot grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #a8cfe8 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.35;
  pointer-events: none;
}

/* Soft glow orbs */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  width: 500px;
  height: 500px;
  background: rgba(135, 206, 235, 0.25);
  top: -80px;
  right: -80px;
}

.hero::after {
  width: 400px;
  height: 400px;
  background: rgba(72, 144, 174, 0.12);
  bottom: 0;
  left: -80px;
}

.hero-wrapper {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Badge / eyebrow */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #4890AE;
  color: #fff;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 28px;
  box-shadow: 0 4px 12px rgba(72, 144, 174, 0.3);
}

.hero-badge span {
  font-size: 14px;
}

/* Main headline */
.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #111827;
  margin-bottom: 24px;
}

.hero-title .highlight {
  color: #4890AE;
  position: relative;
  display: inline-block;
}

/* Subtitle */
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: #374151;
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA buttons */
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  letter-spacing: -0.1px;
}

.hero-btn.primary {
  background: #87CEEB;
  color: #111827;
  box-shadow: 0 4px 20px rgba(135, 206, 235, 0.4);
}

.hero-btn.primary:hover {
  background: #6bbde0;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(135, 206, 235, 0.5);
}

.hero-btn.secondary {
  background: #fff;
  color: #4890AE;
  border: 2px solid #4890AE;
}

.hero-btn.secondary:hover {
  background: #E8F4FB;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(72, 144, 174, 0.15);
}

/* Trust row */
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 13px;
  color: #6B7280;
  font-weight: 500;
}

.trust-divider {
  width: 1px;
  height: 16px;
  background: #a8cfe8;
}

.trust-avatars {
  display: flex;
  align-items: center;
}

.trust-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #4890AE;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  border: 2px solid #E8F4FB;
  margin-left: -8px;
}

.trust-avatar:first-child {
  margin-left: 0;
}

.trust-stats {
  display: flex;
  align-items: center;
  gap: 20px;
}

.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-stat-number {
  font-size: 18px;
  font-weight: 800;
  color: #4890AE;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.trust-stat-label {
  font-size: 11px;
  color: #6B7280;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero visual — hidden in centered layout */
.hero-visual {
  display: none;
}

.hero-visual-card,
.score-display,
.score-circle,
.score-number,
.score-label,
.score-sub,
.exam-badges,
.exam-badge {
  display: none;
}

/* ============================================
   STATS STRIP
   ============================================ */
.stats-section {
  background: #4890AE;
  padding: 48px 32px;
}

.stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 16px 24px;
  position: relative;
}

.stat-item+.stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.stat-number {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ============================================
   SECTION HEADERS (shared)
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #4890AE;
  color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
  box-shadow: 0 3px 10px rgba(72, 144, 174, 0.25);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #111827;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-title .highlight {
  color: #4890AE;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #6B7280;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ============================================
   FEATURES SECTION — BENTO GRID
   ============================================ */
.features-section {
  padding: 100px 32px;
  background: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
}

.feature-card {
  background: #F8FCFF;
  border: 1px solid #D4EBF5;
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(72, 144, 174, 0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.feature-card:hover {
  border-color: #87CEEB;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(72, 144, 174, 0.12);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-number {
  font-size: 11px;
  font-weight: 700;
  color: #4890AE;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.7;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: #D4EBF5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.feature-desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.65;
}

/* ============================================
   MODULES SECTION (All 4 Modules Covered)
   ============================================ */
.modules-section {
  padding: 100px 32px;
  background: #fff;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.module-card {
  background: #F8FCFF;
  border: 1px solid #D4EBF5;
  border-radius: 20px;
  padding: 36px 28px 32px;
  text-align: center;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}

.module-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4890AE, #87CEEB);
  border-radius: 0 0 20px 20px;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.module-card:hover {
  border-color: #87CEEB;
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(72, 144, 174, 0.13);
}

.module-card:hover::after {
  opacity: 1;
}

/* Per-module accent colors on bottom bar */
.module-card:nth-child(1)::after { background: linear-gradient(90deg, #4890AE, #87CEEB); }
.module-card:nth-child(2)::after { background: linear-gradient(90deg, #22A76C, #5ED4A4); }
.module-card:nth-child(3)::after { background: linear-gradient(90deg, #B45309, #F59E0B); }
.module-card:nth-child(4)::after { background: linear-gradient(90deg, #6D28D9, #A78BFA); }

.module-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #D4EBF5 0%, #E8F4FB 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  transition: transform 0.22s ease;
}

.module-card:hover .module-icon {
  transform: scale(1.08);
}

/* Per-module icon backgrounds */
.module-card:nth-child(1) .module-icon { background: linear-gradient(135deg, #D4EBF5 0%, #B8DDEF 100%); }
.module-card:nth-child(2) .module-icon { background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%); }
.module-card:nth-child(3) .module-icon { background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%); }
.module-card:nth-child(4) .module-icon { background: linear-gradient(135deg, #EDE9FE 0%, #DDD6FE 100%); }

.module-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.module-desc {
  font-size: 13.5px;
  color: #6B7280;
  line-height: 1.65;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-section {
  padding: 100px 32px;
  background: #E8F4FB;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

/* Connecting line */
.how-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.67% + 16px);
  right: calc(16.67% + 16px);
  height: 2px;
  background: linear-gradient(90deg, #4890AE, #87CEEB, #4890AE);
  z-index: 0;
}

.how-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.how-step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #4890AE;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(72, 144, 174, 0.35);
  position: relative;
  z-index: 2;
  border: 3px solid #E8F4FB;
}

.how-step-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.how-step-desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.6;
  max-width: 240px;
  margin: 0 auto;
}

/* ============================================
   EXAM TYPES SECTION
   ============================================ */
.exam-types-section {
  padding: 100px 32px;
  background: #F8FCFF;
}

.exam-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

/* ---- Shared card shell ---- */
.exam-card {
  background: #F8FCFF;
  border: 1px solid #D4EBF5;
  border-radius: 24px;
  padding: 44px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.exam-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(14, 116, 186, 0.08);
  border-color: #9CD0EE;
}

/* ---- Icon ---- */
.exam-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  transition: transform 0.22s ease;
}

.exam-card:nth-child(1) .exam-icon {
  background: linear-gradient(135deg, #DDEEFA 0%, #B8DDEF 100%);
}
.exam-card:nth-child(2) .exam-icon {
  background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
}

.exam-card:hover .exam-icon {
  transform: scale(1.1);
}

/* ---- Name & desc ---- */
.exam-name {
  font-size: 22px;
  font-weight: 800;
  color: #0D1F35;
  margin: 0 0 12px;
  letter-spacing: -0.4px;
}

.exam-desc {
  font-size: 15px;
  color: #4A6580;
  line-height: 1.65;
  margin: 0 0 28px;
}

/* ---- Feature list ---- */
.exam-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex: 1;
}

.exam-features li {
  padding: 10px 0;
  font-size: 14px;
  font-weight: 500;
  color: #243B53;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #EAF4FB;
}

.exam-features li:last-child {
  border-bottom: none;
}

.exam-features li::before {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background-color: #0E74BA;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.exam-card:nth-child(2) .exam-features li::before {
  background-color: #22A76C;
}

/* ---- CTA button ---- */
.exam-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #0E74BA 0%, #4BB8E0 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(14, 116, 186, 0.25);
  align-self: flex-start;
}

.exam-card:nth-child(2) .exam-cta {
  background: linear-gradient(135deg, #22A76C 0%, #5ED4A4 100%);
  box-shadow: 0 4px 14px rgba(34, 167, 108, 0.25);
}

.exam-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 116, 186, 0.35);
}

.exam-card:nth-child(2) .exam-cta:hover {
  box-shadow: 0 8px 24px rgba(34, 167, 108, 0.35);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
  padding: 100px 32px;
  background: #E8F4FB;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

.testimonial-card {
  background: #fff;
  border: 1px solid #D4EBF5;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(72, 144, 174, 0.1);
  transform: translateY(-3px);
}

/* Remove old stagger offset */
/* (stagger removed — all cards equal height) */

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.testimonial-star {
  color: #FA4531;
  font-size: 16px;
}

.testimonial-quote-mark {
  font-size: 56px;
  line-height: 0.6;
  color: #D4EBF5;
  font-family: Georgia, serif;
  margin-bottom: 16px;
  display: block;
}

.testimonial-quote {
  font-size: 15px;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: normal;
}

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

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #4890AE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1px;
}

.testimonial-info p {
  font-size: 13px;
  color: #9CA3AF;
}

.testimonial-score {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #E8F4FB;
  font-size: 13px;
  font-weight: 700;
  color: #4890AE;
  letter-spacing: -0.1px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 100px 32px;
  background: #fff;
  border-top: 1px solid #D4EBF5;
  text-align: center;
}

.cta-content {
  max-width: 640px;
  margin: 0 auto;
}

.cta-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #4890AE;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #111827;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.cta-title .highlight {
  color: #4890AE;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: #6B7280;
  margin-bottom: 36px;
  line-height: 1.65;
}

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

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  letter-spacing: -0.1px;
}

.cta-btn.white {
  background: #87CEEB;
  color: #111827;
  box-shadow: 0 4px 20px rgba(135, 206, 235, 0.4);
}

.cta-btn.white:hover {
  background: #6bbde0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(135, 206, 235, 0.5);
}

.cta-btn.outline {
  background: #fff;
  color: #4890AE;
  border: 2px solid #4890AE;
}

.cta-btn.outline:hover {
  background: #E8F4FB;
  transform: translateY(-1px);
}

/* ============================================
   CONTACT SECTION (minimal strip)
   ============================================ */
.contact-section {
  padding: 64px 32px;
  background: #E8F4FB;
  border-top: 1px solid #D4EBF5;
}

.contact-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.contact-card {
  background: transparent;
  border: none;
  padding: 0;
}

.contact-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.contact-card p {
  font-size: 15px;
  color: #6B7280;
  line-height: 1.65;
  margin-bottom: 20px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #374151;
  margin-bottom: 12px;
}

.contact-list li .icon {
  width: 36px;
  height: 36px;
  background: #D4EBF5;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* ============================================
   BUTTON ALIAS
   ============================================ */
.btn.primary {
  background: #87CEEB;
  color: #111827;
  border: none;
  border-radius: 999px;
  font-weight: 700;
}

.btn.primary:hover {
  background: #6bbde0;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(135, 206, 235, 0.4);
}

.btn.secondary {
  background: #fff;
  color: #4890AE;
  border: 2px solid #4890AE;
  border-radius: 999px;
}

.btn.secondary:hover {
  background: #E8F4FB;
}

/* ============================================
   LANDING FOOTER — DARK NAVY
   ============================================ */
.landing-footer {
  background: #1a2744;
  padding: 72px 40px 40px;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer-logo-mark {
  width: 38px;
  height: 38px;
  background: #4890AE;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.footer-logo-text {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.footer-tagline {
  font-size: 14px;
  color: #8A9CC0;
  line-height: 1.65;
  max-width: 280px;
}

.footer-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-cta .button {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  background: #87CEEB;
  color: #111827;
  border: none;
}

.footer-cta .button:hover {
  background: #6bbde0;
  transform: translateY(-1px);
}

.footer-cta .button.secondary {
  background: transparent;
  color: #8A9CC0;
  border: 1px solid #2e3f6a;
}

.footer-cta .button.secondary:hover {
  border-color: #4890AE;
  color: #fff;
}

.footer-section h4,
.footer-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  font-size: 14px;
  color: #8A9CC0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #87CEEB;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #22345a;
  border: 1px solid #2e3f6a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8A9CC0;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-social-link:hover {
  background: #4890AE;
  border-color: #4890AE;
  color: #fff;
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  border-top: 1px solid #2e3f6a;
  margin-top: 48px;
  padding-top: 20px;
}

.footer-bottom-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 13px;
  color: #5a6e96;
}

.footer-bottom-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-bottom-links a {
  font-size: 13px;
  color: #5a6e96;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: #87CEEB;
}

.footer-dot {
  color: #2e3f6a;
  font-size: 12px;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 400px;
  }

  .how-steps::before {
    display: none;
  }

  .exam-types-grid {
    max-width: 700px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 20px 60px;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-trust {
    flex-direction: column;
    gap: 12px;
  }

  .trust-divider {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item+.stat-item::before {
    display: none;
  }

  .features-section,
  .how-section,
  .modules-section,
  .exam-types-section,
  .testimonials-section,
  .cta-section,
  .contact-section {
    padding: 72px 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .exam-types-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* (stagger removed on mobile too) */

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .landing-footer {
    padding: 48px 20px 32px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* ============================================================
   PRICING PAGE
   ============================================================ */
/* ============================================================
   Pricing Page — uses shared .hero, .pricing-section, .plan-grid
   ============================================================ */

/* Section titles */
.pricing-section {
  padding: 100px 32px;
  background: #fff;
}

.pricing-section .section-header,
.pricing-section .plan-grid {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-section .plan-grid + .plan-grid {
  margin-top: 24px;
}

/* Plan Grid */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* Plan Card */
.plan-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl, 16px);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.plan-card:hover {
  box-shadow: var(--shadow-lg, 0 8px 24px rgba(0, 0, 0, 0.08));
  border-color: var(--color-accent);
}

/* Plan Top */
.plan-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.plan-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}

.plan-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: var(--color-accent-contrast, #eef2ff);
  color: var(--color-accent);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* Price Rows */
.plan-prices {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

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

.price-row:last-child {
  border-bottom: none;
}

.price-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.price-value {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.price-value>span {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.price-value .badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: var(--color-success-bg, #dcfce7);
  color: var(--color-success-text, #166534);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.price-value .btn {
  padding: 6px 14px;
  font-size: 13px;
  min-height: unset;
  border-radius: 8px;
}

/* Plan Actions */
.plan-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.plan-actions .btn {
  width: 100%;
  justify-content: center;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 8px;
}

/* Note text */
.note {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
  padding: 12px 16px;
  background: var(--color-bg);
  border-radius: 8px;
  border-left: 3px solid var(--color-border-subtle);
  margin-top: 4px;
}

.pricing-section .note {
  margin-top: 16px;
  border: 1px solid var(--color-border-subtle);
  border-left: 3px solid var(--color-accent);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border-radius: 8px;
}

/* Responsive - Pricing */
@media (max-width: 768px) {
  .plan-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Courses Landing Page
   ============================================================ */

.courses-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #fff;
}

/* Courses grid — sits inside .features-section */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* Course card */
.course-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(72, 144, 174, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid #D4EBF5;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(72, 144, 174, 0.15);
}

.course-image {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #D4EBF5 0%, #E8F4FB 100%);
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #4890AE;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
}

.course-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.course-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
}

.course-description {
  font-size: 0.9rem;
  color: #6B7280;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-meta {
  display: flex;
  gap: 16px;
  margin-top: auto;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #6B7280;
}

.meta-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.course-cta {
  display: block;
  text-align: center;
  margin-top: 8px;
  padding: 12px;
  background: #87CEEB;
  color: #111827;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.course-cta:hover {
  background: #6bbde0;
  transform: scale(1.02);
}

/* No courses state */
.no-courses {
  text-align: center;
  padding: 80px 24px;
  max-width: 500px;
  margin: 0 auto;
}

.no-courses h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.no-courses p {
  color: #6B7280;
  font-size: 1rem;
  line-height: 1.6;
}

/* Consultancy Modal */
.consultancy-form-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.consultancy-form-modal.active,
.consultancy-form-modal[style*="block"],
.consultancy-form-modal[style*="flex"] {
  display: flex !important;
}

.consultancy-form-modal .modal-content {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.consultancy-form-modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 0;
}

.consultancy-form-modal .modal-header h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  color: #111827;
}

.consultancy-form-modal .close-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #6B7280;
  line-height: 1;
  padding: 0;
  transition: color 0.15s;
}

.consultancy-form-modal .close-btn:hover {
  color: #111827;
}

.consultancy-form-modal .modal-body {
  padding: 20px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefits-list h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4890AE;
  margin: 0 0 10px;
}

.benefits-list ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.benefits-list li {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.5;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
}

.form-input,
.form-select,
.form-textarea {
  padding: 10px 14px;
  border: 1.5px solid #D4EBF5;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #111827;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #4890AE;
  box-shadow: 0 0 0 3px rgba(72, 144, 174, 0.12);
}

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

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding-top: 4px;
}

.consultancy-form-modal .btn-primary {
  padding: 10px 24px;
  background: #4890AE;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: inherit;
}

.consultancy-form-modal .btn-primary:hover {
  background: #3a7a96;
}

.btn-secondary {
  padding: 10px 24px;
  background: #f0f8fc;
  color: #4890AE;
  border: 1.5px solid #D4EBF5;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: inherit;
}

.btn-secondary:hover {
  background: #D4EBF5;
}

/* Courses page responsive */
@media (max-width: 768px) {
  .courses-header h1 {
    font-size: 2rem;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    padding: 40px 16px;
  }

  .cta-banner {
    padding: 52px 20px;
  }

  .cta-banner h2 {
    font-size: 1.7rem;
  }

  .consultancy-form-modal .modal-content {
    max-height: 95vh;
  }

  .consultancy-form-modal .modal-header,
  .consultancy-form-modal .modal-body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .form-actions {
    flex-direction: column-reverse;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  padding: 80px 32px 100px;
  background: #fff;
}

.contact-grid {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: start;
}

.contact-info-panel {
  padding-top: 8px;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: #EAF4FB;
  border: 1px solid #C5DFF0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #8FAEC0;
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 14px;
  font-weight: 500;
  color: #0D1F35;
  line-height: 1.5;
}

.contact-form-card {
  /* inherits .auth-card styles from accounts.css */
}

/* Textarea for contact form */
.contact-form-card textarea,
textarea {
  width: 100%;
  padding: 14px 18px;
  background: #fff;
  border: 1.5px solid #C5DFF0;
  border-radius: 12px;
  color: #0D1F35;
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(14, 116, 186, 0.12);
}

/* Select inputs */
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: #fff;
  border: 1.5px solid #C5DFF0;
  border-radius: 12px;
  color: #0D1F35;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  appearance: none;
  cursor: pointer;
}

.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(14, 116, 186, 0.12);
}

/* Two-column form row */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Submit button */
.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-strong) 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(14, 116, 186, 0.25);
  margin-top: 8px;
}

.contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 116, 186, 0.35);
}

/* Contact social links */
.contact-socials {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #EAF4FB;
}

.contact-social-icons {
  display: flex;
  gap: 10px;
}

.contact-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #EAF4FB;
  border: 1px solid #C5DFF0;
  color: #0E74BA;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.contact-social-link svg {
  width: 18px;
  height: 18px;
}

.contact-social-link:hover {
  background: #0E74BA;
  color: #fff;
  border-color: #0E74BA;
  transform: translateY(-2px);
}

/* ============================================================
   LEGAL PAGES (Terms & Privacy)
   ============================================================ */
.legal-page {
  padding: 80px 32px 100px;
  background: #fff;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-header {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.legal-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #0D1F35;
  margin: 16px 0 14px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.legal-title span {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-strong) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-subtitle {
  font-size: 16px;
  color: #4A6580;
  line-height: 1.65;
  max-width: 520px;
}

.legal-content {
  background: #F8FCFF;
  border: 1px solid #D4EBF5;
  border-radius: 20px;
  padding: 48px;
}

.legal-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #EAF4FB;
}

.legal-section:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.legal-section-title {
  font-size: 17px;
  font-weight: 700;
  color: #0D1F35;
  margin: 0 0 16px;
  letter-spacing: -0.2px;
}

.legal-section-body {
  font-size: 15px;
  color: #4A6580;
  line-height: 1.75;
}

.legal-section-body p {
  margin: 0 0 14px;
}

.legal-section-body p:last-child {
  margin-bottom: 0;
}

.legal-section-body ul {
  margin: 12px 0 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-section-body a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
}

.legal-section-body a:hover {
  text-decoration: underline;
}

.legal-highlight-box {
  background: #EAF4FB;
  border-left: 4px solid var(--color-accent);
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  color: #0D1F35;
}

.legal-highlight-box p {
  margin: 0;
}

.legal-last-updated {
  text-align: center;
  color: #8FAEC0;
  font-size: 13px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #D4EBF5;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .legal-content {
    padding: 28px 24px;
  }

  .legal-page {
    padding: 60px 20px 80px;
  }
}