:root {
  /* Brand palette (deep blue + growth green, derived from logo) */
  --color-primary: #091838;
  --color-primary-dark: #041f5c;
  --color-primary-light: #1e56c7;
  --color-accent: #109d58;
  --color-accent-dark: #0c7a44;
  --color-accent-light: #3fbe7c;

  --color-bg: #ffffff;
  --color-bg-soft: #f4f8fc;
  --color-bg-alt: #eaf1fb;
  --color-text: #0b1b33;
  --color-text-muted: #57677e;
  --color-border: #dce6f5;
  --color-white: #ffffff;

  --gradient-primary: linear-gradient(135deg, #06318f 0%, #041f5c 100%);
  --gradient-accent: linear-gradient(135deg, #109d58 0%, #0c7a44 100%);
  --gradient-soft: linear-gradient(135deg, #eaf1fb 0%, #ffffff 60%);
  --gradient-brand: linear-gradient(120deg, #06318f 0%, #0d5aa0 55%, #109d58 130%);

  /* Aliases used throughout the hero/courses/boards/testimonials sections.
     (Kept as separate names for readability in those blocks, mapped to
     the same brand palette above so every section stays visually
     consistent.) */
  --white: var(--color-white);
  --primary-blue: var(--color-primary-light);
  --dark-blue: var(--color-primary-dark);
  --green: var(--color-accent);
  --green-dark: var(--color-accent-dark);
  --light-green: #e3f7ec;
  --border: var(--color-border);
  --bg-light: var(--color-bg-soft);
  --text-dark: var(--color-text);
  --text-gray: var(--color-text-muted);

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 10px rgba(6, 49, 143, 0.07);
  --shadow-md: 0 12px 30px rgba(6, 49, 143, 0.11);
  --shadow-lg: 0 25px 60px rgba(6, 49, 143, 0.18);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Navbar height keeps the fixed header, page top padding, and
     scroll-offset calculations all in sync. */
  --nav-height: 96px;
  --nav-height-scrolled: 70px;
  --nav-height-tablet: 76px;
  --nav-height-tablet-scrolled: 64px;
  --nav-height-mobile: 68px;
  --nav-height-mobile-scrolled: 58px;
}

/* ---------------------------------------------------------------------
   2. RESET & BASE
   --------------------------------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
  /* Offsets content below the fixed navbar */
  padding-top: var(--nav-height);
}

img, video, iframe { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
html, body { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------------
   3. LAYOUT UTILITIES
   --------------------------------------------------------------------- */
.container,
.section-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(120deg, #06318f 0%, #0d5aa0 55%, #109d58 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow,
.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-bg-alt);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-heading {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}

.section-heading h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.section-heading p { color: var(--color-text-muted); margin-top: 12px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 11px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), opacity var(--transition);
  white-space: nowrap;
}

.btn-primary,
.btn--primary {
  background: #0c2b6d;
  color: #ffffff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  border-radius: 11px;
}
.btn-primary:hover,
.btn--primary:hover {
  opacity: 0.9;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
  transform: translateY(-3px);
}

.btn-outline,
.btn--outline-green {
  background: #0c7a44;
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 11px;
}
.btn-outline:hover,
.btn--outline-green:hover { background: #21945c; transform: translateY(-3px); }

.btn--outline-white {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}
.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.btn-white,
.btn--white {
  background: var(--color-white);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
}
.btn-white:hover,
.btn--white:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.btn-sm { padding: 10px 22px; font-size: 0.88rem; }

/* Button ripple effect (added via JS) */
.btn { position: relative; overflow: hidden; }
.btn__ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: btnRipple 0.6s ease-out;
  pointer-events: none;
}
@keyframes btnRipple {
  to { transform: scale(2.2); opacity: 0; }
}

/* ---------------------------------------------------------------------
   4. FLOATING SOCIAL SIDEBAR
   --------------------------------------------------------------------- */
.social-float {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: env(safe-area-inset-right, 0px);
}

.social-float-link {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 1.25rem;
  border: 1.5px solid var(--color-border);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: width var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.social-float-link::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--color-primary-dark);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  pointer-events: none;
}

.social-float-link:hover::after { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
.social-float-link:hover { color: var(--color-white); border-color: transparent; }

.sf-facebook:hover  { background: #1877f2; }
.sf-instagram:hover { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.sf-linkedin:hover  { background: #0a66c2; }
.sf-youtube:hover   { background: #ff0000; }
.sf-whatsapp:hover  { background: #25d366; }
.sf-tiktok:hover  { background: #000000; }


/* ---------------------------------------------------------------------
   5. NAVBAR
   --------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: var(--color-white);
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
  transition: height 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.navbar.scrolled {
  height: var(--nav-height-scrolled);
  box-shadow: var(--shadow-md);
}

.nav-container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img {
  width: 150px;
  height: 80px;
  object-fit: contain;
  transition: width 0.3s ease, height 0.3s ease;
}
.navbar.scrolled .logo img { width: 100px; height: 55px; }

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-item { position: relative; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 110%;
  color: var(--color-text-muted);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  transition: color var(--transition), background var(--transition), padding 0.3s ease, font-size 0.3s ease;
}
.navbar.scrolled .nav-link { padding: 8px 14px; font-size: 0.88rem; }



.nav-link.active {
  color: var(--color-primary-dark);
  
  font-weight: 600;
}

.nav-item.has-dropdown.open > .nav-dropdown-toggle {
  color: var(--color-primary-dark);
  
  font-weight: 600;
}

/* Hover underline — desktop only. Single solid blue line, animates left to right. */
@media (min-width: 901px) {
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 6px;
    width: 0;
    height: 3px;
    background: var(--primary-blue);
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
  }
  .nav-link:hover::after,
  .nav-link.active::after,
  .nav-item.has-dropdown:hover > .nav-dropdown-toggle::after {
    width: calc(100% - 12px);
  }
}

/* Circular caret indicator */
.nav-caret-circle {
  width: 20px; height: 20px;
  min-width: 20px;
  border-radius: 50%;
  color: var(--color-primary-dark);
  display: grid;
  place-items: center;
  font-size: 0.6rem;
  transition: transform 0.3s ease, background 0.3s ease;
}
.nav-item.has-dropdown.open .nav-caret-circle,
.nav-dropdown-toggle[aria-expanded="true"] .nav-caret-circle {
  transform: rotate(180deg);
}

/* Dropdown panel */
.nav-dropdown-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(.4,0,.2,1);
}
.nav-item.has-dropdown.open .nav-dropdown-wrapper { grid-template-rows: 1fr; }
.nav-dropdown-inner { overflow: hidden; min-height: 0; }

.nav-dropdown {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
}

.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--color-text);
  transition: background var(--transition), transform var(--transition);
}
.nav-dropdown-item:hover {  transform: translateX(2px); }

.nav-dropdown-item i {
  width: 30px; height: 30px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  font-size: 0.85rem;
  transition: background var(--transition), color var(--transition);
}
.nav-dropdown-item:hover i { background: var(--gradient-primary); color: var(--color-white); }

.nav-dropdown-item span { display: flex; flex-direction: column; gap: 2px; }
.nav-dropdown-item strong { font-family: var(--font-display); font-size: 0.86rem; font-weight: 600; }
.nav-dropdown-item small { color: var(--color-text-muted); font-size: 0.75rem; }

/* Desktop: dropdown floats as a card beneath its tab; opens on click or hover */
@media (min-width: 901px) {
  .nav-dropdown-wrapper {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 280px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: grid-template-rows 0.3s ease, opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1001;
  }
  .nav-item.has-dropdown.open .nav-dropdown-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-item.has-dropdown:hover .nav-dropdown-wrapper {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-item.has-dropdown:hover .nav-caret-circle { transform: rotate(180deg); }
  .nav-item.has-dropdown:hover > .nav-dropdown-toggle {
    color: var(--color-primary-dark);
    font-weight: 600;
  }
}

/* Nav actions (desktop CTA + hamburger) */
.nav-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.navbar.scrolled .nav-actions .btn-primary { padding: 10px 20px; font-size: 0.85rem; }

/* CTA duplicated inside the mobile slide panel — hidden on desktop */
.nav-panel-cta { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
}
.hamburger span {
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 27, 45, 0.45);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-overlay.active { display: block; opacity: 1; }

/* Tablet */
@media (max-width: 1024px) and (min-width: 901px) {
  .nav-container { padding: 0 18px; }
  .nav-links { gap: 0; }
  .nav-link { padding: 9px 11px; font-size: 0.86rem; }
  .social-float-link { width: 52px; height: 52px; font-size: 1.1rem; }
}

/* Mobile / tablet menu breakpoint — slide-out panel opens from the LEFT */
@media (max-width: 900px) {
  :root { --nav-height: var(--nav-height-tablet); }
  .navbar { height: var(--nav-height-tablet); }
  .navbar.scrolled { height: var(--nav-height-tablet-scrolled); }
  .nav-container { padding: 0 16px; }
  .hamburger { display: flex; }
  .logo img { width: 110px; height: 60px; }
  .navbar.scrolled .logo img { width: 90px; height: 48px; }

  .social-float {
    display: flex !important;
    gap: 8px;
  }
  .social-float-link {
    display: grid !important;
    width: 46px;
    height: 46px;
    font-size: 1rem;
  }
  .social-float-link::after { display: none; }

  /* Full nav collapses into a slide-out panel; dropdowns open on tap only */
  .nav-links {
    position: fixed;
    top: 0; left: -100%;
    width: 300px;
    max-width: 88%;
    height: 100vh;
    height: 100dvh;
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    padding: 96px 16px 24px;
    box-shadow: var(--shadow-lg);
    transition: left 0.35s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    z-index: 1002;
  }
  .nav-links.open { left: 0; }

  .nav-item { width: 100%; }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 14px 16px;
    font-size: 0.98rem;
    border-radius: var(--radius-md);
  }

  .nav-item.has-dropdown.open > .nav-dropdown-toggle {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  /* Mobile accordion dropdown: directly below its tab, full width */
  .nav-dropdown-wrapper {
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: none;
  }
  .nav-item.has-dropdown:not(.open) .nav-dropdown-wrapper { border-color: transparent; }

  .nav-dropdown { padding: 6px 8px 8px 22px; }

  .nav-actions .btn-primary { display: none; }

  .nav-panel-cta {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
  }
  .nav-panel-cta .btn-primary { display: flex; width: 100%; }
}

@media (max-width: 480px) {
  :root { --nav-height: var(--nav-height-mobile); }
  .navbar { height: var(--nav-height-mobile); }
  .navbar.scrolled { height: var(--nav-height-mobile-scrolled); }
  .nav-container { padding: 0 12px; }
  .logo img { width: 90px; height: 48px; }
  .nav-links { width: 260px; padding: 88px 14px 20px; }
  .social-float { gap: 6px; }
  .social-float-link { width: 40px; height: 40px; font-size: 0.9rem; }
}

@media (max-width: 380px) {
  .social-float { gap: 5px; }
  .social-float-link { width: 36px; height: 36px; font-size: 0.82rem; }
}

@media (max-height: 480px) and (orientation: landscape) {
  .social-float { gap: 4px; }
  .social-float-link { width: 34px; height: 34px; font-size: 0.78rem; }
}

/* ---------------------------------------------------------------------
   6. HERO
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 72px 0 110px;
  background: linear-gradient(180deg, #eef4ff 0%, var(--white) 78%);
  overflow: hidden;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.55;
  z-index: 0;
}
.hero__blob--one {
  width: 420px; height: 420px;
  top: -160px; right: -120px;
  background: radial-gradient(circle at 30% 30%, var(--light-green), transparent 70%);
}
.hero__blob--two {
  width: 340px; height: 340px;
  bottom: -140px; left: -100px;
  background: radial-gradient(circle at 60% 60%, #dbeafe, transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-blue);
  background: #eaf1ff;
  border: 1px solid #cfe0ff;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero__heading {
  font-size: 50px;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.hero__paragraph {
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 34px;
  color: var(--text-gray);
}

/* Justified hero copy for a clean, professional block-text look.
   text-align-last keeps the final line left-aligned instead of stretched. */
.hero__heading,
.hero__paragraph {
  text-align:left;
  text-align-last: left;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero__stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero__stat { display: flex; flex-direction: column; gap: 2px; }
.hero__stat strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--dark-blue); }
.hero__stat span { font-size: 0.85rem; color: var(--text-gray); }

/* Hero visual */
.hero__visual {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__visual-card--main {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 0.92;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--dark-blue) 0%, var(--primary-blue) 55%, var(--green) 130%);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
}

/* Premium hero photo — students learning online */
.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 8px);
  display: block;
}

.hero__laptop { width: 100%; display: flex; flex-direction: column; align-items: center; }

.hero__laptop-screen {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--white);
}

.hero__teacher {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.hero__waveform { display: flex; align-items: flex-end; gap: 5px; height: 26px; }
.hero__waveform span {
  width: 4px;
  border-radius: 2px;
  background: var(--white);
  opacity: 0.85;
  animation: waveform 1.2s ease-in-out infinite;
}
.hero__waveform span:nth-child(1) { height: 40%; animation-delay: 0s; }
.hero__waveform span:nth-child(2) { height: 100%; animation-delay: 0.12s; }
.hero__waveform span:nth-child(3) { height: 65%; animation-delay: 0.24s; }
.hero__waveform span:nth-child(4) { height: 90%; animation-delay: 0.36s; }
.hero__waveform span:nth-child(5) { height: 50%; animation-delay: 0.48s; }

@keyframes waveform {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}

.hero__laptop-base {
  width: 62%;
  height: 12px;
  margin-top: -3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 0 0 10px 10px;
}

/* Glassmorphism floating cards */
.glass-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.8);
 
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  z-index: 2;
}
.glass-card i { font-size: 1.25rem; color: var(--primary-blue); }
.glass-card strong { display: block; font-family: var(--font-display); font-size: 0.9rem; color: var(--text-dark); }
.glass-card span { font-size: 0.78rem; color: var(--text-gray); }

.glass-card--certificate { top: 4%; left: -6%; }
.glass-card--certificate i { color: var(--green-dark); }
.glass-card--book { bottom: 10%; left: -8%; }
.glass-card--globe { bottom: -4%; right: -4%; }

/* Additional floating info cards (AI Learning, Progress Tracking, Student Success) */
.glass-card--ai { top: 20%; right: -10%; }
.glass-card--ai i { color: var(--primary-blue); }
.glass-card--progress { top: 46%; left: -12%; }
.glass-card--progress i { color: var(--green-dark); }
.glass-card--success { bottom: 26%; right: -12%; }
.glass-card--success i { color: var(--primary-blue); }

.hero__student-chip {
  position: absolute;
  top: 8%; right: -2%;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--light-green);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

/* Floating animation */
.float-anim { animation: floatY 4.5s ease-in-out infinite; }
.float-anim--delay1 { animation-delay: 0.6s; }
.float-anim--delay2 { animation-delay: 1.2s; }
.float-anim--delay3 { animation-delay: 1.8s; }
.float-anim--delay4 { animation-delay: 2.4s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Hero responsive */
@media (max-width: 1100px) {
  .hero__inner { gap: 44px; }
}

@media (max-width: 992px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__content { text-align: center; }
  .hero__paragraph { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__visual { margin-top: 24px; min-height: 380px; }
}

@media (max-width: 640px) {
  .hero { padding: 48px 0 90px; }
  .hero__visual { min-height: 320px; }
  .hero__visual-card--main { max-width: 300px; padding: 22px; }
  .glass-card { padding: 10px 14px; gap: 8px; }
  .glass-card strong { font-size: 0.82rem; }
  .glass-card span { font-size: 0.72rem; }
  .glass-card--certificate { left: 0; top: -2%; }
  .glass-card--book { left: 0; bottom: 4%; }
  .glass-card--globe { right: 0; bottom: -6%; }
  .hero__student-chip { right: 2%; width: 44px; height: 44px; font-size: 1.05rem; }
  .hero__stats { gap: 24px; }
}

@media (max-width: 400px) {
  .hero__heading { font-size: 28px; }
  .glass-card--certificate, .glass-card--book { position: static; margin: 8px auto 0; width: fit-content; }
}

/* Mobile: show ONLY the hero image — hide every floating card and chip */
@media (max-width: 640px) {
  .glass-card,
  .hero__student-chip {
    display: none;
  }
  .hero__visual-card--main { padding: 0; max-width: 340px; }
}

/* =========================================================
   COUNTRIES — 6 TOP + 3 CENTERED BOTTOM
   ========================================================= */

.countries__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px 18px;
  align-items: start;
}

/* Equal country card */
.country-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Flag/picture box */
.country-card__flag {
  width: 100%;
  height: 100px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

/* Equal flag size */
.country-card__flag img {
  width: 100%;
  height: 100%;
  max-width: 150px;
  max-height: 75px;

  object-fit: contain;
  display: block;
}

/* Country name */
.country-card h3 {
  width: 100%;
  min-height: 24px;

  margin: 12px 0 0;

  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;

  text-align: center;
}

/* =========================================================
   CENTER THE LAST 3 COUNTRIES
   ========================================================= */

/* Qatar starts under column 2 */
.country-card:nth-child(7) {
  grid-column: 2;
}

/* UAE */
.country-card:nth-child(8) {
  grid-column: 3;
}

/* Bahrain */
.country-card:nth-child(9) {
  grid-column: 4;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

  .countries__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 18px;
  }

  /* Reset desktop positioning */
  .country-card:nth-child(7),
  .country-card:nth-child(8),
  .country-card:nth-child(9) {
    grid-column: auto;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

  .countries__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 14px;
  }

  .country-card__flag {
    height: 90px;
  }

  .country-card__flag img {
    max-width: 125px;
    max-height: 65px;
  }

  .country-card h3 {
    font-size: 14px;
    margin-top: 9px;
  }

}


/* Small mobile */
@media (max-width: 420px) {

  .countries__grid {
    gap: 16px 10px;
  }

  .country-card__flag {
    height: 80px;
  }

  .country-card__flag img {
    max-width: 110px;
    max-height: 58px;
  }

  .country-card h3 {
    font-size: 13px;
  }

}

/* ---------------------------------------------------------------------
   8. COURSES / ACCORDION
   --------------------------------------------------------------------- */
.courses { padding: 100px 0; background: var(--white); }

.accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.accordion__item:has(.accordion__trigger[aria-expanded="true"]) {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  text-align: left;
  background: var(--white);
  transition: background var(--transition);
}
.accordion__trigger:hover { background: var(--bg-light); }

.accordion__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--light-green);
  color: var(--green-dark);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.accordion__title {
  flex: 1;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.accordion__arrow { color: var(--text-gray); transition: transform var(--transition); }
.accordion__trigger[aria-expanded="true"] .accordion__arrow { transform: rotate(180deg); color: var(--primary-blue); }

.accordion__panel { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.accordion__panel-inner { padding: 0 24px 28px 24px; }
.accordion__desc { margin-bottom: 20px; font-size: 0.98rem; color: var(--text-gray); }

.accordion__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 22px;
}
.accordion__grid h4 { font-size: 0.95rem; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--dark-blue); }
.accordion__grid h4 i { color: var(--green); }
.accordion__grid ul li { font-size: 0.92rem; color: var(--text-gray); padding: 5px 0 5px 18px; position: relative; }
.accordion__grid ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary-blue);
}

.accordion__meta { display: flex; flex-wrap: wrap; gap: 10px; }
.accordion__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-blue);
  background: #eaf1ff;
  padding: 8px 14px;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .courses { padding: 72px 0; }
}
@media (max-width: 640px) {
  .accordion__grid { grid-template-columns: 1fr; gap: 18px; }
  .accordion__trigger { padding: 18px 16px; gap: 12px; }
  .accordion__panel-inner { padding: 0 16px 22px 16px; }
  .accordion__title { font-size: 1rem; }
  .accordion__icon { width: 38px; height: 38px; font-size: 1rem; }
}

/* ---------------------------------------------------------------------
   9. BOARDS
   --------------------------------------------------------------------- */
/* =========================================================
   INTERNATIONAL CURRICULUMS — 7 IN ONE ROW
   ========================================================= */

.boards__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  align-items: start;
}

/* No item should move to another row */
.board-card:nth-child(6),
.board-card:nth-child(7) {
  grid-column: auto;
}

/* Equal image boxes */
.board-card__image {
  width: 100%;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

/* Equal image sizing */
.board-card__image img {
  width: 100%;
  height: 100%;
  max-width: 115px;
  max-height: 82px;
  object-fit: contain;
  display: block;
}

/* Equal board-name area */
.board-card__name {
  width: 100%;
  min-height: 55px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.board-card__name h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
}

.board-card__name span {
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.3;
}


/* Tablet */
@media (max-width: 1024px) {
  .boards__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}


/* Mobile */
@media (max-width: 650px) {
  .boards__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .board-card__image {
    height: 105px;
  }

  .board-card__image img {
    max-width: 120px;
    max-height: 78px;
  }
}
/* ---------------------------------------------------------------------
   10. TESTIMONIALS CAROUSEL
   --------------------------------------------------------------------- */
.testimonials {
  padding: 72px 0;
  background: linear-gradient(180deg, var(--white) 0%, #eef4ff 100%);
  position: relative;
}

.testimonial-carousel { position: relative; max-width: 1100px; margin: 0 auto; }
.testimonial-viewport { overflow: hidden; border-radius: var(--radius-lg); }

.testimonial-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
  cursor: grab;
}
.testimonial-track.is-dragging { transition: none; cursor: grabbing; }

.testimonial-card { flex: 0 0 33.3333%; max-width: 33.3333%; padding: 12px 24px; display: flex; }

.testimonial-card__inner {
  position: relative;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.8);
 
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover .testimonial-card__inner { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.testimonial-card__header { display: flex; align-items: center; gap: 14px; }
.testimonial-card__avatar {
  width: 54px; height: 54px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--green));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  overflow: hidden;
}
.testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.testimonial-card__id h3 { font-size: 1rem; margin-bottom: 4px; }
.testimonial-card__country { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--text-gray); }

.testimonial-card__course {
  display: inline-block;
  width: fit-content;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-blue);
  background: #eaf1ff;
  padding: 6px 12px;
  border-radius: 999px;
}

/* Parent / Student role badge shown alongside the reviewer's course tag */
.testimonial-card__role {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-dark);
  background: var(--light-green);
  padding: 5px 12px;
  border-radius: 999px;
}
.testimonial-card__tags { display: flex; flex-wrap: wrap; gap: 8px; }

.testimonial-card__rating { color: #f59e0b; font-size: 0.9rem; display: flex; gap: 4px; }
.testimonial-card__review { font-size: 0.94rem; color: var(--text-dark); line-height: 1.7; flex: 1; }

/* Arrows */
.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  box-shadow: var(--shadow-lg);
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}
.testimonial-carousel:hover .testimonial-arrow,
.testimonial-arrow:focus-visible { opacity: 1; visibility: visible; }
.testimonial-arrow:hover { background: var(--primary-blue); color: var(--white); transform: translateY(-50%) scale(1.08); }
.testimonial-arrow--prev { left: -24px; }
.testimonial-arrow--next { right: -24px; }

/* Pagination dots */
.testimonial-dots { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 30px; }
.testimonial-dots button { width: 10px; height: 10px; border-radius: 50%; background: var(--border); transition: background var(--transition), transform var(--transition), width var(--transition); }
.testimonial-dots button:hover { background: #b9c6f0; }
.testimonial-dots button.is-active { background: var(--primary-blue); width: 26px; border-radius: 999px; }

@media (max-width: 992px) {
  .testimonial-card { flex: 0 0 50%; max-width: 50%; }
  .testimonial-arrow--prev { left: 4px; }
  .testimonial-arrow--next { right: 4px; }
}
@media (max-width: 768px) {
  .testimonials { padding: 56px 0; }
  .testimonial-card { flex: 0 0 100%; max-width: 100%; padding: 8px 8px; }
  .testimonial-card__inner { padding: 26px 20px; }
  .testimonial-arrow { display: none; }
}

/* ---------------------------------------------------------------------
   11. CALL TO ACTION
   --------------------------------------------------------------------- */
.cta {
  padding: 100px 0;
  background: linear-gradient(120deg, #06318f 0%, #0d5aa0 55%, #109d58 130%);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 55%);
}

.cta__inner { position: relative; text-align: center; max-width: 620px; margin: 0 auto; }
.cta h2 { color: var(--white); font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.cta p { color: rgba(255, 255, 255, 0.9); font-size: 1.1rem; margin-bottom: 36px; }
.cta__actions { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .cta { padding: 72px 0; }
  .cta__actions { flex-direction: column; align-items: stretch; }
  .cta__actions .btn { justify-content: center; }
}

/* ---------------------------------------------------------------------
   12. FOOTER
   --------------------------------------------------------------------- */
.footer-logo { 
   width:150px;
  height:80px;
  object-fit:contain;
  display:block;
 }

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--color-border);
  padding: 4.5rem 0 2.5rem;
  opacity: 0;
  transform: translateY(16px);
  animation: footerFadeIn 0.7s ease-out forwards;
}
@keyframes footerFadeIn { to { opacity: 1; transform: translateY(0); } }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  gap: 32px;
}
.footer-col { margin-bottom: 2.5rem; }

.footer-desc {
  color: var(--color-text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
  max-width: 320px;
  margin: 0 0 1.6rem;
}

.social-icons { display: flex; flex-wrap: wrap; gap: 0.7rem; list-style: none; padding: 0; margin: 0; }
.social-icons a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.social-icons a:hover,
.social-icons a:focus-visible { color: var(--color-white); transform: translateY(-4px) scale(1.06); box-shadow: var(--shadow-md); }
.social-icons .sf-facebook:hover  { background: #1877f2; }
.social-icons .sf-instagram:hover { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-icons .sf-linkedin:hover  { background: #0a66c2; }
.social-icons .sf-youtube:hover   { background: #ff0000; }
.social-icons .sf-whatsapp:hover  { background: #25d366; }

.footer-heading { font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; color: var(--color-text); margin: 0 0 1.4rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.85rem; }
.footer-links a { color: var(--color-text-muted); text-decoration: none; font-size: 0.94rem; position: relative; display: inline-block; padding-bottom: 2px; transition: color 0.3s ease; }
.footer-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0%; height: 1.5px; background: var(--color-primary-light); transition: width 0.3s ease; }
.footer-links a:hover, .footer-links a:focus-visible, .footer-links a.is-active { color: var(--color-primary-dark); }
.footer-links a:hover::after, .footer-links a:focus-visible::after, .footer-links a.is-active::after { width: 100%; }

.contact-list { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.contact-list li { display: flex; align-items: flex-start; gap: 0.7rem; margin-bottom: 1rem; font-size: 0.92rem; color: var(--color-text-muted); line-height: 1.5; }
.contact-list i { color: var(--color-primary); background: var(--color-bg-alt); width: 32px; height: 32px; min-width: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; }

.btn-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--gradient-primary);
  color: var(--color-white);
  border: none;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(6, 49, 143, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  width: 100%;
  max-width: 260px;
}
.btn-demo:hover, .btn-demo:focus-visible {
  opacity: 0.92;
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(4, 31, 92, 0.35);
  color: var(--color-white);
}

.footer-divider { border: none; border-top: 1px solid var(--color-border); margin: 1rem 0 0; }

.footer-bottom {
  padding: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.copyright { margin: 0; }

.footer-bottom-links { display: flex; gap: 1.6rem; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.footer-bottom-links a { color: var(--color-text-muted); text-decoration: none; position: relative; padding-bottom: 2px; transition: color 0.3s ease; }
.footer-bottom-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0%; height: 1.5px; background: var(--color-primary-light); transition: width 0.3s ease; }
.footer-bottom-links a:hover, .footer-bottom-links a:focus-visible, .footer-bottom-links a.is-active { color: var(--color-primary-dark); }
.footer-bottom-links a:hover::after, .footer-bottom-links a:focus-visible::after, .footer-bottom-links a.is-active::after { width: 100%; }

@media (min-width: 1400px) {
  .footer-desc { max-width: 360px; }
}
@media (max-width: 991.98px) {
  .site-footer { padding-top: 3.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col { margin-bottom: 2.25rem; }
  .footer-bottom { flex-direction: column; align-items: flex-end; text-align: right; }
  .footer-bottom .copyright { width: 100%; text-align: right; }
  .footer-bottom-links { width: 100%; justify-content: flex-end; text-align: right; }
}
@media (max-width: 767.98px) {
  .site-footer { padding-top: 3rem; text-align: left; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .footer-col { text-align: left; }
  .footer-links { text-align: left; }
  .social-icons { justify-content: flex-start; }
  .footer-desc { max-width: 100%; margin-left: 0; margin-right: 0; }
  .contact-list li { justify-content: flex-start; }
  .footer-bottom-links { gap: 1.2rem; }
}
@media (max-width: 575.98px) {
  .site-footer { padding-top: 2.5rem; }
  .footer-col { margin-bottom: 2rem; }
  .footer-heading { font-size: 0.98rem; margin-bottom: 1.1rem; }
  .social-icons a { width: 38px; height: 38px; }
  .btn-demo { width: 100%; max-width: 100%; }
  .footer-bottom { font-size: 0.8rem; }
  .footer-bottom-links { gap: 1rem; flex-direction: column; }
}
@media (max-width: 359.98px) {
  .footer-desc { font-size: 0.9rem; }
  .contact-list li { font-size: 0.88rem; }
}

/* ---------------------------------------------------------------------
   13. BACK TO TOP BUTTON
   --------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: calc(24px + env(safe-area-inset-right, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  background: var(--gradient-primary);
  color: var(--color-white);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, box-shadow 0.25s ease;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.back-to-top:hover, .back-to-top:focus-visible { transform: translateY(-4px) scale(1.05); box-shadow: 0 18px 40px rgba(6, 49, 143, 0.32); }
.back-to-top:active { transform: translateY(-1px) scale(0.97); }

@media (max-width: 900px) {
  .back-to-top { width: 46px; height: 46px; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); font-size: 1rem; }
}
@media (max-width: 480px) {
  .back-to-top { width: 42px; height: 42px; right: calc(14px + env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); font-size: 0.92rem; }
}
@media (max-width: 380px) {
  .back-to-top { width: 38px; height: 38px; right: calc(12px + env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); font-size: 0.85rem; }
}

/* ---------------------------------------------------------------------
   14. SCROLL REVEAL ANIMATION
   --------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------------------
   15. ACCESSIBILITY & MOTION
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .site-footer { animation: none; opacity: 1; transform: none; }
  .back-to-top { transition: opacity 0.2s ease, visibility 0.2s ease; }
}

/* ---------------------------------------------------------------------
   16. GLOBAL RESPONSIVE BREAKPOINTS
   --------------------------------------------------------------------- */
@media (min-width: 1600px) {
  .container, .section-container { max-width: 1320px; }
}

@media (max-width: 1200px) and (min-width: 1025px) {
  .hero__inner { gap: 44px; }
}

@media (max-width: 400px) {
  .container, .section-container { padding: 0 16px; }
  .eyebrow, .section-tag { font-size: 0.78rem; padding: 6px 12px; }
  .cta h2 { font-size: 1.5rem; }
}

@media (max-width: 340px) {
  .btn { padding: 12px 20px; font-size: 0.85rem; }
}

/* ===================== NEW CONTENT: HERO SERVING LINE ===================== */
.hero__serve{display:flex;flex-direction:column;gap:6px;max-width:560px;color:var(--text-gray);font-size:.9rem}
.hero__serve strong{color:var(--dark-blue);font-family:var(--font-display)}
.hero__serve span{line-height:1.7}

/* ===================== SUBJECT TAGS ===================== */
.subject-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.subject-list span{display:inline-flex;align-items:center;padding:9px 13px;border:1px solid var(--color-border);border-radius:10px;background:var(--color-bg-soft);color:var(--color-text);font-size:.86rem;font-weight:500;transition:transform var(--transition),background var(--transition),border-color var(--transition)}
.subject-list span:hover{transform:translateY(-2px);background:var(--color-bg-alt);border-color:#c5d8f5}

/* ===================== WHAT WE OFFER ===================== */
.offers{padding:96px 0;background:var(--color-bg-soft)}
.offers__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.offer-card{background:var(--color-white);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:30px;box-shadow:var(--shadow-sm);transition:transform var(--transition),box-shadow var(--transition)}
.offer-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-md)}
.offer-card__icon{width:52px;height:52px;display:grid;place-items:center;border-radius:14px;background:var(--color-bg-alt);color:var(--primary-blue);font-size:1.2rem;margin-bottom:20px}
.offer-card h3{font-size:1.25rem;margin-bottom:18px}
.offer-card ul{display:flex;flex-direction:column;gap:11px;margin-bottom:26px}
.offer-card li{position:relative;padding-left:22px;color:var(--text-gray);font-size:.92rem}
.offer-card li::before{content:'✓';position:absolute;left:0;color:var(--green);font-weight:700}
.offer-card .btn{width:100%;justify-content:center}
.nav-item.has-dropdown .nav-dropdown-item{min-height:48px}
@media (max-width:900px){.hero__serve{font-size:.82rem}.offers{padding:72px 0}.offers__grid{grid-template-columns:1fr}.offer-card{padding:24px}}