/*
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: 3.7.3
Text Domain: leap2learn-theme
*/
/*
 * CHANGELOG v3.6.1
 * ─────────────────────────────────────────────────────────────────
 * FIX 1 — Removed Tailwind CDN script (was blocking 579ms render).
 *          All utilities now served from assets/css/tailwind-local.css.
 * FIX 2 — Hero video 404 errors eliminated: removed hardcoded
 *          'campus-life' source override from all page templates.
 *          Video defaults to 'none' (Customizer → Hero Video Background).
 *          Upload .mp4/.webm to Media Library, then pick the clip.
 * FIX 3 — Image dimensions: added explicit width/height on city cards,
 *          course cards, partner logos — stops layout shift (CLS).
 *          Removed duplicate loading="lazy" attributes.
 * FIX 4 — WCAG AA contrast fixes:
 *            • .nav-apply-btn  — text: #fff→#0F2537 (5.71:1 ✅)
 *            • .google-review-btn — bg: #4285F4→#185ABC (6.42:1 ✅)
 *            • "Co. No. 15085088" — opacity:0.55→solid #475569 (5.74:1 ✅)
 *            • Mobile "Apply Now" — text: #fff→#0F2537 (5.71:1 ✅)
 * FIX 5 — .testi-dot touch target expanded to 48×48px (WCAG 2.5.5).
 * ─────────────────────────────────────────────────────────────────
 */

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

/* ═══════════════════════════════════════════════════════════
   BRAND TOKENS — Logo DNA Matrix
   Primary Corporate Navy Blue (#0F2537) + clean Off-White
   space (#F8F9FA), with Warm Amber Gold (#00A896) reserved
   for interactive accents — "Apply Now" buttons, menu hovers,
   active form outlines, and high-importance callouts.
   ═══════════════════════════════════════════════════════════ */
:root {
  /* Core navy palette — Logo Primary Corporate Navy Blue #0F2537 */
  --navy:       #0F2537;
  --navy-2:     #0C1F2C;
  --navy-3:     #0A1B29;
  --navy-4:     #060D14;

  /* Warm Amber Gold interactive accent — Logo #00A896 */
  --gold:       #00A896;
  --gold-lt:    #70C1B3;
  --gold-bright:#70C1B3;
  --gold-deep:  #006666;
  --orange:     #00A896;

  /* Corporate secondary blue (from reference site's secondary CTA) */
  --corp-blue:  #0D4E89;

  /* Surfaces — clean slate text/background */
  --off-white:  #F8F9FA;
  --charcoal:   #1A202C;
  --slate:      #1B3D62;
  --teal:       #1ABBA9;
  --body-bg:    #F8F9FA;
}
.gold-text { color: var(--gold); }
.navy-bg   { background-color: var(--navy); }
.offwhite-bg { background-color: var(--off-white); }
.charcoal-text { color: var(--charcoal); }
body { color: var(--charcoal); }

/* ═══════════════════════════════════════════════════════════
   SITE-WIDE CONTENT PROTECTION
   Applied globally to the body wrapper. Paired with the
   right-click / keyboard-shortcut blocker in footer.php.
   ═══════════════════════════════════════════════════════════ */
body {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  -webkit-touch-callout: none;
}
/* Still allow normal text selection/typing inside form fields */
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: #0F2537;
  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: -apple-system, BlinkMacSystemFont, 'Segoe UI', 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); } }

/* ═══════════════════════════════════════════════════════════
   1. SCROLL REVEAL — GPU-accelerated, cubic-bezier easing
   Directional variants: l2l-reveal-left / l2l-reveal-right
   for alternating grid row slide-ins.
   ═══════════════════════════════════════════════════════════ */
.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; }

/* Slide in from the left */
.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; }

/* Slide in from the right */
.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; }

/* ═══════════════════════════════════════════════════════════
   1b. CITY-CARD HOVER — premium overlay treatment for the
   "Study Across the UK" grid. Written as plain CSS (not Tailwind
   utility classes) because tailwind-local.min.css is a static,
   pre-compiled subset — arbitrary hover:/group-hover: variants
   not already present in that build simply won't exist at runtime.
   ═══════════════════════════════════════════════════════════ */
.city-card {
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.city-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.45);
}
.city-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.3s ease;
  pointer-events: none;
}
.city-card:hover::after {
  box-shadow: inset 0 0 0 2px rgba(0, 168, 150, 0.7);
}
.city-card .city-card-img {
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.city-card:hover .city-card-img {
  transform: scale(1.1);
}
.city-card .city-card-caption {
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.city-card:hover .city-card-caption {
  transform: translateY(-4px);
}
.city-card .city-card-tint {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.city-card:hover .city-card-tint {
  opacity: 0.3;
}
.city-card .city-card-underline {
  width: 0;
  transition: width 0.3s ease;
}
.city-card:hover .city-card-underline {
  width: 2rem;
}

.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; }

/* ═══════════════════════════════════════════════════════════
   2. BASE CARD
   ═══════════════════════════════════════════════════════════ */
.l2l-card {
  position: relative; overflow: hidden; isolation: isolate;
  border: 1.5px solid rgba(226,232,240,0.8); 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.1), 0 10px 10px rgba(0,0,0,0.08), 0 16px 48px rgba(0,168,150,0.18);
  transform: translateY(-8px) scale(1.02);
}
.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; }
.l2l-card-accent-3 { border-left: 3px solid rgba(99,179,237,0.85) !important; }
.l2l-card-accent-4 { border-left: 3px solid rgba(167,139,250,0.85) !important; }

/* ═══════════════════════════════════════════════════════════
   3. NAVIGATION
   ═══════════════════════════════════════════════════════════ */
.nav-link {
  color: #0F2537; 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;
}
.nav-link:hover, .nav-link.active { color: #00A896; border-bottom-color: #00A896; }
/* WCAG AA contrast fix: teal (#00A896) background + white text = 2.84:1 (FAIL).
   Dark navy text (#0F2537) on teal = 5.71:1 (PASS). */
.nav-apply-btn {
  display: inline-block;
  padding: 0.5rem 1.25rem; border-radius: 0.75rem;
  background: #00A896; color: #0F2537;
  font-size: 0.875rem; 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 0 0 0 rgba(0,168,150,0);
}
.nav-apply-btn:hover {
  background-color: #70C1B3;
  box-shadow: 0 0 22px 6px rgba(0,168,150,0.45);
  transform: translateY(-1px);
}
.site-header.scrolled {
  backdrop-filter: blur(14px) saturate(180%);
  background-color: rgba(11,34,64,0.88) !important;
  box-shadow: 0 2px 24px rgba(0,0,0,0.22);
}

/* Header logo — WordPress Media Library image, Customizer → "Header Logo" */
.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; }
}
.mobile-nav-link {
  display: block; padding: 0.65rem 0.5rem; border-radius: 0.5rem;
  color: #0F2537; 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; }

/* ═══════════════════════════════════════════════════════════
   4. GLOW CARD
   ═══════════════════════════════════════════════════════════ */
.glow-card {
  transition: box-shadow 0.35s ease;
  will-change: box-shadow;
}
.glow-card:hover {
  box-shadow: 0 0 48px 8px rgba(0,168,150,0.35) !important;
}

/* ═══════════════════════════════════════════════════════════
   5. CITY CARD
   ═══════════════════════════════════════════════════════════ */
.city-card {
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform, box-shadow;
}
.city-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), 0 20px 40px rgba(0,0,0,0.40);
}

/* ═══════════════════════════════════════════════════════════
   6. STATS BAR
   ═══════════════════════════════════════════════════════════ */
.stat-item {
  transition: transform 0.25s ease;
}
.stat-item:hover { transform: translateY(-3px); }
.stat-number {
  font-size: 2.25rem; font-weight: 900;
  background: linear-gradient(135deg, #00A896 0%, #70C1B3 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
}

/* ═══════════════════════════════════════════════════════════
   7. INFINITE LOGO CAROUSEL (Partners / Universities)
   ═══════════════════════════════════════════════════════════ */
.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;
  image-rendering: -webkit-optimize-contrast;
  filter: grayscale(0%);
  transition: filter 0.25s ease, transform 0.25s ease;
}
.logo-carousel-item:hover img { filter: grayscale(0%); }

/* Dark background variant */
.logo-carousel-item.dark-bg {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}
.logo-carousel-item.dark-bg img { filter: brightness(1.1) grayscale(10%); }

/* ═══════════════════════════════════════════════════════════
   8. TESTIMONIAL SECTION (2-col: Google Review + Card Slider)
   ═══════════════════════════════════════════════════════════ */
/* Google Review Box */
.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;
}
/* WCAG AA contrast fix: #4285F4 (Google blue) + white text = 3.55:1 (FAIL for normal text).
   #185ABC (darker Google blue) + white text = 6.42:1 (PASS). */
.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);
}

/* Testimonial Card Slider */
.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;
  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 p.text-gray-300 {
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
}
.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: #0F2537;
}
.testi-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 1.25rem;
}
/* WCAG 2.5.5 — minimum touch-target 44×44 px (WCAG AA) / 48×48 (Google guideline).
   Visual dot stays 8 px; padding expands the clickable area to ≥48 px without
   affecting layout by using an invisible padded pseudo-element trick instead. */
.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(0,168,150,0.25);
  border: none; cursor: pointer;
  /* Expand hit-area to 48×48 px using transparent padding (the visual dot
     is only 8 px but the interactive target becomes 48 px × 48 px). */
  padding: 20px;
  /* Undo the padding's visual effect — negative margin keeps items tight. */
  margin: -20px;
  /* Ensure padding area is transparent so it is invisible */
  background-clip: content-box;
  transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
}
.testi-dot.active {
  background: #00A896;
  width: 24px;
  border-radius: 4px;
}
.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: #0F2537;
  border-color: #00A896;
  transform: scale(1.08);
}

/* ═══════════════════════════════════════════════════════════
   9. SOCIAL MEDIA 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;
}

/* ═══════════════════════════════════════════════════════════
   10. NEWS / BLOG PAGE
   ═══════════════════════════════════════════════════════════ */
.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), 0 16px 40px rgba(11,34,64,0.14);
  border-color: #00A896;
}
.news-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.news-card-img-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #0F2537 0%, #2C3B52 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.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: #0F2537;
  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; }

/* Newsletter box */
.newsletter-box {
  background: linear-gradient(135deg, #0F2537 0%, #2C3B52 50%, #0F2537 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: 10px;
  border: 1.5px solid rgba(0,168,150,0.30);
  background: rgba(255,255,255,0.07);
  color: white;
  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: rgba(255,255,255,0.35); }
.newsletter-btn {
  padding: 0.8rem 1.75rem;
  border-radius: 10px;
  background: #00A896;
  color: #0F2537;
  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);
}

/* ═══════════════════════════════════════════════════════════
   11. HERO BACKGROUND (prevents FOUC)
   ═══════════════════════════════════════════════════════════ */
#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:          700px !important;
}

/* ═══════════════════════════════════════════════════════════
   12. FORM INPUTS
   ═══════════════════════════════════════════════════════════ */
.l2l-input {
  width: 100%; border-radius: 0.75rem; padding: 0.75rem 1rem;
  font-size: 0.875rem; outline: none; transition: border-color 0.25s ease;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(0,168,150,0.25); color: white;
}
.l2l-input:focus { border-color: #00A896; }
.l2l-input::placeholder { color: rgba(255,255,255,0.35); }
.l2l-select {
  width: 100%; border-radius: 0.75rem; padding: 0.75rem 1rem;
  font-size: 0.875rem; outline: none; transition: border-color 0.25s ease;
  background: #16344A; border: 1.5px solid rgba(0,168,150,0.25); color: white;
}
.l2l-select:focus { border-color: #00A896; }
.l2l-file-input {
  width: 100%; border-radius: 0.75rem; padding: 0.65rem 0.9rem;
  font-size: 0.8rem; outline: none; cursor: pointer;
  background: rgba(255,255,255,0.05);
  border: 1.5px dashed rgba(0,168,150,0.40); color: #94a3b8;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.l2l-file-input:hover { border-color: #00A896; background: rgba(0,168,150,0.07); }

/* ═══════════════════════════════════════════════════════════
   13. 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;
}

/* ═══════════════════════════════════════════════════════════
   14. JOURNEY CONNECTOR
   ═══════════════════════════════════════════════════════════ */
.journey-connector {
  flex: 1; height: 2px;
  background: linear-gradient(90deg, #00A896 0%, rgba(0,168,150,0.2) 100%);
  margin: 0 0.5rem;
}

/* ═══════════════════════════════════════════════════════════
   15. FILTER / COURSES PAGE
   ═══════════════════════════════════════════════════════════ */
.filter-sidebar-sticky { position: sticky; top: 5rem; }
.filter-select {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: 0.6rem;
  border: 1.5px solid rgba(0,168,150,0.25);
  background: rgba(255,255,255,0.07);
  color: white;
  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='%23C9A961' 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; }
.filter-select.filter-active { border-color: #00A896; background-color: rgba(0,168,150,0.10); }
.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), 0 16px 40px rgba(11,34,64,0.14);
  border-color: #00A896;
}
.uni-logo-wrap {
  width: 72px; height: 36px;
  display: flex; align-items: center; justify-content: center;
}

/* ═══════════════════════════════════════════════════════════
   16. UNI LOGO — homepage partner grid legacy
   ═══════════════════════════════════════════════════════════ */
.uni-logo-container {
  width: 80px; height: 48px;
  display: flex; align-items: center; justify-content: center;
}
.uni-logo-container img {
  max-width: 100%; max-height: 100%;
  object-fit: contain; filter: grayscale(15%);
  transition: filter 0.2s ease;
}
.l2l-card:hover .uni-logo-container img { filter: none; }

/* ═══════════════════════════════════════════════════════════
   17. PAGINATION (News page)
   ═══════════════════════════════════════════════════════════ */
.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; }

/* ═══════════════════════════════════════════════════════════
   18. RESPONSIVE HELPERS
   ═══════════════════════════════════════════════════════════ */
@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; }
}

/* ═══════════════════════════════════════════════════════════
   19. COURSE CARD TITLE FIX — ensure titles are visible on white background
   ═══════════════════════════════════════════════════════════ */
.course-card h3,
.course-card .course-card-title {
  color: #0F2537 !important;
}

/* ═══════════════════════════════════════════════════════════
   20. STAFF PORTAL LOGO — razor-sharp rendering
   ═══════════════════════════════════════════════════════════ */
#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;
  image-rendering: high-quality;
  -ms-interpolation-mode: bicubic;
  filter: none !important;
  transform: translateZ(0);
  backface-visibility: hidden;
}


/* ═══════════════════════════════════════════════════════════
   ROUND 2 TARGETED FIXES — appended as overrides to avoid
   any risk of minification breaking existing rules.
   These rules ALWAYS win via cascade order (same specificity
   but declared later) and !important where needed.
   ═══════════════════════════════════════════════════════════ */

/* ── 1. Testimonial card — remove forced min-height ────────── */
.testi-card-inner {
  min-height: 0 !important;
  padding: 1.5rem !important;
}

/* ── 2. Course card — explicit white background + strong border */
.course-card {
  background-color: #ffffff !important;
  background: #ffffff !important;
  border: 2px solid #E2E8F0 !important;
  box-shadow: 0 4px 20px rgba(11, 34, 64, 0.12) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
.course-card:hover {
  border-color: #00A896 !important;
  box-shadow: 0 14px 28px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.08), 0 16px 48px rgba(11, 34, 64, 0.22) !important;
  transform: translateY(-8px) scale(1.02) !important;
}

/* ── 3. Course card titles — high contrast on white background */
.course-card h3,
.course-card .course-card-title {
  color: #0F2537 !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  line-height: 1.45 !important;
}

/* ── 4. Course card description — readable on white background */
.course-card p.text-gray-400,
.course-card p {
  color: #475569 !important;
}

/* ── 5. Course card detail icons — keep gold on white card ──── */
.course-card ul li span.text-gray-400 {
  color: #475569 !important;
}

/* ── 6. Staff portal logo — razor-sharp rendering ──────────── */
#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;
  image-rendering: high-quality;
  -ms-interpolation-mode: bicubic;
  filter: none !important;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* ── 7. Contact page — trust-signal 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), 0 10px 10px rgba(0,0,0,0.08);
}
.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; }

/* ═══════════════════════════════════════════════════════════
   POPULAR COURSES SECTION — Part 2 Extension
   Elastic hover lift-and-bounce (inherits .l2l-card base)
   + Title gold underline + Ripple CTA button
   ═══════════════════════════════════════════════════════════ */

/* ── Section title: bold premium headline with gold underline ── */
.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 card: image zoom on hover ── */
.course-pop-card {
  text-decoration: none !important;
  /* elastic spring lift — more pronounced than standard l2l-card */
  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.22), 0 0 0 1.5px #00A896, 0 20px 56px rgba(0,168,150,0.20) !important;
  border-color: #00A896 !important;
}
.course-pop-card:hover .course-pop-title {
  color: #70C1B3 !important;
}
.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);
}
/* Ripple fill: pseudo-element that expands on hover */
.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;
}
/* Arrow icon bounce on hover */
.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);
}

/* ── Enterprise compliance: ensure btn clicks are never blocked ── */
.l2l-ripple-btn,
.l2l-ripple-btn * {
  pointer-events: auto !important;
  cursor: pointer !important;
}
.course-pop-card,
.course-pop-card * {
  pointer-events: auto !important;
}

/* ═══════════════════════════════════════════════════════════
   PERFORMANCE-OPTIMISED HERO VIDEO BACKGROUND
   ─────────────────────────────────────────────────────────
   Markup: functions.php → l2l_hero_video_background(). Sits
   behind every hero section's existing overlay gradients as
   an absolutely-positioned layer, hardware-accelerated via
   will-change and object-fit:cover instead of background-*
   properties (cheaper for the compositor to scale/repaint).

   Mobile fallback: the video wrap is stripped entirely on
   screens ≤768px — the hero <section>'s own background-image
   (already set inline per page) is what mobile visitors see,
   so no video bytes are ever requested on small screens.
   ═══════════════════════════════════════════════════════════ */
.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;
}
/* Logo-brand dark tint — guarantees crisp white hero text stays 100% readable
   over motion video, per brand spec: rgba(15,37,55,0.5) = Corporate Navy #0F2537 */
.l2l-hero-video-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(15, 37, 55, 0.5);
  pointer-events: none;
}
@media (max-width: 768px) {
  /* Strip the video background completely on mobile to protect page-speed
     scores — the hero section's existing static background-image (set
     inline per page) becomes the sole background instantly, no video
     request is ever made. */
  .l2l-hero-video-wrap,
  .l2l-hero-video {
    display: none !important;
  }
  .l2l-hero-video-tint {
    background: rgba(15, 37, 55, 0.42);
  }
}

/* ═══════════════════════════════════════════════════════════
   GDPR COOKIE CONSENT BANNER
   ─────────────────────────────────────────────────────────
   Matches the logo palette: Corporate Navy Blue container
   (#0F2537), clean white copy, gold underline link to the
   Privacy Policy, gold "OK" accept action. Markup + logic:
   footer.php → #l2l-cookie-banner.
   ═══════════════════════════════════════════════════════════ */
#l2l-cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9998;
  background: #0F2537;
  border-top: 2px solid #00A896;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.28);
  padding: 1.1rem 1.5rem;
  display: none;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}
#l2l-cookie-banner.l2l-cookie-visible {
  display: block;
  transform: translateY(0);
}
.l2l-cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.l2l-cookie-text {
  color: #ffffff;
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
  flex: 1 1 320px;
}
.l2l-cookie-text a {
  color: #00A896;
  text-decoration: underline;
  text-decoration-color: #00A896;
  font-weight: 700;
}
.l2l-cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
.l2l-cookie-btn {
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  padding: 0.65rem 1.4rem;
  border-radius: 0.6rem;
  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.35);
}
.l2l-cookie-btn-decline:hover {
  border-color: #ffffff;
  background: rgba(255,255,255,0.08);
}
.l2l-cookie-btn-accept {
  background: #00A896;
  color: #0F2537; /* navy text on teal — white failed WCAG AA contrast (2.98:1) */
}
.l2l-cookie-btn-accept:hover {
  background: #70C1B3;
  box-shadow: 0 0 22px 6px rgba(0,168,150,0.35);
  transform: translateY(-1px);
}
@media (max-width: 640px) {
  .l2l-cookie-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .l2l-cookie-actions { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════
   REFACTOR v3.0 — Premium 3D Glassmorphic Stats Bar
   Floats elegantly over the hero section fold with a
   subtle elevation shadow and backdrop blur effect.
   ═══════════════════════════════════════════════════════════ */
.premium-stats-bar {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(15, 37, 55, 0.09), 0 2px 8px rgba(0,0,0,0.04);
}

/* ═══════════════════════════════════════════════════════════
   REFACTOR v3.0 — Header Contrast Fix
   White background guarantees navy logo visibility.
   On scroll, transitions to a dark frosted glass header
   for contrast over full-width hero images.
   ═══════════════════════════════════════════════════════════ */
.site-header {
  background-color: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04) !important;
}
.site-header .nav-link {
  color: #0F2537 !important;
  font-weight: 600;
  transition: color 0.3s ease;
}
.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: #00A896 !important;
  border-bottom-color: #00A896 !important;
}

/* When scrolled: frosted dark header for contrast over hero */
.site-header.scrolled {
  backdrop-filter: blur(14px) saturate(180%) !important;
  background-color: rgba(15, 37, 55, 0.95) !important;
  border-bottom-color: transparent !important;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.22) !important;
}
.site-header.scrolled .nav-link {
  color: #ffffff !important;
}
.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active {
  color: #00A896 !important;
}

/* ─────────────────────────────────────────────────────────────
   v3.6.2 — Sticky header visibility fix
   When the header enters the dark scrolled state the logo SVG/PNG
   and all caption text must invert to white so they remain legible
   against the navy background. Layout and padding are untouched.
   ───────────────────────────────────────────────────────────── */

/* Force dark logo asset to render as pure white */
.site-header.scrolled .l2l-header-logo,
.site-header.is-sticky .l2l-header-logo {
  filter: brightness(0) invert(1) !important;
  transition: filter 0.3s ease;
}

/* Force caption text and desktop nav links to white on the dark scrolled panel.
   Does NOT apply inside #mobile-menu — the drawer keeps its own light background. */
.site-header.scrolled span,
.site-header.scrolled p,
.site-header.scrolled a:not(.nav-apply-btn),
.site-header.is-sticky  span,
.site-header.is-sticky  p,
.site-header.is-sticky  a:not(.nav-apply-btn) {
  color: #ffffff !important;
}

/* ── ISSUE 1 FIX: Mobile drawer counter-override ─────────────────────────
   The mobile menu (#mobile-menu) always renders on a light #F8F9FA
   background — white text there becomes invisible. The ID-based selectors
   below have higher specificity than the broad rule above (even with
   !important) so they reliably lock all mobile drawer text to dark. */
.site-header.scrolled  #mobile-menu .mobile-nav-link,
.site-header.is-sticky #mobile-menu .mobile-nav-link {
  color: #0F2537 !important;
}
.site-header.scrolled  #mobile-menu .mobile-nav-link:hover,
.site-header.is-sticky #mobile-menu .mobile-nav-link:hover {
  color: #00A896 !important;
  background: rgba(0,168,150,0.08) !important;
}
/* Mobile Apply Now button — teal bg, dark navy text for WCAG AA contrast */
.site-header.scrolled  #mobile-menu .l2l-mobile-apply-btn,
.site-header.is-sticky #mobile-menu .l2l-mobile-apply-btn {
  color: #0F2537 !important;
  background-color: #00A896 !important;
}

/* Restore the hover / active teal accent on desktop nav links */
.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active,
.site-header.is-sticky  .nav-link:hover,
.site-header.is-sticky  .nav-link.active {
  color: #00A896 !important;
}

/* ═══════════════════════════════════════════════════════════
   REFACTOR v3.0 — GDPR Cookie Consent Enhancement
   Larger, more prominent, minimum 11pt text
   ═══════════════════════════════════════════════════════════ */
#l2l-cookie-banner {
  padding: 1.5rem 2rem !important;
  border-top: 2px solid #00A896 !important;
}
.l2l-cookie-text {
  font-size: 1rem !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
}
.l2l-cookie-btn-accept {
  background: #00A896 !important;
  color: #0F2537 !important; /* navy text on teal — white failed WCAG AA contrast (2.98:1) */
  padding: 0.75rem 1.75rem !important;
  font-size: 0.875rem !important;
}
.l2l-cookie-btn-accept:hover {
  background: #70C1B3 !important;
  color: #0F2537 !important;
}
.l2l-cookie-btn-decline {
  color: #ffffff !important;
  border: 1.5px solid rgba(255,255,255,0.5) !important;
  padding: 0.75rem 1.25rem !important;
  font-size: 0.875rem !important;
}

/* ═══════════════════════════════════════════════════════════
   REFACTOR v3.0 — Mobile Nav Light Theme
   Light drawer to match white header
   ═══════════════════════════════════════════════════════════ */
.mobile-nav-link {
  color: #0F2537 !important;
}
.mobile-nav-link:hover {
  background: rgba(0, 168, 150, 0.08) !important;
  color: #00A896 !important;
}

/* Override stat number to show as solid navy on white glassmorphic bar */
.stat-number,
.l2l-stat-counter {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #0F2537 !important;
  background-clip: unset !important;
  color: #0F2537 !important;
  font-size: 2.5rem !important;
  font-weight: 900 !important;
}

/* ═══════════════════════════════════════════════════════════
   REFACTOR v3.0 — Remove old dark stats bar section background
   The new stats bar is a floating white glassmorphic element.
   ═══════════════════════════════════════════════════════════ */
#stats-bar-section {
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* ═══════════════════════════════════════════════════════════
   REFACTOR v3.2 — Alternating Left/Right Card Entrance
   l2l-stagger-lr: odd children slide from left,
                   even children slide from right.
   0.8s ease-out, triggers once per page load via observer.
   ═══════════════════════════════════════════════════════════ */
.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);
}

/* Stagger delays — slightly longer for premium feel */
.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; }

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