/* ==============================================================================
  Flying Kids English School, Dharashiv - Main Stylesheet
   Modern, Playful, Responsive & Child-Friendly Design System
   ============================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  --primary: #ff5757;        /* Playful warm coral red */
  --primary-hover: #e04444;
  --primary-light: #ffe8e8;
  --secondary: #ffb800;      /* Cheerful sunshine yellow */
  --secondary-hover: #e6a600;
  --secondary-light: #fff8e1;
  --accent-blue: #29b6f6;    /* Sky blue */
  --accent-blue-dark: #0288d1;
  --accent-blue-light: #e1f5fe;
  --accent-green: #26c281;   /* Fresh mint green */
  --accent-green-light: #e8f8f2;
  --accent-purple: #8e44ad;  /* Royal purple */
  --accent-purple-light: #f4ecf8;
  --accent-orange: #ff763b;

  /* Neutrals */
  --dark: #222b45;
  --dark-soft: #3e4b6c;
  --gray-600: #6b778c;
  --gray-400: #a0aec0;
  --gray-200: #e2e8f0;
  --gray-100: #f7fafc;
  --white: #ffffff;
  --bg-soft: #fbfbfd;
  --bg-warm: #fffdf9;

  /* Typography */
  --font-heading: 'Fredoka', 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Nunito', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(34, 43, 69, 0.06);
  --shadow-md: 0 8px 24px rgba(34, 43, 69, 0.08);
  --shadow-lg: 0 16px 36px rgba(34, 43, 69, 0.12);
  --shadow-card: 0 10px 30px rgba(142, 68, 173, 0.08);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transition */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background-color: var(--bg-soft);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
  transition: var(--transition);
}

/* --- Container & Utilities --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding: 85px 0;
  position: relative;
}

.section-warm {
  background-color: var(--bg-warm);
}

.section-white {
  background-color: var(--white);
}

.section-soft {
  background-color: #f6f8fc;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-light);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.section-badge.blue {
  background-color: var(--accent-blue-light);
  color: var(--accent-blue-dark);
}

.section-badge.green {
  background-color: var(--accent-green-light);
  color: var(--accent-green);
}

.section-badge.yellow {
  background-color: var(--secondary-light);
  color: #b38600;
}

.section-badge.purple {
  background-color: var(--accent-purple-light);
  color: var(--accent-purple);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-title span {
  color: var(--primary);
  position: relative;
}

.section-title span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 6px;
  background-color: var(--secondary);
  border-radius: 4px;
  z-index: -1;
  opacity: 0.6;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #ff763b 100%);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(255, 87, 87, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(255, 87, 87, 0.45);
  color: var(--white);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--dark);
  box-shadow: 0 6px 18px rgba(255, 184, 0, 0.35);
}

.btn-secondary:hover {
  background: var(--secondary-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(255, 184, 0, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--gray-200);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-light);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.12rem;
}

/* ==============================================================================
   1. TOP BAR (Above Navbar)
   ============================================================================== */
.top-bar {
  background: linear-gradient(90deg, #1c2538 0%, #293859 100%);
  color: #e2e8f0;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1001;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #cbd5e1;
  text-decoration: none;
  transition: var(--transition);
}

.top-bar-item i {
  color: var(--secondary);
  font-size: 0.9rem;
}

.top-bar-item:hover {
  color: var(--white);
}

.top-bar-notice {
  background: rgba(255, 184, 0, 0.15);
  border: 1px solid rgba(255, 184, 0, 0.3);
  color: #ffd24d;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-notice .pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--secondary);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

.social-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 0.82rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.top-portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  background: rgba(41, 182, 246, 0.2);
  color: #70d3ff;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(41, 182, 246, 0.4);
}

.top-portal-btn:hover {
  background: var(--accent-blue);
  color: var(--white);
}

/* ==============================================================================
   2. MAIN NAVIGATION (Desktop & Mobile)
   ============================================================================== */
.main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: var(--transition);
}

.main-header.scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

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

.logo-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #fff url('/assets/Flyingkidslogo.jpeg') center / contain no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.logo-icon-wrap i {
  display: none;
}

.logo-icon-wrap::after {
  content: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.logo-title span {
  color: var(--primary);
}

.logo-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-600);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Desktop Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-soft);
  border-radius: 8px;
  transition: var(--transition);
}

.nav-link i.dropdown-icon {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-item.active .nav-link {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-item.has-dropdown:hover .nav-link i.dropdown-icon {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 10px 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--gray-200);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
  pointer-events: none;
  z-index: 100;
}

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

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  color: var(--dark-soft);
  font-size: 0.93rem;
  font-weight: 600;
  transition: var(--transition);
}

.dropdown-link i {
  color: var(--primary);
  font-size: 0.95rem;
  width: 18px;
  text-align: center;
}

.dropdown-link:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  padding-left: 24px;
}

/* Nav Actions (CTA Button) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--secondary-light);
  border: 1px solid rgba(255, 184, 0, 0.3);
}

.nav-call-btn:hover {
  background: var(--secondary);
  color: var(--dark);
}

.nav-whatsapp {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: #25d366;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: var(--transition);
}

.nav-whatsapp:hover {
  color: var(--white);
  background: #20ba59;
  transform: translateY(-2px);
}

/* Hamburger Toggle Button (Mobile) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 9px;
  background: #f1f5f9;
  border-radius: 10px;
  cursor: pointer;
  z-index: 1002;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--dark);
  border-radius: 3px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--white);
  z-index: 1002;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
  overflow-y: auto;
}

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

.mobile-drawer-header {
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-200);
}

.mobile-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--dark);
}

.mobile-menu-list {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-item {
  width: 100%;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  border-radius: 10px;
  transition: var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--primary-light);
  color: var(--primary);
}

.mobile-sub-menu {
  display: none;
  padding: 6px 12px 10px 24px;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-item.open .mobile-sub-menu {
  display: flex;
}

.mobile-nav-item.open .mobile-nav-link i.fa-chevron-down {
  transform: rotate(180deg);
}

.mobile-sub-link {
  display: block;
  padding: 8px 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dark-soft);
  border-radius: 6px;
}

.mobile-sub-link:hover {
  color: var(--primary);
  background: #f8fafc;
}

.mobile-drawer-footer {
  margin-top: auto;
  padding: 20px;
  border-top: 1px solid var(--gray-200);
  background: #fafbfd;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ==============================================================================
   3. HERO SECTION WITH MOVING SLIDER (CAROUSEL)
   ============================================================================== */
.hero-slider-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fdfbf7 0%, #eef6fc 100%);
  min-height: 640px;
}

.hero-slider-wrapper {
  position: relative;
  width: 100%;
  height: 640px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  transform: scale(1.02);
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-content {
  max-width: 620px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  animation: fadeInDown 0.8s ease;
}

.hero-tag.tag-coral {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(255, 87, 87, 0.2);
}

.hero-tag.tag-yellow {
  background: var(--secondary-light);
  color: #b8860b;
  border: 1px solid rgba(255, 184, 0, 0.25);
}

.hero-tag.tag-blue {
  background: var(--accent-blue-light);
  color: var(--accent-blue-dark);
  border: 1px solid rgba(41, 182, 246, 0.25);
}

.hero-tag.tag-green {
  background: var(--accent-green-light);
  color: var(--accent-green);
  border: 1px solid rgba(38, 194, 129, 0.25);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 12px;
  background: var(--secondary);
  border-radius: 6px;
  z-index: -1;
  opacity: 0.45;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--dark-soft);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-features-strip {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dark-soft);
}

.hero-feat-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-feat-item i {
  color: var(--accent-green);
  font-size: 1.05rem;
}

/* Hero Visual & Image Showcase */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 470px;
  height: 470px;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border: 8px solid var(--white);
  transition: border-radius 1s ease;
  animation: blobMorph 10s ease-in-out infinite alternate;
}

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

/* Floating Badges on Hero Visual */
.hero-floating-badge {
  position: absolute;
  background: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  animation: floatSlow 4s ease-in-out infinite alternate;
}

.badge-top-right {
  top: 30px;
  right: -10px;
}

.badge-bottom-left {
  bottom: 40px;
  left: -20px;
  animation-delay: 2s;
}

.badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
}

.badge-icon.gold { background: linear-gradient(135deg, #ffb800 0%, #ff8a00 100%); }
.badge-icon.green { background: linear-gradient(135deg, #26c281 0%, #009688 100%); }
.badge-icon.blue { background: linear-gradient(135deg, #29b6f6 0%, #0288d1 100%); }
.badge-icon.purple { background: linear-gradient(135deg, #8e44ad 0%, #e91e63 100%); }

.badge-text-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

.badge-text-sub {
  font-size: 0.78rem;
  color: var(--gray-600);
}

/* Floating Shapes & Elements */
.floating-element {
  position: absolute;
  pointer-events: none;
  z-index: 3;
}

.float-cloud-1 {
  top: 40px;
  left: 6%;
  opacity: 0.85;
  animation: floatHorizontal 18s linear infinite alternate;
}

.float-cloud-2 {
  top: 75%;
  right: 5%;
  opacity: 0.75;
  animation: floatHorizontal 22s linear infinite alternate-reverse;
}

.float-plane {
  top: 15%;
  right: 14%;
  animation: flyPlane 12s ease-in-out infinite;
}

.float-star {
  font-size: 1.5rem;
  color: var(--secondary);
  animation: twinkle 2.5s infinite;
}

.star-1 { top: 22%; left: 45%; }
.star-2 { bottom: 18%; left: 8%; color: var(--primary); }
.star-3 { top: 60%; right: 48%; color: var(--accent-blue); }

/* Slider Controls: Next/Prev Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 20;
  cursor: pointer;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.08);
}

.slider-prev {
  left: 20px;
}

.slider-next {
  right: 20px;
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 20;
}

.slider-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(34, 43, 69, 0.2);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.slider-dot.active {
  width: 38px;
  border-radius: 10px;
  background: var(--primary);
}

/* Slider Progress Bar */
.slider-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.05);
  z-index: 20;
}

.slider-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  transition: width 0.1s linear;
}

/* ==============================================================================
   4. HIGHLIGHTS & KEY FEATURE STRIP
   ============================================================================== */
.hero-overlap-features {
  position: relative;
  z-index: 30;
  margin-top: -50px;
  padding-bottom: 20px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-pill-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
  border-bottom: 4px solid var(--primary);
  transition: var(--transition);
}

.feature-pill-card:nth-child(2) { border-bottom-color: var(--secondary); }
.feature-pill-card:nth-child(3) { border-bottom-color: var(--accent-blue); }
.feature-pill-card:nth-child(4) { border-bottom-color: var(--accent-green); }

.feature-pill-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.feature-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.feature-pill-card:nth-child(1) .feature-card-icon { background: var(--primary-light); color: var(--primary); }
.feature-pill-card:nth-child(2) .feature-card-icon { background: var(--secondary-light); color: #d99b00; }
.feature-pill-card:nth-child(3) .feature-card-icon { background: var(--accent-blue-light); color: var(--accent-blue-dark); }
.feature-pill-card:nth-child(4) .feature-card-icon { background: var(--accent-green-light); color: var(--accent-green); }

.feature-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.feature-card-desc {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.4;
}

/* ==============================================================================
   5. ABOUT FLYING KIDS SECTION
   ============================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-main {
  width: 90%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
  position: relative;
  z-index: 2;
}

.about-img-small {
  position: absolute;
  width: 55%;
  bottom: -25px;
  right: -10px;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  border: 5px solid var(--white);
  z-index: 3;
}

.about-exp-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--secondary);
  color: var(--dark);
  padding: 18px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(255, 184, 0, 0.4);
  z-index: 4;
  text-align: center;
}

.about-exp-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.about-exp-text {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.about-content .section-title {
  text-align: left;
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 18px;
  line-height: 1.5;
}

.about-text {
  color: var(--dark-soft);
  margin-bottom: 24px;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 30px;
}

.about-pillar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary);
}

.about-pillar-item:nth-child(2) { border-left-color: var(--secondary); }
.about-pillar-item:nth-child(3) { border-left-color: var(--accent-blue); }
.about-pillar-item:nth-child(4) { border-left-color: var(--accent-green); }

.about-pillar-item i {
  font-size: 1.15rem;
  color: var(--primary);
}

.about-pillar-item span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
}

/* Counters Row */
.stats-strip {
  background: linear-gradient(135deg, #2b3958 0%, #1a2334 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  margin-top: 60px;
  box-shadow: 0 20px 45px rgba(26, 35, 52, 0.25);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -15px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: #cbd5e1;
  font-weight: 600;
}

/* ==============================================================================
   6. PROGRAMS / CLASSES SECTION
   ============================================================================== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.program-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.program-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.program-card:hover .program-img-wrap img {
  transform: scale(1.08);
}

.program-age-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--white);
  color: var(--dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 6px;
}

.program-body {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.color-coral { color: var(--primary); }
.color-yellow { color: #d99b00; }
.color-blue { color: var(--accent-blue-dark); }
.color-green { color: var(--accent-green); }
.color-purple { color: var(--accent-purple); }

.program-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.program-desc {
  font-size: 0.92rem;
  color: var(--dark-soft);
  margin-bottom: 20px;
  line-height: 1.5;
  flex-grow: 1;
}

.program-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px dashed var(--gray-200);
  border-bottom: 1px dashed var(--gray-200);
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--gray-600);
}

.program-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.program-meta-item i {
  color: var(--primary);
}

/* ==============================================================================
   7. WHY CHOOSE FLYING KIDS (PILLARS)
   ============================================================================== */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px auto;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: var(--transition);
}

.why-card:nth-child(1) .why-icon { background: var(--primary-light); color: var(--primary); }
.why-card:nth-child(2) .why-icon { background: var(--secondary-light); color: #d99b00; }
.why-card:nth-child(3) .why-icon { background: var(--accent-blue-light); color: var(--accent-blue-dark); }
.why-card:nth-child(4) .why-icon { background: var(--accent-green-light); color: var(--accent-green); }
.why-card:nth-child(5) .why-icon { background: var(--accent-purple-light); color: var(--accent-purple); }
.why-card:nth-child(6) .why-icon { background: #ffebee; color: #d32f2f; }

.why-card:hover .why-icon {
  transform: rotate(10deg) scale(1.1);
}

.why-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.why-desc {
  font-size: 0.94rem;
  color: var(--dark-soft);
  line-height: 1.6;
}

/* ==============================================================================
   8. CAMPUS FACILITIES SHOWCASE
   ============================================================================== */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.facility-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.facility-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.facility-card:hover img {
  transform: scale(1.1);
}

.facility-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 27, 45, 0.9) 0%, rgba(20, 27, 45, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--white);
  transition: var(--transition);
}

.facility-badge {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.facility-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.facility-desc {
  font-size: 0.88rem;
  color: #cbd5e1;
  opacity: 0.95;
  line-height: 1.4;
}

/* ==============================================================================
   9. ADMISSION ENQUIRY SECTION (INTERACTIVE FORM)
   ============================================================================== */
.admission-section {
  background: linear-gradient(135deg, #1f2a44 0%, #151d2f 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.admission-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 5;
}

.admission-info .section-badge {
  background: rgba(255, 184, 0, 0.18);
  color: var(--secondary);
}

.admission-info .section-title {
  color: var(--white);
  text-align: left;
}

.admission-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}

.admission-step-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(255, 87, 87, 0.4);
}

.admission-step-item:nth-child(2) .step-num { background: var(--secondary); color: var(--dark); }
.admission-step-item:nth-child(3) .step-num { background: var(--accent-blue); }
.admission-step-item:nth-child(4) .step-num { background: var(--accent-green); }

.step-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.step-desc {
  font-size: 0.9rem;
  color: #94a3b8;
}

.admission-callout {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  padding: 16px 20px;
  border-radius: var(--radius-md);
}

.admission-callout i {
  font-size: 2rem;
  color: var(--secondary);
}

.callout-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
}

.callout-phone {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
}

/* Form Container Card */
.enquiry-form-card {
  background: var(--white);
  color: var(--dark);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  border: 4px solid rgba(255, 255, 255, 0.1);
}

.form-header {
  margin-bottom: 24px;
  text-align: center;
}

.form-header-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-header-sub {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

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

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
}

.form-group label span {
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background-color: #f8fafc;
  color: var(--dark);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  background-color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 87, 87, 0.12);
}

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

.form-submit-btn {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
  margin-top: 8px;
}

.form-notice-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray-600);
  margin-top: 14px;
}

/* ==============================================================================
   10. PARENT TESTIMONIALS SECTION
   ============================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  padding: 34px 28px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray-200);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.1);
}

.testimonial-quote-icon {
  font-size: 2.2rem;
  color: var(--secondary-light);
  color: #ffd666;
  margin-bottom: 12px;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #ffb800;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.96rem;
  color: var(--dark-soft);
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--gray-200);
  padding-top: 18px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.author-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
}

.author-child {
  font-size: 0.82rem;
  color: var(--gray-600);
}

/* ==============================================================================
   11. UPCOMING EVENTS & NOTICES TICKER
   ============================================================================== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.event-date-ribbon {
  background: linear-gradient(135deg, var(--primary) 0%, #ff763b 100%);
  color: var(--white);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
}

.event-card:nth-child(2) .event-date-ribbon { background: linear-gradient(135deg, var(--accent-blue) 0%, #0288d1 100%); }
.event-card:nth-child(3) .event-date-ribbon { background: linear-gradient(135deg, var(--accent-green) 0%, #009688 100%); }

.event-date-day {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.event-date-month {
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 700;
}

.event-category-badge {
  background: rgba(255, 255, 255, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.event-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.event-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.event-desc {
  font-size: 0.9rem;
  color: var(--dark-soft);
  margin-bottom: 18px;
  line-height: 1.5;
  flex-grow: 1;
}

.event-details {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--gray-600);
  border-top: 1px solid var(--gray-200);
  padding-top: 14px;
}

.event-details span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==============================================================================
   12. FAQ ACCORDION
   ============================================================================== */
.faq-container {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(255, 87, 87, 0.08);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  background: transparent;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 0.85rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--dark-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 22px 24px;
}

/* ==============================================================================
   13. FOOTER
   ============================================================================== */
.footer {
  background: #141c2d;
  color: #cbd5e1;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.footer-top {
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
  gap: 40px;
}

.footer-brand .logo-title {
  color: var(--white);
}

.footer-brand-desc {
  margin: 18px 0 24px 0;
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary);
  transform: translateX(5px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-contact-item i {
  color: var(--secondary);
  font-size: 1rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-newsletter-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.newsletter-input {
  flex-grow: 1;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 0.88rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.newsletter-input::placeholder {
  color: #94a3b8;
}

.newsletter-btn {
  background: var(--primary);
  color: var(--white);
  padding: 0 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-btn:hover {
  background: var(--primary-hover);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.88rem;
  color: #64748b;
}

.footer-bottom a {
  color: #94a3b8;
}

.footer-bottom > div:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
}

.footer-bottom > div:last-child a {
  white-space: nowrap;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--secondary);
}

/* ==============================================================================
   14. FLOATING QUICK ACTIONS
   ============================================================================== */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.fab-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.35rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  text-decoration: none;
}

.fab-whatsapp {
  background-color: #25d366;
}

.fab-whatsapp:hover {
  transform: scale(1.1);
  background-color: #20ba59;
}

.fab-chatbot {
  background-color: var(--primary);
  border: 0;
  cursor: pointer;
}

.fab-chatbot:hover {
  background-color: #e04444;
  transform: scale(1.1);
}

.chatbot-panel {
  position: fixed;
  right: 24px;
  bottom: 86px;
  z-index: 1005;
  display: flex;
  width: min(390px, calc(100vw - 32px));
  max-height: min(590px, calc(100dvh - 120px));
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.98);
  transition: var(--transition);
}

.chatbot-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 17px;
  color: var(--white);
  background: linear-gradient(120deg, #f15c54, #f28c45);
}

.chatbot-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 15px;
  background: rgba(255, 255, 255, .2);
  font-size: 1.1rem;
}
.chatbot-avatar img { display: block; width: 100%; height: 100%; border-radius: inherit; background: #fff; object-fit: contain; padding: 3px; }
.chatbot-heading strong { display: block; font-family: var(--font-heading); font-size: 1rem; }
.chatbot-heading small { display: flex; align-items: center; gap: 6px; margin-top: 3px; opacity: .92; font-size: .75rem; }
.chatbot-online-dot { width: 7px; height: 7px; border-radius: 50%; background: #b9f6ca; box-shadow: 0 0 0 3px rgba(185, 246, 202, .2); }

.chatbot-close {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1.15rem;
}
.chatbot-close:hover, .chatbot-close:focus-visible { background: rgba(255, 255, 255, .2); }

.chatbot-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 210px;
  padding: 18px 16px;
  overflow-y: auto;
  background: #f7f8fb;
  overscroll-behavior: contain;
}

.chatbot-message {
  max-width: 86%;
  padding: 11px 13px;
  border: 1px solid #edf0f5;
  border-radius: 5px 16px 16px 16px;
  color: #334155;
  background: var(--white);
  font-size: .88rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.chatbot-message.user {
  justify-self: end;
  border-color: transparent;
  border-radius: 16px 5px 16px 16px;
  color: var(--white);
  background: var(--primary);
}

.chatbot-message-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}
.chatbot-message-links a { display: inline-flex; align-items: center; gap: 5px; color: #d94d48; font-size: .8rem; font-weight: 800; text-decoration: none; }
.chatbot-message-links a::after { content: '›'; font-size: 1.1rem; }
.chatbot-message-links a:hover { text-decoration: underline; }
.chatbot-typing { color: #64748b; font-style: italic; }

.chatbot-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 12px 15px 4px;
  background: #f7f8fb;
}
.chatbot-option {
  padding: 7px 11px;
  color: #d94d48;
  background: #fff;
  border: 1px solid #f1c9c6;
  border-radius: 999px;
  cursor: pointer;
  font-size: .76rem;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.chatbot-option:hover,
.chatbot-option:focus-visible {
  color: var(--white);
  background: var(--primary);
  border-color: var(--primary);
}

.chatbot-form {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 11px 14px 8px;
  background: #f7f8fb;
}
.chatbot-input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  outline: 0;
  color: #334155;
  background: #fff;
  font: inherit;
  font-size: .88rem;
}
.chatbot-input:focus { border-color: #f07868; box-shadow: 0 0 0 3px rgba(240, 120, 104, .14); }
.chatbot-send {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: var(--primary);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.chatbot-send:hover { transform: translateY(-1px); background: #e04444; }
.chatbot-footnote { padding: 0 16px 12px; color: #64748b; background: #f7f8fb; font-size: .72rem; text-align: center; }
.chatbot-footnote a { color: #d94d48; font-weight: 800; text-decoration: none; }
.chatbot-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.chatbot-panel button:focus-visible,
.chatbot-panel a:focus-visible {
  outline: 3px solid rgba(41, 182, 246, .75);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .nav-whatsapp { width: 36px; height: 36px; }
}

@media (max-width: 640px) {
  .chatbot-panel {
    right: 16px;
    bottom: 82px;
    max-height: min(590px, calc(100dvh - 105px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .chatbot-panel, .chatbot-option, .chatbot-send { transition: none; }
}

.fab-scroll-top {
  background-color: var(--dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.fab-scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fab-scroll-top:hover {
  background-color: var(--primary);
  transform: translateY(-4px);
}

/* ==============================================================================
   KEYFRAME ANIMATIONS
   ============================================================================== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatSlow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

@keyframes floatHorizontal {
  0% { transform: translateX(0); }
  100% { transform: translateX(30px); }
}

@keyframes flyPlane {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(15px, -15px) rotate(5deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 184, 0, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255, 184, 0, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 184, 0, 0); }
}

@keyframes blobMorph {
  0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  50% { border-radius: 60% 40% 30% 70% / 50% 60% 40% 60%; }
  100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(30deg); }
  20%, 100% { transform: translateX(100%) rotate(30deg); }
}

/* ==============================================================================
   RESPONSIVE MEDIA QUERIES
   ============================================================================== */

/* Large Tablets & Small Desktops (<= 1100px) */
@media (max-width: 1100px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-us-grid,
  .facilities-grid,
  .testimonials-grid,
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tablets (<= 991px) */
@media (max-width: 991px) {
  .nav-menu,
  .nav-actions {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .hero-slider-wrapper {
    height: auto;
    min-height: 600px;
  }
  .hero-slide {
    position: relative;
    padding: 60px 0 80px 0;
    display: none;
  }
  .hero-slide.active {
    display: block;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-features-strip {
    justify-content: center;
  }
  .hero-visual {
    margin-top: 10px;
  }
  .hero-image-frame {
    max-width: 360px;
    height: 360px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-content .section-title {
    text-align: center;
  }
  .about-content {
    text-align: center;
  }
  .about-pillars {
    text-align: left;
  }
  .about-img-main {
    margin: 0 auto;
  }
  .admission-grid {
    grid-template-columns: 1fr;
  }
  .admission-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    margin: 24px 0;
  }
  .admission-step-item {
    gap: 10px;
    padding: 12px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
  }
  .step-num {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
  .step-title {
    font-size: 0.95rem;
  }
  .step-desc {
    font-size: 0.78rem;
    line-height: 1.45;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .top-bar-left {
    display: none;
  }
  .top-bar-inner {
    justify-content: center;
  }
  .section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 2rem;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-desc {
    font-size: 1.05rem;
  }
  .slider-arrow {
    display: none;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .why-us-grid,
  .facilities-grid,
  .events-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .why-us-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .programs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .about-pillars {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .enquiry-form-card {
    padding: 26px 18px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-item::after {
    display: none !important;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom > div:last-child {
    justify-content: center;
  }
  .badge-top-right {
    right: 0;
    top: 10px;
    padding: 8px 12px;
  }
  .badge-bottom-left {
    left: 0;
    bottom: 10px;
    padding: 8px 12px;
  }
}

/* Small Mobiles (<= 480px) */
@media (max-width: 480px) {
  .navbar {
    height: 70px;
  }
  .logo-title {
    font-size: 1.35rem;
  }
  .logo-icon-wrap {
    width: 42px;
    height: 42px;
    font-size: 1.25rem;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-btns {
    flex-direction: column;
    width: 100%;
  }
  .hero-btns .btn {
    width: 100%;
  }
  .hero-image-frame {
    max-width: 290px;
    height: 290px;
  }
  #facilities > .container > div[style*="text-align: center"] > .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}

/* Keep homepage cards readable on narrow phones instead of squeezing them into two columns. */
@media (max-width: 640px) {
  .programs-grid,
  .why-us-grid,
  .testimonials-grid,
  .admission-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .program-card,
  .why-card,
  .testimonial-card,
  .admission-step-item {
    min-width: 0;
  }

  .admission-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .admission-info,
  .enquiry-form-card {
    min-width: 0;
    width: 100%;
  }

  .admission-callout,
  .admission-callout > div {
    min-width: 0;
  }

  .program-card,
  .why-card,
  .testimonial-card {
    width: 100%;
  }
}
