/* ========================================================
   Thamaratul Jannah Brand Styling & Customizations
   Brand Colors:
   - Primary: Islamic / Forest Green (#218348)
   - Primary Dark / Hover: #176336
   - Primary Light / Soft Mint: #EAF4EE
   - Secondary / Accent Gold: #F5CE29 / #EBD33B
   - Secondary Dark: #D4A911
   - Secondary Soft: #FFF9E6
   - Dark Slate / Heading: #1A281F
   - Body Text: #4D5E53
   ======================================================== */

:root {
  --color-primary: #218348 !important;
  --color-primary-dark: #176336 !important;
  --color-primary-light: #EAF4EE !important;
  --color-secondary-gold: #F5CE29 !important;
  --color-gold-hover: #D8B114 !important;
  --color-heading-1: #182B1F !important;
  --color-body: #4A5C50 !important;
  --color-bg-soft: #F4F8F5 !important;
}

/* Ensure global section-bg uses warm brand cream (#FAF7F0) instead of old template pink */
.section-bg {
  background: #FAF7F0 !important;
}

/* ==========================================================================
   1. TWO-LINE TOPBAR: LINE 1 SCROLLING MARQUEE + LINE 2 CONTACTS
   ========================================================================== */
.thamaratul-topbar {
  background: #176336 !important;
  color: #ffffff !important;
  padding: 0 !important;
  font-size: 12px !important;
  position: relative !important;
  z-index: 1000 !important;
  border-bottom: 2px solid #F5CE29 !important;
}

/* Line 1: Right-to-Left Infinite Scrolling Announcement Marquee (Controlled, Smooth Speed) */
.topbar-scroll-line {
  background: #176336 !important;
  border-bottom: 1px solid rgba(245, 206, 41, 0.22) !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  padding: 3px 0 !important;
  height: 26px !important;
  display: flex !important;
  align-items: center !important;
}
.topbar-marquee-track {
  display: flex !important;
  width: max-content !important;
  animation: topbarMarqueeScroll 50s linear infinite !important;
  will-change: transform;
}
.topbar-marquee-track:hover {
  animation-play-state: paused !important;
}
.topbar-marquee-content {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding-right: 14px !important;
  flex-shrink: 0 !important;
}
.marquee-tag {
  background: #F5CE29 !important;
  color: #176336 !important;
  font-size: 9.5px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
  padding: 1px 6px !important;
  border-radius: 4px !important;
  display: inline-block !important;
}
.marquee-text {
  color: #ffffff !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  letter-spacing: 0.1px !important;
}
.marquee-text:hover {
  color: #F5CE29 !important;
}
.marquee-bullet {
  color: #F5CE29 !important;
  font-size: 10px !important;
  opacity: 0.9 !important;
}

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

/* Line 2: Contact Info Bar with Icons (Strict Two-Line Max Limit Across All Viewports) */
.topbar-contact-line {
  padding: 3px 0 !important;
  min-height: 24px !important;
  display: flex !important;
  align-items: center !important;
  background: #218348 !important;
}
.topbar-contact-line .container {
  padding-left: 6px !important;
  padding-right: 6px !important;
}
.topbar-contact-inner {
  display: flex !important;
  flex-wrap: nowrap !important; /* Strict single line so topbar remains exactly two lines */
  align-items: center !important;
  justify-content: center !important;
  gap: 2px 10px !important;
  width: 100% !important;
  white-space: nowrap !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
}
.topbar-contact-inner::-webkit-scrollbar {
  display: none !important;
}
.topbar-contact-link,
.topbar-contact-item {
  color: #ffffff !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  letter-spacing: 0px !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  transition: color 0.2s ease !important;
}
.topbar-contact-link:hover {
  color: #F5CE29 !important;
}
.topbar-contact-link i,
.topbar-contact-item i {
  color: #F5CE29 !important;
  font-size: 10.5px !important;
}
.contact-divider {
  color: rgba(245, 206, 41, 0.45) !important;
  font-size: 10px !important;
  flex-shrink: 0 !important;
}

@media (max-width: 575px) {
  .topbar-scroll-line {
    height: 24px !important;
    padding: 2px 0 !important;
  }
  .topbar-contact-line {
    padding: 3px 0 !important;
  }
  .topbar-contact-line .container {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
  .topbar-contact-inner {
    justify-content: center !important;
    gap: 2px 6px !important;
    flex-wrap: nowrap !important;
  }
  .topbar-contact-link,
  .topbar-contact-item {
    font-size: 10px !important;
    gap: 3px !important;
    line-height: 1.2 !important;
  }
  .topbar-contact-link i,
  .topbar-contact-item i {
    font-size: 9.5px !important;
  }
  .contact-divider {
    display: inline-block !important;
    font-size: 9px !important;
    opacity: 0.5 !important;
  }
}
@media (max-width: 360px) {
  .topbar-contact-link,
  .topbar-contact-item {
    font-size: 9px !important;
    gap: 2.5px !important;
  }
}

/* 2. Floating Navigation Container - Seamless Cream-White Integration & Logo Brand Colors */
.header-one {
  background: transparent !important;
  box-shadow: none !important;
  position: fixed !important;
  width: 100% !important;
  z-index: 999 !important;
  top: 58px;
  pointer-events: none; /* Allows click-through outside the pill */
}
.header-one .container,
.header-one-wrapper,
.thamaratul-mobile-nav {
  pointer-events: auto;
}
.header-one.header--sticky {
  background: transparent !important;
}
.header-one.header--sticky.sticky {
  animation: none !important;
  background: transparent !important;
  top: 12px !important;
}
/* Elastic, zoom-stable container */
.header-one .container {
  max-width: min(96vw, 1540px) !important;
  width: 100% !important;
  padding-left: clamp(8px, 1.4vw, 20px) !important;
  padding-right: clamp(8px, 1.4vw, 20px) !important;
}
.header-one .container > .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.header-one .container > .row > .col-lg-12 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.header-one-wrapper {
  background: #FFFFFF !important;
  border-radius: 50px !important;
  padding: 0 clamp(12px, 1.4vw, 26px) !important;
  min-height: 58px !important;
  height: clamp(58px, 3.8vw, 64px) !important;
  border: 1.5px solid rgba(33, 131, 72, 0.2) !important;
  box-shadow: 0 8px 24px -4px rgba(23, 99, 54, 0.08), 0 2px 6px rgba(0, 0, 0, 0.02) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.35s ease !important;
  will-change: opacity, filter, transform;
}
.header-one.is-hero-hidden .header-one-wrapper {
  opacity: 0 !important;
  filter: blur(14px) !important;
  transform: translateY(-16px) scale(0.98) !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.left-side-header {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  flex-shrink: 0 !important;
  min-width: 0 !important;
}
.school-brand-area {
  display: flex !important;
  align-items: center !important;
  gap: clamp(6px, 0.75vw, 12px) !important;
  text-decoration: none !important;
  padding: 2px 0 !important;
  flex-shrink: 0 !important;
}
.school-brand-logo {
  height: clamp(36px, 2.6vw, 46px) !important;
  width: auto !important;
  object-fit: contain !important;
  mix-blend-mode: multiply !important;
  flex-shrink: 0 !important;
}
.school-brand-text {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}
.school-brand-title {
  font-family: var(--font-secondary, "Nunito", sans-serif) !important;
  font-size: clamp(15px, 1.15vw, 19.5px) !important;
  font-weight: 800 !important;
  color: #182B1F !important;
  margin: 0 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.2px !important;
  white-space: nowrap !important;
  transition: color 0.2s ease !important;
}
.school-brand-area:hover .school-brand-title {
  color: #218348 !important;
}
.school-brand-tagline {
  font-family: var(--font-primary, "Inter", sans-serif) !important;
  font-size: clamp(9px, 0.65vw, 10.5px) !important;
  font-weight: 600 !important;
  color: #B38808 !important;
  font-style: italic !important;
  margin: 1px 0 0 0 !important;
  letter-spacing: 0.1px !important;
  white-space: nowrap !important;
}

/* Navigation items - Elastic, non-breaking, zoom-resilient */
.main-nav-one {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  padding: 0 clamp(4px, 1vw, 14px) !important;
}
.main-nav-one nav {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
}
.main-nav-one nav ul {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(6px, 1.05vw, 18px) !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-wrap: nowrap !important;
}
.main-nav-one nav ul li {
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}
.main-nav-one nav ul li.has-dropdown {
  margin-right: 0 !important;
}
.main-nav-one nav ul li a.nav-link {
  font-weight: 700 !important;
  color: #1A281F !important;
  font-size: clamp(11.5px, 0.82vw, 14px) !important;
  padding: 6px clamp(1px, 0.25vw, 4px) !important;
  position: relative !important;
  white-space: nowrap !important;
  transition: color 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
}
.main-nav-one nav ul li a.nav-link:hover,
.main-nav-one nav ul li a.nav-link.active {
  color: #218348 !important;
}
.main-nav-one nav ul li a.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: #218348;
  border-radius: 2px;
  transition: width 0.25s ease;
}
.main-nav-one nav ul li a.nav-link:hover::after,
.main-nav-one nav ul li a.nav-link.active::after {
  width: 100%;
}

/* Header Buttons */
.header-right-area-one {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
}
.header-right-area-one .buttons-area {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}
.header-right-area-one .buttons-area .rts-btn,
.header-right-area-one .rts-btn {
  background: #218348 !important;
  color: #F5CE29 !important;
  border-radius: 25px !important;
  padding: 8px clamp(11px, 1.1vw, 20px) !important;
  font-size: clamp(11.5px, 0.8vw, 13.5px) !important;
  font-weight: 800 !important;
  border: none !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 14px rgba(33, 131, 72, 0.26) !important;
  transition: all 0.25s ease !important;
  flex-shrink: 0 !important;
}
.header-right-area-one .buttons-area .rts-btn:hover,
.header-right-area-one .rts-btn:hover {
  background: #176336 !important;
  color: #FFE66D !important;
  transform: translateY(-1.5px) !important;
  box-shadow: 0 6px 18px rgba(23, 99, 54, 0.35) !important;
}
.rts-btn.btn-gold,
.btn-gold {
  background: #F5CE29 !important;
  color: #176336 !important;
  border: 2px solid #F5CE29 !important;
  font-weight: 800;
  border-radius: 8px;
  padding: 13px 28px;
  box-shadow: 0 4px 14px rgba(245, 206, 41, 0.3);
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}
.rts-btn.btn-gold:hover,
.btn-gold:hover {
  background: #D8B114 !important;
  color: #0F3F22 !important;
  border-color: #D8B114 !important;
  transform: translateY(-2px);
}
.rts-btn.btn-outline-green {
  background: transparent !important;
  color: #218348 !important;
  border: 2px solid #218348 !important;
  font-weight: 700;
  border-radius: 8px;
  padding: 12px 26px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.rts-btn.btn-outline-green:hover {
  background: #218348 !important;
  color: #ffffff !important;
}

/* Eyebrow / Badges */
.thamaratul-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #EAF4EE;
  color: #218348;
  font-weight: 800;
  font-size: 13.5px;
  padding: 6px 16px;
  border-radius: 30px;
  border: 1px solid #A4D4B5;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}
.thamaratul-badge i {
  color: #F5CE29;
}
.section-title-area .pre-title {
  color: #218348 !important;
  font-weight: 700;
}

/* Hero Section Enhancements & Natural Typography (Logo Green #218348 & Yellow #F5CE29) */
.banner-area-one,
.banner-area-one.hero-ambient-bg {
  background: #FAF7F0 !important;
  position: relative;
  overflow: hidden;
  padding: 105px 0 46px 0 !important;
}
.banner-content-one {
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
}
.banner-content-one .inner {
  padding: 0 !important;
  margin: 0 !important;
}
.banner-content-one .title-banner {
  color: #182B1F !important;
  font-size: 44px;
  line-height: 1.22;
  font-weight: 800;
  font-family: var(--font-secondary, "Nunito", sans-serif);
  letter-spacing: -0.2px;
  margin-top: 0 !important;
  margin-bottom: 14px !important;
}
/* Subtle Curved Gold Underline beneath 'Islamic Values' */
.gold-curved-underline {
  position: relative !important;
  display: inline-block !important;
  color: #218348 !important;
}
.curved-underline-svg {
  position: absolute !important;
  left: 0 !important;
  bottom: -4px !important;
  width: 100% !important;
  height: 8px !important;
  pointer-events: none !important;
}
.banner-content-one .inner .disc,
.banner-content-one .disc,
p.disc {
  font-size: 15.5px !important;
  line-height: 1.62 !important;
  color: #2D3D32 !important;
  margin-top: 0 !important;
  margin-bottom: 14px !important;
  font-weight: 500 !important;
  max-width: 680px;
}
/* Educational Value Proposition (3 Horizontal Items) */
.hero-val-props {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 14px 0 20px 0 !important;
}
.val-prop-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 14px !important;
  background: rgba(33, 131, 72, 0.06) !important;
  border: 1px solid rgba(33, 131, 72, 0.12) !important;
  border-radius: 20px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #182B1F !important;
}
.val-prop-check {
  color: #D4A911 !important;
  font-size: 12.5px !important;
  font-weight: 900 !important;
}

/* Call-to-Action & Watch Video Cluster (Unified Horizontal Row on Desktop) */
.hero-cta-cluster {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  margin: 22px 0 14px 0 !important;
}
.hero-cta-group {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}
.hero-video-trigger-wrap {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
}

/* Hero CTA Buttons */
.btn-forest-solid {
  background: #218348 !important;
  color: #F5CE29 !important;
  border: 2px solid #218348 !important;
  border-radius: 30px !important;
  height: 46px !important;
  padding: 0 22px !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 14px rgba(33, 131, 72, 0.24) !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
.btn-forest-solid:hover {
  background: #176336 !important;
  border-color: #176336 !important;
  color: #FFE66D !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(23, 99, 54, 0.32) !important;
}
.btn-forest-outline {
  background: rgba(255, 255, 255, 0.85) !important;
  color: #218348 !important;
  border: 1.8px solid #218348 !important;
  border-radius: 30px !important;
  height: 46px !important;
  padding: 0 20px !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
.btn-forest-outline:hover {
  background: #F5CE29 !important;
  border-color: #F5CE29 !important;
  color: #176336 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(245, 206, 41, 0.28) !important;
}

/* Watch Video Trigger */
.hero-video-trigger {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 14px !important;
  border-radius: 25px !important;
  background: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(33, 131, 72, 0.16) !important;
  text-decoration: none !important;
  color: #182B1F !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.hero-video-trigger:hover {
  background: #EAF4EE !important;
  border-color: #218348 !important;
  color: #218348 !important;
  transform: translateY(-1.5px) !important;
}
.video-trigger-circle {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  border: 1.8px solid #218348 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 9.5px !important;
  color: #218348 !important;
  padding-left: 2px !important;
  transition: all 0.25s ease !important;
}
.hero-video-trigger:hover .video-trigger-circle {
  background: #218348 !important;
  color: #ffffff !important;
  transform: scale(1.08) !important;
}
.video-trigger-text {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #182B1F !important;
}
.video-trigger-accent {
  width: 6.5px !important;
  height: 6.5px !important;
  border-radius: 50% !important;
  background: #F5CE29 !important;
  border: 1.5px solid #218348 !important;
  display: inline-block !important;
  margin-left: 2px !important;
}
/* 16:9 YouTube Dimension Video Card with Blurred Video */
.hero-video-card-container {
  width: 100% !important;
  max-width: 680px !important;
  margin-top: 14px !important;
}
.hero-video-card {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(33, 131, 72, 0.14) !important;
  background: #000000 !important;
}
.hero-video-element {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  filter: blur(2px) brightness(0.9) !important;
  transform: scale(1.04) !important;
  transition: filter 0.3s ease !important;
}
.hero-video-card:hover .hero-video-element {
  filter: blur(0.5px) brightness(0.95) !important;
}
.hero-video-card-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(180deg, rgba(33, 131, 72, 0.14) 0%, rgba(0, 0, 0, 0.35) 100%) !important;
  pointer-events: none !important;
}
.hero-video-play-center {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 3 !important;
  text-decoration: none !important;
}
.center-play-disc {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(6px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #218348 !important;
  font-size: 19px !important;
  padding-left: 3px !important;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.25s ease !important;
}
.hero-video-play-center:hover .center-play-disc {
  background: #218348 !important;
  color: #ffffff !important;
  transform: scale(1.08) !important;
}
.hero-video-play-pill {
  display: none !important;
}
.hero-video-play-pill:hover {
  background: #218348 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}
.pill-play-icon {
  font-size: 12px !important;
  line-height: 1 !important;
  color: #218348 !important;
}
.hero-video-play-pill:hover .pill-play-icon {
  color: #F5CE29 !important;
}
.banner-content-one .banner-btn .intro,
.banner-btn .intro,
p.intro {
  color: #182B1F !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  margin: 0 !important;
}
.progress-wrap {
  position: fixed;
  right: 30px;
  bottom: 30px;
  height: 46px;
  width: 46px;
  cursor: pointer;
  display: block;
  border-radius: 50px;
  box-shadow: inset 0 0 0 2px rgba(33, 131, 72, 0.2);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 200ms linear;
}
.progress-wrap.active-progress {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.progress-wrap::after {
  position: absolute;
  content: "\f062";
  font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free", fontawesome;
  font-weight: 900;
  text-align: center;
  line-height: 46px;
  font-size: 16px;
  color: #218348;
  left: 0;
  top: 0;
  height: 46px;
  width: 46px;
  cursor: pointer;
  display: block;
  z-index: 1;
  transition: all 200ms linear;
}
.progress-wrap svg path {
  fill: none;
}
.progress-wrap svg.progress-circle path {
  stroke: #218348;
  stroke-width: 4;
  box-sizing: border-box;
  transition: all 200ms linear;
}
.hero-image-container {
  position: relative;
  text-align: center;
}
.hero-image-container img.main-hero-img {
  max-width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(33, 131, 72, 0.15);
  border: 4px solid #ffffff;
}
.hero-floating-stat {
  position: absolute;
  bottom: 25px;
  left: 10px;
  background: #ffffff;
  padding: 14px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 5px solid #218348;
  z-index: 5;
}
.hero-floating-stat .stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #EAF4EE;
  color: #218348;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.hero-floating-stat .stat-text strong {
  display: block;
  font-size: 16px;
  color: #182B1F;
  line-height: 1.2;
}
.hero-floating-stat .stat-text span {
  font-size: 12px;
  color: #6B7D72;
}

/* About Us Section — Seamless Bottom Gradient Fade Treatment */
.about-image-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(23, 99, 54, 0.12);
  border: 4px solid #ffffff;
}
.about-image-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.about-image-card:hover img {
  transform: scale(1.03);
}

/* Smooth Bottom Gradient Fade (Blends naturally, zero rectangular edges) */
.about-image-gradient-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 52%;
  background: linear-gradient(
    to top,
    rgba(17, 38, 26, 0.94) 0%,
    rgba(17, 38, 26, 0.74) 30%,
    rgba(17, 38, 26, 0.38) 62%,
    rgba(17, 38, 26, 0.10) 84%,
    rgba(17, 38, 26, 0) 100%
  );
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s ease;
}

/* Seamless text emerging directly from the bottom gradient */
.about-image-caption-seamless {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 28px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.about-caption-pill-text {
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: #F5CE29;
  letter-spacing: 0.3px;
  line-height: 1.2;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65);
}
.about-caption-sub-text {
  font-family: 'Quicksand', sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.35;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

@media (max-width: 575px) {
  .about-image-card img {
    height: 340px;
  }
  .about-image-caption-seamless {
    padding: 18px 20px;
  }
  .about-caption-pill-text {
    font-size: 18px;
  }
  .about-caption-sub-text {
    font-size: 13.5px;
  }
}

/* Backward compatibility for previous badge selector */
.about-badge-card {
  display: none !important;
}
.about-check-list {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 767px) {
  .about-check-list {
    grid-template-columns: 1fr;
  }
}
.about-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #1A281F;
}
.about-check-item i {
  color: #218348;
  background: #EAF4EE;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Programs Card Section (Growth Stages) */
.programs-title-area {
  text-align: center !important;
}
.programs-title-area .pre-title {
  justify-content: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.programs-section-desc {
  text-align: center !important;
  margin: 12px auto 0 auto !important;
  max-width: 680px;
  display: block !important;
}

.program-card-clean {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 2px solid #E6EFE9;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.program-card-clean:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(33, 131, 72, 0.16);
  border-color: #218348;
}
.program-card-clean.featured-gold {
  border-color: #F5CE29;
}

/* Faded photograph of children in background: Balanced visibility & rich color */
.prog-card-bg-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center bottom;
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Vertical gradient overlay: Ensures high contrast for dark text while preserving colorful imagery */
.prog-card-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.96) 24%, rgba(255, 255, 255, 0.78) 60%, rgba(255, 255, 255, 0.45) 100%);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.35s ease;
}
.program-card-clean.featured-gold .prog-card-bg-gradient {
  background: linear-gradient(180deg, #FFFDF5 0%, rgba(255, 253, 245, 0.96) 24%, rgba(255, 253, 245, 0.78) 60%, rgba(255, 253, 245, 0.45) 100%);
}

.prog-card-content {
  position: relative;
  z-index: 3;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.program-card-clean .prog-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 20px;
  background: #EAF4EE;
  color: #176336;
  margin-bottom: 14px;
}
.program-card-clean.featured-gold .prog-tag {
  background: #FEF6D8;
  color: #9E7B06;
}

/* Inline header with icon positioned directly beside title */
.prog-header-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.prog-header-inline .prog-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #EAF4EE;
  color: #218348;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 0;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(33, 131, 72, 0.12);
  transition: transform 0.3s ease;
}
.program-card-clean:hover .prog-header-inline .prog-icon {
  transform: scale(1.08) rotate(3deg);
}
.program-card-clean.featured-gold .prog-header-inline .prog-icon {
  background: #FEF6D8;
  color: #D4A911;
  box-shadow: 0 4px 12px rgba(245, 206, 41, 0.2);
}
.prog-header-inline .prog-title {
  font-family: var(--font-secondary, "Nunito", sans-serif);
  font-size: 18px;
  font-weight: 800;
  color: #0A1C12;
  margin-bottom: 0;
  line-height: 1.3;
  flex: 1;
}

.program-card-clean .prog-desc {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  color: #172B1F;
  margin-bottom: 18px;
  flex-grow: 1;
}

.program-card-clean .prog-link {
  font-weight: 800;
  color: #176336;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(33, 131, 72, 0.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  width: fit-content;
  margin-top: auto;
  transition: all 0.25s ease;
}
.program-card-clean .prog-link:hover {
  background: #218348;
  color: #FFFFFF;
  border-color: #218348;
  transform: translateX(4px);
}

/* Yellow Explore Madrasa Button: Fast Neon Glow (Red, Yellow, White) + 3D Z-Axis Flip Every 2s */
@keyframes exploreMadrasaNeon {
  0%, 100% {
    border-color: #FF1A1A !important;
    box-shadow: 0 0 8px #FF1A1A, 0 0 18px rgba(255, 26, 26, 0.85), 0 0 28px rgba(255, 26, 26, 0.4), inset 0 0 6px rgba(255, 26, 26, 0.3) !important;
  }
  33.3% {
    border-color: #FFE600 !important;
    box-shadow: 0 0 10px #FFE600, 0 0 22px rgba(255, 230, 0, 0.95), 0 0 32px rgba(255, 230, 0, 0.5), inset 0 0 6px rgba(255, 230, 0, 0.35) !important;
  }
  66.6% {
    border-color: #FFFFFF !important;
    box-shadow: 0 0 12px #FFFFFF, 0 0 24px rgba(255, 255, 255, 0.95), 0 0 36px rgba(255, 255, 255, 0.6), inset 0 0 8px rgba(255, 255, 255, 0.45) !important;
  }
}

@keyframes exploreMadrasa3dFlip {
  0%, 70% {
    transform: perspective(600px) rotateX(0deg) translateY(0) translateZ(0) scale(1);
  }
  78% {
    transform: perspective(600px) rotateX(120deg) translateY(-8px) translateZ(30px) scale(1.1);
  }
  88% {
    transform: perspective(600px) rotateX(240deg) translateY(-4px) translateZ(18px) scale(1.06);
  }
  95% {
    transform: perspective(600px) rotateX(360deg) translateY(0) translateZ(0) scale(1.02);
  }
  100% {
    transform: perspective(600px) rotateX(360deg) translateY(0) translateZ(0) scale(1);
  }
}

.program-card-clean .prog-link.prog-link-explore-madrasa {
  background: #F5CE29 !important; /* Radiant Solid Yellow */
  color: #176336 !important; /* Deep Forest Green */
  border: 2px solid #FF1A1A !important;
  font-weight: 800 !important;
  font-size: 13.5px !important;
  padding: 8px 20px !important;
  border-radius: 25px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  transform-style: preserve-3d !important;
  backface-visibility: visible !important;
  animation: exploreMadrasaNeon 0.5s infinite ease-in-out,
             exploreMadrasa3dFlip 2s infinite cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  will-change: transform, box-shadow, border-color !important;
  transition: background-color 0.2s ease !important;
}

.program-card-clean .prog-link.prog-link-explore-madrasa i {
  color: #176336 !important;
  font-size: 13px !important;
  transition: transform 0.25s ease !important;
}

.program-card-clean .prog-link.prog-link-explore-madrasa:hover {
  background: #FFE033 !important;
  color: #0E3E21 !important;
  transform: perspective(800px) scale(1.08) !important;
}

.program-card-clean .prog-link.prog-link-explore-madrasa:hover i {
  transform: translateX(4px) !important;
}

/* Desktop/Web Only: Individual Card Hover Effect with Bright Color Treatments */
@media (hover: hover) and (min-width: 992px) {
  .program-card-clean {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, background 0.35s ease, border-color 0.35s ease;
  }
  .program-card-clean:hover .prog-card-bg-photo {
    opacity: 0 !important;
    transform: scale(1.02);
  }
  .program-card-clean:hover .prog-card-bg-gradient {
    opacity: 0 !important;
  }
  /* Card 1 hover color (Early Years) */
  #programs .row > div:nth-child(1) .program-card-clean:hover {
    background: #E8F8EE !important;
    border-color: #218348 !important;
    box-shadow: 0 16px 36px rgba(33, 131, 72, 0.20) !important;
  }
  /* Card 2 hover color (Lower Primary) */
  #programs .row > div:nth-child(2) .program-card-clean:hover {
    background: #FFF9E6 !important;
    border-color: #F5CE29 !important;
    box-shadow: 0 16px 36px rgba(245, 206, 41, 0.22) !important;
  }
  /* Card 3 hover color (Spiritual Growth) */
  #programs .row > div:nth-child(3) .program-card-clean:hover {
    background: #EBF5FE !important;
    border-color: #0284C7 !important;
    box-shadow: 0 16px 36px rgba(2, 132, 199, 0.20) !important;
  }
  /* Card 4 hover color (Islamic Studies) */
  #programs .row > div:nth-child(4) .program-card-clean:hover {
    background: #F5EEFD !important;
    border-color: #9333EA !important;
    box-shadow: 0 16px 36px rgba(147, 51, 234, 0.20) !important;
  }
}

/* Why Choose Us / School Facilities (Feature Cards) */
.facility-card-item {
  background: #ffffff;
  border-radius: 20px;
  padding: 26px 22px;
  border: 2px solid #E1EBE4;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.facility-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.facility-card-header .facility-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 0 !important;
  flex-shrink: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.facility-card-header .facility-title {
  font-size: 18px;
  font-weight: 800;
  color: #182B1F;
  margin-bottom: 0 !important;
  line-height: 1.25;
  transition: color 0.35s ease;
}
.facility-card-item .facility-desc {
  font-size: 14px;
  color: #516458;
  line-height: 1.6;
  margin: 0;
  transition: color 0.35s ease;
}

/* Individual Card Color Profiles: Default & Interactive Hover */
/* Card 1: Smart & Digital Learning (Forest Green) */
.facility-card-item.facility-card-green .facility-icon {
  background: #EAF4EE;
  color: #218348;
}
/* Card 2: Play & Child Development (Sunny Gold / Amber) */
.facility-card-item.facility-card-amber .facility-icon {
  background: #FEF6D8;
  color: #D97706;
}
/* Card 3: Swimming & Physical Fitness (Ocean Blue) */
.facility-card-item.facility-card-blue .facility-icon {
  background: #E0F2FE;
  color: #0284C7;
}
/* Card 4: Nutritious Meals & Safe Transport (Warm Tangerine Coral) */
.facility-card-item.facility-card-coral .facility-icon {
  background: #FFEDD5;
  color: #EA580C;
}

/* Interactive Desktop Hover Transformations with High Contrast */
@media (hover: hover) and (pointer: fine) {
  .facility-card-item.facility-card-green:hover {
    background: #218348;
    border-color: #218348;
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(33, 131, 72, 0.32);
  }
  .facility-card-item.facility-card-green:hover .facility-icon {
    background: #ffffff;
    color: #218348;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  }
  .facility-card-item.facility-card-green:hover .facility-title {
    color: #ffffff;
  }
  .facility-card-item.facility-card-green:hover .facility-desc {
    color: rgba(255, 255, 255, 0.94);
  }

  .facility-card-item.facility-card-amber:hover {
    background: #D97706;
    border-color: #D97706;
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(217, 119, 6, 0.32);
  }
  .facility-card-item.facility-card-amber:hover .facility-icon {
    background: #ffffff;
    color: #D97706;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  }
  .facility-card-item.facility-card-amber:hover .facility-title {
    color: #ffffff;
  }
  .facility-card-item.facility-card-amber:hover .facility-desc {
    color: rgba(255, 255, 255, 0.94);
  }

  .facility-card-item.facility-card-blue:hover {
    background: #0284C7;
    border-color: #0284C7;
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(2, 132, 199, 0.32);
  }
  .facility-card-item.facility-card-blue:hover .facility-icon {
    background: #ffffff;
    color: #0284C7;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  }
  .facility-card-item.facility-card-blue:hover .facility-title {
    color: #ffffff;
  }
  .facility-card-item.facility-card-blue:hover .facility-desc {
    color: rgba(255, 255, 255, 0.94);
  }

  .facility-card-item.facility-card-coral:hover {
    background: #EA580C;
    border-color: #EA580C;
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(234, 88, 12, 0.32);
  }
  .facility-card-item.facility-card-coral:hover .facility-icon {
    background: #ffffff;
    color: #EA580C;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  }
  .facility-card-item.facility-card-coral:hover .facility-title {
    color: #ffffff;
  }
  .facility-card-item.facility-card-coral:hover .facility-desc {
    color: rgba(255, 255, 255, 0.94);
  }
}

/* ========================================================
   Admissions & Fees Section - Full-Width Two-Column Redesign
   Eliminates horizontal dead space on web view with playful academic accents
   ======================================================== */
.admissions-pricing-section {
  background: linear-gradient(180deg, #F4F8F5 0%, #FFFFFF 50%, #F9FBF9 100%);
  padding: 85px 0 95px 0;
  position: relative;
  overflow: hidden;
}

/* Playful Ambient Educational Doodles */
.fee-decorative-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.edu-doodle {
  position: absolute;
  display: inline-block;
  opacity: 0.28;
  animation: floatEduDoodle 6s ease-in-out infinite;
}
.edu-doodle.doodle-ruler {
  top: 90px;
  left: 35px;
  font-size: 32px;
  color: #F5CE29;
  transform: rotate(-25deg);
  animation-delay: 0s;
}
.edu-doodle.doodle-planet {
  top: 80px;
  right: 40px;
  font-size: 36px;
  color: #218348;
  transform: rotate(15deg);
  animation-delay: 1.5s;
}
.edu-doodle.doodle-pencil {
  top: 48%;
  left: 20px;
  font-size: 26px;
  color: #218348;
  transform: rotate(45deg);
  animation-delay: 3s;
}
.edu-doodle.doodle-star {
  top: 46%;
  right: 25px;
  font-size: 28px;
  color: #F5CE29;
  animation-delay: 2s;
}
.edu-doodle.doodle-book {
  bottom: 45px;
  left: 45px;
  font-size: 28px;
  color: #218348;
  transform: rotate(-10deg);
  animation-delay: 4s;
}
.edu-doodle.doodle-palette {
  bottom: 50px;
  right: 50px;
  font-size: 32px;
  color: #F5CE29;
  transform: rotate(-20deg);
  animation-delay: 2.5s;
}
@keyframes floatEduDoodle {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(6deg);
  }
}

/* Fee Schedule Full-Width Container */
.fee-schedule-container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Gentle Floating Ambient Image on Fee Section (Web View Only, Bottom-Right, Transparent) */
@keyframes feeFloatGently {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) rotate(1.2deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.fee-float-image-wrap {
  display: none; /* Hidden on mobile and tablet */
  position: absolute;
  right: -10px;
  bottom: 40px;
  width: clamp(260px, 22vw, 380px);
  max-width: 400px;
  z-index: 1; /* Sits behind text and cards */
  pointer-events: none;
  user-select: none;
  opacity: 0.22; /* Transparent to not opaque or obscure text */
  transition: opacity 0.3s ease;
}

@media (min-width: 992px) {
  .fee-float-image-wrap {
    display: block; /* Web view only */
  }
}

.fee-float-image {
  width: 100%;
  height: auto;
  display: block;
  animation: feeFloatGently 7s ease-in-out infinite;
  will-change: transform;
}

/* Unified Column Cards (Left & Right) */
.fee-col-card {
  background: #ffffff;
  border-radius: 22px;
  border: 2px solid rgba(33, 131, 72, 0.2);
  box-shadow: 0 16px 40px -10px rgba(23, 99, 54, 0.1), 0 4px 12px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.fee-col-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -10px rgba(23, 99, 54, 0.16);
  border-color: #218348;
}

/* Card Headers */
.fee-col-header,
.coverage-col-header {
  background: #176336;
  color: #ffffff;
  padding: 24px 28px;
  border-bottom: 3.5px solid #F5CE29;
}
.fee-col-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.fee-badge-pill,
.coverage-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(245, 206, 41, 0.18);
  color: #F5CE29;
  border: 1px solid rgba(245, 206, 41, 0.4);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.fee-col-title-wrap h3,
.coverage-col-header h3 {
  color: #ffffff;
  font-size: 21px;
  font-weight: 800;
  margin: 0;
  line-height: 1.25;
}
.fee-header-sub,
.coverage-sub {
  color: #C7E2D2;
  font-size: 13px;
  margin: 4px 0 0 0;
  line-height: 1.4;
}
.tuition-highlight-badge {
  background: #F5CE29;
  color: #176336;
  padding: 10px 18px;
  border-radius: 14px;
  text-align: right;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(245, 206, 41, 0.3);
}
.tuition-highlight-badge .amount {
  font-size: 24px;
  font-weight: 900;
  display: block;
  line-height: 1;
}
.tuition-highlight-badge .period {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Card Bodies */
.fee-col-body,
.coverage-col-body {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

/* Left Column: Fee Items */
.fee-tier-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.fee-tier-item {
  background: #F8FAF8;
  border: 1.5px solid rgba(33, 131, 72, 0.12);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all 0.25s ease;
}
.fee-tier-item:hover {
  background: #ffffff;
  border-color: #218348;
  box-shadow: 0 6px 18px rgba(33, 131, 72, 0.08);
}
.fee-tier-item.is-featured {
  background: #FCFDFB;
  border: 2px solid #218348;
  box-shadow: 0 6px 20px rgba(33, 131, 72, 0.1);
}
.tier-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(33, 131, 72, 0.1);
  color: #218348;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.fee-tier-item.is-featured .tier-icon-wrap {
  background: #218348;
  color: #F5CE29;
}
.tier-content {
  flex-grow: 1;
}
.tier-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.tier-name {
  font-size: 15.5px;
  font-weight: 800;
  color: #182B1F;
  margin: 0;
}
.tier-price {
  font-size: 18px;
  font-weight: 900;
  color: #218348;
}
.tier-desc {
  font-size: 13px;
  color: #4A5C50;
  margin: 3px 0 6px 0;
  line-height: 1.45;
}
.tier-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: #EAF4EE;
  color: #218348;
  padding: 2px 8px;
  border-radius: 6px;
}
.tier-tag.tag-featured {
  background: #F5CE29;
  color: #176336;
}

/* Call To Action Buttons & Pulse Effect */
.fee-actions-cluster {
  margin-top: auto;
}
/* Stable Solid Register Button (No Blinking or Pulsing) */
.fee-register-btn,
.fee-pulse-cta {
  animation: none !important;
  background: #218348 !important;
  color: #F5CE29 !important;
  font-weight: 800 !important;
  font-size: 14.5px !important;
  height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 2px solid #218348 !important;
  border-radius: 30px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(33, 131, 72, 0.28) !important;
  transition: transform 0.2s ease, background-color 0.2s ease !important;
}
.fee-register-btn:hover,
.fee-pulse-cta:hover {
  background: #176336 !important;
  border-color: #176336 !important;
  color: #FFE66D !important;
  transform: translateY(-2px) !important;
}
.fee-secondary-actions .rts-btn {
  height: 42px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

/* ==========================================================================
   MOBILE-ONLY CONTACT BADGE REDESIGN (Emerald & Gold Speech Bubble)
   Replaces mobile presentation of CALL TO REGISTER with emerald speech bubble,
   yellow circular phone icon, CALL US NOW! text, and gold phone banner.
   Strictly mobile-only — desktop presentation remains 100% preserved.
   ========================================================================== */
.fee-mobile-contact-wrapper {
  margin-top: 14px;
}

.mobile-contact-bubble-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

/* Rounded Speech Bubble */
.contact-speech-bubble {
  position: relative;
  background: #08331d;
  border: 2px solid #0f5132;
  border-radius: 20px;
  padding: 14px 20px 16px 20px;
  width: 100%;
  box-shadow: 0 8px 22px rgba(8, 51, 29, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bubble-content-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.bubble-phone-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffc107;
  color: #08331d;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28), inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.bubble-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.bubble-call-us {
  color: #ffffff;
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.bubble-now {
  color: #ffc107;
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Speech-Bubble Downward Arrow Tail */
.bubble-arrow-tail {
  position: absolute;
  bottom: -11px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #08331d;
  z-index: 3;
}

/* Gold Phone Number Banner */
.mobile-gold-phone-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
  color: #08331d !important;
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 20px;
  font-weight: 900;
  padding: 12px 20px;
  border-radius: 30px;
  border: 2.5px solid #08331d;
  box-shadow: 0 6px 16px rgba(255, 193, 7, 0.45);
  text-decoration: none !important;
  margin-top: 8px;
  letter-spacing: 0.8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
}

.mobile-gold-phone-banner:active {
  transform: scale(0.97);
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.35);
}

.mobile-fee-secondary-actions {
  width: 100%;
}

/* Right Column: Inclusive Amenities Grid */
.coverage-items-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}
.coverage-grid-item {
  background: #F8FAF8;
  border: 1.5px solid rgba(33, 131, 72, 0.12);
  border-radius: 14px;
  padding: 14px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: all 0.25s ease;
}
.coverage-grid-item:hover {
  background: #ffffff;
  border-color: #218348;
  box-shadow: 0 6px 16px rgba(33, 131, 72, 0.08);
  transform: translateY(-2px);
}
.coverage-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #EAF4EE;
  color: #218348;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: all 0.25s ease;
}
.coverage-grid-item:hover .coverage-icon-circle {
  background: #218348;
  color: #F5CE29;
}
.coverage-text h5 {
  font-size: 13.5px;
  font-weight: 800;
  color: #182B1F;
  margin: 0 0 3px 0;
  line-height: 1.3;
}
.coverage-text p {
  font-size: 12px;
  color: #4A5C50;
  line-height: 1.4;
  margin: 0;
}

/* Community Trust Banner */
.coverage-community-banner {
  background: rgba(245, 206, 41, 0.12);
  border: 1.5px solid rgba(245, 206, 41, 0.35);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.community-banner-icon {
  font-size: 20px;
  color: #D4A911;
  flex-shrink: 0;
}
.community-banner-text {
  font-size: 12px;
  color: #176336;
  line-height: 1.45;
}

/* Responsive Fee Schedule */
@media (max-width: 991px) {
  .coverage-items-grid {
    grid-template-columns: 1fr;
  }
  .fee-col-card {
    margin-bottom: 20px;
  }
}
@media (max-width: 767px) {
  .admissions-pricing-section {
    padding: 60px 0 70px 0;
  }
  .fee-col-header,
  .coverage-col-header,
  .fee-col-body,
  .coverage-col-body {
    padding: 20px 18px;
  }
  .fee-secondary-actions {
    flex-direction: column;
  }
  .tuition-highlight-badge {
    text-align: left;
    width: 100%;
  }
  /* Polish: Keep call button on a single line and avoid doodle overlap on narrow viewports */
  .edu-doodle.doodle-ruler,
  .edu-doodle.doodle-planet {
    display: none !important;
  }
  .fee-pulse-cta {
    font-size: 13px !important;
    white-space: nowrap !important;
    padding: 0 10px !important;
    letter-spacing: -0.2px !important;
  }
}

/* Testimonials Infinite Marquee Ticker */
.testimonials-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 16px 0 24px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}
.testimonials-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: testimonialsMarqueeScroll 42s linear infinite;
  -webkit-animation: testimonialsMarqueeScroll 42s linear infinite;
  will-change: transform;
}
.testimonials-marquee-wrapper:hover .testimonials-marquee-track {
  animation-play-state: paused;
  -webkit-animation-play-state: paused;
}
@keyframes testimonialsMarqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 12px));
  }
}
@-webkit-keyframes testimonialsMarqueeScroll {
  0% {
    -webkit-transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(calc(-50% - 12px));
  }
}

.testimonial-box-clean {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 28px;
  border: none !important;
  outline: none !important;
  box-shadow: inset 0 0 12px rgba(255, 215, 0, 0.25) !important;
  position: relative;
  width: 360px;
  min-width: 360px;
  max-width: 360px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}
@media (max-width: 767px) {
  .testimonial-box-clean {
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    padding: 24px 20px;
  }
  .testimonials-marquee-track {
    gap: 16px;
    animation-duration: 32s;
    -webkit-animation-duration: 32s;
  }
  @keyframes testimonialsMarqueeScroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-50% - 8px));
    }
  }
  @-webkit-keyframes testimonialsMarqueeScroll {
    0% {
      -webkit-transform: translateX(0);
    }
    100% {
      -webkit-transform: translateX(calc(-50% - 8px));
    }
  }
}
.testimonial-quote-icon {
  font-size: 32px;
  color: #F5CE29;
  margin-bottom: 16px;
}
.testimonial-box-clean .quote-text {
  font-size: 16px;
  line-height: 1.65;
  color: #2B3D31;
  font-style: italic;
  margin-bottom: 22px;
}
.testimonial-author-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #EAF4EE;
  color: #218348;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
}
.testimonial-author-info h6 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #182B1F;
}
.testimonial-author-info span {
  font-size: 13px;
  color: #6A7E72;
}

/* Footer Section */
.rts-footer-area {
  background: #11281A !important;
  color: #C3D4CA;
  padding-top: 60px;
}
.rts-footer-area .footer-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}
.rts-footer-area .footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: #F5CE29;
  border-radius: 2px;
}
.rts-footer-area p,
.rts-footer-area li {
  color: #C3D4CA;
  font-size: 14px;
  line-height: 1.7;
}
.rts-footer-area a {
  color: #C3D4CA;
  text-decoration: none;
  transition: color 0.2s ease;
}
.rts-footer-area a:hover {
  color: #F5CE29 !important;
}
.rts-footer-area .footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.rts-footer-area .footer-contact-item i {
  color: #F5CE29;
  font-size: 16px;
  margin-top: 4px;
}
.copyright-area-one {
  background: #0B1C12 !important;
  padding: 18px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  position: relative !important;
  z-index: 10 !important;
}
.copyright-content-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}
.copyright-area-one .copyright-text,
.copyright-area-one .developer-credit {
  color: #8CA095 !important;
  font-size: 13.5px !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}
.copyright-area-one .developer-credit {
  padding-right: 56px !important; /* Clearance so back-to-top button never overlaps text */
}
.copyright-area-one .dev-link {
  color: #F5CE29 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}
.copyright-area-one .dev-link:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

/* Floating Back-to-Top Button Elevation */
.progress-wrap {
  bottom: 24px !important;
  right: 24px !important;
  z-index: 9999 !important;
}

@media (max-width: 991px) {
  .copyright-content-wrapper {
    flex-direction: column !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 8px !important;
  }
  .copyright-area-one .copyright-text,
  .copyright-area-one .developer-credit {
    font-size: 12.5px !important;
    text-align: center !important;
    padding-right: 0 !important;
  }
  .progress-wrap {
    bottom: 85px !important; /* Elevated above footer on mobile viewports */
    right: 16px !important;
    width: 40px !important;
    height: 40px !important;
  }
  .progress-wrap::after,
  .progress-wrap::before {
    line-height: 40px !important;
    font-size: 20px !important;
    width: 40px !important;
    height: 40px !important;
  }
}


/* ========================================================
   Mobile-First Responsive Redesign & Navigation System
   Optimized for Small Phones (320-375px), Large Phones (390-430px),
   Tablets (768-991px), and Desktop (992px+)
   ======================================================== */

/* Global Mobile Scroll & Viewport Stabilization */
html {
  scroll-behavior: smooth;
}
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
}
body {
  overflow-y: auto !important; /* Overrides template body { overflow: hidden } */
}
body.mobile-menu-locked {
  overflow: hidden !important;
  touch-action: none;
}

/* --- Top Announcement Bar Responsive Optimization --- */
@media (max-width: 991px) {
  .thamaratul-topbar {
    padding: 6px 0;
    font-size: 11.5px;
  }
  .thamaratul-topbar .top-badge {
    font-size: 9.5px;
    padding: 1px 6px;
    margin-right: 4px;
    letter-spacing: 0.3px;
  }
  .thamaratul-topbar .top-item {
    font-size: 11.5px;
    margin-right: 8px;
  }
}
@media (max-width: 575px) {
  .thamaratul-topbar {
    padding: 5px 0;
  }
  .thamaratul-topbar .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .thamaratul-topbar .top-announcement-text {
    font-size: 11px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 4px;
  }
  .thamaratul-topbar .top-contact-text {
    display: none; /* Contact links and direct call buttons are prominently accessible in mobile menu */
  }
}

/* --- Compact Header & Brand Logo on Mobile / Tablet / Zoom-In --- */
@media (max-width: 1140px) {
  .header-one {
    position: fixed !important;
    top: 54px;
    width: 100% !important;
    z-index: 999 !important;
    background: transparent !important;
    box-shadow: none !important;
    pointer-events: none;
  }
  .header-one .container,
  .header-one-wrapper {
    pointer-events: auto;
  }
  .header-one-wrapper {
    border-radius: 50px !important;
    padding: 6px 18px !important;
    min-height: 58px !important;
    height: 58px !important;
    border-width: 1.5px !important;
    border-color: rgba(33, 131, 72, 0.25) !important;
    box-shadow: 0 8px 24px -4px rgba(23, 99, 54, 0.08) !important;
    margin: 4px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
  }
  .school-brand-area {
    gap: 8px !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
  }
  .school-brand-logo {
    height: 40px !important;
    width: auto !important;
    flex-shrink: 0 !important;
  }
  .school-brand-title {
    font-size: 16px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.2px !important;
    white-space: nowrap !important;
  }
  .school-brand-tagline {
    display: none !important; /* Hidden on compact view to prevent vertical crowding */
  }
  .main-nav-one {
    display: none !important;
  }
  .header-right-area-one {
    gap: 0 !important;
    flex-shrink: 0 !important;
  }
  .header-right-area-one .buttons-area {
    display: none !important;
  }
  .header-right-area-one .menu-btn {
    display: none !important;
  }
}
@media (max-width: 575px) {
  .header-one-wrapper {
    border-radius: 18px !important;
    padding: 6px 14px !important;
  }
}
@media (max-width: 375px) {
  .header-one-wrapper {
    padding: 5px 10px !important;
    height: 54px !important;
    min-height: 54px !important;
  }
  .school-brand-logo {
    height: 36px !important;
  }
  .school-brand-title {
    font-size: 14px !important;
  }
}

/* --- Animated Hamburger Button with Tactile Jumpy Pop Effect --- */
.thamaratul-hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0 !important;
  width: 42px;
  height: 42px;
  position: relative;
  border-radius: 12px;
  transition: background-color 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1002;
  -webkit-tap-highlight-color: transparent;
  transform-origin: center center;
}
@media (max-width: 1140px) {
  .thamaratul-hamburger-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}
.thamaratul-hamburger-btn:hover,
.thamaratul-hamburger-btn:focus-visible {
  background-color: rgba(33, 131, 72, 0.08);
  outline: none;
}
.thamaratul-hamburger-btn:active {
  transform: scale(0.86);
}
.thamaratul-hamburger-btn.btn-jump {
  animation: hamburgerSpringBounce 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes hamburgerSpringBounce {
  0% {
    transform: scale(1);
  }
  28% {
    transform: scale(0.74) rotate(-6deg);
  }
  58% {
    transform: scale(1.26) rotate(6deg);
  }
  82% {
    transform: scale(0.94) rotate(-2deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

.hamburger-box {
  width: 22px !important;
  height: 18px !important;
  display: block !important;
  position: relative !important;
  margin: 0 auto !important;
}
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 22px !important;
  height: 2.5px !important;
  background-color: #218348 !important;
  border-radius: 4px !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  transform-origin: center center !important;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              background-color 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.2s ease,
              top 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              bottom 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.hamburger-inner {
  top: 50% !important;
  margin-top: -1.25px !important;
}
.hamburger-inner::before {
  content: "";
  top: -7px !important;
  left: 0 !important;
}
.hamburger-inner::after {
  content: "";
  bottom: -7px !important;
  left: 0 !important;
}

/* Transformed into X state with bouncy pop */
.thamaratul-hamburger-btn.is-active {
  background-color: rgba(33, 131, 72, 0.12) !important;
}
.thamaratul-hamburger-btn.is-active .hamburger-inner {
  transform: rotate(45deg) !important;
  background-color: #176336 !important;
  animation: xBounceSpin 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.thamaratul-hamburger-btn.is-active .hamburger-inner::before {
  top: 0 !important;
  opacity: 0 !important;
  transform: rotate(90deg) !important;
}
.thamaratul-hamburger-btn.is-active .hamburger-inner::after {
  bottom: 0 !important;
  transform: rotate(-90deg) !important;
  background-color: #176336 !important;
}

@keyframes xBounceSpin {
  0% {
    transform: scale(0.6) rotate(0deg);
  }
  60% {
    transform: scale(1.24) rotate(54deg);
  }
  100% {
    transform: scale(1) rotate(45deg);
  }
}

/* --- Modern Minimal Glassmorphic Mobile Navigation Panel --- */
.thamaratul-mobile-nav {
  display: none;
}
@media (max-width: 1140px) {
  .thamaratul-mobile-nav {
    display: block;
    position: absolute;
    top: calc(100% + 6px);
    left: 12px;
    right: 12px;
    width: auto;
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border-radius: 20px !important;
    box-shadow: 0 16px 40px -10px rgba(23, 99, 54, 0.16),
                0 4px 16px rgba(0, 0, 0, 0.04),
                inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    outline: 1px solid rgba(33, 131, 72, 0.12) !important;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.97);
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.25s ease,
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.3s ease;
    z-index: 1000;
  }
  .thamaratul-mobile-nav.is-open {
    max-height: calc(100vh - 85px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
  .mobile-nav-inner {
    padding: 10px 12px 12px 12px !important;
  }
  .mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0 0 8px 0 !important;
    display: flex;
    flex-direction: column;
    gap: 3px !important;
  }
  .mobile-nav-links li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }
  .mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 10px !important;
    padding: 6.5px 12px !important;
    color: #1A281F;
    text-decoration: none;
    font-size: 13.5px !important;
    font-weight: 700;
    border-radius: 10px;
    transition: all 0.18s ease;
    min-height: 38px !important;
  }
  .mobile-nav-link i {
    width: 18px !important;
    color: #218348;
    font-size: 13.5px !important;
    text-align: center;
    transition: transform 0.2s ease;
  }
  .mobile-nav-link:hover,
  .mobile-nav-link:active,
  .mobile-nav-link:focus-visible {
    background: rgba(33, 131, 72, 0.08) !important;
    color: #218348;
  }
  .mobile-nav-link:hover i,
  .mobile-nav-link:active i {
    transform: scale(1.12);
  }
  .mobile-nav-actions {
    border-top: 1px solid rgba(33, 131, 72, 0.12) !important;
    padding-top: 8px !important;
  }
  .mobile-nav-actions .mobile-nav-btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 16px !important;
    font-size: 13.5px !important;
    font-weight: 800;
    justify-content: center !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 10px !important;
    margin-bottom: 6px !important;
    box-sizing: border-box !important;
  }
  .mobile-nav-contact-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px !important;
    margin-top: 6px !important;
  }
  .mobile-contact-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px !important;
    padding: 6.5px 8px !important;
    border-radius: 8px;
    background: rgba(244, 248, 245, 0.75) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #176336;
    font-size: 11px !important;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(33, 131, 72, 0.12) !important;
    transition: all 0.2s ease;
  }
  .mobile-contact-pill.whatsapp {
    background: rgba(234, 249, 238, 0.8) !important;
    color: #1B833A;
    border-color: rgba(33, 131, 72, 0.18) !important;
  }
  .mobile-contact-pill:hover,
  .mobile-contact-pill:active {
    background: rgba(33, 131, 72, 0.12) !important;
    color: #218348;
  }
}

/* Background Backdrop for Click-Outside */
.thamaratul-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 40, 26, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  z-index: 998;
}
.thamaratul-nav-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

/* ========================================================
   Hero Section - Faded Background Imagery & Balanced Left-Aligned UI
   ======================================================== */

.hero-ambient-bg {
  position: relative !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, #F5FAF6 0%, #FFFFFF 60%, #EEF7F1 100%) !important;
  padding: 85px 0 85px 0 !important;
}
@media (max-width: 991px) {
  .hero-ambient-bg {
    padding: 145px 0 65px 0 !important;
  }
}

/* Faded Background Children Imagery Sitting Directly Behind Titles */
.hero-backdrop-graphic {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-backdrop-img {
  position: absolute;
  top: -15px;
  right: -25px;
  width: 100%;
  max-width: 580px;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0.22;
  filter: contrast(1.05) saturate(1.15);
  mask-image: radial-gradient(circle at 65% 35%, rgba(0,0,0,1) 30%, rgba(0,0,0,0.3) 65%, transparent 88%),
              linear-gradient(to right, transparent 0%, rgba(0,0,0,1) 35%);
  -webkit-mask-image: radial-gradient(circle at 65% 35%, rgba(0,0,0,1) 30%, rgba(0,0,0,0.3) 65%, transparent 88%),
                      linear-gradient(to right, transparent 0%, rgba(0,0,0,1) 35%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

.hero-backdrop-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #F5FAF6 20%, rgba(245, 250, 246, 0.7) 50%, rgba(255, 255, 255, 0.15) 100%);
  pointer-events: none;
}

/* Hero Typography - Strictly Left-Aligned & High Contrast */
.hero-ambient-bg .title-banner {
  font-size: 44px !important;
  line-height: 1.22 !important;
  font-weight: 900 !important;
  color: #182B1F !important;
  margin-bottom: 16px !important;
  text-align: left !important;
}
.hero-ambient-bg .disc {
  font-size: 17px !important;
  line-height: 1.65 !important;
  color: #2D3D32 !important;
  margin-top: 12px !important;
  margin-bottom: 22px !important;
  max-width: 680px;
  text-align: left !important;
}

/* Trust Pill Metric */
.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid #D6E8DC;
  box-shadow: 0 4px 16px rgba(23, 99, 54, 0.06);
  font-size: 13.5px;
  color: #2D3D32;
  margin-bottom: 26px !important;
}
.hero-trust-badge .trust-pill-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #EAF4EE;
  color: #218348;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.hero-trust-badge strong {
  color: #182B1F;
}

/* Minimal, Clean Side-by-Side Action Group */
.hero-cta-group {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  margin-top: 6px !important;
  margin-bottom: 0 !important;
}

/* Minimal 46px Pill Buttons for Optical Balance */
.hero-btn-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 46px !important;
  padding: 0 22px !important;
  border-radius: 30px !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.1px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(33, 131, 72, 0.18) !important;
  transition: all 0.25s ease !important;
  border: 2px solid transparent !important;
  white-space: nowrap !important;
}
.hero-btn-pill.btn-primary {
  background: #218348 !important;
  color: #ffffff !important;
  border-color: #218348 !important;
}
.hero-btn-pill.btn-primary:hover {
  background: #176336 !important;
  border-color: #176336 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(23, 99, 54, 0.28) !important;
}
.hero-btn-pill.btn-gold {
  background: #F5CE29 !important;
  color: #176336 !important;
  border-color: #F5CE29 !important;
  box-shadow: 0 4px 12px rgba(245, 206, 41, 0.24) !important;
}
.hero-btn-pill.btn-gold:hover {
  background: #D8B114 !important;
  border-color: #D8B114 !important;
  color: #0E3E21 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(216, 177, 20, 0.3) !important;
}

/* Minimal Watch Video Button Positioned Beside CTAs */
.hero-ambient-bg .video-btn-area {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 0 0 4px !important;
  cursor: pointer !important;
  padding: 4px 10px 4px 4px !important;
  border-radius: 30px !important;
  transition: all 0.25s ease !important;
}
.hero-ambient-bg .video-btn-area:hover {
  background: rgba(33, 131, 72, 0.06) !important;
}
.hero-ambient-bg .vedio-icone {
  position: relative !important;
  display: inline-block !important;
  width: 44px !important;
  height: 44px !important;
  flex-shrink: 0 !important;
}
.hero-ambient-bg .vedio-icone .video-play-button {
  width: 44px !important;
  height: 44px !important;
  line-height: 42px !important;
  border-radius: 50% !important;
  background: #218348 !important;
  border: 2px solid #182B1F !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 3px 10px rgba(33, 131, 72, 0.2) !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
}
.hero-ambient-bg .vedio-icone .video-play-button::after {
  content: "" !important;
  position: absolute !important;
  z-index: -1 !important;
  right: -2px !important;
  bottom: -2px !important;
  display: block !important;
  width: 46px !important;
  height: 46px !important;
  background: #182B1F !important;
  border-radius: 50% !important;
  transition: all 0.2s ease !important;
}
.hero-ambient-bg .vedio-icone .video-play-button:hover {
  background: #176336 !important;
  transform: scale(1.05) !important;
}
.hero-ambient-bg .vedio-icone .video-play-button span.icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}
.hero-ambient-bg .vedio-icone .video-play-button span.icon img {
  width: 17px !important;
  height: 17px !important;
  filter: brightness(0) invert(1) !important; /* Crisp white play icon inside green circle */
}
.hero-ambient-bg .video-btn-area .intro {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #182B1F !important;
  margin: 0 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}
/* Responsive Behavior for Tablet and Mobile */
@media (max-width: 991px) {
  .banner-area-one,
  .banner-area-one.hero-ambient-bg,
  .hero-ambient-bg {
    padding: 95px 0 30px 0 !important;
    background: #FAF7F0 !important;
  }
  .banner-content-one {
    padding: 0 !important;
  }
  .banner-content-one .title-banner {
    font-size: 30px !important;
    line-height: 1.22 !important;
    letter-spacing: -0.2px !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    font-weight: 800 !important;
    color: #133E24 !important;
  }
  .banner-content-one .disc {
    font-size: 14.5px !important;
    line-height: 1.55 !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    color: #38463D !important;
  }
  .hero-val-props {
    gap: 10px !important;
    margin: 10px 0 16px 0 !important;
  }
  .val-prop-item {
    font-size: 13px !important;
    padding: 5px 10px !important;
  }
  .hero-cta-cluster {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin: 14px 0 10px 0 !important;
  }
  .hero-cta-group {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .btn-forest-solid,
  .btn-forest-outline {
    height: 44px !important;
    padding: 0 18px !important;
    font-size: 13.5px !important;
  }
  .hero-video-card-container {
    margin-top: 10px !important;
  }
}

/* Mobile Viewport Optimizations */
@media (max-width: 575px) {
  .banner-area-one,
  .banner-area-one.hero-ambient-bg,
  .hero-ambient-bg {
    padding: 85px 0 24px 0 !important;
    background: #FAF7F0 !important;
  }
  .banner-content-one .title-banner {
    font-size: 25px !important;
    line-height: 1.25 !important;
    letter-spacing: -0.2px !important;
    font-weight: 800 !important;
    color: #133E24 !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
  }
  .banner-content-one .disc {
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #38463D !important;
    margin-bottom: 10px !important;
  }
  .hero-val-props {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 8px 0 14px 0 !important;
  }
  .val-prop-item {
    font-size: 11px !important;
    padding: 3px 8px !important;
    white-space: nowrap !important;
    letter-spacing: -0.2px !important;
  }
  .val-prop-check {
    font-size: 10.5px !important;
  }
  .hero-cta-cluster {
    gap: 8px !important;
    margin: 12px 0 8px 0 !important;
  }
  .hero-cta-group {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .btn-forest-solid,
  .btn-forest-outline {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    height: 42px !important;
    padding: 0 10px !important;
    font-size: 12.5px !important;
    letter-spacing: -0.2px !important;
    justify-content: center !important;
    text-align: center !important;
    border-radius: 25px !important;
  }
  .hero-video-trigger-wrap {
    margin: 8px 0 !important;
  }
  .hero-video-trigger {
    font-size: 13.5px !important;
  }
  .video-trigger-circle {
    width: 28px !important;
    height: 28px !important;
    font-size: 9.5px !important;
  }
  .hero-video-card-container {
    margin-top: 8px !important;
    width: 100% !important;
  }
  .hero-video-card {
    border-radius: 16px !important;
  }
  .center-play-disc {
    width: 48px !important;
    height: 48px !important;
    font-size: 16px !important;
  }
  .hero-video-play-pill {
    bottom: 10px !important;
    right: 10px !important;
    font-size: 11.5px !important;
    padding: 5px 12px !important;
  }
}

@media (max-width: 360px) {
  .banner-content-one .title-banner {
    font-size: 22px !important;
    line-height: 1.25 !important;
  }
  .btn-forest-solid,
  .btn-forest-outline {
    font-size: 11px !important;
    padding: 0 6px !important;
    height: 38px !important;
  }
  .val-prop-item {
    font-size: 10.5px !important;
  }
}

/* ==========================================================================
   GLOBAL SECTION SPACING & HIERARCHY SYSTEM
   Eliminates excessive gaps between sections and aligns visual flow
   ========================================================================== */

/* Universal Section Gap Normalization */
.rts-section-gap {
  padding: 56px 0 !important;
}
.rts-section-gapTop {
  padding-top: 56px !important;
}
.rts-section-gapBottom {
  padding-bottom: 56px !important;
}

/* Section Title & Subtext Hierarchy */
.section-title-area {
  margin-bottom: 28px !important;
}
.section-title-area .pre-title {
  margin-bottom: 8px !important;
}
.section-title-area .section-title {
  margin-bottom: 10px !important;
  line-height: 1.25 !important;
}
.section-title-area .desc {
  margin-top: 8px !important;
  font-size: 15.5px !important;
  line-height: 1.65 !important;
  max-width: 700px;
}
.section-title-area.text-center .desc,
.text-center > .section-title-area .desc {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}
.section-inner.mt--40,
.section-inner.mt--50 {
  margin-top: 24px !important;
}

/* Footer Section Spacing */
.rts-footer-area {
  padding-top: 56px !important;
}
.rts-footer-area .row.pb--60 {
  padding-bottom: 30px !important;
}

@media (max-width: 991px) {
  .rts-section-gap {
    padding: 40px 0 !important;
  }
  .rts-section-gapTop {
    padding-top: 40px !important;
  }
  .rts-section-gapBottom {
    padding-bottom: 40px !important;
  }
  .section-title-area {
    margin-bottom: 20px !important;
  }
  .section-inner.mt--40,
  .section-inner.mt--50 {
    margin-top: 18px !important;
  }
  .rts-footer-area {
    padding-top: 40px !important;
  }
}

@media (max-width: 575px) {
  .rts-section-gap {
    padding: 32px 0 !important;
  }
  .rts-section-gapTop {
    padding-top: 32px !important;
  }
  .rts-section-gapBottom {
    padding-bottom: 32px !important;
  }
  .section-title-area {
    margin-bottom: 16px !important;
  }
  .section-inner.mt--40,
  .section-inner.mt--50 {
    margin-top: 14px !important;
  }
  .rts-footer-area {
    padding-top: 32px !important;
  }
}


/* ==========================================================================
   INTERACTIVE 3D ORBITING PLANET GALLERY SLIDER WITH KIDS ELEMENTS
   Features Z-axis cylindrical orbit, drag/swipe physics, auto-rotation,
   planet rings, central sun crest, and floating playful kids doodles.
   ========================================================================== */
.rts-gallery-orbit-section {
  background: linear-gradient(180deg, #FAF7F0 0%, #F5F1E8 50%, #FAF7F0 100%) !important;
  overflow: hidden !important;
  position: relative !important;
  padding: 64px 0 74px 0 !important;
}

/* Floating Kid Background Doodles — Subtle, Non-Competing Background Accents (Task 2) */
.kid-floating-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.kid-doodle {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.12; /* Subtle background opacity, does not compete with heading */
  animation: kidDoodleFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.04));
  pointer-events: none;
}
/* Well-spaced peripheral coordinates that never touch or collide with the center heading */
.kid-star-1   { top: 6%; left: 3%; color: #F5CE29; font-size: 24px; animation-duration: 5.5s; animation-delay: 0s; }
.kid-planet-1 { top: 18%; right: 4%; color: #218348; font-size: 30px; animation-duration: 6.8s; animation-delay: 1.2s; }
.kid-rocket-1 { bottom: 18%; left: 4%; color: #FF7A59; font-size: 28px; animation-duration: 6.0s; animation-delay: 2.1s; }
.kid-heart-1  { top: 40%; left: 2%; color: #EC4899; font-size: 20px; animation-duration: 5.2s; animation-delay: 0.8s; }
.kid-sun-1    { top: 8%; right: 4%; color: #F59E0B; font-size: 28px; animation-duration: 7.4s; animation-delay: 1.7s; }
.kid-pencil-1 { bottom: 22%; right: 5%; color: #3B82F6; font-size: 22px; animation-duration: 6.4s; animation-delay: 2.6s; }
.kid-star-2   { bottom: 36%; right: 3%; color: #F5CE29; font-size: 18px; animation-duration: 4.8s; animation-delay: 0.4s; }
.kid-cloud-1  { top: 28%; left: 5%; color: #60A5FA; font-size: 26px; animation-duration: 7.0s; animation-delay: 1.5s; }
.kid-moon-1   { bottom: 10%; left: 12%; color: #FBBF24; font-size: 22px; animation-duration: 5.8s; animation-delay: 2.3s; }
.kid-shapes-1 { top: 14%; left: 4%; color: #10B981; font-size: 22px; animation-duration: 6.2s; animation-delay: 0.9s; }

/* Gentle, elegant vertical float without excessive rotation or scaling */
@keyframes kidDoodleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .kid-doodle {
    animation: none !important;
  }
}

/* Game Prompt Badge */
.gallery-game-badge {
  display: inline-block;
  margin-top: 6px;
}
.game-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  background: rgba(33, 131, 72, 0.08);
  border: 1.5px solid rgba(33, 131, 72, 0.18);
  border-radius: 20px;
  color: #176336;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(33, 131, 72, 0.06);
}

/* 3D Orbit Stage & Circular Perspective - Close, Balanced & Non-Touching Spacing */
.orbit-3d-stage-wrapper {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 46px auto 0 auto !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.orbit-3d-stage {
  position: relative;
  width: 100%;
  height: 440px !important;
  perspective: 1100px;
  perspective-origin: 50% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}
.orbit-3d-stage.is-grabbing {
  cursor: grabbing !important;
}

/* Central Orbit Center (Sun / Crest) - Removed per user request to unblock center view */
.orbit-center-sun {
  display: none !important;
}

/* 3D Carousel Cylinder (Calibrated with translateY(16px) to keep buttons and 3D cards close but strictly non-touching) */
.orbit-carousel-ring {
  position: relative;
  width: 220px;
  height: 290px;
  transform-style: preserve-3d;
  transform: translateY(16px) rotateX(-6deg); /* Orbital plane tilt with dedicated clearance */
  will-change: transform;
}

/* Individual Orbiting Card */
.orbit-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 220px;
  height: 290px;
  border-radius: 18px;
  transform-style: preserve-3d;
  cursor: pointer;
  transition: opacity 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, opacity;
}
.orbit-card-inner {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: #ffffff;
  box-shadow: 0 14px 34px -8px rgba(23, 99, 54, 0.22), 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 3px solid #ffffff;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.orbit-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.orbit-card:hover .orbit-card-img {
  transform: scale(1.06);
}
.orbit-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 14px 14px 14px;
  background: linear-gradient(0deg, rgba(17, 40, 26, 0.92) 0%, rgba(17, 40, 26, 0.6) 60%, rgba(17, 40, 26, 0) 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.orbit-card-tag {
  display: none !important; /* Hide old category tags, leaving only the joyful 3-word phrase */
}
.orbit-card-title {
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* Front Highlighted Planet Card */
.orbit-card.is-front-planet .orbit-card-inner {
  border-color: #F5CE29 !important;
  box-shadow: 0 20px 45px -5px rgba(245, 206, 41, 0.45), 0 10px 24px rgba(33, 131, 72, 0.28) !important;
  transform: scale(1.06);
}
.orbit-card.is-front-planet .orbit-card-tag {
  color: #FFE66D;
}

/* Gallery Section Heading Strict Centering & Proportional Layout */
#gallery .section-title-area {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 0 auto !important;
  width: 100% !important;
  max-width: 860px !important;
}
#gallery .section-title-area .pre-title {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 10px auto !important;
  text-align: center !important;
}
#gallery .section-title-area .section-title {
  text-align: center !important;
  margin: 0 auto 10px auto !important;
  width: 100% !important;
  max-width: 760px !important;
  letter-spacing: -0.5px !important;
  line-height: 1.25 !important;
  white-space: normal !important;
  word-break: normal !important;
}
#gallery .section-title-area .desc {
  margin: 0 auto 10px auto !important;
  text-align: center !important;
  max-width: 650px !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: #4A5C50 !important;
}
#gallery .gallery-game-badge {
  display: flex !important;
  justify-content: center !important;
  margin: 0 auto 10px auto !important;
}

/* Proportional Game-Styled Orbit Controls Directly Below Title */
.orbit-controls-panel {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 660px !important;
  margin: 2px auto 0 auto !important;
  z-index: 10;
}
.orbit-ctrl-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 138px !important;
  height: 42px !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  gap: 8px !important;
  padding: 0 18px !important;
  background: #ffffff !important;
  border: 1.5px solid rgba(33, 131, 72, 0.22) !important;
  border-radius: 50px !important;
  color: #182B1F !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
.orbit-ctrl-btn:hover {
  background: #218348 !important;
  color: #ffffff !important;
  border-color: #218348 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(33, 131, 72, 0.25) !important;
}
.orbit-ctrl-btn:active {
  transform: scale(0.96) !important;
}
.orbit-ctrl-btn.play-pause-btn.is-running {
  background: #EAF4EE !important;
  color: #218348 !important;
  border-color: #218348 !important;
}
.orbit-ctrl-btn.play-pause-btn.is-running:hover {
  background: #218348 !important;
  color: #ffffff !important;
}
.orbit-ctrl-btn.speed-btn:hover {
  background: #F5CE29 !important;
  color: #176336 !important;
  border-color: #F5CE29 !important;
}
.orbit-ctrl-btn.is-active-boost {
  background: #F5CE29 !important;
  color: #176336 !important;
  border-color: #F5CE29 !important;
  animation: none !important;
  box-shadow: 0 0 12px rgba(245, 206, 41, 0.6) !important;
}

/* Orbit Dots Indicator Placed Below 3D Stage */
.orbit-dots-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  margin-top: 20px !important;
  z-index: 10;
}
.orbit-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(33, 131, 72, 0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}
.orbit-dot.is-active {
  background: #218348;
  width: 22px;
  border-radius: 10px;
}

/* Responsive Breakpoints for 3D Orbit */
@media (max-width: 991px) {
  .rts-gallery-orbit-section {
    padding: 50px 0 58px 0 !important;
  }
  .orbit-3d-stage {
    height: 400px;
    perspective: 950px;
  }
  .orbit-carousel-ring {
    width: 190px;
    height: 255px;
  }
  .orbit-card {
    width: 190px;
    height: 255px;
  }
  .orbit-ring-ring.ring-1 {
    width: 680px;
    height: 680px;
  }
  .orbit-ring-ring.ring-2 {
    width: 620px;
    height: 620px;
  }
}

@media (max-width: 767px) {
  .orbit-3d-stage {
    height: 350px;
    perspective: 800px;
  }
  .orbit-carousel-ring {
    width: 160px;
    height: 220px;
  }
  .orbit-card {
    width: 160px;
    height: 220px;
    border-radius: 14px;
  }
  .orbit-card-inner {
    border-radius: 14px;
  }
  .orbit-card-overlay {
    padding: 16px 10px 10px 10px;
  }
  .orbit-card-title {
    font-size: 12.5px;
  }
  .orbit-controls-panel {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    max-width: 320px !important;
    margin: 4px auto 10px auto !important;
  }
  .orbit-ctrl-btn {
    width: 100% !important;
    min-width: 0 !important;
    height: 38px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
  }
  .orbit-ring-ring.ring-1 {
    width: 520px;
    height: 520px;
  }
  .orbit-ring-ring.ring-2 {
    width: 470px;
    height: 470px;
  }
  .orbit-ctrl-btn {
    padding: 6px 13px;
    font-size: 11.5px;
  }
}

@media (max-width: 480px) {
  .rts-gallery-orbit-section {
    padding: 40px 0 46px 0 !important;
  }
  .orbit-3d-stage {
    height: 310px;
    perspective: 700px;
  }
  .orbit-carousel-ring {
    width: 135px;
    height: 185px;
  }
  .orbit-card {
    width: 135px;
    height: 185px;
    border-radius: 12px;
  }
  .orbit-card-inner {
    border-radius: 12px;
    border-width: 2px;
  }
  .orbit-card-title {
    font-size: 11px;
  }
  .orbit-card-tag {
    font-size: 8.5px;
  }
  .orbit-ring-ring.ring-1 {
    width: 420px;
    height: 420px;
  }
  .orbit-ring-ring.ring-2 {
    width: 380px;
    height: 380px;
  }
  .game-badge-pill {
    font-size: 11.5px;
    padding: 4px 12px;
  }
  .orbit-ctrl-btn span {
    display: none;
  }
  .orbit-ctrl-btn {
    padding: 8px 12px;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    justify-content: center;
  }
  .orbit-ctrl-btn.play-pause-btn {
    width: auto;
    border-radius: 20px;
    padding: 6px 14px;
  }
  .orbit-ctrl-btn.play-pause-btn span {
    display: inline;
  }
}

/* ========================================================
   Creative Layered Mountain-Style Section Dividers
   Soft, overlapping organic mountain ridges for educational elegance
   ======================================================== */
.mountain-divider-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 5;
  pointer-events: none;
}
.mountain-divider-wrap svg {
  position: relative;
  display: block;
  width: 100%;
  height: 68px;
  transform: translateY(1px); /* Subpixel seam prevention */
}
@media (max-width: 991px) {
  .mountain-divider-wrap svg {
    height: 48px;
  }
}
@media (max-width: 575px) {
  .mountain-divider-wrap svg {
    height: 34px;
  }
}

/* ========================================================
   Universal Rule: All text on green buttons is brand yellow (#F5CE29)
   ======================================================== */
.rts-btn.btn-primary,
.btn-primary,
.btn-forest-solid,
.header-right-area-one .buttons-area .rts-btn,
.header-right-area-one .rts-btn,
.mobile-nav-btn,
.fee-register-btn,
.fee-pulse-cta,
.banner-btn .rts-btn.btn-primary,
.hero-btn-pill.btn-primary,
a.rts-btn.btn-primary,
button.rts-btn.btn-primary {
  color: #F5CE29 !important;
}
.rts-btn.btn-primary i,
.btn-primary i,
.btn-forest-solid i,
.header-right-area-one .buttons-area .rts-btn i,
.header-right-area-one .rts-btn i,
.mobile-nav-btn i,
.fee-register-btn i,
.fee-pulse-cta i,
.banner-btn .rts-btn.btn-primary i,
.hero-btn-pill.btn-primary i,
a.rts-btn.btn-primary i,
button.rts-btn.btn-primary i {
  color: #F5CE29 !important;
}

/* Hover States for Green Buttons */
.rts-btn.btn-primary:hover,
.btn-primary:hover,
.btn-forest-solid:hover,
.header-right-area-one .buttons-area .rts-btn:hover,
.header-right-area-one .rts-btn:hover,
.mobile-nav-btn:hover,
.fee-register-btn:hover,
.fee-pulse-cta:hover,
.banner-btn .rts-btn.btn-primary:hover,
.hero-btn-pill.btn-primary:hover,
a.rts-btn.btn-primary:hover,
button.rts-btn.btn-primary:hover {
  color: #FFE66D !important;
}
.rts-btn.btn-primary:hover i,
.btn-primary:hover i,
.btn-forest-solid:hover i,
.header-right-area-one .buttons-area .rts-btn:hover i,
.header-right-area-one .rts-btn:hover i,
.mobile-nav-btn:hover i,
.fee-register-btn:hover i,
.fee-pulse-cta:hover i,
.banner-btn .rts-btn.btn-primary:hover i,
.hero-btn-pill.btn-primary:hover i,
a.rts-btn.btn-primary:hover i,
button.rts-btn.btn-primary:hover i {
  color: #FFE66D !important;
}

/* ========================================================
   Desktop Navigation: Explore Dropdown Menu
   ======================================================== */
/* Complete eradication of broken FontAwesome 5 Pro pseudo-element arrows */
.main-nav-one ul li.has-dropdown a::before,
.main-nav-one ul li.has-dropdown a::after,
.main-nav-one ul li.has-dropdown:hover a.nav-link::before,
.main-nav-one ul li.has-dropdown:hover a.nav-link::after,
.mobile-menu-main nav ul li.has-droupdown::after,
.mobile-nav-links li::before,
.mobile-nav-links li::after {
  display: none !important;
  content: none !important;
  visibility: hidden !important;
}

.main-nav-one nav ul li.has-dropdown {
  position: relative !important;
}
.main-nav-one nav ul li.has-dropdown > a.nav-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  cursor: pointer !important;
  position: relative !important;
}
.main-nav-one nav ul li.has-dropdown .dropdown-chevron {
  font-size: 11px !important;
  color: #526056 !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease !important;
  display: inline-block !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}
.main-nav-one nav ul li.has-dropdown:hover .dropdown-chevron,
.main-nav-one nav ul li.has-dropdown.is-open .dropdown-chevron,
.main-nav-one nav ul li.has-dropdown:focus-within .dropdown-chevron {
  transform: rotate(180deg) !important;
  color: #218348 !important;
}

.main-nav-one nav ul li.has-dropdown .sub-menu {
  position: absolute !important;
  top: calc(100% + 6px) !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(8px) scale(0.96) !important;
  min-width: 260px !important;
  background: #FFFFFF !important;
  border-radius: 16px !important;
  border: 1.5px solid rgba(33, 131, 72, 0.16) !important;
  box-shadow: 0 18px 40px -8px rgba(17, 34, 23, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.9) inset !important;
  padding: 8px !important;
  margin: 0 !important;
  list-style: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s !important;
  z-index: 1200 !important;
}

/* Invisible bridge hover zone */
.main-nav-one nav ul li.has-dropdown .sub-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.main-nav-one nav ul li.has-dropdown:hover .sub-menu,
.main-nav-one nav ul li.has-dropdown.is-open .sub-menu,
.main-nav-one nav ul li.has-dropdown:focus-within .sub-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) scale(1) !important;
}

.main-nav-one nav ul li.has-dropdown .sub-menu li {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  list-style: none !important;
}

.main-nav-one nav ul li.has-dropdown .sub-menu li a {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 8px 12px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  color: #1A281F !important;
  transition: all 0.2s ease !important;
}

.main-nav-one nav ul li.has-dropdown .sub-menu li a .sub-icon {
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
  background: rgba(33, 131, 72, 0.08) !important;
  color: #218348 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  flex-shrink: 0 !important;
  transition: all 0.2s ease !important;
}

.main-nav-one nav ul li.has-dropdown .sub-menu li a .sub-text {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.25 !important;
}

.main-nav-one nav ul li.has-dropdown .sub-menu li a .sub-text strong {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #1A281F !important;
  transition: color 0.2s ease !important;
}

.main-nav-one nav ul li.has-dropdown .sub-menu li a .sub-text small {
  font-size: 11px !important;
  color: #5F6B64 !important;
  font-weight: 500 !important;
}

.main-nav-one nav ul li.has-dropdown .sub-menu li a:hover {
  background: rgba(33, 131, 72, 0.08) !important;
}
.main-nav-one nav ul li.has-dropdown .sub-menu li a:hover .sub-icon {
  background: #218348 !important;
  color: #F5CE29 !important;
  transform: scale(1.08) !important;
}
.main-nav-one nav ul li.has-dropdown .sub-menu li a:hover .sub-text strong {
  color: #218348 !important;
}

/* ========================================================
   Mobile Navigation: Expandable Explore Accordion (Polished)
   ======================================================== */
.has-mobile-dropdown {
  position: relative;
  width: 100%;
}
.mobile-dropdown-toggle {
  width: 100% !important;
  background: #F4F8F5 !important;
  border: 1px solid rgba(33, 131, 72, 0.12) !important;
  cursor: pointer !important;
  padding: 10px 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  color: #1A281F !important;
  border-radius: 14px !important;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1) !important;
  min-height: 44px !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03) !important;
}
.mobile-dropdown-toggle .toggle-left {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.mobile-dropdown-toggle .toggle-icon {
  width: 22px !important;
  color: #218348 !important;
  font-size: 15px !important;
  text-align: center !important;
}
.mobile-dropdown-toggle .toggle-text {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #1A281F !important;
  letter-spacing: 0.2px !important;
}
.mobile-dropdown-toggle .mobile-arrow-pill {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: #FFFFFF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  transition: background 0.2s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.mobile-dropdown-toggle .mobile-arrow {
  font-size: 11px !important;
  color: #526056 !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease !important;
  line-height: 1 !important;
}
.mobile-dropdown-toggle:hover,
.mobile-dropdown-toggle:active,
.mobile-dropdown-toggle.is-expanded {
  background: #EAF4EE !important;
  border-color: rgba(33, 131, 72, 0.25) !important;
}
.mobile-dropdown-toggle.is-expanded .mobile-arrow-pill {
  background: #218348 !important;
}
.mobile-dropdown-toggle.is-expanded .mobile-arrow {
  transform: rotate(180deg) !important;
  color: #FFFFFF !important;
}

/* Mobile Submenu Unfolding Container */
.mobile-submenu-wrapper {
  max-height: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  transition: max-height 0.36s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease, margin 0.28s ease !important;
  margin-top: 0 !important;
}
.mobile-submenu-wrapper.is-expanded {
  max-height: 440px !important;
  opacity: 1 !important;
  margin-top: 8px !important;
}
.mobile-submenu {
  list-style: none !important;
  padding: 6px !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(33, 131, 72, 0.12) !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
}
.mobile-submenu li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.mobile-subnav-link {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 8px 12px !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  color: #1A281F !important;
  background: transparent !important;
  transition: all 0.18s ease !important;
}
.mobile-subnav-link:hover,
.mobile-subnav-link:active {
  background: #F4F8F5 !important;
}
.mobile-subnav-link .sub-pill-icon {
  width: 32px !important;
  height: 32px !important;
  border-radius: 9px !important;
  background: rgba(33, 131, 72, 0.08) !important;
  color: #218348 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13.5px !important;
  flex-shrink: 0 !important;
}
.mobile-subnav-link .sub-meta {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.25 !important;
  flex-grow: 1 !important;
}
.mobile-subnav-link .sub-meta strong {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #1A281F !important;
}
.mobile-subnav-link .sub-meta small {
  font-size: 11px !important;
  color: #617066 !important;
  font-weight: 500 !important;
}
.mobile-subnav-link .badge-new {
  background: #F5CE29 !important;
  color: #7A5B00 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  padding: 1px 7px !important;
  border-radius: 8px !important;
  letter-spacing: 0.3px !important;
}
.mobile-subnav-link {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 6px 10px !important;
  color: #2D3A32 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  transition: all 0.18s ease !important;
}
.mobile-subnav-link i {
  color: #218348 !important;
  font-size: 12px !important;
  width: 16px !important;
  text-align: center !important;
}
.mobile-subnav-link:hover,
.mobile-subnav-link:active {
  background: rgba(33, 131, 72, 0.08) !important;
  color: #218348 !important;
}
.mobile-subnav-link .badge-new {
  font-size: 9.5px !important;
  background: #F5CE29 !important;
  color: #176336 !important;
  font-weight: 800 !important;
  padding: 1px 7px !important;
  border-radius: 10px !important;
  margin-left: auto !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px;
}

/* ========================================================
   Blog & News Preview (Homepage Section)
   ======================================================== */
.blog-news-preview-area {
  position: relative;
  background: #ffffff;
  padding-top: 60px;
  padding-bottom: 90px;
  overflow: hidden;
}
.blog-preview-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid rgba(33, 131, 72, 0.12);
  box-shadow: 0 10px 30px -10px rgba(23, 99, 54, 0.08);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-preview-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 40px -12px rgba(23, 99, 54, 0.16);
  border-color: rgba(33, 131, 72, 0.35);
}
.blog-card-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
  overflow: hidden;
  background: #eef4f0;
}
.blog-card-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-preview-card:hover .blog-card-thumb img {
  transform: scale(1.05);
}
.blog-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #218348;
  color: #F5CE29;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  z-index: 2;
}
.blog-category-badge.badge-hiring {
  background: #F5CE29;
  color: #176336;
}
.blog-card-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  color: #6F7B74;
  margin-bottom: 12px;
}
.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.blog-card-meta i {
  color: #218348;
  font-size: 12px;
}
.blog-card-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 10px;
  color: #1A281F;
  transition: color 0.2s ease;
}
.blog-preview-card:hover .blog-card-title {
  color: #218348;
}
.blog-card-excerpt {
  font-size: 14px;
  color: #55635B;
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}
.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #218348;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}
.blog-card-link i {
  transition: transform 0.2s ease;
}
.blog-preview-card:hover .blog-card-link {
  color: #176336;
  gap: 12px;
}
.blog-preview-card:hover .blog-card-link i {
  transform: translateX(4px);
}

/* ========================================================
   Blog Page Dedicated Styles (blog.html)
   ======================================================== */
.blog-page-hero {
  position: relative;
  background: linear-gradient(135deg, #FAF7F0 0%, #EBF4EE 100%);
  padding: 130px 0 90px 0;
  overflow: hidden;
  text-align: center;
}
@media (max-width: 767px) {
  .blog-page-hero {
    padding: 100px 0 65px 0;
  }
}
.blog-filter-tabs {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  margin-bottom: 35px !important;
}
.blog-filter-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: max-content !important;
  background: #ffffff !important;
  border: 1.5px solid rgba(33, 131, 72, 0.2) !important;
  color: #1A281F !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  padding: 9px 20px !important;
  border-radius: 30px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03) !important;
}
.blog-filter-btn:hover,
.blog-filter-btn.active {
  background: #218348 !important;
  color: #F5CE29 !important;
  border-color: #218348 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px -4px rgba(33, 131, 72, 0.35) !important;
}

/* Hiring Callout Box Styles */
.hiring-callout-box ul li {
  color: #FFFFFF !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

/* Hiring Callout Banner */
.hiring-callout-box {
  background: linear-gradient(135deg, #176336 0%, #218348 100%);
  border-radius: 24px;
  padding: 36px 40px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px -12px rgba(23, 99, 54, 0.35);
  margin-bottom: 50px;
}
.hiring-callout-box::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(245, 206, 41, 0.12);
  pointer-events: none;
}
.hiring-callout-box .hiring-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F5CE29;
  color: #176336;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.hiring-callout-box h3 {
  color: #ffffff;
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
}
.hiring-callout-box p {
  color: #E2ECE5;
  font-size: 15px;
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 24px;
}
.vacancy-pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}
.vacancy-pill-item {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.vacancy-pill-item i {
  color: #F5CE29;
  font-size: 20px;
}
.vacancy-pill-item h5 {
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  margin: 0 0 3px 0;
}
.vacancy-pill-item span {
  color: #C7DFC9;
  font-size: 12px;
}

/* Article Reading Drawer/Modal */
.article-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 34, 23, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.article-modal-backdrop.is-active {
  display: flex;
  opacity: 1;
}
.article-modal-content {
  background: #ffffff;
  border-radius: 24px;
  max-width: 780px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  padding: 36px 40px;
  animation: modalScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@media (max-width: 575px) {
  .article-modal-content {
    padding: 24px 20px;
  }
}
@keyframes modalScaleUp {
  from {
    transform: scale(0.92) translateY(15px);
  }
  to {
    transform: scale(1) translateY(0);
  }
}
.article-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #f0f4f1;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #1A281F;
  cursor: pointer;
  transition: all 0.2s ease;
}
.article-modal-close:hover {
  background: #218348;
  color: #ffffff;
  transform: rotate(90deg);
}

/* ========================================================
   Fun & Games: Balloon Letter Pop! (games.html)
   ======================================================== */
.game-section-wrap {
  position: relative;
  background: linear-gradient(180deg, #A7E0FA 0%, #D8F1FD 45%, #E9F7FE 85%, #FAF7F0 100%);
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
  min-height: calc(100vh - 80px);
}
@media (max-width: 767px) {
  .game-section-wrap {
    padding-top: 95px;
    padding-bottom: 50px;
  }
}

/* Floating Cartoon Clouds */
.sky-cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 100px;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 6px 12px rgba(100, 150, 180, 0.1));
}
.sky-cloud::before,
.sky-cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}
.sky-cloud-1 {
  width: 140px;
  height: 45px;
  top: 90px;
  left: 5%;
  animation: cloudDrift 28s linear infinite;
}
.sky-cloud-1::before {
  width: 50px;
  height: 50px;
  top: -24px;
  left: 25px;
}
.sky-cloud-1::after {
  width: 70px;
  height: 70px;
  top: -35px;
  right: 25px;
}

.sky-cloud-2 {
  width: 180px;
  height: 55px;
  top: 140px;
  right: 8%;
  animation: cloudDriftReverse 34s linear infinite;
}
.sky-cloud-2::before {
  width: 65px;
  height: 65px;
  top: -30px;
  left: 30px;
}
.sky-cloud-2::after {
  width: 80px;
  height: 80px;
  top: -42px;
  right: 35px;
}

@keyframes cloudDrift {
  0% { transform: translateX(0); }
  50% { transform: translateX(40px); }
  100% { transform: translateX(0); }
}
@keyframes cloudDriftReverse {
  0% { transform: translateX(0); }
  50% { transform: translateX(-40px); }
  100% { transform: translateX(0); }
}

/* Game Card HUD & Arena */
.game-hud-panel {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 22px;
  border: 2px solid rgba(33, 131, 72, 0.2);
  box-shadow: 0 16px 36px -10px rgba(17, 34, 23, 0.15);
  padding: 16px 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
  z-index: 10;
}
@media (max-width: 575px) {
  .game-hud-panel {
    padding: 12px 14px;
    gap: 10px;
  }
}
.game-stage-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #218348;
  color: #F5CE29;
  font-weight: 800;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.game-stats-cluster {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
  color: #1A281F;
}
.game-stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.game-stat-item i {
  color: #F5CE29;
  font-size: 16px;
}
.game-ctrl-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}
.game-icon-btn {
  background: #ffffff;
  border: 1.5px solid rgba(33, 131, 72, 0.25);
  color: #176336;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.game-icon-btn:hover {
  background: #218348;
  color: #F5CE29;
  transform: scale(1.08);
}

/* Prompt Banner */
.game-target-banner {
  background: #ffffff;
  border-radius: 20px;
  border: 2px solid #218348;
  box-shadow: 0 12px 30px -8px rgba(33, 131, 72, 0.25);
  padding: 16px 24px;
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 10;
}
.game-target-label {
  font-size: 12.5px;
  font-weight: 800;
  color: #218348;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.game-target-prompt {
  font-size: clamp(20px, 4vw, 30px);
  font-weight: 800;
  color: #1A281F;
  margin: 0;
}
.game-target-prompt strong {
  color: #218348;
  background: rgba(245, 206, 41, 0.25);
  padding: 2px 10px;
  border-radius: 8px;
  border-bottom: 3px solid #F5CE29;
}

/* Balloon Game Arena */
.balloon-arena-box {
  position: relative;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px dashed rgba(33, 131, 72, 0.3);
  border-radius: 28px;
  height: 480px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.08) inset, 0 15px 35px -10px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 767px) {
  .balloon-arena-box {
    height: 420px;
  }
}

/* Floating Balloons */
.interactive-balloon {
  position: absolute;
  width: 86px;
  height: 106px;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: inset -8px -8px 14px rgba(0, 0, 0, 0.18), inset 8px 8px 12px rgba(255, 255, 255, 0.6), 0 12px 20px -6px rgba(0, 0, 0, 0.2);
  transition: transform 0.12s ease;
  touch-action: manipulation;
  z-index: 12;
}
@media (max-width: 575px) {
  .interactive-balloon {
    width: 76px;
    height: 94px;
  }
}
.interactive-balloon:hover,
.interactive-balloon:focus {
  transform: scale(1.08);
}
.interactive-balloon:active {
  transform: scale(0.94);
}

/* Balloon String & Tie */
.interactive-balloon::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 7px;
  background: inherit;
  border-radius: 2px 2px 5px 5px;
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
}
.balloon-string {
  position: absolute;
  bottom: -32px;
  left: 50%;
  width: 2px;
  height: 26px;
  background: rgba(100, 110, 120, 0.45);
  transform: translateX(-50%);
  pointer-events: none;
}

/* Balloon Letter Display */
.balloon-letter {
  font-size: 38px;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
  line-height: 1;
  pointer-events: none;
}
@media (max-width: 575px) {
  .balloon-letter {
    font-size: 32px;
  }
}

/* Balloon Color Themes */
.balloon-red {
  background: radial-gradient(circle at 35% 30%, #FF7B90, #E62A4E);
}
.balloon-blue {
  background: radial-gradient(circle at 35% 30%, #70C5FF, #1886E6);
}
.balloon-green {
  background: radial-gradient(circle at 35% 30%, #5FD48B, #1B974A);
}
.balloon-yellow {
  background: radial-gradient(circle at 35% 30%, #FFE57E, #F5B016);
}
.balloon-yellow .balloon-letter {
  color: #1A281F;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}
.balloon-purple {
  background: radial-gradient(circle at 35% 30%, #C38BFC, #8E35E8);
}
.balloon-orange {
  background: radial-gradient(circle at 35% 30%, #FFA86E, #F25C1B);
}

/* Balloon Pop Particle Animation */
.balloon-pop-burst {
  position: absolute;
  width: 120px;
  height: 120px;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 20;
}
.pop-particle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F5CE29;
  animation: particleBurst 0.5s ease-out forwards;
}
@keyframes particleBurst {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) scale(0);
    opacity: 0;
  }
}
.floating-score-tag {
  position: absolute;
  font-size: 20px;
  font-weight: 900;
  color: #218348;
  text-shadow: 0 2px 4px #ffffff;
  pointer-events: none;
  animation: floatScoreUp 0.7s ease-out forwards;
  z-index: 25;
}
@keyframes floatScoreUp {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.8);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -120%) scale(1.3);
  }
}

/* Stage Complete Modal */
.game-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 34, 23, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 3000;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.game-modal-overlay.is-visible {
  display: flex;
  opacity: 1;
}
.game-modal-card {
  background: #ffffff;
  border-radius: 28px;
  border: 3px solid #218348;
  max-width: 480px;
  width: 100%;
  padding: 36px 30px;
  text-align: center;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3);
  animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.game-modal-icon {
  font-size: 54px;
  margin-bottom: 12px;
  display: inline-block;
  animation: bounceTrophy 1s infinite alternate;
}
@keyframes bounceTrophy {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-8px) scale(1.08); }
}
.game-modal-title {
  font-size: 26px;
  font-weight: 800;
  color: #1A281F;
  margin-bottom: 8px;
}
.game-modal-desc {
  font-size: 15px;
  color: #55635B;
  line-height: 1.5;
  margin-bottom: 24px;
}

/* ========================================================
   Fun & Games Platform: Simplified Top Navigation & Enhancements
   ======================================================== */
.game-simplified-header {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid rgba(33, 131, 72, 0.16);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  padding: 10px 0;
  z-index: 100;
}
.game-header-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}
@media (max-width: 575px) {
  .game-header-logo {
    height: 38px;
  }
}
.game-header-title {
  color: #1A281F;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}
.game-header-subtitle {
  color: #218348;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
}
@media (max-width: 575px) {
  .game-header-title {
    font-size: 13.5px;
  }
  .game-header-subtitle {
    font-size: 9.5px;
  }
}

/* Header Scrolling Info Text Marquee (Right to Left) */
.game-header-ticker-wrap {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  height: 32px;
  display: flex;
  align-items: center;
  background: rgba(33, 131, 72, 0.08);
  border: 1.5px solid rgba(33, 131, 72, 0.22);
  border-radius: 16px;
  padding: 0 10px;
}
.game-header-ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: tickerScrollLeft 26s linear infinite;
  will-change: transform;
}
.game-header-ticker-track:hover {
  animation-play-state: paused;
}
.ticker-item {
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #176336;
  padding: 0 12px;
  letter-spacing: 0.3px;
}
.ticker-item i {
  color: #D97706;
  margin-right: 5px;
  font-size: 13px;
}
.ticker-dot {
  color: #F59E0B;
  font-size: 14px;
}
@keyframes tickerScrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 575px) {
  .game-header-ticker-wrap {
    height: 26px;
    padding: 0 6px;
    border-radius: 12px;
  }
  .ticker-item {
    font-size: 11px;
    padding: 0 8px;
  }
}

.game-top-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}
@media (max-width: 575px) {
  /* Header Scrolling Info Text Marquee (Right to Left) */
.game-header-ticker-wrap {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  height: 32px;
  display: flex;
  align-items: center;
  background: rgba(33, 131, 72, 0.08);
  border: 1.5px solid rgba(33, 131, 72, 0.22);
  border-radius: 16px;
  padding: 0 10px;
}
.game-header-ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: tickerScrollLeft 26s linear infinite;
  will-change: transform;
}
.game-header-ticker-track:hover {
  animation-play-state: paused;
}
.ticker-item {
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #176336;
  padding: 0 12px;
  letter-spacing: 0.3px;
}
.ticker-item i {
  color: #D97706;
  margin-right: 5px;
  font-size: 13px;
}
.ticker-dot {
  color: #F59E0B;
  font-size: 14px;
}
@keyframes tickerScrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 575px) {
  .game-header-ticker-wrap {
    height: 26px;
    padding: 0 6px;
    border-radius: 12px;
  }
  .ticker-item {
    font-size: 11px;
    padding: 0 8px;
  }
}

.game-top-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}
.game-top-btn.btn-home {
  background: #218348 !important;
  color: #F5CE29 !important;
}
.game-top-btn.btn-home:hover {
  background: #176336 !important;
  color: #FFE66D !important;
  transform: translateY(-2px);
}
.game-top-btn.btn-switch {
  background: #F5CE29 !important;
  color: #176336 !important;
}
.game-top-btn.btn-switch:hover {
  background: #E5BE18 !important;
  color: #114F2B !important;
  transform: translateY(-2px);
}

/* Game Switcher Tabs */
.game-platform-header-area {
  text-align: center;
  margin-bottom: 24px;
}
.game-tab-switcher {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  padding: 5px !important;
  border-radius: 36px !important;
  border: 2px solid rgba(33, 131, 72, 0.2) !important;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.08) !important;
  gap: 8px !important;
  margin-top: 14px !important;
  justify-content: center !important;
}
.game-tab-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 22px !important;
  border-radius: 30px !important;
  border: none !important;
  background: transparent !important;
  color: #374151 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: all 0.22s ease !important;
}
@media (max-width: 575px) {
  .game-tab-btn {
    padding: 7px 14px !important;
    font-size: 12.5px !important;
  }
}
.game-tab-btn:hover {
  color: #218348 !important;
}
.game-tab-btn.active {
  background: #218348 !important;
  color: #F5CE29 !important;
  box-shadow: 0 4px 14px rgba(33, 131, 72, 0.35) !important;
}

#teacherReportModal .whatsapp-report-btn {
  width: 100% !important;
  max-width: 100% !important;
}

#reportStudentGrade {
  display: block !important;
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  line-height: 24px !important;
  padding: 8px 36px 8px 14px !important;
  font-size: 14px !important;
  border-radius: 10px !important;
  border: 1.5px solid #D1D5DB !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23176336' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 16px 12px !important;
  cursor: pointer !important;
}

/* Letter Racer Canvas & Arena */
.racer-arena-wrap {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px -10px rgba(17, 34, 23, 0.25);
  border: 3px solid #218348;
  background: #83C769;
}
#racerCanvas {
  display: block;
  width: 100%;
  height: 420px;
  background: #83C769;
  touch-action: none;
}
@media (max-width: 575px) {
  #racerCanvas {
    height: 380px;
  }
}

/* Touch Steering Controls */
.racer-touch-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.racer-steer-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  border-radius: 16px;
  background: #218348;
  color: #F5CE29 !important;
  border: 2px solid #176336;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(33, 131, 72, 0.3);
  transition: transform 0.1s ease, background 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.racer-steer-btn:hover {
  background: #176336;
  color: #FFE66D !important;
}
.racer-steer-btn:active {
  transform: scale(0.95);
  background: #114F2B;
}

/* Word Builder Slot Display */
.word-builder-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  padding: 8px 16px;
  border: 1.5px solid rgba(33, 131, 72, 0.2);
}
.word-slot-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 2px dashed #218348;
  background: #ffffff;
  font-weight: 800;
  font-size: 18px;
  color: #1A281F;
}
.word-slot-box.filled {
  background: #218348;
  color: #F5CE29;
  border-style: solid;
}
.word-slot-box.current {
  border-color: #F5CE29;
  background: #FFF9DB;
  color: #176336;
  animation: pulseSlot 1s infinite alternate;
}
@keyframes pulseSlot {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); box-shadow: 0 0 10px rgba(245, 206, 41, 0.6); }
}

/* ========================================================
   Student Performance Tracking Card
   ======================================================== */
.student-performance-card {
  background: #ffffff;
  border-radius: 24px;
  border: 2px solid rgba(33, 131, 72, 0.2);
  box-shadow: 0 16px 40px -12px rgba(17, 34, 23, 0.12);
  padding: 26px 30px;
  margin-top: 36px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 575px) {
  .student-performance-card {
    padding: 20px 16px;
  }
}
.student-performance-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #F5CE29 0%, #218348 100%);
}
.perf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  margin-top: 18px;
  margin-bottom: 24px;
}
.perf-stat-box {
  background: #FAF7F0;
  border: 1.5px solid rgba(33, 131, 72, 0.12);
  border-radius: 14px;
  padding: 12px 14px;
  text-align: center;
}
.perf-stat-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #5F6B64;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.perf-stat-val {
  font-size: 20px;
  font-weight: 800;
  color: #176336;
  margin: 0;
}

/* WhatsApp Report Button */
.whatsapp-report-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #25D366;
  color: #ffffff !important;
  font-size: 15.5px;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: all 0.22s ease;
  width: 100%;
  max-width: 440px;
}
.whatsapp-report-btn i {
  font-size: 22px;
}
.whatsapp-report-btn:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

/* Game Selection Modal Cards */
.game-select-card {
  background: #ffffff;
  border: 2px solid rgba(33, 131, 72, 0.18);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.game-select-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px -10px rgba(33, 131, 72, 0.25);
  border-color: #218348;
}
.game-select-thumb {
  height: 120px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 52px;
}
.game-select-thumb.balloon-theme {
  background: linear-gradient(135deg, #A7E0FA 0%, #FAF7F0 100%);
}
.game-select-thumb.racer-theme {
  background: linear-gradient(135deg, #83C769 0%, #374151 100%);
}

/* ========================================================
   GAMIFIED BALLOON PLAYGROUND OVERHAUL (Narrative & Tactile)
   ======================================================== */

.playground-canvas-wrap {
  position: relative;
  background: linear-gradient(180deg, #62C2FA 0%, #AEE6FE 45%, #E6F7FE 62%, #FAF7F0 100%);
  border: 4px solid #734522;
  border-radius: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16), inset 0 2px 6px rgba(255, 255, 255, 0.6);
  padding: 22px 24px 28px 24px;
  margin-bottom: 30px;
  overflow: hidden;
}
@media (max-width: 767px) {
  .playground-canvas-wrap {
    padding: 14px 12px 20px 12px;
    border-radius: 24px;
    border-width: 3px;
  }
}

/* Corner Tree Canopies */
.tree-canopy-corner {
  position: absolute;
  top: 0;
  width: 140px;
  height: 90px;
  pointer-events: none;
  z-index: 2;
}
.tree-canopy-left {
  left: 0;
}
.tree-canopy-right {
  right: 0;
  transform: scaleX(-1);
}
@media (max-width: 767px) {
  .tree-canopy-corner {
    width: 90px;
    height: 60px;
  }
}

/* Sky Environment & Floating Elements */
.sky-env-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  z-index: 5;
}

/* Cartoon Smiling Sun */
.cartoon-sun-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cartoon-sun-svg {
  width: 58px;
  height: 58px;
  animation: sunGlowSpin 20s linear infinite;
  filter: drop-shadow(0 4px 8px rgba(255, 193, 7, 0.4));
}
@keyframes sunGlowSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   PART 1: SHARED FLOATING "FUN & GAMES" TYPOGRAPHY (Outside Both Games)
   ========================================================================== */
.floating-fun-heading-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px auto 12px auto;
  padding: 4px 12px;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
}

.floating-letters-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(3px, 1.2vw, 8px);
  position: relative;
}

.float-fun-letter {
  display: inline-block;
  font-family: 'Fredoka', 'Quicksand', system-ui, sans-serif;
  font-size: clamp(24px, 4.4vw, 42px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.5px;
  cursor: default;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: balloonFloatBob var(--float-dur, 3.2s) ease-in-out infinite alternate;
  animation-delay: var(--float-delay, 0s);
  /* 3D Toy Drop Shadow */
  text-shadow: 
    0 2px 0 rgba(0, 0, 0, 0.15),
    0 4px 0 #0F172A,
    0 6px 12px rgba(15, 23, 42, 0.18);
  -webkit-text-stroke: 1.5px #0F172A;
  paint-order: stroke fill;
}

.float-fun-letter:hover {
  transform: translateY(-12px) scale(1.18) !important;
  text-shadow: 
    0 3px 0 rgba(0, 0, 0, 0.2),
    0 6px 0 #0F172A,
    0 10px 18px rgba(15, 23, 42, 0.25);
}

/* Individual letter cheerful colors (PLAY & LEARN) */
.float-fun-letter.fl-p { color: #EF4444; }
.float-fun-letter.fl-l { color: #F97316; }
.float-fun-letter.fl-a { color: #FACC15; }
.float-fun-letter.fl-y { color: #06B6D4; }
.float-fun-letter.fl-amp { 
  color: #22C55E; 
  font-size: clamp(20px, 3.6vw, 34px);
  margin: 0 clamp(4px, 1.2vw, 10px);
}
.float-fun-letter.fl-l2 { color: #8B5CF6; }
.float-fun-letter.fl-e { color: #EC4899; }
.float-fun-letter.fl-a2 { color: #F59E0B; }
.float-fun-letter.fl-r { color: #3B82F6; }
.float-fun-letter.fl-n { color: #10B981; }

/* Legacy aliases for backward compatibility */
.float-fun-letter.fl-f { color: #EF4444; }
.float-fun-letter.fl-u { color: #F97316; }
.float-fun-letter.fl-g { color: #06B6D4; }
.float-fun-letter.fl-m { color: #EC4899; }
.float-fun-letter.fl-s { color: #3B82F6; }

@keyframes balloonFloatBob {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(var(--float-y, -2.5px)) rotate(var(--float-rot, 1.5deg));
  }
  100% {
    transform: translateY(calc(var(--float-y, -2.5px) * 0.35)) rotate(calc(var(--float-rot, 1.5deg) * -0.5));
  }
}

@media (max-width: 575px) {
  .floating-fun-heading-container {
    margin: 2px auto 6px auto;
    padding: 2px 6px;
  }
  .float-fun-letter {
    font-size: clamp(19px, 5.8vw, 26px);
    -webkit-text-stroke: 1px #0F172A;
    text-shadow: 
      0 1px 0 rgba(0, 0, 0, 0.15),
      0 3px 0 #0F172A,
      0 4px 8px rgba(15, 23, 42, 0.15);
  }
}

/* 3D FUN & GAMES Cloud Title */
.cloud-title-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #ffffff;
  border-radius: 36px;
  padding: 8px 24px;
  box-shadow: 0 10px 25px rgba(3, 105, 161, 0.15), 0 4px 10px rgba(0, 0, 0, 0.06);
  border: 3px solid #E0F2FE;
}
.cloud-title-container::before,
.cloud-title-container::after {
  content: "";
  position: absolute;
  background: #ffffff;
  border-radius: 50%;
}
.cloud-title-container::before {
  width: 36px;
  height: 36px;
  top: -14px;
  left: 20%;
  box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.03);
}
.cloud-title-container::after {
  width: 44px;
  height: 44px;
  top: -18px;
  right: 22%;
  box-shadow: 2px -2px 4px rgba(0, 0, 0, 0.03);
}
.fun-games-letters {
  position: relative;
  z-index: 2;
  font-family: 'Fredoka', 'Quicksand', 'Nunito', 'Segoe UI', system-ui, sans-serif;
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 900;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.fun-letter {
  display: inline-block;
  padding: 0 1.5px;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.15), 0 5px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}
.fun-letter:hover {
  transform: translateY(-4px) scale(1.15);
}
.fun-letter.l-f { color: #EF4444; }
.fun-letter.l-u { color: #F97316; }
.fun-letter.l-n { color: #EAB308; }
.fun-letter.l-amp { color: #22C55E; margin: 0 4px; }
.fun-letter.l-g { color: #06B6D4; }
.fun-letter.l-a { color: #8B5CF6; }
.fun-letter.l-m { color: #EC4899; }
.fun-letter.l-e { color: #FBBF24; }
.fun-letter.l-s { color: #6366F1; }

/* Birds */
.cartoon-bird {
  position: absolute;
  width: 34px;
  height: 34px;
  pointer-events: none;
  animation: birdHover 3s ease-in-out infinite alternate;
}
.bird-blue {
  top: -10px;
  left: -20px;
}
.bird-red {
  top: -14px;
  right: -24px;
  transform: scaleX(-1);
  animation-delay: 1.2s;
}
@keyframes birdHover {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

/* Middle Journey Bar: Mascot + Stage Ribbon + Stepping Stone Trail + HUD */
.journey-track-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 12px 18px;
  margin-bottom: 20px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 24px rgba(3, 105, 161, 0.08);
  position: relative;
  z-index: 5;
}
@media (max-width: 991px) {
  .journey-track-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
  }
}

/* Mascot & Ribbon Section */
.mascot-ribbon-cluster {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.monkey-mascot-svg {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
  animation: mascotWobble 4s ease-in-out infinite;
  transform-origin: bottom center;
}
@keyframes mascotWobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-3deg); }
  75% { transform: rotate(3deg); }
}
.stage-ribbon-3d {
  position: relative;
  background: linear-gradient(135deg, #FF6B81 0%, #EE2A47 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 13.5px;
  padding: 8px 18px;
  border-radius: 12px;
  border: 2px solid #FFD1D9;
  box-shadow: 0 6px 14px rgba(238, 42, 71, 0.35);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* Stepping-Stone Trail */
.trail-path-container {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 6px;
  scrollbar-width: none;
}
.trail-path-container::-webkit-scrollbar {
  display: none;
}
.stepping-stones-list {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.trail-footprint-icon {
  font-size: 11px;
  color: #8C6A48;
  opacity: 0.7;
  transform: rotate(25deg);
}
.stepping-stone {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14.5px;
  font-weight: 900;
  color: #ffffff;
  border: 2.5px solid #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15), inset 0 2px 4px rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  flex-shrink: 0;
}
.stepping-stone.stone-1 { background: radial-gradient(circle at 35% 30%, #FFA726, #F57C00); }
.stepping-stone.stone-2 { background: radial-gradient(circle at 35% 30%, #EF5350, #D32F2F); }
.stepping-stone.stone-3 { background: radial-gradient(circle at 35% 30%, #66BB6A, #388E3C); }
.stepping-stone.stone-4 { background: radial-gradient(circle at 35% 30%, #42A5F5, #1976D2); }
.stepping-stone.stone-5 { background: radial-gradient(circle at 35% 30%, #FFCA28, #FFA000); }

.stepping-stone.active {
  transform: scale(1.18);
  border-color: #FEE440;
  box-shadow: 0 0 16px rgba(254, 228, 64, 0.8), 0 6px 12px rgba(0, 0, 0, 0.2);
  animation: stonePulse 1.8s infinite alternate;
}
@keyframes stonePulse {
  0% { transform: scale(1.12); }
  100% { transform: scale(1.22); }
}
.stepping-stone.completed {
  filter: brightness(1.08);
}
.trail-arrow-finish {
  display: flex;
  align-items: center;
  gap: 2px;
  background: linear-gradient(135deg, #FDE047 0%, #EAB308 100%);
  color: #713F12;
  font-weight: 900;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 14px;
  box-shadow: 0 3px 6px rgba(234, 179, 8, 0.35);
  border: 1.5px solid #FEF08A;
}

/* Score & Streak HUD Cluster */
.chunky-hud-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.hud-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 22px;
  font-weight: 800;
  font-size: 14px;
  color: #ffffff;
  border: 2.5px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15), inset 0 2px 4px rgba(255, 255, 255, 0.4);
}
.hud-pill-score {
  background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
}
.hud-pill-streak {
  background: linear-gradient(135deg, #FB923C 0%, #EA580C 100%);
}

/* ========================================================
   MAIN PLAYGROUND GRID (Quest Card + Balloon Arena)
   ======================================================== */
.playground-main-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 22px;
  align-items: stretch;
  position: relative;
  z-index: 5;
}
@media (max-width: 991px) {
  .playground-main-grid {
    grid-template-columns: 1fr;
  }
}

/* Quest Card (Left Column) */
.quest-card-frame {
  background: #FFFDF5;
  border: 4px solid #729E37;
  border-radius: 28px;
  box-shadow: 0 14px 30px rgba(85, 128, 38, 0.15), 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 16px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
/* Wood Plaque Header */
.quest-wood-header {
  position: relative;
  margin-top: -30px;
  margin-bottom: 14px;
  text-align: center;
}
.quest-challenge-tag {
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  color: #ffffff;
  font-weight: 900;
  font-size: 10.5px;
  letter-spacing: 1px;
  padding: 3px 12px;
  border-radius: 12px;
  border: 1.5px solid #FFEDD5;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.3);
  display: inline-block;
  margin-bottom: -6px;
  position: relative;
  z-index: 2;
}
.quest-plaque-board {
  background: linear-gradient(180deg, #A76E3E 0%, #7E4B24 100%);
  color: #FFF2D6;
  font-weight: 900;
  font-size: 17px;
  padding: 6px 24px;
  border-radius: 14px;
  border: 2px solid #553114;
  box-shadow: 0 6px 12px rgba(60, 32, 10, 0.3), inset 0 2px 3px rgba(255, 230, 180, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 1px 2px #3C200A;
}
.quest-plaque-board .leaf-icon {
  font-size: 15px;
  color: #84CC16;
}

/* Prompt in Quest Card */
.quest-task-prompt {
  font-size: 17px;
  font-weight: 800;
  color: #4A2E16;
  text-align: center;
  line-height: 1.35;
  margin-bottom: 16px;
}
.quest-task-prompt strong {
  color: #E11D48;
  font-size: 22px;
}

/* 3D Toy Alphabet Block */
.toy-letter-block-wrap {
  margin: 10px 0 18px 0;
  perspective: 600px;
}
.toy-letter-block {
  width: 104px;
  height: 104px;
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);
  border: 4px solid #B45309;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(180, 83, 9, 0.3), inset 0 3px 6px rgba(255, 255, 255, 0.8), inset 0 -4px 6px rgba(146, 64, 14, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}
.toy-block-inner-inset {
  width: 76px;
  height: 76px;
  background: #FFFBEB;
  border: 3px solid #D97706;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 3px 6px rgba(180, 83, 9, 0.2);
  overflow: hidden;
  position: relative;
}
.toy-block-char {
  font-size: 46px;
  font-weight: 900;
  color: #EA580C;
  text-shadow: 0 2px 0 #9A3412, 0 3px 5px rgba(0, 0, 0, 0.18);
  line-height: 1;
  display: inline-block;
  animation: gentleLetterBounce 1.8s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
  transform-origin: center bottom;
  will-change: transform;
}

/* Quest Card Bottom Medals */
.quest-medals-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 10px;
}
.quest-medal-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  border: 2px solid #ffffff;
}
.medal-star { background: radial-gradient(circle at 35% 30%, #60A5FA, #2563EB); color: #FDE047; }
.medal-flame { background: radial-gradient(circle at 35% 30%, #F87171, #DC2626); color: #FEF08A; }
.medal-trophy { background: radial-gradient(circle at 35% 30%, #FBBF24, #D97706); color: #78350F; }

/* Balloon Play Arena (Right Column) */
.balloon-arena-frame {
  position: relative;
  background: linear-gradient(180deg, #60A5FA 0%, #93C5FD 40%, #BBF7D0 68%, #4ADE80 88%, #22C55E 100%);
  border: 4px solid #F59E0B;
  border-radius: 28px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15), inset 0 2px 6px rgba(255, 255, 255, 0.6);
  height: 480px;
  overflow: hidden;
}
@media (max-width: 767px) {
  .balloon-arena-frame {
    height: 400px;
  }
}

/* Meadow Scenery Overlay */
.arena-meadow-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 60px at 50% 100%, #16A34A 0%, transparent 100%);
}
.meadow-flower {
  position: absolute;
  bottom: 12px;
  font-size: 14px;
  pointer-events: none;
  opacity: 0.85;
}

/* Balloons with Cute Faces & Personalities */
.interactive-balloon {
  position: absolute;
  width: 88px;
  height: 108px;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: inset -8px -8px 14px rgba(0, 0, 0, 0.2), inset 8px 8px 12px rgba(255, 255, 255, 0.65), 0 10px 22px rgba(0, 0, 0, 0.18);
  transition: transform 0.12s ease;
  touch-action: manipulation;
  z-index: 12;
}
@media (max-width: 575px) {
  .interactive-balloon {
    width: 74px;
    height: 92px;
  }
}
.interactive-balloon:hover {
  transform: scale(1.1) !important;
}
.interactive-balloon:active {
  transform: scale(0.94) !important;
}

/* Object-Shaped Balloon Sculptures (A-Z) */
.interactive-balloon.object-balloon {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.22));
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.15s ease;
}

.interactive-balloon.object-balloon .balloon-sculpture-svg {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  overflow: visible;
}

.interactive-balloon.object-balloon:hover {
  transform: scale(1.12) !important;
  filter: drop-shadow(0 14px 26px rgba(15, 23, 42, 0.32)) !important;
}

.interactive-balloon.object-balloon:active {
  transform: scale(0.92) !important;
}

/* Specular Gloss */
.balloon-gloss {
  position: absolute;
  top: 10px;
  left: 14px;
  width: 22px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  transform: rotate(-30deg);
  pointer-events: none;
}

/* Cartoon Face on Balloon */
.balloon-face {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: 4px;
  margin-bottom: 2px;
  pointer-events: none;
}
.balloon-eyes-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.balloon-eye {
  width: 9px;
  height: 11px;
  background: #111827;
  border-radius: 50%;
  position: relative;
}
.balloon-eye::after {
  content: "";
  position: absolute;
  top: 1.5px;
  left: 2px;
  width: 3.5px;
  height: 3.5px;
  background: #ffffff;
  border-radius: 50%;
}
.balloon-mouth {
  width: 10px;
  height: 5px;
  border-bottom: 2.5px solid #111827;
  border-radius: 0 0 10px 10px;
}

/* 3D Balloon Letter */
.balloon-letter {
  font-size: 38px;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
  line-height: 1;
  pointer-events: none;
}
@media (max-width: 575px) {
  .balloon-letter {
    font-size: 30px;
  }
}

/* Balloon Knot & String */
.balloon-knot {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 6px;
  background: inherit;
  border-radius: 2px 2px 5px 5px;
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
}
.balloon-string {
  position: absolute;
  bottom: -28px;
  left: 50%;
  width: 2px;
  height: 24px;
  background: rgba(255, 255, 255, 0.7);
  transform: translateX(-50%);
  pointer-events: none;
}

/* Ground Shadows */
.balloon-ground-shadow {
  position: absolute;
  width: 48px;
  height: 14px;
  background: rgba(22, 101, 52, 0.35);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
  z-index: 5;
}

/* Magical Sparkles for Target Balloon */
.balloon-magic-sparkles {
  position: absolute;
  inset: -14px;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.balloon-magic-sparkles span {
  font-size: 16px;
  animation: sparkleTwinkle 1.5s infinite alternate;
}
.balloon-magic-sparkles .sp-1 { animation-delay: 0s; }
.balloon-magic-sparkles .sp-2 { animation-delay: 0.5s; }
.balloon-magic-sparkles .sp-3 { animation-delay: 1s; }
@keyframes sparkleTwinkle {
  0% { transform: scale(0.6) rotate(0deg); opacity: 0.4; }
  100% { transform: scale(1.2) rotate(45deg); opacity: 1; }
}

/* Bottom Arena Tap Instruction Badge */
.arena-tap-badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid #00D4FF;
  border-radius: 24px;
  padding: 6px 18px;
  box-shadow: 0 6px 16px rgba(0, 180, 216, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 15;
  pointer-events: none;
  white-space: nowrap;
}
.arena-tap-badge .tap-icon {
  font-size: 18px;
  animation: tapFingerBounce 1s infinite alternate;
}
@keyframes tapFingerBounce {
  0% { transform: scale(1); }
  100% { transform: scale(1.2) translateY(-2px); }
}
.arena-tap-text {
  font-family: 'Fredoka', 'Quicksand', 'Nunito', sans-serif;
  font-size: 13.5px;
  font-weight: 900;
  color: #0284C7;
  letter-spacing: 0.5px;
}

/* Grade Selector Pills in Report Modal */
#gradePillGroup {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center;
}
.grade-select-pill {
  display: inline-flex !important;
  width: auto !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  font-size: 13px !important;
  padding: 6px 14px !important;
  border: 1.5px solid #218348 !important;
  color: #176336 !important;
  background: #ffffff !important;
  transition: all 0.2s ease !important;
  cursor: pointer;
}
.grade-select-pill:hover {
  background: #E8F5E9 !important;
  color: #176336 !important;
  border-color: #176336 !important;
}
.grade-select-pill.active {
  background: #218348 !important;
  color: #F5CE29 !important;
  border-color: #218348 !important;
  box-shadow: 0 4px 10px rgba(33, 131, 72, 0.25) !important;
}

/* Responsive Mobile Polish for Gamified Playground */
@media (max-width: 575px) {
  .stage-ribbon-3d {
    font-size: 11.5px !important;
    padding: 6px 12px !important;
    white-space: normal !important;
    text-align: center;
  }
  .trail-path-container {
    width: 100% !important;
    justify-content: center !important;
  }
  .stepping-stones-list {
    gap: 4px !important;
  }
  .stepping-stone {
    width: 32px !important;
    height: 32px !important;
    font-size: 13px !important;
  }
  .trail-footprint-icon {
    font-size: 9px !important;
  }
  .trail-arrow-finish {
    padding: 3px 6px !important;
    font-size: 10.5px !important;
  }
  .arena-tap-badge {
    width: auto !important;
    max-width: 92% !important;
    padding: 5px 12px !important;
    gap: 6px !important;
    justify-content: center !important;
  }
  .arena-tap-badge .tap-icon {
    font-size: 14px !important;
  }
  .arena-tap-text {
    font-size: 10.5px !important;
    white-space: nowrap !important;
    letter-spacing: 0px !important;
  }
}

/* ========================================================
   LETTER RACER: TACTILE TOY-UI & FULL-VIEWPORT BACKDROP
   ======================================================== */

/* Tactile Toy-UI Global Classes */
.racer-navbar-title {
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #1E293B;
  letter-spacing: 0.3px;
}

/* Full-Viewport Layered SVG Nature Backdrop */
.fixed-nature-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(180deg, #BAE6FD 0%, #E0F2FE 100%);
}
.backdrop-sun {
  position: absolute;
  top: 70px;
  left: 36px;
  width: 90px;
  height: 90px;
  animation: sunGlowSpin 30s linear infinite;
  filter: drop-shadow(0 4px 10px rgba(245, 158, 11, 0.4));
}
.backdrop-cloud {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.04));
}
.cloud-1 {
  top: 90px;
  left: -120px;
  width: 140px;
  animation: cloudDrift1 42s linear infinite;
}
.cloud-2 {
  top: 170px;
  right: -140px;
  width: 130px;
  animation: cloudDrift2 50s linear infinite;
}
.cloud-3 {
  top: 250px;
  left: -100px;
  width: 110px;
  animation: cloudDrift3 36s linear infinite;
}
@keyframes cloudDrift1 {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(100vw + 240px)); }
}
@keyframes cloudDrift2 {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100vw - 240px)); }
}
@keyframes cloudDrift3 {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(100vw + 240px)); }
}

.backdrop-mountains {
  position: absolute;
  bottom: 120px;
  left: 0;
  width: 100vw;
  height: 200px;
}
.backdrop-hills-mid {
  position: absolute;
  bottom: 60px;
  left: 0;
  width: 100vw;
  height: 150px;
}
.backdrop-hills-fore {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 110px;
}
.side-flora-cluster {
  position: absolute;
  bottom: 0;
  width: 190px;
  height: 420px;
  z-index: 2;
}
.flora-left { left: 1%; }
.flora-right { right: 1%; }
.flora-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}
@media (max-width: 991px) {
  .side-flora-cluster { display: none; }
  .backdrop-sun { width: 64px; height: 64px; top: 65px; left: 14px; }
}

/* ========================================================
   LETTER RACER: 3-COLUMN BALANCED ARCADE STAGE & CONTROLS
   Desktop Layout: 280px Left Sidebar, Flexible Center, 280px Right Sidebar
   ======================================================== */
.racer-arcade-stage-wrap {
  display: grid;
  grid-template-columns: 280px minmax(320px, 1fr) 280px;
  align-items: start;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* Sidebars (Left Customization & Right Target/Controls) */
.racer-sidebar {
  width: 100%;
  max-width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.racer-panel-card {
  background: #FFFFFF;
  border: 3px solid #1E293B;
  border-radius: 20px;
  box-shadow: 0 5px 0 #1E293B;
  padding: 14px 14px;
  position: relative;
}

/* Compact Color Panel Card */
.racer-panel-card.racer-color-panel-card {
  padding: 10px 14px 12px 14px;
}

.racer-panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-family: 'Fredoka', 'Quicksand', sans-serif;
}
.racer-color-panel-card .racer-panel-header {
  margin-bottom: 8px;
}
.racer-panel-header .panel-icon {
  font-size: 17px;
}
.racer-panel-header .panel-title {
  font-size: 13px;
  font-weight: 800;
  color: #1E293B;
  margin: 0;
  letter-spacing: 0.6px;
}

/* Compact Horizontal Color Slider Strip (Thick Bar with Selectable Segments) */
.racer-color-palette {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  width: 100% !important;
  height: 32px !important;
  border-radius: 16px !important;
  border: 2.5px solid #1E293B !important;
  box-shadow: 0 3px 0 #1E293B !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 0 !important;
  cursor: pointer;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  background: #1E293B;
}

.color-swatch-btn {
  flex: 1 1 0 !important;
  width: auto !important;
  height: 100% !important;
  min-width: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  border-right: 1.5px solid rgba(15, 23, 42, 0.35) !important;
  box-shadow: none !important;
  background: var(--swatch) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: filter 0.12s ease !important;
  position: relative !important;
}

.color-swatch-btn:last-child {
  border-right: none !important;
}

.color-swatch-btn:hover {
  filter: brightness(1.15) !important;
  transform: none !important;
}

.color-swatch-btn.is-active {
  transform: none !important;
  box-shadow: inset 0 0 0 3px #FFFFFF, inset 0 0 0 4.5px rgba(15, 23, 42, 0.6) !important;
  border-color: transparent !important;
  z-index: 2;
}

.color-swatch-btn .swatch-check {
  display: none !important;
  color: #FFFFFF !important;
  font-size: 11px !important;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.75)) !important;
  line-height: 1 !important;
}

.color-swatch-btn.is-active .swatch-check {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

/* Track & Environment Selector Grids */
.racer-select-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.track-select-pill,
.env-select-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 8px;
  border-radius: 12px;
  border: 2.5px solid #1E293B;
  box-shadow: 0 3px 0 #1E293B;
  background: #F1F5F9;
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: #1E293B;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.15s ease, color 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.track-select-pill:hover,
.env-select-pill:hover {
  background: #E2E8F0;
  transform: translateY(-1px);
}
.track-select-pill:active,
.env-select-pill:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #1E293B;
}
.track-select-pill.is-active,
.env-select-pill.is-active {
  background: linear-gradient(135deg, #22C55E 0%, #15803D 100%);
  color: #FFFFFF;
  border-color: #1E293B;
  box-shadow: 0 3px 0 #1E293B;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Center Main Racing Area */
.racer-center-main {
  flex: 1;
  max-width: 600px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.racer-center-main .racer-canvas-card {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 14px auto;
}
.racer-center-main .racer-arcade-steer-row {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 12px auto;
}

/* Right Sidebar: Large Bouncing Target Letter */
.racer-target-large-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 6px 0 10px 0;
}
.racer-target-bouncing-tile {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: linear-gradient(135deg, #FDE047 0%, #EAB308 100%);
  border: 3.5px solid #1E293B;
  box-shadow: 0 5px 0 #1E293B, 0 8px 18px rgba(234, 179, 8, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: min-width 0.3s ease, padding 0.3s ease;
  animation: minimalistScaleZoom 2.2s ease-in-out infinite !important;
  transform-origin: center center !important;
}
#racerTargetLetterBadge {
  display: inline-block;
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 44px;
  font-weight: 900;
  color: #713F12;
  text-shadow: 0 2px 0 #FEF08A;
  line-height: 1;
  text-align: center;
  transform-origin: center center;
}
.target-card-subtext {
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  margin: 0;
  line-height: 1.4;
}

/* Right Sidebar Action Controls */
.racer-controls-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.racer-action-pill-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 14px;
  border: 2.5px solid #1E293B;
  box-shadow: 0 3px 0 #1E293B;
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.racer-action-pill-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #1E293B;
}
.btn-play-pause {
  background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.btn-sound-toggle {
  background: #F1F5F9;
  color: #1E293B;
}
.btn-restart-race {
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Mini Live Stats */
.racer-stats-mini-card {
  padding: 12px 16px;
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 13px;
  font-weight: 800;
}
.mini-stat-label {
  color: #475569;
}
.mini-stat-val {
  font-size: 16px;
  font-weight: 900;
}

/* ========================================================
   MOBILE VIEWPORT ACTION BAR & COLLAPSIBLE DRAWER
   Balanced Action Bar: Target Tile -> Math Toggle -> Sound -> Play/Pause -> Customize
   ======================================================== */
.racer-mobile-action-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  background: #FFFFFF !important;
  border: 3px solid #1E293B !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 0 #1E293B, 0 8px 20px rgba(0, 0, 0, 0.08) !important;
  padding: 5px 6px !important;
  margin: 0 auto 10px auto !important;
  max-width: 540px !important;
  height: 56px !important;
  position: relative !important;
  z-index: 10 !important;
  box-sizing: border-box !important;
}

/* 1. Large, Colorful, 3D Bouncing Target Letter (No "TARGET:" label) */
.racer-mobile-target-tile {
  width: 66px !important;
  min-width: 66px !important;
  max-width: 66px !important;
  height: 42px !important;
  border-radius: 13px !important;
  background: linear-gradient(135deg, #FDE047 0%, #EAB308 100%) !important;
  border: 2.5px solid #1E293B !important;
  box-shadow: 0 2.5px 0 #1E293B, 0 4px 10px rgba(234, 179, 8, 0.35) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  position: relative !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  animation: minimalistScaleZoom 2.2s ease-in-out infinite !important;
  transform-origin: center center !important;
  padding: 0 4px !important;
  box-sizing: border-box !important;
}
.racer-mobile-target-tile:active {
  transform: translateY(2px) !important;
  box-shadow: 0 1px 0 #1E293B !important;
}
.mobile-target-3d-letter {
  font-family: 'Fredoka', 'Quicksand', sans-serif !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  color: #713F12 !important;
  text-shadow: 0 1.5px 0 #FEF08A !important;
  line-height: 1 !important;
  display: inline-block !important;
  text-align: center !important;
  transform-origin: center center !important;
}

/* Subtle Vertical Divider */
.racer-bar-divider {
  width: 1.5px !important;
  height: 26px !important;
  background: #CBD5E1 !important;
  border-radius: 2px !important;
  flex-shrink: 0 !important;
  margin: 0 1px !important;
}

/* 2. Action Controls: Fills the container evenly without dead empty gaps */
.racer-mobile-quick-ctrls {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 5px !important;
  flex: 1 !important;
  min-width: 0 !important;
  height: 100% !important;
}

/* Mini Buttons: Balanced flex-growth across container */
.racer-mini-btn {
  height: 38px !important;
  border-radius: 12px !important;
  border: 2px solid #1E293B !important;
  box-shadow: 0 2.5px 0 #1E293B !important;
  background: #F8FAFC !important;
  color: #1E293B !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  cursor: pointer !important;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  touch-action: manipulation !important;
  flex: 1 !important;
  max-width: 48px !important;
  min-width: 34px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
.racer-mini-btn:active {
  transform: translateY(2px) !important;
  box-shadow: 0 0.5px 0 #1E293B !important;
}

/* Math Mode Button */
.racer-math-btn {
  font-size: 15px !important;
}
.racer-math-btn.is-active {
  background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%) !important;
  color: #FFFFFF !important;
  border-color: #14532D !important;
  box-shadow: 0 2.5px 0 #14532D, 0 0 10px rgba(34, 197, 94, 0.4) !important;
}

/* 3. Expandable Customization Palette Icon Control */
.racer-drawer-toggle-btn {
  background: linear-gradient(135deg, #FEF08A 0%, #FDE047 100%) !important;
  color: #713F12 !important;
  font-size: 14px !important;
  margin: 0 !important;
}

/* Mobile Drawer Container */
.racer-mobile-drawer {
  display: none;
  background: #FFFFFF;
  border: 3px solid #1E293B;
  border-radius: 20px;
  box-shadow: 0 8px 0 #1E293B, 0 14px 28px rgba(0, 0, 0, 0.15);
  max-width: 540px;
  margin: 0 auto 14px auto;
  overflow: hidden;
  animation: drawerSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 15;
}
.racer-mobile-drawer.is-open {
  display: block;
}
@keyframes drawerSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.racer-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #F8FAFC;
  border-bottom: 2px solid #E2E8F0;
}
.drawer-header-icon {
  font-size: 16px;
}
.racer-drawer-title {
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  color: #1E293B;
}
.racer-drawer-close-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #1E293B;
  background: #F1F5F9;
  color: #1E293B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
}
.racer-drawer-body {
  padding: 14px;
}
.drawer-section {
  margin-bottom: 12px;
}
.drawer-section-title {
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========================================================
   RESPONSIVE BREAKPOINTS (Desktop vs Mobile)
   ======================================================== */
@media (min-width: 992px) {
  .racer-mobile-action-bar,
  .racer-mobile-drawer {
    display: none !important;
  }
  .racer-sidebar {
    display: flex !important;
  }
}

@media (max-width: 991px) {
  /* Restore Letter Racer stage to clean centered flex column directly below mobile action bar (Task 4) */
  .racer-arcade-stage-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    gap: 0 !important;
  }
  .racer-sidebar {
    display: none !important;
  }
  .racer-center-main {
    width: 100% !important;
    max-width: 540px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .racer-center-main .racer-canvas-card {
    width: 100% !important;
    max-width: 540px !important;
    margin: 0 auto 14px auto !important;
  }
  .racer-center-main .racer-arcade-steer-row {
    width: 100% !important;
    max-width: 540px !important;
    margin: 0 auto 12px auto !important;
  }
  .racer-mobile-action-bar {
    display: flex !important;
    width: 100% !important;
    max-width: 540px !important;
    margin: 0 auto 10px auto !important;
  }
}

@media (max-width: 575px) {
  .racer-arcade-stage-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }
  .racer-center-main {
    width: 100% !important;
    max-width: 100% !important;
  }
  .racer-center-main .racer-canvas-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 12px auto !important;
  }
  .racer-mobile-action-bar {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 8px auto !important;
  }
  .racer-center-main .racer-arcade-steer-row {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Start Overlay on Track */
.racer-start-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 20;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.racer-start-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
/* Minimal Start Race Button (Decent, Almost Square) */
.racer-start-launch-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 58px;
  height: 54px;
  padding: 6px 4px;
  background: linear-gradient(135deg, #FDE047 0%, #EAB308 100%);
  color: #713F12;
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  border-radius: 14px;
  border: 2.5px solid #1E293B;
  box-shadow: 0 3px 0 #1E293B, 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  line-height: 1.05;
  text-align: center;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.racer-start-launch-btn i {
  font-size: 13px;
  margin-left: 1px; /* Optical center for play icon */
}
.racer-start-launch-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 0 #1E293B, 0 6px 14px rgba(0, 0, 0, 0.25);
}
.racer-start-launch-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #1E293B;
}

/* Minimal 2-Line Short Instruction Below Button */
.racer-start-hint {
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #FFFFFF;
  margin-top: 8px;
  margin-bottom: 0;
  line-height: 1.35;
  text-align: center;
  max-width: 220px;
  text-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.75);
  letter-spacing: 0.2px;
}


/* Canvas Card & Shake Animation */
.racer-canvas-card {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto 16px auto;
  border: 3px solid #1E293B;
  border-radius: 20px;
  box-shadow: 0 8px 0 #1E293B;
  overflow: hidden;
  background: #4ADE80;
  cursor: pointer;
  z-index: 10;
}
.racer-canvas-card.is-shaking {
  animation: canvasShake 0.3s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
@keyframes canvasShake {
  10%, 90% { transform: translate3d(-3px, 0, 0); }
  20%, 80% { transform: translate3d(4px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(3px, 0, 0); }
}

/* Arcade Steer Buttons (Brand Colors & Tactile Toy-UI) */
.racer-arcade-steer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 540px;
  margin: 0 auto 12px auto;
  position: relative;
  z-index: 10;
}
.racer-arcade-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 18px;
  border: 3px solid #1E293B;
  box-shadow: 0 5px 0 #1E293B;
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: transform 0.12s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.12s ease, filter 0.12s ease;
  will-change: transform;
}
/* Brand Yellow for STEER LEFT */
.btn-steer-left {
  background: linear-gradient(135deg, #FDE047 0%, #EAB308 100%);
  color: #713F12;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-steer-left:hover {
  background: linear-gradient(135deg, #FEF08A 0%, #FACC15 100%);
  color: #592B02;
}
/* Brand Green for STEER RIGHT */
.btn-steer-right {
  background: linear-gradient(135deg, #22C55E 0%, #15803D 100%);
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.btn-steer-right:hover {
  background: linear-gradient(135deg, #4ADE80 0%, #16A34A 100%);
  color: #FFFFFF;
}
/* Tactile Press & Hold Visual Feedback (Negative Y upward translation + scale increase) */
.racer-arcade-btn:active,
.racer-arcade-btn.is-pressed {
  transform: translateY(-4px) scale(1.04) !important;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.25), 0 4px 0 #1E293B !important;
  filter: brightness(1.07);
}

/* Tip Banner */
.racer-tip-banner {
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 24px;
  position: relative;
  z-index: 10;
}
.tip-bulb {
  font-size: 15px;
  margin-right: 4px;
}

@media (max-width: 575px) {
  .racer-control-ribbon {
    padding: 8px 10px;
    gap: 8px;
    border-radius: 16px;
  }
  .racer-switcher-cluster {
    display: none !important;
  }
  .racer-pill-btn {
    font-size: 11.5px;
    padding: 5px 9px;
    border-width: 2px;
    box-shadow: 0 2px 0 #1E293B;
  }
  .racer-stages-track {
    width: 100%;
    justify-content: center;
    gap: 4px;
  }
  .racer-stages-label {
    font-size: 11.5px;
  }
  .racer-stages-line {
    gap: 3px;
  }
  .racer-stage-stone {
    width: 28px;
    height: 28px;
    font-size: 12px;
    border-width: 2px;
    border-radius: 8px;
  }
  .racer-stage-dash {
    font-size: 9px;
    letter-spacing: 0.5px;
  }
  .racer-hud-right {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
  }
  .racer-hud-pill {
    font-size: 11px;
    padding: 3px 8px;
    border-width: 2px;
    box-shadow: 0 2px 0 #1E293B;
  }
  .racer-icon-btn {
    width: 30px;
    height: 30px;
    font-size: 11px;
    border-width: 2px;
  }
  .racer-challenge-banner {
    padding: 4px 10px;
    border-radius: 16px;
    margin-bottom: 8px;
  }
  .racer-challenge-text {
    font-size: 11.5px;
  }
  .racer-target-coin-tile {
    width: 34px;
    height: 34px;
    font-size: 18px;
    border-width: 2px;
  }
  .racer-arcade-btn {
    padding: 8px 12px;
    font-size: 13.5px;
    border-width: 2px;
    border-radius: 12px;
  }
  .racer-tip-banner {
    font-size: 11.5px;
    margin-bottom: 12px;
  }
}

/* ========================================================
   MOBILE VIEWPORT ULTRA-COMPACT GAMEPLAY OPTIMIZATION
   Eliminates redundant top buttons, minimizes headers,
   and transforms the Quest Card into a slim horizontal banner
   so balloons are immediately visible with zero excessive scrolling.
   ======================================================== */
@media (max-width: 767px) {
  /* 1. Header Bar: Hide duplicate 'CHANGE GAME' button, make Home slim */
  .game-simplified-header {
    padding: 6px 0 !important;
  }
  .game-header-logo {
    height: 32px !important;
  }
  .game-simplified-header .btn-switch {
    display: none !important;
  }
  .game-top-btn.btn-home {
    padding: 5px 11px !important;
    font-size: 11.5px !important;
    border-radius: 14px !important;
  }

  /* 2. Top spacing & Switcher Pills */
  .game-section-wrap {
    padding-top: 8px !important;
    padding-bottom: 24px !important;
  }
  .game-platform-header-area {
    margin-bottom: 8px !important;
  }
  .game-badge-pill {
    padding: 3px 10px !important;
    font-size: 10.5px !important;
    margin-bottom: 4px !important;
  }
  .game-tab-switcher {
    margin-top: 2px !important;
    padding: 3px !important;
    gap: 4px !important;
    border-radius: 20px !important;
  }
  .game-tab-btn {
    padding: 5px 11px !important;
    font-size: 11.5px !important;
    gap: 4px !important;
  }

  /* 3. Balloon Playground Outer Wrap */
  .playground-canvas-wrap {
    padding: 8px 8px 12px 8px !important;
    border-radius: 18px !important;
    border-width: 2.5px !important;
    margin-bottom: 14px !important;
  }
  .tree-canopy-corner {
    display: none !important;
  }

  /* 4. Sky Environment Row */
  .sky-env-row {
    margin-bottom: 6px !important;
    gap: 6px !important;
  }
  .cartoon-sun-svg {
    width: 28px !important;
    height: 28px !important;
  }
  .cloud-title-container {
    padding: 3px 10px !important;
    border-radius: 16px !important;
    border-width: 2px !important;
  }
  .cloud-title-container::before,
  .cloud-title-container::after {
    display: none !important;
  }
  .fun-games-letters {
    font-size: 14px !important;
  }
  .cartoon-bird {
    display: none !important;
  }
  .game-icon-btn {
    width: 28px !important;
    height: 28px !important;
    font-size: 11px !important;
  }

  /* 5. Middle Journey Bar */
  .journey-track-bar {
    padding: 6px 8px !important;
    margin-bottom: 8px !important;
    border-radius: 14px !important;
    gap: 6px !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .mascot-ribbon-cluster {
    gap: 6px !important;
  }
  .monkey-mascot-svg {
    width: 32px !important;
    height: 32px !important;
  }
  .stage-ribbon-3d {
    padding: 3px 8px !important;
    font-size: 10.5px !important;
    border-radius: 8px !important;
  }
  .trail-path-container {
    gap: 3px !important;
    padding: 2px !important;
  }
  .stepping-stone {
    width: 25px !important;
    height: 25px !important;
    font-size: 11px !important;
    border-width: 2px !important;
  }
  .trail-footprint-icon {
    display: none !important;
  }
  .trail-arrow-finish {
    padding: 2px 5px !important;
    font-size: 9.5px !important;
    border-radius: 8px !important;
  }
  .chunky-hud-badges {
    gap: 5px !important;
  }
  .hud-pill-badge {
    padding: 3px 9px !important;
    font-size: 11px !important;
    border-radius: 12px !important;
    border-width: 1.5px !important;
  }

  /* 6. Playground Main Grid & Slim Quest Card */
  .playground-main-grid {
    gap: 8px !important;
    grid-template-columns: 1fr !important;
  }

  /* Transform Quest Card into a slim horizontal banner */
  .quest-card-frame {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 6px 12px !important;
    border-radius: 16px !important;
    border-width: 2.5px !important;
    gap: 8px !important;
    box-shadow: 0 4px 10px rgba(85, 128, 38, 0.1) !important;
  }
  .quest-wood-header {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
  }
  .quest-challenge-tag {
    display: none !important;
  }
  .quest-plaque-board {
    font-size: 11px !important;
    padding: 3px 8px !important;
    gap: 3px !important;
    border-radius: 8px !important;
    border-width: 1.5px !important;
  }
  .quest-plaque-board .leaf-icon {
    font-size: 10px !important;
  }
  .quest-task-prompt {
    font-size: 13px !important;
    margin-bottom: 0 !important;
    line-height: 1.2 !important;
    text-align: left !important;
    flex: 1 !important;
  }
  .quest-task-prompt strong {
    font-size: 17px !important;
  }
  .toy-letter-block-wrap {
    margin: 0 !important;
    flex-shrink: 0 !important;
  }
  .toy-letter-block {
    width: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
    border-width: 2.5px !important;
    box-shadow: 0 4px 8px rgba(180, 83, 9, 0.25) !important;
    animation: none !important;
  }
  .toy-block-inner-inset {
    width: 32px !important;
    height: 32px !important;
    border-radius: 7px !important;
    border-width: 2px !important;
  }
  .toy-block-char {
    font-size: 20px !important;
  }
  .quest-medals-row {
    display: none !important;
  }

  /* 7. Balloon Play Arena */
  .balloon-arena-frame {
    height: 350px !important;
    border-radius: 20px !important;
    border-width: 3px !important;
  }
}

/* ==========================================================================
   HERO SECTION MOUNTAIN DIVIDER (Removed on Web View, Kept on Other Sections)
   ========================================================================== */
@media (min-width: 992px) {
  .hero-mountain-divider {
    display: none !important;
  }
  .banner-area-one.hero-ambient-bg {
    padding-bottom: 75px !important;
  }
}

/* ==========================================================================
   TALL FONT ANIMATED TITLE PRELOADER (Thamaratul Jannah)
   ========================================================================== */
html.no-preloader #preloader,
html.no-preloader .thamaratul-preloader,
html.no-preloader .preloader {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#home, #about, #programs, #facilities, #gallery, #admissions, #contact {
  scroll-margin-top: 85px;
}

.thamaratul-preloader {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 99999999 !important;
  background: #FFFFFF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease, visibility 0.45s ease !important;
  user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
}

.thamaratul-preloader.loaded,
.thamaratul-preloader.is-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 90%;
}

/* Tall Animated Title in School Brand Green (Crisp, No Glow, No Logo) */
.preloader-tall-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2px, 0.8vw, 6px);
  font-family: 'Bebas Neue', 'Oswald', 'Impact', sans-serif;
  letter-spacing: clamp(4px, 1.2vw, 10px);
  line-height: 0.95;
  margin-bottom: 0;
}

.tall-word {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}

.tall-char {
  display: inline-block;
  font-size: clamp(34px, 7.5vw, 68px);
  font-weight: 800;
  color: #218348 !important;
  text-shadow: none !important;
  filter: none !important;
  box-shadow: none !important;
  transform-origin: bottom center;
  opacity: 0;
  animation: tallLetterDrop 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards,
             letterAmbientFloat 3s ease-in-out infinite alternate 1.2s;
  animation-delay: calc(var(--char-i, 1) * 0.04s), calc(1.2s + var(--char-i, 1) * 0.08s);
}

.tall-char.gold {
  color: #218348 !important;
  text-shadow: none !important;
  filter: none !important;
}

@keyframes tallLetterDrop {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes letterAmbientFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
  100% {
    transform: translateY(0);
  }
}

/* ========================================================
   MASTER GLOBAL SECTION HEADER & DESCRIPTION ALIGNMENT SYSTEM
   Guarantees perfect center visual axis alignment for all centered
   sections across desktop, tablet, and mobile. Eliminates all horizontal
   shifting, awkward offsets, and ensures balanced reading line lengths.
   Particularly enforces clean center alignment for Why Choose Us,
   Programs, Facilities, Orbit Gallery, Fees, Testimonials, and Blog.
   ======================================================== */

/* 1. Universal Container Centering for all Centered Section Intros */
.section-title-area.text-center,
.text-center > .section-title-area,
#facilities .section-title-area,
#programs .section-title-area,
#gallery .section-title-area,
#admissions .section-title-area,
.rts-testimonials-area .section-title-area,
#blog-news .section-title-area {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 36px !important;
  max-width: 860px !important;
  width: 100% !important;
  position: relative !important;
}

/* 2. Unified Pre-title Alignment (Pill / Tagline with or without Icon) */
.section-title-area.text-center .pre-title,
.text-center > .section-title-area .pre-title,
#facilities .section-title-area .pre-title,
#programs .section-title-area .pre-title,
#gallery .section-title-area .pre-title,
#admissions .section-title-area .pre-title,
.rts-testimonials-area .section-title-area .pre-title,
#blog-news .section-title-area .pre-title {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: 10px !important;
  width: auto !important;
  max-width: 100% !important;
  font-size: clamp(14px, 2.2vw, 17px) !important;
  font-weight: 700 !important;
  color: #218348 !important;
  line-height: 1.4 !important;
}

.section-title-area.text-center .pre-title img,
#facilities .section-title-area .pre-title img,
#programs .section-title-area .pre-title img,
#gallery .section-title-area .pre-title img,
#admissions .section-title-area .pre-title img,
.rts-testimonials-area .section-title-area .pre-title img,
#blog-news .section-title-area .pre-title img {
  display: inline-block !important;
  margin-right: 8px !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}

/* 3. Unified Section Heading (H2) Alignment */
.section-title-area.text-center .section-title,
.section-title-area.text-center h2,
.text-center > .section-title-area .section-title,
#facilities .section-title-area .section-title,
#programs .section-title-area .section-title,
#gallery .section-title-area .section-title,
#admissions .section-title-area .section-title,
.rts-testimonials-area .section-title-area .section-title,
#blog-news .section-title-area .section-title {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  width: 100% !important;
  max-width: 780px !important;
  font-size: clamp(26px, 4.2vw, 42px) !important;
  font-weight: 800 !important;
  line-height: 1.22 !important;
  letter-spacing: -0.5px !important;
}

/* 4. Unified Section Description Paragraph Alignment (Fixed Symmetrical Reading Width) */
.section-title-area.text-center .desc,
.section-title-area.text-center p.desc,
.section-title-area.text-center .description,
.text-center > .section-title-area .desc,
#facilities .section-title-area .desc,
#programs .section-title-area .desc,
#gallery .section-title-area .desc,
#admissions .section-title-area .desc,
.rts-testimonials-area .section-title-area .desc,
#blog-news .section-title-area .desc {
  display: block !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  max-width: 700px !important;
  width: 100% !important;
  font-size: clamp(14.5px, 2.2vw, 16px) !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
  color: #475569 !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
}

/* Responsive Alignment & Spacing: Tablet Breakpoint (max-width: 991px) */
@media (max-width: 991px) {
  .section-title-area.text-center,
  #facilities .section-title-area,
  #programs .section-title-area,
  #gallery .section-title-area,
  #admissions .section-title-area,
  .rts-testimonials-area .section-title-area,
  #blog-news .section-title-area {
    margin-bottom: 26px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  
  .section-title-area.text-center .desc,
  #facilities .section-title-area .desc,
  #programs .section-title-area .desc,
  #gallery .section-title-area .desc,
  #admissions .section-title-area .desc,
  .rts-testimonials-area .section-title-area .desc,
  #blog-news .section-title-area .desc {
    max-width: 620px !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
}

/* Responsive Alignment & Spacing: Mobile Breakpoint (max-width: 575px) */
@media (max-width: 575px) {
  .section-title-area.text-center,
  #facilities .section-title-area,
  #programs .section-title-area,
  #gallery .section-title-area,
  #admissions .section-title-area,
  .rts-testimonials-area .section-title-area,
  #blog-news .section-title-area {
    margin-bottom: 20px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .section-title-area.text-center .pre-title,
  #facilities .section-title-area .pre-title,
  #programs .section-title-area .pre-title,
  #gallery .section-title-area .pre-title,
  #admissions .section-title-area .pre-title,
  .rts-testimonials-area .section-title-area .pre-title,
  #blog-news .section-title-area .pre-title {
    margin-bottom: 8px !important;
    font-size: 13.5px !important;
  }

  .section-title-area.text-center .section-title,
  #facilities .section-title-area .section-title,
  #programs .section-title-area .section-title,
  #gallery .section-title-area .section-title,
  #admissions .section-title-area .section-title,
  .rts-testimonials-area .section-title-area .section-title,
  #blog-news .section-title-area .section-title {
    margin-bottom: 10px !important;
    font-size: 24px !important;
    line-height: 1.25 !important;
  }

  .section-title-area.text-center .desc,
  #facilities .section-title-area .desc,
  #programs .section-title-area .desc,
  #gallery .section-title-area .desc,
  #admissions .section-title-area .desc,
  .rts-testimonials-area .section-title-area .desc,
  #blog-news .section-title-area .desc {
    max-width: 100% !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
  }
}

/* ========================================================
   PART 2: WEBSITE-WIDE TYPOGRAPHY STABILITY & ANTI-BLINK
   Completely eradicates unwanted text flickering, flashing,
   pulsing buttons, and blinking keyframes site-wide.
   ======================================================== */
.flash,
.pulse,
.fee-pulse-cta,
[class*="blink"],
[class*="pulse"],
.orbit-ctrl-btn.is-active-boost {
  animation: none !important;
  -webkit-animation: none !important;
  opacity: 1 !important;
}

h1, h2, h3, h4, h5, h6,
p, span, a, label, strong, b, em,
.title, .section-title, .pre-title, .desc, .sub-title,
.banner-content-one *,
.section-title-area *,
.facility-title,
.prog-title,
.blog-card-title,
.orbit-card-title,
.school-brand-title,
.fee-table-wrap h3,
.fee-tier-card h4,
.blog-card-title a {
  -webkit-backface-visibility: hidden !important;
  backface-visibility: hidden !important;
  -webkit-font-smoothing: antialiased;
  animation-name: none !important;
  -webkit-animation-name: none !important;
  opacity: 1 !important;
}

/* ========================================================
   GAME PAGE: LETTER RACER MINIMAL HEADER OVERRIDE
   Killed text box and description on top per minimal objective
   ======================================================== */
.racer-section-header {
  display: none !important;
}

/* ========================================================
   PARTS 4 & 5: COORDINATED FLOATING NAVIGATION GROUP
   Vertical Order: 1. WhatsApp -> 2. Home -> 3. Scroll to Top
   Appears ONLY when user scrolls past the hero section.
   ======================================================== */
.thamaratul-floating-nav {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s ease;
}

/* Revealed strictly after scrolling past the hero section */
.thamaratul-floating-nav.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Base Floating Navigation Button */
.float-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  position: relative;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.22s ease,
              background-color 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  outline: none;
}

.float-nav-btn:hover {
  transform: translateY(-2px) scale(1.06);
}

.float-nav-btn:active {
  transform: translateY(1px) scale(0.96);
}

/* 1. Customer Care / WhatsApp (Top) */
.float-nav-btn.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  font-size: 21px;
}
.float-nav-btn.btn-whatsapp:hover {
  background: #20BA5A;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
  color: #FFFFFF;
}

/* 2. Home Navigation (Middle) */
.float-nav-btn.btn-home {
  background: #218348;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(33, 131, 72, 0.35);
  font-size: 18px;
}
.float-nav-btn.btn-home:hover {
  background: #176336;
  box-shadow: 0 6px 18px rgba(33, 131, 72, 0.5);
  color: #FFFFFF;
}

/* 3. Scroll Back to Top (Bottom) */
.float-nav-btn.btn-scroll-top {
  background: #F5CE29;
  color: #182B1F;
  box-shadow: 0 4px 14px rgba(245, 206, 41, 0.4);
  font-size: 16px;
  font-weight: 900;
  opacity: 0.85;
}
.float-nav-btn.btn-scroll-top.is-active {
  opacity: 1;
}
.float-nav-btn.btn-scroll-top:hover {
  background: #F0C418;
  box-shadow: 0 6px 18px rgba(245, 206, 41, 0.55);
  color: #182B1F;
}

/* Desktop Function Tooltips */
@media (hover: hover) and (pointer: fine) {
  .float-nav-btn[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) scale(0.92);
    background: rgba(24, 43, 31, 0.94);
    color: #ffffff;
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 8px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
  .float-nav-btn[data-tooltip]:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

/* Mobile Appearance: Minimal size, sleek, and highly transparent glassmorphism */
@media (max-width: 767px) {
  .thamaratul-floating-nav {
    right: 10px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    gap: 5px;
  }
  .float-nav-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
  }
  .float-nav-btn.btn-whatsapp {
    background: rgba(37, 211, 102, 0.48);
    color: #FFFFFF;
    font-size: 13.5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  }
  .float-nav-btn.btn-home {
    background: rgba(33, 131, 72, 0.48);
    color: #FFFFFF;
    font-size: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  }
  .float-nav-btn.btn-scroll-top {
    background: rgba(245, 206, 41, 0.52);
    color: #182B1F;
    font-size: 11px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  }
  /* Hide hover tooltips on touch devices */
  .float-nav-btn[data-tooltip]::before {
    display: none !important;
  }
}



/* ========================================================
   RACER THREE-LEVEL UPGRADE: PROGRESS BAR, OVERLAYS & ABILITIES
   ======================================================== */
.racer-progress-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 25;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 6px 14px 6px 14px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.racer-progress-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  line-height: 1;
}
.racer-level-badge {
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #FACC15;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
.racer-pts-badge {
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #38BDF8;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
.racer-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}
.racer-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #22C55E 0%, #FACC15 50%, #38BDF8 100%);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
  transition: width 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.racer-truck-warning {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 24;
  background: rgba(220, 38, 38, 0.40);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  border-radius: 999px;
  padding: 3px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
  animation: subtleWarningFade 1.0s ease-in-out forwards;
  pointer-events: none;
}
@keyframes subtleWarningFade {
  0% { opacity: 0; transform: translateX(-50%) translateY(-3px) scale(0.96); }
  20% { opacity: 0.95; transform: translateX(-50%) translateY(0) scale(1); }
  80% { opacity: 0.95; transform: translateX(-50%) translateY(0) scale(1); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-2px) scale(0.98); }
}

.racer-game-over-overlay,
.racer-level-complete-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 30;
  background: rgba(15, 23, 42, 0.90);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: overlayFadeIn 0.3s ease-out forwards;
}
@keyframes overlayFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.racer-crash-icon,
.racer-trophy-icon {
  font-size: 46px;
  line-height: 1;
  margin-bottom: 8px;
  animation: iconBounce 0.8s ease-in-out infinite alternate;
}
@keyframes iconBounce {
  from { transform: translateY(0); }
  to { transform: translateY(-7px); }
}
.racer-game-over-title {
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #EF4444;
  margin-bottom: 6px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}
.racer-level-title {
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #FACC15;
  margin-bottom: 6px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}
.racer-game-over-score {
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 15px;
  color: #E2E8F0;
  margin-bottom: 16px;
}
.racer-unlock-announcement {
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 14px;
  color: #86EFAC;
  margin-bottom: 16px;
  text-align: center;
}
.racer-retry-btn,
.racer-continue-btn {
  color: #FFFFFF;
  border: 3px solid #1E293B;
  box-shadow: 0 5px 0 #1E293B;
  border-radius: 999px;
  padding: 10px 24px;
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.racer-retry-btn {
  background: #EF4444;
}
.racer-continue-btn {
  background: #22C55E;
}
.racer-retry-btn:hover,
.racer-continue-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #1E293B;
}
.racer-retry-btn:active,
.racer-continue-btn:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #1E293B;
}

.racer-abilities-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 540px;
  margin: 0 auto 10px auto;
  position: relative;
  z-index: 10;
}
.racer-ability-btn {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 16px;
  border: 3px solid #1E293B;
  box-shadow: 0 4px 0 #1E293B;
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s;
}
.racer-ability-btn.btn-boost {
  background: linear-gradient(135deg, #F59E0B, #EF4444);
}
.racer-ability-btn.btn-shoot {
  background: linear-gradient(135deg, #0EA5E9, #8B5CF6);
}
.racer-ability-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #1E293B;
}
.racer-ability-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #1E293B;
}
.racer-ability-btn.is-cooling {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
}
.ability-cooldown-overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
  transition: width 0.1s linear;
}

.model-select-pill {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  margin-bottom: 6px;
  background: #FFFFFF;
  border: 2px solid #CBD5E1;
  border-radius: 10px;
  box-shadow: 0 2px 0 #CBD5E1;
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #1E293B;
  cursor: pointer;
  transition: all 0.15s ease;
  overflow: hidden;
}
.model-select-pill:hover {
  border-color: #94A3B8;
  transform: translateY(-1px);
}
.model-select-pill.is-active {
  background: #FEFCE8;
  border-color: #F59E0B;
  color: #78350F;
  animation: activeCarBlink 1.8s ease-in-out infinite;
}
@keyframes activeCarBlink {
  0%, 100% {
    border-color: #FACC15;
    box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.95), 0 2px 5px rgba(245, 158, 11, 0.3);
  }
  50% {
    border-color: #D97706;
    box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.25), 0 1px 2px rgba(245, 158, 11, 0.15);
  }
}
.model-select-pill.is-locked {
  background: #F8FAFC;
  border-color: #E2E8F0;
  color: #94A3B8;
  cursor: not-allowed;
  opacity: 0.75;
}
.model-pill-name {
  flex: 1;
  text-align: left;
  margin-left: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.model-pill-badge {
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 5px;
  text-transform: uppercase;
  flex-shrink: 0;
  margin-left: 6px;
}
.model-pill-badge.badge-locked {
  background: #64748B;
  color: #FFFFFF;
}

/* Center Gun / Shoot Dot Button in Steering Row */
.racer-shoot-center-btn {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF;
  border: 3px solid #1E293B;
  box-shadow: 0 4px 0 #1E293B;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: transform 0.1s, box-shadow 0.1s;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.racer-shoot-center-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #1E293B;
  background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
}
.racer-shoot-center-btn:active,
.racer-shoot-center-btn.is-firing {
  transform: translateY(3px) scale(0.96);
  box-shadow: 0 1px 0 #1E293B;
}
.racer-shoot-bullet-icon,
.racer-gun-icon {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
  display: block;
  transition: transform 0.15s ease;
}

/* Arrow Bullet Jumping Reaction Animation (Desktop & Phone) */
@keyframes shootBulletJump {
  0% {
    transform: translateY(0) scale(1);
  }
  30% {
    transform: translateY(-11px) scale(1.28);
    filter: drop-shadow(0 6px 12px rgba(14, 165, 233, 0.95));
  }
  65% {
    transform: translateY(-3px) scale(1.1);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
.racer-shoot-bullet-icon.is-jumping {
  animation: shootBulletJump 0.32s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  -webkit-animation: shootBulletJump 0.32s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* ========================================================
   PLAY & LEARN TITLE: MINIMAL FLOATING TEXT EFFECT
   Gentle, minimal floating typography (stays contained, doesn't touch navbar)
   ======================================================== */
@keyframes funGamesContinuousFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-1px) rotate(-0.2deg);
  }
  50% {
    transform: translateY(-2.2px) rotate(0.2deg);
  }
  75% {
    transform: translateY(-1px) rotate(-0.1deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes letterIndividualFloatBob {
  0% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(var(--float-y, -2px)) rotate(var(--float-rot, 1.2deg)) scale(1.015);
  }
  100% {
    transform: translateY(calc(var(--float-y, -2px) * 0.25)) rotate(calc(var(--float-rot, 1.2deg) * -0.4)) scale(0.99);
  }
}

.floating-fun-heading-container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 4px auto 10px auto !important;
  animation: funGamesContinuousFloat 4.2s ease-in-out infinite !important;
  -webkit-animation: funGamesContinuousFloat 4.2s ease-in-out infinite !important;
  will-change: transform;
}

.floating-letters-row {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.float-fun-letter {
  display: inline-block !important;
  animation: letterIndividualFloatBob var(--float-dur, 3.2s) ease-in-out infinite alternate !important;
  -webkit-animation: letterIndividualFloatBob var(--float-dur, 3.2s) ease-in-out infinite alternate !important;
  animation-delay: var(--float-delay, 0s) !important;
  -webkit-animation-delay: var(--float-delay, 0s) !important;
  will-change: transform;
}

/* ==========================================================================
   GENTLE INFINITE LETTER BOUNCE ANIMATION (Both Games)
   - Contained strictly within badges/tiles without breaching outer containers
   - Gentle, delightful cartoon squash & stretch bounce
   ========================================================================== */
@keyframes gentleLetterBounce {
  0%, 100% {
    transform: translateY(0) scale(1, 1);
  }
  25% {
    transform: translateY(-4px) scale(1.06, 0.96);
  }
  50% {
    transform: translateY(-6px) scale(1.04, 1.02);
  }
  75% {
    transform: translateY(-1.5px) scale(0.98, 1.03);
  }
  90% {
    transform: translateY(0) scale(1.02, 0.99);
  }
}

@keyframes gentleLetterBounceMobile {
  0%, 100% {
    transform: translateY(0) scale(1, 1);
  }
  25% {
    transform: translateY(-2px) scale(1.05, 0.97);
  }
  50% {
    transform: translateY(-3px) scale(1.04, 1.01);
  }
  75% {
    transform: translateY(-1px) scale(0.99, 1.02);
  }
  90% {
    transform: translateY(0) scale(1.01, 0.99);
  }
}

@keyframes gentleLetterBounceSubtle {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-2.5px) scale(1.06);
  }
}

@keyframes gentleSvgLetterBounce {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-2.5px) scale(1.05);
  }
}

.target-bounce-pulse {
  animation: targetBouncePulseKeyframe 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
@keyframes targetBouncePulseKeyframe {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.quest-task-prompt strong {
  display: inline-block !important;
  animation: gentleLetterBounce 1.8s cubic-bezier(0.34, 1.56, 0.64, 1) infinite !important;
  transform-origin: center bottom !important;
  vertical-align: middle !important;
}

#racerTargetLetterEcho {
  display: inline-block !important;
  animation: gentleLetterBounceSubtle 1.8s ease-in-out infinite !important;
  vertical-align: baseline !important;
}

.interactive-balloon.is-target-balloon svg text {
  animation: gentleSvgLetterBounce 1.8s ease-in-out infinite alternate !important;
  transform-origin: center center !important;
  transform-box: fill-box !important;
}

@media (prefers-reduced-motion: reduce) {
  .toy-block-char,
  .quest-task-prompt strong,
  .interactive-balloon.is-target-balloon svg text,
  #racerTargetLetterBadge,
  .mobile-target-3d-letter,
  #racerTargetLetterEcho,
  .racer-target-bouncing-tile,
  .racer-mobile-target-tile {
    animation: none !important;
  }
}

/* Minimalist Scale Zoom for Target Letter Container (Zero translation, perfectly centered) */
@keyframes minimalistScaleZoom {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.055);
  }
}

/* Math Mode Customization Switch & Container Adaptations */
.math-mode-card {
  border-color: #1E293B !important;
}
.math-mode-control {
  padding: 4px 2px;
}
.math-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  color: #1E293B;
  margin-bottom: 6px;
}
.math-toggle-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.math-toggle-slider {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  background-color: #CBD5E1;
  border-radius: 24px;
  border: 2px solid #1E293B;
  transition: 0.25s ease;
  flex-shrink: 0;
}
.math-toggle-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: #FFFFFF;
  border-radius: 50%;
  border: 1.5px solid #1E293B;
  transition: 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.math-toggle-input:checked + .math-toggle-slider {
  background-color: #22C55E;
}
.math-toggle-input:checked + .math-toggle-slider:before {
  transform: translateX(18px);
  background-color: #FEF08A;
}
.math-mode-subtext {
  font-size: 11.5px;
  color: #64748B;
  line-height: 1.35;
  margin: 0;
  font-family: 'Fredoka', 'Quicksand', sans-serif;
}

/* Math Mode Target Tile Adaptations (Allows equation like 3 + 2 = ? to fit nicely) */
.racer-target-bouncing-tile.is-math-mode {
  width: auto !important;
  min-width: 146px !important;
  padding: 0 16px !important;
}
.racer-target-bouncing-tile.is-math-mode #racerTargetLetterBadge {
  font-size: 26px !important;
  letter-spacing: 1px !important;
  white-space: nowrap !important;
}

.racer-mobile-target-tile.is-math-mode {
  width: 66px !important;
  min-width: 66px !important;
  max-width: 66px !important;
  height: 42px !important;
  padding: 0 3px !important;
}
.racer-mobile-target-tile.is-math-mode .mobile-target-3d-letter {
  font-size: 13px !important;
  letter-spacing: -0.4px !important;
  white-space: nowrap !important;
}

/* ==========================================================================
   BLINKING IMPORTANT PROPOSAL NAVIGATION LINK (Yellow -> Green -> Black)
   ========================================================================== */
@keyframes proposalColorBlink {
  0%, 100% {
    color: #176336 !important; /* Brand Deep Green */
    text-shadow: 0 0 3px rgba(23, 99, 54, 0.3);
  }
  33% {
    color: #D4A911 !important; /* Vibrant Warm Yellow */
    text-shadow: 0 0 5px rgba(245, 206, 41, 0.5);
  }
  66% {
    color: #000000 !important; /* Bold Solid Black */
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
  }
}

@keyframes proposalBadgeBlink {
  0%, 100% {
    background-color: #176336 !important;
    color: #ffffff !important;
  }
  33% {
    background-color: #F5CE29 !important;
    color: #182B1F !important;
  }
  66% {
    background-color: #000000 !important;
    color: #ffffff !important;
  }
}

.nav-proposal-blink,
.nav-proposal-blink span,
.nav-proposal-blink i {
  animation: proposalColorBlink 2.2s infinite ease-in-out !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
}

.mobile-nav-link.nav-proposal-blink {
  background: rgba(245, 206, 41, 0.14) !important;
  border: 1.5px dashed #D4A911 !important;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  margin: 6px 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.proposal-important-badge {
  font-size: 9.5px !important;
  font-weight: 800 !important;
  padding: 3px 8px !important;
  border-radius: 20px !important;
  margin-left: auto !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  animation: proposalBadgeBlink 2.2s infinite ease-in-out !important;
}

.nav-pulse-dot {
  display: inline-block !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  margin-left: 4px !important;
  vertical-align: middle !important;
  animation: proposalBadgeBlink 2.2s infinite ease-in-out !important;
  flex-shrink: 0 !important;
}

/* --- Mobile Hamburger Donate Button: Fast White & Orange Text Blinking --- */
@keyframes donateTextFastBlink {
  0%, 100% {
    color: #FFFFFF !important;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
  }
  50% {
    color: #FF7700 !important; /* High-contrast radiant warm orange */
    text-shadow: 0 0 8px rgba(255, 119, 0, 0.6);
  }
}

.mobile-donate-btn,
.mobile-donate-btn i,
.mobile-donate-btn span {
  animation: donateTextFastBlink 0.75s infinite ease-in-out !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px !important;
}

.mobile-donate-btn {
  background: #176336 !important;
  border: 1.5px solid #FF7700 !important;
  box-shadow: 0 4px 14px rgba(23, 99, 54, 0.35) !important;
  transition: all 0.2s ease !important;
}

.mobile-donate-btn:hover,
.mobile-donate-btn:active {
  background: #124e2b !important;
  transform: translateY(-1px);
}

/* ==========================================================================
   SCHOOL MILESTONES — NOVEMBER 2026 GRADUATION SECTION
   Clean, spacious layout with creative animated image containers,
   kids elements, and graduation accents
   ========================================================================== */
.milestones-graduation-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #FDFBF5 55%, #FFFFFF 100%);
  padding: 88px 0 132px 0;
  overflow: hidden;
  scroll-margin-top: 82px;
}

/* Subtle Ambient Confetti Flecks (Clean & Restraint-First) */
.milestone-ambient-doodles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.m-confetti {
  position: absolute;
  border-radius: 3px;
  opacity: 0.32;
  animation: milestoneConfettiDrift 7.5s ease-in-out infinite;
}
.m-conf-1 {
  width: 11px;
  height: 11px;
  background: #F5CE29;
  border-radius: 50%;
  top: 9%;
  left: 7%;
  animation-delay: 0s;
}
.m-conf-2 {
  width: 14px;
  height: 6px;
  background: #218348;
  top: 16%;
  right: 9%;
  transform: rotate(28deg);
  animation-delay: 1.4s;
}
.m-conf-3 {
  width: 10px;
  height: 10px;
  background: #F472B6;
  border-radius: 3px;
  top: 52%;
  left: 4%;
  transform: rotate(45deg);
  animation-delay: 2.2s;
}
.m-conf-4 {
  width: 14px;
  height: 6px;
  background: #F5CE29;
  top: 46%;
  right: 5%;
  transform: rotate(-22deg);
  animation-delay: 0.9s;
}
.m-conf-5 {
  width: 9px;
  height: 9px;
  background: #218348;
  border-radius: 50%;
  bottom: 22%;
  left: 11%;
  animation-delay: 3s;
}
.m-conf-6 {
  width: 12px;
  height: 6px;
  background: #F472B6;
  bottom: 18%;
  right: 12%;
  transform: rotate(35deg);
  animation-delay: 1.9s;
}

@keyframes milestoneConfettiDrift {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.24;
  }
  50% {
    transform: translateY(-14px) rotate(18deg);
    opacity: 0.45;
  }
}

/* Story & Brief Column */
.milestone-story-block {
  position: relative;
  z-index: 3;
}
.milestone-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #EAF4EE;
  color: #176336;
  border: 1px solid rgba(33, 131, 72, 0.22);
  border-radius: 40px;
  padding: 6px 16px 6px 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.25px;
  margin-bottom: 18px;
}
.milestone-eyebrow-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #218348;
  color: #F5CE29;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  box-shadow: 0 3px 10px rgba(33, 131, 72, 0.25);
}
.milestone-heading {
  font-family: var(--font-secondary, "Nunito", sans-serif);
  font-size: clamp(28px, 3.1vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  color: #182B1F;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}
.milestone-highlight {
  color: #218348;
  position: relative;
  display: inline-block;
}
.milestone-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 7px;
  background: rgba(245, 206, 41, 0.45);
  border-radius: 6px;
  z-index: -1;
}
.milestone-brief {
  font-size: 15.5px;
  line-height: 1.72;
  color: #4A5C50;
  margin-bottom: 22px;
}
.milestone-brief strong {
  color: #182B1F;
  font-weight: 700;
}

/* Compact Clean Metadata Pills */
.milestone-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.milestone-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 30px;
  background: #F4F8F5;
  border: 1px solid rgba(33, 131, 72, 0.16);
  color: #182B1F;
  font-size: 13px;
  font-weight: 700;
}
.milestone-pill i {
  color: #218348;
  font-size: 13px;
}
.milestone-pill.pill-gold {
  background: #FFF9E6;
  border-color: rgba(212, 169, 17, 0.35);
}
.milestone-pill.pill-gold i {
  color: #C79B0B;
}

/* Subtle Motto Quote Strip */
.milestone-quote-strip {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 18px;
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid rgba(33, 131, 72, 0.14);
  border-left: 4px solid #F5CE29;
  box-shadow: 0 8px 24px rgba(24, 43, 31, 0.05);
}
.milestone-tassel-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #FFF9E6;
  color: #218348;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.milestone-quote-strip p {
  font-size: 13.5px;
  line-height: 1.5;
  color: #4A5C50;
}
.milestone-quote-strip em {
  color: #176336;
  font-weight: 700;
}

/* ==========================================================================
   CREATIVE ORGANIC SHAPED & ANIMATED PHOTO CONTAINERS
   ========================================================================== */
.milestone-top-row {
  margin-bottom: 24px;
}
.milestone-bottom-row {
  margin-top: 28px;
}

.milestone-art-stage {
  position: relative;
  padding: 24px 26px 28px 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Soft Counter-Floating Backdrop Shapes */
.milestone-blob-backdrop {
  position: absolute;
  inset: 16px 18px 20px 18px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
}
.milestone-blob-backdrop.backdrop-gold {
  background: linear-gradient(135deg, #FFF3C4 0%, #EAF4EE 100%);
  border-radius: 48% 52% 44% 56% / 56% 42% 58% 44%;
  transform: rotate(-2.5deg) translate(8px, 8px);
  animation: milestoneBackdropDriftA 11s ease-in-out infinite;
}
.milestone-blob-backdrop.backdrop-mint {
  background: linear-gradient(135deg, #DFF2E6 0%, #FFF9E6 100%);
  border-radius: 52% 48% 36% 32% / 42% 38% 28% 30%;
  transform: rotate(2.5deg) translate(-6px, 8px);
  animation: milestoneBackdropDriftB 12s ease-in-out infinite;
}
.milestone-blob-backdrop.backdrop-rose {
  background: linear-gradient(135deg, #FCE7F3 0%, #FFF9E6 100%);
  border-radius: 38% 62% 54% 46% / 50% 42% 58% 50%;
  transform: rotate(-2deg) translate(7px, 7px);
  animation: milestoneBackdropDriftC 10.5s ease-in-out infinite;
}

/* Subtle Dashed Halo Ring on Hero Frame */
.milestone-dashed-halo {
  position: absolute;
  inset: 8px 10px 12px 10px;
  border: 2px dashed rgba(33, 131, 72, 0.24);
  border-radius: 52% 48% 50% 50% / 46% 52% 48% 54%;
  z-index: 1;
  pointer-events: none;
  animation: milestoneHaloBreathe 14s ease-in-out infinite;
}

/* Core Shaped Image Frame */
.milestone-shape-card {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10.8;
  overflow: hidden;
  border: 5px solid #FFFFFF;
  box-shadow: 0 20px 46px rgba(23, 99, 54, 0.14), 0 4px 14px rgba(24, 43, 31, 0.06);
  background: #EAF4EE;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
  will-change: transform, border-radius;
}
.milestone-shape-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.milestone-shape-card:hover {
  border-color: #F5CE29;
  box-shadow: 0 26px 56px rgba(23, 99, 54, 0.2), 0 0 0 4px rgba(245, 206, 41, 0.22);
}
.milestone-shape-card:hover img {
  transform: scale(1.05);
}

/* Subtle Sheen Overlay on Hover */
.milestone-shape-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 43, 31, 0) 58%, rgba(24, 43, 31, 0.26) 100%);
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 0.35s ease;
}
.milestone-shape-card:hover .milestone-shape-sheen {
  opacity: 0.35;
}

/* Expand Icon Pill */
.milestone-zoom-pill {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #176336;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  z-index: 3;
}
.milestone-shape-card:hover .milestone-zoom-pill {
  opacity: 1;
  transform: scale(1);
}
.milestone-zoom-pill:hover {
  background: #218348;
  color: #F5CE29;
}

/* Shape 1: Morphing Cloud-Blob (Featured Celebration) */
.shape-cloud-blob {
  border-radius: 44% 56% 48% 52% / 34% 40% 38% 42%;
  animation: milestoneFloatHero 7s ease-in-out infinite, milestoneMorphCloud 12s ease-in-out infinite;
}

/* Shape 2: Storybook Petal Arch (Graduates on Stage) */
.shape-petal-arch {
  border-radius: 46% 46% 24% 28% / 36% 36% 18% 22%;
  animation: milestoneFloatArch 7.8s ease-in-out infinite, milestoneMorphArch 13s ease-in-out infinite;
}

/* Shape 3: Sculpted Organic Pebble (Parents & Community) */
.shape-organic-pebble {
  border-radius: 28% 52% 38% 46% / 38% 28% 44% 34%;
  animation: milestoneFloatPebble 8.2s ease-in-out infinite, milestoneMorphPebble 11.5s ease-in-out infinite;
}

/* Container Float & Shape Morph Keyframes */
@keyframes milestoneFloatHero {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-9px) rotate(0.6deg); }
}
@keyframes milestoneMorphCloud {
  0%, 100% { border-radius: 44% 56% 48% 52% / 34% 40% 38% 42%; }
  33% { border-radius: 52% 48% 44% 56% / 40% 34% 42% 36%; }
  66% { border-radius: 46% 54% 54% 46% / 36% 44% 34% 40%; }
}

@keyframes milestoneFloatArch {
  0%, 100% { transform: translateY(0px) rotate(-0.4deg); }
  50% { transform: translateY(-8px) rotate(0.5deg); }
}
@keyframes milestoneMorphArch {
  0%, 100% { border-radius: 46% 46% 24% 28% / 36% 36% 18% 22%; }
  50% { border-radius: 42% 50% 30% 22% / 32% 40% 24% 18%; }
}

@keyframes milestoneFloatPebble {
  0%, 100% { transform: translateY(0px) rotate(0.4deg); }
  50% { transform: translateY(-9px) rotate(-0.6deg); }
}
@keyframes milestoneMorphPebble {
  0%, 100% { border-radius: 28% 52% 38% 46% / 38% 28% 44% 34%; }
  50% { border-radius: 36% 44% 46% 36% / 32% 38% 36% 42%; }
}

@keyframes milestoneBackdropDriftA {
  0%, 100% { transform: rotate(-2.5deg) translate(8px, 8px); }
  50% { transform: rotate(-0.5deg) translate(4px, 14px); }
}
@keyframes milestoneBackdropDriftB {
  0%, 100% { transform: rotate(2.5deg) translate(-6px, 8px); }
  50% { transform: rotate(0.5deg) translate(-2px, 14px); }
}
@keyframes milestoneBackdropDriftC {
  0%, 100% { transform: rotate(-2deg) translate(7px, 7px); }
  50% { transform: rotate(0.5deg) translate(3px, 13px); }
}
@keyframes milestoneHaloBreathe {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.7; }
  50% { transform: scale(1.02) rotate(1.5deg); opacity: 1; }
}

/* ==========================================================================
   FLOATING KIDS & GRADUATION SVG ELEMENTS AROUND THE PHOTO FRAMES
   ========================================================================== */
.m-float-svg {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  filter: drop-shadow(0 6px 12px rgba(24, 43, 31, 0.12));
}

.m-svg-gradcap {
  width: 72px;
  top: -4px;
  right: 12px;
  animation: milestoneSvgTilt 4.8s ease-in-out infinite;
}
.m-svg-kidstar {
  width: 56px;
  top: 10px;
  left: 6px;
  animation: milestoneSvgBounce 5.2s ease-in-out infinite;
}
.m-svg-cloud {
  width: 74px;
  bottom: 4px;
  left: 4px;
  animation: milestoneSvgDriftX 6.5s ease-in-out infinite;
}
.m-svg-diploma {
  width: 64px;
  top: 0;
  left: 8px;
  animation: milestoneSvgTilt 5.4s ease-in-out infinite 0.5s;
}
.m-svg-plane {
  width: 66px;
  top: 2px;
  right: 8px;
  animation: milestoneSvgPlane 6s ease-in-out infinite;
}
.m-svg-balloons {
  width: 64px;
  top: -10px;
  right: 10px;
  animation: milestoneSvgBounce 5.8s ease-in-out infinite 0.3s;
}
.m-svg-medal {
  width: 54px;
  bottom: 2px;
  left: 10px;
  animation: milestoneSvgTilt 5s ease-in-out infinite 0.8s;
}

@keyframes milestoneSvgTilt {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-9px) rotate(6deg); }
}
@keyframes milestoneSvgBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.06); }
}
@keyframes milestoneSvgDriftX {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8px, -6px); }
}
@keyframes milestoneSvgPlane {
  0%, 100% { transform: translate(0, 0) rotate(-3deg); }
  50% { transform: translate(8px, -10px) rotate(4deg); }
}

/* Clean Floating Caption Pill */
.milestone-caption-tag {
  position: absolute;
  bottom: 10px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(33, 131, 72, 0.18);
  box-shadow: 0 10px 24px rgba(24, 43, 31, 0.12);
  color: #182B1F;
  font-size: 13px;
  font-weight: 800;
  pointer-events: none;
}
.milestone-caption-tag i {
  color: #218348;
  font-size: 13px;
}
.milestone-caption-tag.tag-bottom-right {
  right: 26px;
}
.milestone-caption-tag.tag-bottom-left {
  left: 26px;
}

/* Clean Full-Photo Lightbox Modal */
.milestone-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.milestone-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.milestone-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 31, 22, 0.86);
  backdrop-filter: blur(6px);
}
.milestone-lightbox-content {
  position: relative;
  z-index: 2;
  max-width: min(940px, 94vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.94);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.milestone-lightbox.is-open .milestone-lightbox-content {
  transform: scale(1);
}
.milestone-lightbox-content img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 18px;
  border: 4px solid #FFFFFF;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  object-fit: contain;
}
.milestone-lightbox-caption {
  margin-top: 14px;
  margin-bottom: 0;
  color: #FFFFFF;
  font-size: 14.5px;
  font-weight: 700;
  text-align: center;
  background: rgba(23, 99, 54, 0.78);
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid rgba(245, 206, 41, 0.35);
}
.milestone-lightbox-close {
  position: absolute;
  top: -16px;
  right: -14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  background: #218348;
  color: #F5CE29;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, background 0.2s ease;
}
.milestone-lightbox-close:hover {
  background: #176336;
  transform: scale(1.08);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .milestones-graduation-section {
    padding: 68px 0 110px 0;
  }
  .milestone-art-stage {
    padding: 20px 18px 26px 18px;
  }
  .milestone-bottom-row {
    margin-top: 8px;
  }
}

@media (max-width: 575px) {
  .milestones-graduation-section {
    padding: 56px 0 96px 0;
  }
  .milestone-art-stage {
    padding: 16px 10px 24px 10px;
  }
  .milestone-shape-card {
    border-width: 4px;
  }
  .m-svg-gradcap {
    width: 54px;
    top: -6px;
    right: 4px;
  }
  .m-svg-kidstar {
    width: 44px;
    top: 4px;
    left: 2px;
  }
  .m-svg-cloud {
    width: 56px;
    bottom: 6px;
    left: 2px;
  }
  .m-svg-diploma {
    width: 50px;
    top: -4px;
    left: 4px;
  }
  .m-svg-plane {
    width: 50px;
    top: -2px;
    right: 4px;
  }
  .m-svg-balloons {
    width: 50px;
    top: -8px;
    right: 4px;
  }
  .m-svg-medal {
    width: 44px;
    bottom: 4px;
    left: 4px;
  }
  .milestone-caption-tag {
    font-size: 12px;
    padding: 6px 13px;
  }
  .milestone-caption-tag.tag-bottom-right {
    right: 12px;
  }
  .milestone-caption-tag.tag-bottom-left {
    left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .m-confetti,
  .milestone-blob-backdrop,
  .milestone-dashed-halo,
  .shape-cloud-blob,
  .shape-petal-arch,
  .shape-organic-pebble,
  .m-float-svg {
    animation: none !important;
  }
}



