/*
Theme Name: Leap 2 Learn Bolton Theme
Theme URI: https://leap2learnbolton.uk
Author: Leap 2 Learn Bolton Ltd
Description: Premium corporate theme for Leap 2 Learn Bolton LTD (15085088). British Council Certified.
Version: 4.1.0
Text Domain: leap2learn-theme
*/
/*
 * CHANGELOG v4.0.0 — Elite White Corporate Redesign
 * ─────────────────────────────────────────────────────────────────
 * MAJOR OVERHAUL — Prompted by full design specification
 * 1. Global background changed from dark navy to Pure White (#FFFFFF)
 * 2. Typography: Plus Jakarta Sans (Google Fonts) replaces system font
 * 3. Font sizes increased site-wide: h1 48-56px, h2 32-36px, h3 22-24px, body 16-18px
 * 4. Transparent/overlay header on hero pages; white sticky header on scroll
 * 5. Services section: white background, video media element, 4-card grid
 * 6. City cards: dark overlay default (rgba 0,0,0,0.55), clear on hover + scale
 * 7. Why Choose Us: teal checkmark icons, video right column
 * 8. Director's Message: 3D CSS tilt hover on photo frame
 * 9. Application form: white canvas, navy header banner, clean gray border inputs
 * ─────────────────────────────────────────────────────────────────
 */

html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }

/* ═══════════════════════════════════════════════════════════
   BRAND TOKENS
   ═══════════════════════════════════════════════════════════ */
:root {
  --navy:       #0B2545;
  --navy-2:     #0F2537;
  --navy-3:     #0A1B29;
  --navy-4:     #060D14;
  --teal:       #00A896;
  --teal-light: #70C1B3;
  --teal-deep:  #006666;
  --white:      #FFFFFF;
  --off-white:  #F8F9FA;
  --charcoal:   #1A202C;
  --body-bg:    #FFFFFF;
  --border-light: #EAEAEA;
  --border-gray:  #D1D5DB;
  --text-dark:  #0B2545;
  --text-muted: #64748B;
  --text-light: #94A3B8;
}

/* ═══════════════════════════════════════════════════════════
   GLOBAL BASE — White canvas, Plus Jakarta Sans
   ═══════════════════════════════════════════════════════════ */
html { background: var(--white); }
body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY HIERARCHY (v4.0 — Increased + Premium)
   ═══════════════════════════════════════════════════════════ */
h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(48px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}
h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text-dark);
}
h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
}
h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}
p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════
   SITE-WIDE CONTENT PROTECTION
   ═══════════════════════════════════════════════════════════ */
body {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  -webkit-touch-callout: none;
}
input, textarea, select, [contenteditable="true"] {
  -webkit-user-select: text;
     -moz-user-select: text;
      -ms-user-select: text;
          user-select: text;
}

/* ═══════════════════════════════════════════════════════════
   PRELOADER
   ═══════════════════════════════════════════════════════════ */
#l2l-preloader {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(15, 23, 42, 0.92);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.25rem;
  transition: opacity 0.38s ease;
}
#l2l-preloader.fade-out { opacity: 0; pointer-events: none; }
.l2l-loader-wordmark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 1.1rem; color: #fff; letter-spacing: 0.01em;
}
.l2l-loader-wordmark span { color: #00A896; }
.l2l-loader-ring {
  width: 44px; height: 44px;
  border: 3px solid rgba(0,168,150,0.18);
  border-top-color: #00A896;
  border-radius: 50%;
  animation: l2l-spin 0.75s linear infinite;
}
@keyframes l2l-spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════════════════ */
.l2l-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
  backface-visibility: hidden;
}
.l2l-reveal.is-visible { opacity: 1 !important; transform: translateY(0) !important; }

.l2l-reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.62s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.62s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
  backface-visibility: hidden;
}
.l2l-reveal-left.is-visible { opacity: 1 !important; transform: translateX(0) !important; }

.l2l-reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.62s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.62s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
  backface-visibility: hidden;
}
.l2l-reveal-right.is-visible { opacity: 1 !important; transform: translateX(0) !important; }

.l2l-stagger > * {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.50s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.50s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform; backface-visibility: hidden;
}
.l2l-stagger.is-visible > *:nth-child(1)   { opacity:1!important; transform:none!important; transition-delay:0.03s; }
.l2l-stagger.is-visible > *:nth-child(2)   { opacity:1!important; transform:none!important; transition-delay:0.09s; }
.l2l-stagger.is-visible > *:nth-child(3)   { opacity:1!important; transform:none!important; transition-delay:0.15s; }
.l2l-stagger.is-visible > *:nth-child(4)   { opacity:1!important; transform:none!important; transition-delay:0.21s; }
.l2l-stagger.is-visible > *:nth-child(5)   { opacity:1!important; transform:none!important; transition-delay:0.27s; }
.l2l-stagger.is-visible > *:nth-child(6)   { opacity:1!important; transform:none!important; transition-delay:0.33s; }
.l2l-stagger.is-visible > *:nth-child(7)   { opacity:1!important; transform:none!important; transition-delay:0.39s; }
.l2l-stagger.is-visible > *:nth-child(8)   { opacity:1!important; transform:none!important; transition-delay:0.45s; }
.l2l-stagger.is-visible > *:nth-child(n+9) { opacity:1!important; transform:none!important; transition-delay:0.51s; }

/* ═══════════════════════════════════════════════════════════
   NAVIGATION — Transparent + Sticky White
   ═══════════════════════════════════════════════════════════ */

/* Default: transparent overlay (home page hero) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: transparent !important;
  border-bottom: 1px solid transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

/* Nav links are white when header is transparent (over hero) */
.site-header .nav-link {
  color: rgba(255,255,255,0.92) !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.22s ease, border-color 0.22s ease;
}
.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: #00A896 !important;
  border-bottom-color: #00A896 !important;
}

/* Scrolled / white header state — .is-scrolled (JS class), .scrolled (legacy), .header-white (non-hero pages) */
.site-header.is-scrolled,
.site-header.scrolled,
.site-header.header-white {
  background-color: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid #E2E8F0 !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06) !important;
}
.site-header.is-scrolled .nav-link,
.site-header.scrolled .nav-link,
.site-header.header-white .nav-link {
  color: #0B2545 !important;
}
.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link.active,
.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active,
.site-header.header-white .nav-link:hover,
.site-header.header-white .nav-link.active {
  color: #00A896 !important;
  border-bottom-color: #00A896 !important;
}

/* Logo inversion: white when transparent, normal when white */
.site-header .l2l-header-logo {
  filter: brightness(0) invert(1);
  transition: filter 0.35s ease;
}
.site-header.is-scrolled .l2l-header-logo,
.site-header.scrolled .l2l-header-logo,
.site-header.header-white .l2l-header-logo {
  filter: none !important;
}

/* Caption text colour */
.site-header .l2l-header-logo-caption span {
  color: rgba(255,255,255,0.9) !important;
}
.site-header.is-scrolled .l2l-header-logo-caption span:first-child,
.site-header.scrolled .l2l-header-logo-caption span:first-child,
.site-header.header-white .l2l-header-logo-caption span:first-child {
  color: #0B2545 !important;
}
.site-header.is-scrolled .l2l-header-logo-caption span:last-child,
.site-header.scrolled .l2l-header-logo-caption span:last-child,
.site-header.header-white .l2l-header-logo-caption span:last-child {
  color: #475569 !important;
}

/* Hamburger icon */
.site-header #hamburger-btn {
  color: rgba(255,255,255,0.9) !important;
}
.site-header.is-scrolled #hamburger-btn,
.site-header.scrolled #hamburger-btn,
.site-header.header-white #hamburger-btn {
  color: #0B2545 !important;
}

/* Apply Now button — enlarged per spec */
.nav-apply-btn {
  display: inline-block;
  padding: 0.8rem 2rem; border-radius: 0.75rem;
  background: #00A896; color: #FFFFFF !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem; font-weight: 800; letter-spacing: 0.02em;
  text-decoration: none;
  transition: box-shadow 0.28s ease, transform 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 4px 18px rgba(0,168,150,0.45);
  white-space: nowrap;
  transform: scale(1.05);
}
.nav-apply-btn:hover {
  background-color: #009688;
  box-shadow: 0 0 26px 8px rgba(0,168,150,0.60);
  transform: scale(1.08) translateY(-2px);
  color: #FFFFFF !important;
}

/* Mobile nav */
.mobile-nav-link {
  display: block; padding: 0.65rem 0.5rem; border-radius: 0.5rem;
  color: #0B2545 !important; font-size: 0.9rem; font-weight: 600; text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}
.mobile-nav-link:hover { background: rgba(0,168,150,0.1); color: #00A896 !important; }

/* Mobile drawer always light regardless of scroll state */
.site-header #mobile-menu .mobile-nav-link { color: #0B2545 !important; }
.site-header #mobile-menu .mobile-nav-link:hover { color: #00A896 !important; }
.site-header #mobile-menu .l2l-mobile-apply-btn {
  color: #0B2545 !important;
  background-color: #00A896 !important;
}

/* Header logo sizing */
.l2l-header-logo-link { min-width: 0; }
.l2l-header-logo { max-height: 60px; width: auto; }
@media (max-width: 640px) {
  .l2l-header-logo { max-height: 40px; }
  .l2l-header-logo-caption { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   BASE CARD
   ═══════════════════════════════════════════════════════════ */
.l2l-card {
  position: relative; overflow: hidden; isolation: isolate;
  border: 1.5px solid var(--border-light); border-radius: 1rem;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform, box-shadow;
}
.l2l-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 60%);
  z-index: 0; pointer-events: none;
}
.l2l-card:hover {
  border-color: #00A896;
  box-shadow: 0 14px 28px rgba(0,0,0,0.08), 0 10px 10px rgba(0,0,0,0.06), 0 16px 48px rgba(0,168,150,0.14);
  transform: translateY(-6px) scale(1.01);
}
.l2l-card-dark  { border-color: rgba(0,168,150,0.20) !important; }
.l2l-card-dark:hover { border-color: #00A896 !important; }
.l2l-card-accent-1 { border-left: 3px solid #00A896 !important; }
.l2l-card-accent-2 { border-left: 3px solid rgba(32,196,180,0.85) !important; }

/* ═══════════════════════════════════════════════════════════
   PASTEL CARD PALETTE
   ═══════════════════════════════════════════════════════════ */
.l2l-pastel-grid > :nth-child(4n + 1),
.service-card:nth-child(4n + 1),
.course-card:nth-child(4n + 1),
.course-pop-card:nth-child(4n + 1) {
  background: #FFF7D6 !important;
}
.l2l-pastel-grid > :nth-child(4n + 2),
.service-card:nth-child(4n + 2),
.course-card:nth-child(4n + 2),
.course-pop-card:nth-child(4n + 2) {
  background: #EAF7EE !important;
}
.l2l-pastel-grid > :nth-child(4n + 3),
.service-card:nth-child(4n + 3),
.course-card:nth-child(4n + 3),
.course-pop-card:nth-child(4n + 3) {
  background: #FFF0E3 !important;
}
.l2l-pastel-grid > :nth-child(4n + 4),
.service-card:nth-child(4n + 4),
.course-card:nth-child(4n + 4),
.course-pop-card:nth-child(4n + 4) {
  background: #E5F7F4 !important;
}
.l2l-pastel-grid .text-white,
.l2l-pastel-grid .text-gray-300,
.l2l-pastel-grid .text-gray-400 {
  color: #334155 !important;
}
.l2l-pastel-grid h3,
.l2l-pastel-grid h3.text-white {
  color: #0B2545 !important;
}

/* ═══════════════════════════════════════════════════════════
   SERVICES SECTION — White background, minimalist service cards
   ═══════════════════════════════════════════════════════════ */
.service-card {
  background: #ffffff;
  border: 1px solid #EAEAEA;
  border-radius: 14px;
  padding: 2rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
  box-shadow: 0 12px 40px rgba(0,168,150,0.12);
  transform: translateY(-5px);
  border-color: #00A896;
}
.service-card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(0,168,150,0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.25s ease;
}
.service-card:hover .service-card-icon {
  background: #00A896;
}
.service-card:hover .service-card-icon svg {
  stroke: #ffffff;
}
.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0B2545;
  margin-bottom: 0.5rem;
}
.service-card p {
  font-size: 15px;
  color: #64748B;
  line-height: 1.65;
  margin: 0;
}

/* Services video container */
.service-video-wrap {
  width: 100%; height: 460px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #0B2545;
  box-shadow: 0 24px 64px rgba(11,37,69,0.18);
}
.service-video-wrap video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.l2l-lazy-video {
  background: #0B2545;
}

/* ═══════════════════════════════════════════════════════════
   CITY CARD HOVER — Dark overlay default, clear + zoom on hover
   ═══════════════════════════════════════════════════════════ */
.city-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: default;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.city-card:hover {
  transform: scale(1.04);
  box-shadow: 0 20px 50px rgba(0,0,0,0.40);
}

/* Image underneath */
.city-card-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.city-card:hover .city-card-img {
  transform: scale(1.05);
}

/* Dark overlay — active BY DEFAULT, fades away on hover */
.city-card-overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.55);
  transition: background 0.4s ease;
}
.city-card:hover .city-card-overlay {
  background: rgba(0, 0, 0, 0);
}

/* City icon + caption */
.city-card-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.25rem 1rem 1rem;
  text-align: center;
  background: linear-gradient(to top, rgba(7,17,33,0.90) 0%, transparent 100%);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.city-card:hover .city-card-caption {
  transform: translateY(-4px);
}

/* SVG city icon — single-colour, no emoji */
.city-card-icon {
  display: block;
  margin: 0 auto 6px;
  width: 32px; height: 32px;
  stroke: #ffffff;
  fill: none;
  transition: stroke 0.3s ease;
}
.city-card:hover .city-card-icon {
  stroke: #00A896;
}
.city-card-name {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.city-card-underline {
  display: block;
  width: 0;
  height: 2px;
  margin: 6px auto 0;
  background: #00A896;
  border-radius: 2px;
  transition: width 0.3s ease;
}
.city-card:hover .city-card-underline {
  width: 2rem;
}

/* ═══════════════════════════════════════════════════════════
   WHY CHOOSE US — Teal checkmarks
   ═══════════════════════════════════════════════════════════ */
.advantage-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #F1F5F9;
}
.advantage-row:last-child { border-bottom: none; }
.advantage-check {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #00A896;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.advantage-check svg {
  width: 16px; height: 16px;
  stroke: #ffffff;
  fill: none;
}
.advantage-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #0B2545;
  margin-bottom: 2px;
}
.advantage-desc {
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}

/* Why Choose Us — video box: stretches to full column height */
.why-video-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #0B2545;
  box-shadow: 0 28px 72px rgba(11,37,69,0.20);
  height: 100%;
  min-height: 520px;
}
.why-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}
/* Play button overlay */
.why-video-play-overlay {
  position: absolute;
  inset: 0;
  display: none; /* video autoplays — no overlay needed */
  align-items: center;
  justify-content: center;
  background: rgba(11,37,69,0.18);
  transition: background 0.3s ease;
  border-radius: inherit;
}
.why-video-play-overlay:hover {
  background: rgba(11,37,69,0.10);
}
.why-play-btn {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #00A896;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  box-shadow: 0 8px 28px rgba(0,168,150,0.45);
}
.why-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 36px rgba(0,168,150,0.6);
}
.why-play-btn svg {
  width: 28px; height: 28px;
  fill: #ffffff;
  margin-left: 4px;
}

/* ═══════════════════════════════════════════════════════════
   DIRECTOR'S MESSAGE — 3D Photo Frame Hover
   ═══════════════════════════════════════════════════════════ */
.director-section {
  background: #F8F9FA;
}
.director-photo-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  transform-style: preserve-3d;
  will-change: transform;
  box-shadow: 0 20px 60px rgba(11,37,69,0.18);
}
.director-photo-frame:hover {
  transform: rotate(-3deg) scale(1.03) translateY(-6px);
  box-shadow: 0 36px 80px rgba(11,37,69,0.28);
}
.director-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.director-quote {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  line-height: 1.65;
  color: #0B2545;
  font-style: italic;
  position: relative;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
}
.director-quote::before { content: none; }
/* Inline typographic quotation marks */
.director-quote-open,
.director-quote-close {
  font-size: 2.8rem;
  font-weight: 900;
  font-style: normal;
  color: #00A896;
  line-height: 0;
  vertical-align: -0.45em;
  margin-right: 0.05em;
}
.director-quote-close {
  margin-right: 0;
  margin-left: 0.05em;
  vertical-align: -0.45em;
}
.director-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #0B2545;
  margin-top: 1.5rem;
}
.director-title {
  font-size: 14px;
  color: #64748B;
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════
   APPLICATION FORM — White canvas, navy header, clean inputs
   ═══════════════════════════════════════════════════════════ */
.apply-form-wrapper {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(11,37,69,0.10), 0 1px 3px rgba(0,0,0,0.06);
}
.apply-form-header {
  background: #0B2545;
  padding: 2rem 2.5rem;
}
.apply-form-header h2 {
  color: #ffffff !important;
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 4px;
}
.apply-form-header p {
  color: rgba(255,255,255,0.70);
  font-size: 14px;
  margin: 0;
}
.apply-form-body {
  padding: 2.5rem;
}

/* Clean inputs — v4.0 */
.l2l-input {
  width: 100%;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  background: #ffffff;
  border: 1px solid #D1D5DB;
  color: #0B2545;
}
.l2l-input:focus {
  border-color: #00A896;
  box-shadow: 0 0 0 3px rgba(0,168,150,0.12);
}
.l2l-input::placeholder { color: #94A3B8; }

.l2l-select {
  width: 100%;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  background: #ffffff;
  border: 1px solid #D1D5DB;
  color: #0B2545;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%2364748B' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 2.5rem;
}
.l2l-select:focus {
  border-color: #00A896;
  box-shadow: 0 0 0 3px rgba(0,168,150,0.12);
}

.l2l-file-input {
  width: 100%;
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  background: #F8F9FA;
  border: 1px dashed #D1D5DB;
  color: #64748B;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.l2l-file-input:hover {
  border-color: #00A896;
  background: rgba(0,168,150,0.04);
}

/* Form field labels — v4.0 */
.l2l-label {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #0B2545;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

/* Fieldset legend — v4.0 */
.apply-form-body fieldset legend {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #0B2545 !important;
  border-bottom: 1px solid #EAEAEA !important;
}

/* Submit button — default ALWAYS visible: teal bg + white text */
.apply-submit-btn {
  width: 100%;
  padding: 1.1rem;
  border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: #00A896 !important;
  color: #ffffff !important;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 24px rgba(0,168,150,0.38);
}
.apply-submit-btn:hover {
  background: #0B2545 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(11,37,69,0.32);
}

/* ═══════════════════════════════════════════════════════════
   STATS BAR — Glassmorphic floating white
   ═══════════════════════════════════════════════════════════ */
.premium-stats-bar {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.stat-item {
  transition: transform 0.25s ease;
}
.stat-item:hover { transform: translateY(-3px); }
.stat-number,
.l2l-stat-counter {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #0B2545 !important;
  background-clip: unset !important;
  color: #0B2545 !important;
  font-size: 2.5rem !important;
  font-weight: 900 !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
#stats-bar-section {
  background: #FFFFFF !important;
  border-bottom: none !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

/* ═══════════════════════════════════════════════════════════
   COURSES — Popular Courses Section
   ═══════════════════════════════════════════════════════════ */
.popular-courses-title {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.popular-courses-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 72px; height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #00A896 0%, #70C1B3 100%);
}
.course-pop-card {
  text-decoration: none !important;
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow  0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
              border-color 0.28s ease !important;
  will-change: transform, box-shadow;
}
.course-pop-card:hover {
  transform: translateY(-10px) scale(1.025) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.18), 0 0 0 1.5px #00A896, 0 20px 56px rgba(0,168,150,0.16) !important;
  border-color: #00A896 !important;
}
.course-pop-card:hover .course-pop-title {
  color: #70C1B3 !important;
}
.course-pop-title {
  color: #0B2545 !important;
}
.course-pop-rating {
  color: #F59E0B;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 0.18em;
  text-shadow: 0 1px 0 rgba(255,255,255,0.65);
}
.course-pop-body {
  min-height: 116px;
}
.course-pop-img {
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}
.course-pop-card:hover .course-pop-img {
  transform: scale(1.07);
}

/* ═══════════════════════════════════════════════════════════
   RIPPLE CTA BUTTON
   ═══════════════════════════════════════════════════════════ */
.l2l-ripple-btn {
  position: relative;
  overflow: hidden;
  transition: background-color 0.35s ease, box-shadow 0.35s ease,
              transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 24px rgba(0,168,150,0.38);
}
.l2l-ripple-btn:hover {
  background-color: #70C1B3 !important;
  box-shadow: 0 12px 36px rgba(0,168,150,0.55) !important;
  transform: translateY(-3px) scale(1.03);
}
.l2l-ripple-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.22) 0%, transparent 70%);
  transform: scale(0); opacity: 0;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
  pointer-events: none; border-radius: inherit;
}
.l2l-ripple-btn:hover::before { transform: scale(2.5); opacity: 1; }
.l2l-ripple-arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.l2l-ripple-btn:hover .l2l-ripple-arrow { transform: translateX(6px); }
.l2l-ripple-btn, .l2l-ripple-btn * { pointer-events: auto !important; cursor: pointer !important; }
.course-pop-card, .course-pop-card * { pointer-events: auto !important; }

/* ═══════════════════════════════════════════════════════════
   UNIVERSITY PARTNERS CAROUSEL
   ═══════════════════════════════════════════════════════════ */
.logo-carousel-wrapper {
  overflow: hidden; position: relative; width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.logo-carousel-track {
  display: flex; width: max-content;
  animation: logo-scroll 55s linear infinite; gap: 0;
}
.logo-carousel-track:hover { animation-play-state: paused; }
@keyframes logo-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.logo-carousel-item {
  flex-shrink: 0; width: 300px; height: 150px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 36px; margin: 0 14px;
  background: white; border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 2px 10px rgba(11,34,64,0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.logo-carousel-item:hover {
  box-shadow: 0 10px 28px rgba(0,168,150,0.22);
  transform: translateY(-3px);
}
.logo-carousel-item img {
  max-width: 100%; max-height: 112px; width: auto; height: auto;
  object-fit: contain; filter: grayscale(0%);
  transition: filter 0.25s ease, transform 0.25s ease;
}

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════ */
.google-review-box {
  background: linear-gradient(145deg, #16344A 0%, #0F2537 100%);
  border: 1.5px solid rgba(0,168,150,0.35);
  border-radius: 20px; padding: 2.75rem 2.5rem;
  height: 100%; min-height: 100%;
  display: flex; flex-direction: column; justify-content: center; gap: 0.25rem;
}
.google-stars { display: flex; gap: 4px; }
.google-star { color: #FBBC04; font-size: 24px; line-height: 1; }
.google-review-btn {
  display: inline-block; width: 100%;
  padding: 0.9rem 1.5rem; border-radius: 12px;
  background: #185ABC; color: #ffffff;
  font-weight: 700; font-size: 0.95rem;
  text-align: center; text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 14px rgba(24,90,188,0.40);
}
.google-review-btn:hover {
  background: #1045a0;
  box-shadow: 0 6px 20px rgba(24,90,188,0.55);
  transform: translateY(-2px);
}
.testi-col { display: flex; flex-direction: column; justify-content: center; }
.testi-slider-wrapper { overflow: hidden; position: relative; display: block; transition: height 0.35s ease; }
.testi-slider-track { display: flex; align-items: flex-start; transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1); will-change: transform; }
.testi-card { flex-shrink: 0; width: 100%; padding: 0 4px; align-self: flex-start; }
.testi-card-inner {
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(0,168,150,0.20);
  border-radius: 18px; padding: 1.5rem;
  backdrop-filter: blur(8px);
  min-height: 0 !important;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: visible;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform, box-shadow;
}
.testi-card-inner:hover {
  border-color: rgba(0,168,150,0.5);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 14px 28px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.08), 0 8px 32px rgba(0,168,150,0.12);
}
.testi-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; flex-shrink: 0;
  background: #00A896; color: #0B2545;
}
.testi-nav-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(0,168,150,0.35);
  background: rgba(0,168,150,0.08); color: #00A896;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  font-size: 16px;
}
.testi-nav-btn:hover {
  background: #00A896; color: #0B2545; border-color: #00A896; transform: scale(1.08);
}

/* ═══════════════════════════════════════════════════════════
   NEWS / BLOG
   ═══════════════════════════════════════════════════════════ */
.news-card {
  background: white; border-radius: 16px; overflow: hidden;
  border: 1.5px solid rgba(0,0,0,0.07);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex; flex-direction: column;
}
.news-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 14px 28px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.08);
  border-color: #00A896;
}
.news-card-img { width: 100%; height: 220px; object-fit: cover; }
.news-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.news-tag {
  display: inline-block; padding: 0.2rem 0.7rem; border-radius: 20px;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; background: rgba(0,168,150,0.12);
  color: #00A896; margin-bottom: 0.75rem;
}
.news-title {
  font-size: 1.05rem; font-weight: 800; color: #0B2545;
  line-height: 1.4; margin-bottom: 0.5rem; text-decoration: none;
  display: block; transition: color 0.2s ease;
}
.news-title:hover { color: #00A896; }
.news-excerpt { color: #64748b; font-size: 0.875rem; line-height: 1.6; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 0.75rem; margin-top: 1rem; }
.news-meta-text { font-size: 0.75rem; color: #94a3b8; }
.news-read-more {
  display: inline-block; margin-top: 1rem; font-size: 0.8rem;
  font-weight: 700; color: #00A896; text-decoration: none;
  letter-spacing: 0.02em; transition: letter-spacing 0.2s ease;
}
.news-read-more:hover { letter-spacing: 0.06em; }

/* ═══════════════════════════════════════════════════════════
   CONTACT ICON
   ═══════════════════════════════════════════════════════════ */
.contact-icon-wrap {
  transition: box-shadow 0.35s ease, transform 0.25s ease;
}
.contact-icon-wrap:hover {
  transform: scale(1.08);
  box-shadow: 0 0 24px 8px rgba(0,168,150,0.45) !important;
}

/* ═══════════════════════════════════════════════════════════
   SOCIAL ICONS (Footer)
   ═══════════════════════════════════════════════════════════ */
.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,0.07); border: 1.5px solid rgba(255,255,255,0.12);
  color: #94a3b8; text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.social-link:hover {
  background: #00A896; border-color: #00A896; color: white;
  transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,168,150,0.45);
}
.social-link svg { width: 20px; height: 20px; fill: currentColor; }

/* ═══════════════════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════════════════ */
.l2l-pagination { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.l2l-pagination a,
.l2l-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  font-size: 0.875rem; font-weight: 600; text-decoration: none;
  border: 1.5px solid rgba(0,168,150,0.25); color: #00A896; background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}
.l2l-pagination a:hover { background: #00A896; color: #ffffff; border-color: #00A896; }
.l2l-pagination .current { background: #00A896; color: #ffffff; border-color: #00A896; }

/* ═══════════════════════════════════════════════════════════
   COURSES PAGE
   ═══════════════════════════════════════════════════════════ */
.filter-sidebar-sticky { position: sticky; top: 5rem; }
.filter-select {
  width: 100%; padding: 0.65rem 0.9rem; border-radius: 0.6rem;
  border: 1px solid #D1D5DB; background: #ffffff; color: #0B2545;
  font-size: 0.85rem; outline: none; transition: border-color 0.22s ease;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%2364748B' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; padding-right: 2.2rem;
}
.filter-select:focus { border-color: #00A896; }
.course-card {
  background: white; border-radius: 16px; overflow: hidden;
  border: 1.5px solid rgba(0,0,0,0.07);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform, box-shadow;
}
.course-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 14px 28px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.08);
  border-color: #00A896;
}
.course-card h3, .course-card .course-card-title {
  color: #0B2545 !important; font-weight: 700 !important;
  font-size: 0.875rem !important; line-height: 1.45 !important;
}
.course-card p.text-gray-400, .course-card p { color: #475569 !important; }

/* ═══════════════════════════════════════════════════════════
   HERO BACKGROUND
   ═══════════════════════════════════════════════════════════ */
#home-hero, #home-hero.relative {
  background-color: #0A1B29 !important;
  background-size: cover !important;
  background-position: center 30% !important;
  background-repeat: no-repeat !important;
  min-height: 500px !important;
}
#home-hero .l2l-hero-content,
#home-hero .l2l-hero-content *,
#home-hero > .relative[style*="z-index:3"] {
  opacity: 1 !important; visibility: visible !important; transform: none !important;
}

/* ═══════════════════════════════════════════════════════════
   HERO VIDEO BACKGROUND
   ═══════════════════════════════════════════════════════════ */
.l2l-hero-video-wrap {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; will-change: transform;
}
.l2l-hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; will-change: transform; backface-visibility: hidden;
}
.l2l-hero-video-tint {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(11,37,69,0.45); pointer-events: none;
}
@media (max-width: 768px) {
  .l2l-hero-video-wrap, .l2l-hero-video { display: none !important; }
  .l2l-hero-video-tint { background: rgba(11,37,69,0.42); }
}

/* ═══════════════════════════════════════════════════════════
   GDPR COOKIE CONSENT — CENTERED MODAL + BACKDROP
   ═══════════════════════════════════════════════════════════ */

/* Full-screen blur backdrop — sits behind the modal */
#l2l-cookie-overlay {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 99998;
  display: none;
}
#l2l-cookie-overlay.l2l-cookie-visible { display: block; }

/* Centered modal card */
#l2l-cookie-banner {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99999;
  width: 90%; max-width: 500px;
  background-color: #0f2133;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.5);
  text-align: center;
  display: none;
}
#l2l-cookie-banner.l2l-cookie-visible { display: block; }

.l2l-cookie-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 1.25rem;
}
.l2l-cookie-text {
  color: #ffffff; font-size: 1rem; font-weight: 500; line-height: 1.6; margin: 0;
}
.l2l-cookie-text a { color: #00A896; text-decoration: underline; font-weight: 700; }
.l2l-cookie-actions { display: flex; gap: 0.75rem; align-items: center; justify-content: center; flex-wrap: wrap; }
.l2l-cookie-btn {
  cursor: pointer; font-weight: 700;
  font-size: 0.875rem; letter-spacing: 0.02em;
  padding: 10px 24px; border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.l2l-cookie-btn-decline {
  background: transparent; color: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.l2l-cookie-btn-decline:hover { border-color: #ffffff; background: rgba(255,255,255,0.08); }
.l2l-cookie-btn-accept {
  background-color: #00cc99; color: #ffffff;
  font-weight: bold; border: none; margin-left: 15px;
}
.l2l-cookie-btn-accept:hover { background-color: #00b389; box-shadow: 0 0 22px 6px rgba(0,204,153,0.35); transform: translateY(-1px); }

/* ═══════════════════════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════════════════════ */
.l2l-acc-item {
  background: rgba(255,255,255,0.04); border: 1.5px solid rgba(0,168,150,0.18);
  border-radius: 1rem; overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.l2l-acc-item:hover { border-color: rgba(0,168,150,0.4); box-shadow: 0 14px 28px rgba(0,0,0,0.1); }
.l2l-acc-item[open] { border-color: #00A896; box-shadow: 0 10px 32px rgba(0,168,150,0.12); }
.l2l-acc-summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 22px; user-select: none; }
.l2l-acc-summary::-webkit-details-marker { display: none; }
.l2l-acc-icon { font-size: 20px; flex-shrink: 0; }
.l2l-acc-q { flex: 1; font-weight: 800; font-size: 15px; color: #fff; }
.l2l-acc-chevron { color: #00A896; font-size: 18px; transition: transform 0.3s ease; flex-shrink: 0; }
.l2l-acc-item[open] .l2l-acc-chevron { transform: rotate(180deg); }
.l2l-acc-body { padding: 0 22px 22px 22px; color: #9CA9BC; font-size: 14px; line-height: 1.7; }
.l2l-acc-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.l2l-acc-steps li { display: flex; align-items: flex-start; gap: 14px; }
.l2l-acc-step-num {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(0,168,150,0.15); border: 1.5px solid #00A896;
  color: #00A896; font-weight: 800; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.l2l-acc-steps li strong { color: #fff; }

/* ═══════════════════════════════════════════════════════════
   STAGGER ALTERNATING (Left/Right)
   ═══════════════════════════════════════════════════════════ */
.l2l-stagger-lr > * { opacity: 0; transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.l2l-stagger-lr > *:nth-child(odd)  { transform: translateX(-48px); }
.l2l-stagger-lr > *:nth-child(even) { transform: translateX(48px); }
.l2l-stagger-lr.is-visible > *:nth-child(1)   { opacity:1; transform:none; transition-delay:0.04s; }
.l2l-stagger-lr.is-visible > *:nth-child(2)   { opacity:1; transform:none; transition-delay:0.12s; }
.l2l-stagger-lr.is-visible > *:nth-child(3)   { opacity:1; transform:none; transition-delay:0.20s; }
.l2l-stagger-lr.is-visible > *:nth-child(4)   { opacity:1; transform:none; transition-delay:0.28s; }
.l2l-stagger-lr.is-visible > *:nth-child(5)   { opacity:1; transform:none; transition-delay:0.36s; }
.l2l-stagger-lr.is-visible > *:nth-child(6)   { opacity:1; transform:none; transition-delay:0.44s; }
.l2l-stagger-lr.is-visible > *:nth-child(7)   { opacity:1; transform:none; transition-delay:0.50s; }
.l2l-stagger-lr.is-visible > *:nth-child(8)   { opacity:1; transform:none; transition-delay:0.56s; }
.l2l-stagger-lr.is-visible > *:nth-child(n+9) { opacity:1; transform:none; transition-delay:0.60s; }

@media (prefers-reduced-motion: reduce) {
  .l2l-stagger-lr > *, .l2l-stagger-lr.is-visible > * {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   STAFF PORTAL
   ═══════════════════════════════════════════════════════════ */
#sp-logo-img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; display: block; margin: 0 auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges; filter: none !important;
  transform: translateZ(0); backface-visibility: hidden;
}

/* ═══════════════════════════════════════════════════════════
   NEWSLETTER BOX
   ═══════════════════════════════════════════════════════════ */
.newsletter-box {
  background: linear-gradient(135deg, #0B2545 0%, #1E3A5F 50%, #0B2545 100%);
  border: 1.5px solid rgba(0,168,150,0.30); border-radius: 24px;
  padding: 3rem; text-align: center; position: relative; overflow: hidden;
}
.newsletter-box::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,168,150,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.newsletter-input {
  flex: 1; padding: 0.8rem 1.2rem; border-radius: 8px;
  border: 1px solid #D1D5DB; background: #ffffff;
  color: #0B2545; font-size: 0.9rem; outline: none;
  transition: border-color 0.25s ease; min-width: 0;
}
.newsletter-input:focus { border-color: #00A896; }
.newsletter-input::placeholder { color: #94A3B8; }
.newsletter-btn {
  padding: 0.8rem 1.75rem; border-radius: 8px; background: #00A896;
  color: #0B2545; font-weight: 700; font-size: 0.9rem; border: none;
  cursor: pointer; white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.newsletter-btn:hover { background: #70C1B3; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,168,150,0.45); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .google-review-box { position: relative; top: 0; }
  .logo-carousel-item { width: 210px; height: 108px; }
  .logo-carousel-item img { max-height: 78px; }
  .newsletter-box { padding: 2rem 1.25rem; }
  .testi-nav-btn { width: 34px; height: 34px; font-size: 14px; }
  .apply-form-body { padding: 1.5rem; }
  .apply-form-header { padding: 1.5rem; }
  .service-video-wrap { min-height: 280px; height: auto; }
  .why-video-wrap { min-height: 300px; }
}

/* ── Inner page hero content padding ─────────────────────────
   All inner-page hero content divs must clear the fixed header
   (80px tall). Spec requires minimum 140px padding-top so titles
   sit cleanly below the header bar with breathing room.           */
.inner-hero-content {
  padding-top: 140px !important;
  padding-bottom: 80px;
}
@media (max-width: 640px) {
  .inner-hero-content { padding-top: 120px !important; padding-bottom: 60px; }
}

/* ── WhatsApp Floating Chat Button ───────────────────────────
   Fixed bottom-right on all pages. z-index above everything
   except the header (999). Pulse ring draws attention on load.  */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 998;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.50);
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
  animation: wa-pulse 2.6s ease-in-out 1.5s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 12px 32px rgba(37,211,102,0.65);
  animation: none;
}
.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
  display: block;
}
.whatsapp-float-tooltip {
  position: absolute;
  right: 70px;
  bottom: 50%;
  transform: translateY(50%);
  background: #0B2545;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.whatsapp-float-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #0B2545;
}
.whatsapp-float:hover .whatsapp-float-tooltip { opacity: 1; }
@keyframes wa-pulse {
  0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,0.50); }
  50%      { box-shadow: 0 6px 24px rgba(37,211,102,0.50), 0 0 0 12px rgba(37,211,102,0.12); }
}
@media (max-width: 640px) {
  .whatsapp-float { width: 52px; height: 52px; bottom: 20px; right: 16px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
  .whatsapp-float-tooltip { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE TRUST + REFERRAL SECTIONS
   Kept outside the utility layer so the two conversion sections
   remain easy to reuse and maintain in their template parts.
   ═══════════════════════════════════════════════════════════ */
.l2l-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}
.l2l-section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 1.7rem;
  height: 2px;
  background: currentColor;
}
.l2l-section-eyebrow-light { color: #70C1B3; }
.l2l-section-eyebrow-accent { color: #083B4A; }

.l2l-certification-section {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0;
  background: #F5FAF9;
}
.l2l-certification-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: center;
  gap: 3rem;
  overflow: hidden;
  min-height: 350px;
  padding: clamp(2rem, 5vw, 4.25rem);
  border: 1px solid rgba(0,168,150,0.22);
  border-radius: 1.75rem;
  background:
    radial-gradient(circle at 85% 20%, rgba(112,193,179,0.18), transparent 30%),
    linear-gradient(120deg, #0B2545 0%, #0E3B55 58%, #12606A 100%);
  box-shadow: 0 24px 70px rgba(11,37,69,0.16);
}
.l2l-certification-panel::after {
  content: '';
  position: absolute;
  right: 12%;
  bottom: -46%;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(255,255,255,0.025), 0 0 0 76px rgba(255,255,255,0.018);
  pointer-events: none;
}
.l2l-certification-copy { position: relative; z-index: 1; max-width: 660px; }
.l2l-certification-copy h2 {
  margin: 1.1rem 0 1rem;
  color: #FFFFFF;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.l2l-certification-copy > p {
  max-width: 630px;
  margin: 0;
  color: rgba(255,255,255,0.76);
  font-size: 1rem;
  line-height: 1.8;
}
.l2l-certification-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.l2l-certification-point {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.l2l-certification-point-icon {
  display: grid;
  flex: 0 0 2.35rem;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(112,193,179,0.45);
  border-radius: 0.75rem;
  background: rgba(0,168,150,0.14);
  color: #70C1B3;
}
.l2l-certification-point-icon svg { width: 1.25rem; height: 1.25rem; }
.l2l-certification-point strong,
.l2l-certification-point small { display: block; }
.l2l-certification-point strong { color: #FFFFFF; font-size: 0.83rem; line-height: 1.35; }
.l2l-certification-point small { margin-top: 0.2rem; color: rgba(255,255,255,0.55); font-size: 0.72rem; line-height: 1.45; }
.l2l-certification-seal-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.l2l-certification-badge-frame {
  display: grid;
  place-items: center;
  width: min(300px, 100%);
  max-width: 100%;
  min-height: 220px;
  margin: 0 auto;
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: 1.25rem;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 15px 45px rgba(0,0,0,0.22), inset 0 0 0 1px rgba(255,255,255,0.42);
}
.l2l-certification-badge {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 220px;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}
.l2l-certification-seal-caption {
  margin-top: 1.15rem;
  color: rgba(255,255,255,0.62);
  font-size: 0.75rem;
  font-weight: 600;
}

.l2l-referral-section {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  background: #70C1B3;
}
.l2l-referral-glow {
  position: absolute;
  width: 27rem;
  height: 27rem;
  border-radius: 50%;
  pointer-events: none;
}
.l2l-referral-glow-one {
  top: -14rem;
  right: -6rem;
  background: rgba(255,255,255,0.28);
}
.l2l-referral-glow-two {
  bottom: -20rem;
  left: -10rem;
  background: rgba(11,37,69,0.13);
}
.l2l-referral-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 1px solid rgba(11,37,69,0.17);
  border-radius: 1.75rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.58), rgba(255,255,255,0.24));
  box-shadow: 0 24px 70px rgba(11,37,69,0.14);
}
.l2l-referral-intro { max-width: 650px; }
.l2l-referral-intro h2 {
  margin: 1rem 0 1rem;
  color: #0B2545;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.l2l-referral-intro > p {
  max-width: 570px;
  margin: 0;
  color: rgba(11,37,69,0.75);
  font-size: 1rem;
  line-height: 1.8;
}
.l2l-referral-reward {
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 1.7rem 0 0.4rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(11,37,69,0.16);
  border-radius: 0.9rem;
  background: rgba(255,255,255,0.62);
}
.l2l-referral-reward-label {
  color: rgba(11,37,69,0.62);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.l2l-referral-reward strong {
  color: #0B2545;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.2;
}
.l2l-referral-reward em { color: #006666; font-style: normal; }
.l2l-referral-reward strong span { font-size: 0.75em; }
.l2l-referral-note {
  margin-top: 0.7rem !important;
  color: rgba(11,37,69,0.6) !important;
  font-size: 0.72rem !important;
  line-height: 1.5 !important;
}
.l2l-referral-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
  padding: 0.95rem 1.4rem;
  border: 2px solid #0B2545;
  border-radius: 0.8rem;
  background: #0B2545;
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(11,37,69,0.18);
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.l2l-referral-cta:hover,
.l2l-referral-cta:focus-visible {
  background: #FFFFFF;
  color: #0B2545;
  box-shadow: 0 14px 28px rgba(11,37,69,0.22);
  transform: translateY(-3px);
}
.l2l-referral-cta-copy { display: inline-block !important; color: inherit; font-size: 0.9rem; line-height: 1.25; }
.l2l-referral-cta > span:last-child { font-size: 1.25rem; line-height: 1; }
.l2l-referral-process {
  position: relative;
  padding: 1.75rem;
  border: 1px solid rgba(11,37,69,0.16);
  border-radius: 1.25rem;
  background: rgba(11,37,69,0.93);
  box-shadow: 0 16px 40px rgba(11,37,69,0.18);
}
.l2l-process-kicker {
  display: block;
  margin-bottom: 1.25rem;
  color: #70C1B3;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.l2l-process-list {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.l2l-process-list::before {
  content: '';
  position: absolute;
  top: 1.6rem;
  bottom: 1.6rem;
  left: 1.1rem;
  width: 1px;
  background: linear-gradient(#70C1B3, rgba(112,193,179,0.18));
}
.l2l-process-list li {
  position: relative;
  display: flex;
  gap: 1rem;
  padding: 0.7rem 0;
}
.l2l-process-number {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 0 0 2.2rem;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid #70C1B3;
  border-radius: 50%;
  background: #0B2545;
  color: #70C1B3;
  font-size: 0.75rem;
  font-weight: 800;
}
.l2l-process-list strong,
.l2l-process-list li div span { display: block; }
.l2l-process-list strong { padding-top: 0.15rem; color: #FFFFFF; font-size: 0.88rem; line-height: 1.35; }
.l2l-process-list li div span { margin-top: 0.3rem; color: rgba(255,255,255,0.58); font-size: 0.74rem; line-height: 1.5; }

@media (max-width: 900px) {
  .l2l-certification-panel,
  .l2l-referral-shell { grid-template-columns: 1fr; }
  .l2l-certification-panel { gap: 2.25rem; }
  .l2l-certification-seal-wrap { flex-direction: row; justify-content: flex-start; gap: 1.25rem; }
  .l2l-certification-badge-frame { width: min(260px, 100%); min-height: 190px; }
  .l2l-certification-badge { max-height: 170px; }
  .l2l-certification-seal-caption { max-width: 150px; margin-top: 0; }
}
@media (max-width: 640px) {
  .l2l-certification-section,
  .l2l-referral-section { padding: 3.5rem 0; }
  .l2l-certification-panel,
  .l2l-referral-shell { padding: 1.5rem; border-radius: 1.25rem; }
  .l2l-certification-points { grid-template-columns: 1fr; gap: 0.85rem; }
  .l2l-certification-seal-wrap { flex-direction: column; }
  .l2l-certification-badge-frame { width: 100%; min-height: 200px; }
  .l2l-certification-badge { max-height: 180px; }
  .l2l-certification-seal-caption { max-width: none; margin-top: 0.25rem; }
  .l2l-referral-reward { display: flex; }
  .l2l-referral-cta { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .l2l-referral-cta { transition: none; }
  .l2l-referral-cta:hover,
  .l2l-referral-cta:focus-visible { transform: none; }
}

/* Add top padding to all pages to account for fixed transparent header */
.page-hero-spacer { padding-top: 80px; }

/* ── Explore Courses Button Hover Fix (Homepage Hero) ────────────
   Default: transparent bg, white border, white text.
   Hover:   solid white bg (#FFFFFF), text flips to Dark Navy (#0B2545).
   Inline color:#ffffff would otherwise win on :hover — these rules
   use !important to guarantee text visibility stays 100%.           */
.l2l-explore-btn {
  background-color: transparent;
  border-color: rgba(255,255,255,0.55);
  color: #ffffff;
  text-decoration: none;
}
.l2l-explore-btn:hover {
  background-color: #FFFFFF !important;
  color: #0B2545 !important;
  border-color: #FFFFFF !important;
}

/* ── Scroll-margin for inner page headings ─────────────────────────
   Prevents page headings from being hidden behind the 80px fixed
   header when the user scrolls to an anchor link or navigates to a
   section. Applied globally to all heading elements.              */
h1, h2, h3, h4, h5, h6 {
  scroll-margin-top: 100px;
}

/* ── Inner page title letter-spacing ──────────────────────────────
   Increase letter-spacing on inner page section titles for a more
   premium, premium corporate feel (per typography spec).          */
.inner-hero-content h1,
.inner-hero-content h2 {
  letter-spacing: -0.025em;
}

/* ── SEO landing pages ─────────────────────────────────────────── */
.l2l-landing-page { background: var(--white); }
.l2l-landing-hero {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: flex-end;
  background-color: var(--navy-3);
  background-position: center;
  background-size: cover;
  color: var(--white);
}
.l2l-landing-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(6,13,20,.95), rgba(11,37,69,.76) 60%, rgba(0,168,150,.28));
}
.l2l-landing-hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 9rem 1.25rem 5rem;
}
.l2l-breadcrumbs {
  display: flex;
  gap: .65rem;
  align-items: center;
  margin-bottom: 2.5rem;
  color: rgba(255,255,255,.7);
  font-size: .82rem;
}
.l2l-breadcrumbs a { color: var(--teal-light); text-decoration: none; }
.l2l-landing-hero h1 {
  max-width: 850px;
  margin: .75rem 0 1.25rem;
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 5rem);
}
.l2l-eyebrow {
  margin: 0;
  color: var(--teal-light);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.l2l-eyebrow-dark { color: var(--teal-deep); }
.l2l-landing-lead {
  max-width: 700px;
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, 2vw, 1.2rem);
}
.l2l-landing-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.l2l-button {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.35rem;
  border-radius: .75rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.l2l-button:hover, .l2l-button:focus-visible { transform: translateY(-2px); }
.l2l-button-primary { background: var(--teal); color: var(--navy-4); }
.l2l-button-ghost { border: 1px solid rgba(255,255,255,.55); color: var(--white); }
.l2l-button-ghost:hover, .l2l-button-ghost:focus-visible { background: var(--white); color: var(--navy); }
.l2l-button-dark { background: var(--navy-2); color: var(--teal-light); }
.l2l-landing-content { padding: 6rem 1.25rem; }
.l2l-landing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
  gap: 4rem;
  width: min(100%, 1120px);
  margin: 0 auto;
}
.l2l-rich-content h2, .l2l-landing-aside h2, .l2l-landing-cta h2, .l2l-location-band h2 { margin-top: .7rem; }
.l2l-rich-content > p, .l2l-rich-content li { color: var(--text-muted); }
.l2l-rich-content h3 { margin-top: 2rem; }
.l2l-landing-aside {
  align-self: start;
  padding: 2rem;
  border: 1px solid var(--border-light);
  border-radius: 1.25rem;
  background: var(--off-white);
}
.l2l-check-list { display: grid; gap: 1rem; padding: 0; list-style: none; }
.l2l-check-list li { position: relative; padding-left: 1.6rem; color: var(--text-muted); font-size: .95rem; }
.l2l-check-list li::before { position: absolute; left: 0; color: var(--teal-deep); content: "✓"; font-weight: 900; }
.l2l-text-link { color: var(--teal-deep); font-weight: 800; text-decoration: none; }
.l2l-landing-cta, .l2l-location-band {
  display: flex;
  width: min(100% - 2.5rem, 1120px);
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 0 auto 5rem;
  padding: 2.5rem;
  border-radius: 1.5rem;
  background: linear-gradient(120deg, var(--teal), var(--teal-light));
}
.l2l-landing-cta h2, .l2l-location-band h2 { max-width: 650px; color: var(--navy-2); }
@media (max-width: 760px) {
  .l2l-landing-hero { min-height: 600px; }
  .l2l-landing-hero-content { padding: 8rem 1.25rem 4rem; }
  .l2l-landing-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .l2l-landing-cta, .l2l-location-band { width: min(100% - 2rem, 1120px); align-items: flex-start; flex-direction: column; padding: 1.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .l2l-button { transition: none; }
  .l2l-button:hover, .l2l-button:focus-visible { transform: none; }
}
