/* ==========================================================================
   Little Geniuses Nursery & Preschool - Design System & Master Stylesheet
   Direction: RTL (Arabic-first) with bilingual typography support
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700&family=Readex+Pro:wght@400;500;600;700&display=swap');

:root {
  /* Brand Palette */
  --primary: #F59E0B;        /* Sunshine Amber */
  --primary-light: #FEF3C7;  /* Warm Light Yellow */
  --primary-dark: #D97706;
  --secondary: #0284C7;      /* Trust Sky Blue */
  --secondary-light: #E0F2FE;
  --secondary-dark: #0369A1;
  --accent: #10B981;         /* Growth Mint Green */
  --accent-light: #D1FAE5;
  --accent-dark: #059669;
  --cta: #F43F5E;            /* Coral Heart / High Action */
  --cta-hover: #E11D48;
  --purple: #8B5CF6;         /* Creativity Lavender */
  --purple-light: #EDE9FE;

  /* Neutral & Surfaces */
  --bg-page: #FFFDF9;
  --bg-card: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  --border-focus: #F59E0B;

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.09);
  --shadow-colored: 0 12px 28px rgba(245, 158, 11, 0.22);
  --shadow-blue: 0 12px 28px rgba(2, 132, 199, 0.22);

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;
  --radius-full: 9999px;

  /* Typography */
  --font-ar: 'Readex Pro', 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-en: 'Outfit', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  direction: rtl;
  text-align: right;
  font-family: var(--font-ar);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

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

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

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

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

/* ==========================================================================
   Header & Navigation - Enhanced Modern Design System (UI/UX Pro Max)
   ========================================================================== */
.top-announcement {
  background: linear-gradient(90deg, #F59E0B 0%, #F43F5E 50%, #0284C7 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  color: #FFFFFF;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1010;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.top-announcement strong {
  font-weight: 800;
}

.top-announcement a {
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.28);
  padding: 0.22rem 0.8rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  color: #FFFFFF;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  backdrop-filter: blur(4px);
}

.top-announcement a:hover {
  background-color: #FFFFFF;
  color: var(--cta);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.announcement-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  font-size: 0.9rem;
  line-height: 1;
  border-radius: 50%;
  transition: all var(--transition-fast);
  margin-right: auto;
}

.announcement-close:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.2);
}

/* Header Outer Container */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  background-color: rgba(255, 255, 255, 0.97);
  border-bottom-color: rgba(245, 158, 11, 0.2);
}

.header .container {
  max-width: 1380px;
  padding-left: 1rem;
  padding-right: 1rem;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  gap: 0.75rem;
  width: 100%;
}

/* Brand Logo - English Only & Modern Squircle */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  transition: transform var(--transition-bounce);
  flex-shrink: 0;
}

.brand-logo:hover {
  transform: scale(1.02);
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.16);
  border: 1px solid rgba(226, 232, 240, 0.85);
  background-color: #FFFFFF;
  transition: all var(--transition-bounce);
}

.brand-logo:hover .brand-logo-img {
  transform: rotate(-4deg) scale(1.06);
  border-color: var(--secondary);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title-en {
  font-family: var(--font-en);
  font-size: 1.45rem;
  font-weight: 800;
  color: #0284C7;
  line-height: 1;
  letter-spacing: -0.4px;
}

.brand-subtitle-en {
  display: none !important;
}

.brand-tagline {
  display: none !important;
}

/* Center Pill Nav Links Capsule */
.nav-links-wrapper {
  display: flex;
  align-items: center;
  background-color: #F8FAFC;
  padding: 0.32rem 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02), 0 2px 8px rgba(15, 23, 42, 0.03);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.86rem;
  color: #334155;
  padding: 0.38rem 0.68rem;
  border-radius: var(--radius-full);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  position: relative;
  text-decoration: none;
}

.nav-link:hover {
  color: #D97706;
  background-color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.nav-link.active {
  color: #92400E;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.22);
  font-weight: 700;
}

.nav-badge-bus {
  font-size: 0.65rem;
  background: linear-gradient(135deg, #0284C7, #0369A1);
  color: #FFFFFF;
  padding: 0.12rem 0.45rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #34D399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulseDot 1.6s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* Nav Actions Group */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-phone-pill {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  background-color: #E0F2FE;
  color: #0369A1;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
  border: 1px solid rgba(2, 132, 199, 0.22);
}

.nav-phone-pill:hover {
  background-color: #0284C7;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.3);
}

.nav-phone-icon {
  display: inline-flex;
  align-items: center;
  animation: ringPhone 3s infinite;
}

@keyframes ringPhone {
  0%, 90%, 100% { transform: rotate(0deg); }
  92% { transform: rotate(14deg); }
  94% { transform: rotate(-14deg); }
  96% { transform: rotate(10deg); }
  98% { transform: rotate(-10deg); }
}

.btn-nav-tour {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #F43F5E 0%, #E11D48 100%);
  color: #FFFFFF;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.28);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-nav-tour:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(244, 63, 94, 0.38);
}

.btn-nav-tour::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: rotate(30deg);
  animation: shimmer 4s infinite;
}

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

/* Nav Drawer Header & Close button */
.nav-drawer-header {
  display: none;
}

.nav-drawer-close {
  display: none;
}

.nav-drawer-footer {
  display: none;
}

.nav-phone-label,
.nav-whatsapp-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.nav-phone-number {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.nav-whatsapp-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  object-fit: contain;
}

/* Hamburger Toggle Button */
.nav-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  cursor: pointer;
  padding: 10px;
  gap: 5px;
  transition: all var(--transition-fast);
}

.nav-toggle-btn:hover {
  background-color: #F1F5F9;
  border-color: #CBD5E1;
}

.nav-toggle-btn span {
  display: block;
  width: 22px;
  height: 2.2px;
  background-color: #334155;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Buttons & UI Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-bounce);
  text-align: center;
  font-size: 0.95rem;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #FFFFFF;
  box-shadow: var(--shadow-colored);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(245, 158, 11, 0.35);
  color: #FFFFFF;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: #FFFFFF;
  box-shadow: var(--shadow-blue);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(2, 132, 199, 0.35);
  color: #FFFFFF;
}

.btn-cta {
  background: linear-gradient(135deg, var(--cta), var(--cta-hover));
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(244, 63, 94, 0.28);
}

.btn-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 30px rgba(244, 63, 94, 0.4);
  color: #FFFFFF;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--border);
  color: var(--text-main);
}

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

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
}

.badge-yellow {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

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

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

.badge-coral {
  background-color: #FFE4E6;
  color: var(--cta);
}

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

/* ==========================================================================
   Typography & Section Header Helpers
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem auto;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-top: 0.6rem;
  margin-bottom: 1rem;
}

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

.section-title span.highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background-color: var(--primary-light);
  z-index: -1;
  border-radius: 4px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   Hero Section - Full-Bleed Image Background with Light Mist (ضباب خفيف بدون بطاقة)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 4.5rem 0 5rem 0;
  overflow: hidden;
}

/* Background image with gentle blur (ضباب خفيف) */
.hero::before {
  content: '';
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(2.5px);
  transform: scale(1.03);
  z-index: 1;
}

/* Light mist / Frosted fog layer (ضباب خفيف يضمن وضوح النص دون بطاقة) */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.89) 45%,
    rgba(255, 255, 255, 0.60) 75%,
    rgba(255, 255, 255, 0.28) 100%
  );
  backdrop-filter: blur(5px) saturate(130%);
  -webkit-backdrop-filter: blur(5px) saturate(130%);
  z-index: 2;
}

/* Specific background images */
.hero-home::before,
.hero:not(.hero-transportation):not(.hero-about)::before {
  background-image: url('../assets/images/hero.jpg');
}

.hero-home::before {
  filter: blur(0.25px);
  transform: scale(1.005);
}

.hero.hero-home::after {
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.86) 0%,
    rgba(255, 255, 255, 0.72) 46%,
    rgba(255, 255, 255, 0.30) 78%,
    rgba(255, 255, 255, 0.08) 100%
  );
  backdrop-filter: blur(0.35px) saturate(108%);
  -webkit-backdrop-filter: blur(0.35px) saturate(108%);
}

.hero.hero-home {
  min-height: calc(100vh - var(--hero-top-offset, 0px));
  min-height: calc(100svh - var(--hero-top-offset, 0px));
  padding-block: clamp(3.5rem, 8vh, 6rem);
}

.hero-home .hero-grid {
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
}

.hero-home .hero-content {
  width: min(100%, 980px);
  max-width: 980px;
  align-items: center;
  justify-self: center;
  text-align: center;
}

.hero-home .hero-title {
  max-width: 980px;
  font-size: clamp(3.5rem, 5.2vw, 5rem);
  line-height: 1.16;
}

.hero-home .hero-desc {
  max-width: 830px;
  margin-inline: auto;
  font-size: clamp(1.15rem, 1.45vw, 1.35rem);
  text-align: center;
}

.hero-home .hero-cta-group,
.hero-home .hero-proof {
  justify-content: center;
  margin-inline: auto;
}

.hero-home .hero-title,
.hero-home .hero-desc {
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.94);
}

.hero-transportation::before {
  background-image: url('../assets/images/bus.jpg');
  background-position: center;
  filter: blur(0.7px);
  transform: scale(1.01);
}

.hero.hero-transportation::after {
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0.93) 0%,
    rgba(255, 255, 255, 0.84) 43%,
    rgba(255, 255, 255, 0.32) 72%,
    rgba(255, 255, 255, 0.08) 100%
  );
  backdrop-filter: blur(1px) saturate(112%);
  -webkit-backdrop-filter: blur(1px) saturate(112%);
}

.hero-transportation .hero-grid {
  grid-template-columns: 1fr;
}

.hero-transportation .hero-content {
  justify-self: start;
}

.hero-transportation .hero-title,
.hero-transportation .hero-desc {
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.85);
}

.hero-about::before {
  background-image: url('../assets/images/hero.jpg');
  filter: blur(0.35px);
  transform: scale(1.01);
}

.hero.hero-about::after {
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(255, 255, 255, 0.76) 43%,
    rgba(255, 255, 255, 0.28) 72%,
    rgba(255, 255, 255, 0.08) 100%
  );
  backdrop-filter: blur(0.45px) saturate(108%);
  -webkit-backdrop-filter: blur(0.45px) saturate(108%);
}

.hero-about .hero-title,
.hero-about .hero-desc {
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.94);
}

.hero .container {
  position: relative;
  z-index: 3;
  max-width: 1360px;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.35rem;
  max-width: 760px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  background: rgba(254, 243, 199, 0.9);
  backdrop-filter: blur(8px);
  color: #92400E;
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
  width: fit-content;
}

.inline-symbol {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: -0.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.whatsapp-inline-icon {
  width: 25px;
  height: 25px;
  display: inline-block;
  margin-inline-start: 0.4rem;
  padding: 0;
  color: #25D366;
  background: transparent;
  fill: currentColor;
  vertical-align: -0.38rem;
  box-shadow: none;
}

/* About page semantic icon system */
.about-feature-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  color: #b45309;
  background: rgba(245, 158, 11, 0.13);
  border: 1px solid rgba(245, 158, 11, 0.24);
  border-radius: 16px;
}

.about-feature-icon svg,
.about-team-icon svg,
.footer-contact-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-feature-icon svg {
  width: 29px;
  height: 29px;
}

.about-feature-icon.icon-vision,
.about-feature-icon.icon-health {
  color: #0369a1;
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.22);
}

.about-feature-icon.icon-nutrition,
.about-feature-icon.icon-clean {
  color: #047857;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.22);
}

.about-feature-icon.icon-safety {
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.2);
}

.about-feature-icon.icon-tour {
  color: #e11d48;
  background: rgba(225, 29, 72, 0.1);
  border-color: rgba(225, 29, 72, 0.2);
}

.about-team-icon {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
}

.about-team-icon svg {
  width: 42px;
  height: 42px;
}

.about-team-icon.team-education {
  color: #b45309;
  background: var(--primary-light);
}

.about-team-icon.team-language {
  color: #0369a1;
  background: var(--secondary-light);
}

.about-team-icon.team-medical {
  color: #047857;
  background: var(--accent-light);
}

.about-team-icon.team-arabic {
  color: #be123c;
  background: #ffe4e6;
}

.footer-contact-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  text-wrap: balance;
}

.hero-title .name-tag {
  color: var(--secondary-dark);
  display: block;
}

.hero-title .joy-tag {
  color: var(--cta);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.8;
  font-weight: 500;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
  margin-top: 0.3rem;
  width: 100%;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.6rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  width: 100%;
  max-width: 580px;
}

.hero-avatars {
  display: flex;
  margin-left: 0.5rem;
}

.avatar-item {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid #FFFFFF;
  margin-left: -12px;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

.hero-proof-text {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.hero-proof-text strong {
  color: var(--text-main);
  display: block;
  font-size: 1rem;
}

/* Floating Glass Badges in Hero Scene (No Enclosing Image Card!) */
.hero-scene-badges {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  align-items: flex-end;
  justify-content: center;
}

.floating-glass-pill {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.12);
  border-radius: 20px;
  padding: 0.95rem 1.4rem;
  transition: all var(--transition-bounce);
  animation: float 4s ease-in-out infinite;
  max-width: 320px;
}

.floating-glass-pill.pill-bottom {
  animation-delay: 2s;
  margin-left: 2.5rem;
}

.floating-glass-pill:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 45px -8px rgba(2, 132, 199, 0.22);
  background: rgba(255, 255, 255, 0.96);
}

.pill-glass-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.pill-glass-info h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.2rem;
}

.pill-glass-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.35;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

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

.floating-card-1 .floating-icon {
  background-color: var(--accent-light);
  color: var(--accent-dark);
}

.floating-card-2 .floating-icon {
  background-color: var(--secondary-light);
  color: var(--secondary-dark);
}

.floating-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.floating-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Trust Pillars (4 Core Badges)
   ========================================================================== */
.trust-pillars {
  padding: 2.5rem 0;
  margin-top: -3rem;
  position: relative;
  z-index: 10;
}

.hero-home + .trust-pillars {
  margin-top: 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.4rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  transition: all var(--transition-bounce);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.pillar-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 0.2rem;
}

.pillar-icon-svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Bus Highlight Section - Full-Bleed Bus Background with Light Mist (بدون بطاقة)
   ========================================================================== */
.bus-highlight-section {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0;
  min-height: 540px;
  display: flex;
  align-items: center;
}

/* Bus background image covering full section with light mist blur */
.bus-highlight-section::before {
  content: '';
  position: absolute;
  inset: -20px;
  background-image: url('../assets/images/bus.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(0.35px);
  transform: scale(1.01);
  z-index: 1;
}

/* Light mist / Frosted fog layer (ضباب خفيف) */
.bus-highlight-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(255, 255, 255, 0.76) 46%,
    rgba(255, 255, 255, 0.26) 76%,
    rgba(255, 255, 255, 0.05) 100%
  );
  backdrop-filter: blur(0.45px) saturate(108%);
  -webkit-backdrop-filter: blur(0.45px) saturate(108%);
  z-index: 2;
}

.bus-highlight-section .bus-immersive-content {
  text-shadow: 0 1px 9px rgba(255, 255, 255, 0.92);
}

.bus-highlight-section .container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.bus-immersive-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.bus-immersive-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
  max-width: 740px;
}

.bus-highlight-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 0.5rem;
  line-height: 1.35;
}

.bus-highlight-desc {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin-top: 0.6rem;
  line-height: 1.8;
  font-weight: 500;
}

.bus-highlight-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.5rem;
}

/* 4 Glass Frost Feature Cards - Clean, light, directly over mist */
.bus-features-glass-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  margin: 1.2rem 0;
}

/* Transport safety standards: consistent semantic outline icons */
.safety-standard-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 16px;
  color: var(--secondary-dark);
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.safety-standard-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.safety-standard-icon.icon-supervisor,
.safety-standard-icon.icon-sanitize {
  color: #047857;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.22);
}

.safety-standard-icon.icon-seatbelt,
.safety-standard-icon.icon-driver {
  color: #b45309;
  background: rgba(245, 158, 11, 0.13);
  border-color: rgba(245, 158, 11, 0.24);
}

.safety-standard-icon.icon-notification,
.safety-standard-icon.icon-id {
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.2);
}

.safety-standard-icon.icon-camera {
  color: #e11d48;
  background: rgba(225, 29, 72, 0.1);
  border-color: rgba(225, 29, 72, 0.2);
}

/* Contact cards: crisp, consistent semantic outline icons */
.contact-info-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bus-feat-glass-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  transition: all var(--transition-fast);
}

.bus-feat-glass-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.12);
  border-color: var(--secondary-light);
}

.bus-feat-glass-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background-color: var(--secondary-light);
  color: var(--secondary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.bus-feat-glass-text h5 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.15rem;
}

.bus-feat-glass-text p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Floating beacon on the left over the bus scene */
.bus-immersive-decor {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.bus-live-gps-beacon {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 1.1rem 1.5rem;
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.14);
  animation: float 4s ease-in-out infinite;
}

.beacon-pulse-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.bus-live-gps-beacon strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.bus-live-gps-beacon span {
  font-size: 0.84rem;
  color: #0284C7;
  font-weight: 600;
}

/* ==========================================================================
   Programs Grid
   ========================================================================== */
.programs-section {
  padding: 6rem 0;
}

.mobile-show-more {
  display: none;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

.program-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-bounce);
  position: relative;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.program-thumb {
  height: 200px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

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

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

.program-age-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.program-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.8rem;
}

.program-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.program-summary {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.program-features {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-main);
}

.program-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.program-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
}

/* ==========================================================================
   Virtual Tour & Gallery Preview
   ========================================================================== */
.gallery-section {
  padding: 6rem 0;
  background-color: var(--bg-subtle);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #FFFFFF;
  opacity: 0.95;
  transition: opacity var(--transition-fast);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay h4 {
  font-size: 1.15rem;
  font-weight: 700;
}

.gallery-overlay p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-section {
  padding: 6rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.testimonial-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  transition: all var(--transition-bounce);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.stars {
  color: #F59E0B;
  font-size: 1.15rem;
  display: flex;
  gap: 3px;
}

.testimonial-text {
  font-size: 0.98rem;
  color: var(--text-main);
  line-height: 1.75;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: auto;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-dark);
  flex: 0 0 auto;
}

.author-avatar svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 14;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.author-info h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.author-info span {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-section {
  padding: 6rem 0;
  background-color: var(--bg-subtle);
}

.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.3rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: right;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.6rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.4rem;
}

/* ==========================================================================
   CTA Section (Book a Tour)
   ========================================================================== */
.cta-banner {
  padding: clamp(4.5rem, 7vw, 7rem) 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(2, 132, 199, 0.24), transparent 34%),
    linear-gradient(128deg, #075f8d 0%, var(--secondary-dark) 48%, #0F172A 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.9fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7.5rem);
  position: relative;
  z-index: 2;
}

.cta-text {
  max-width: 670px;
}

.cta-badge {
  margin-bottom: 1.25rem;
}

.cta-text h2 {
  font-size: clamp(2.25rem, 3.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

.cta-text p {
  font-size: 1.1rem;
  color: #CBD5E1;
  max-width: 650px;
  line-height: 1.8;
  margin-bottom: 2.25rem;
}

.cta-contact-row {
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(260px, 1.28fr);
  gap: 0.8rem;
  max-width: 650px;
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.85rem 1rem;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  line-height: 1.55;
  font-size: 0.88rem;
}

.cta-contact-item > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cta-contact-item strong {
  color: #FFFFFF;
  font-size: 0.82rem;
}

.cta-contact-phone {
  color: #FFFFFF;
}

.cta-contact-phone b {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.cta-contact-icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 1.05rem;
}

.cta-box {
  width: 100%;
  max-width: 510px;
  justify-self: end;
  background-color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 3vw, 2.6rem);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 28px 70px rgba(2, 20, 38, 0.28);
}

.cta-box h3 {
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--secondary-dark);
}

.cta-box p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.6rem;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.cta-form .form-control {
  min-height: 50px;
  background-color: #F8FAFC;
}

.cta-form .form-control:focus {
  background-color: #FFFFFF;
}

.cta-submit {
  width: 100%;
  min-height: 54px;
  margin-top: 0.35rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.45;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background-color: #FFFFFF;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

input[type="tel"].form-control {
  direction: ltr;
  text-align: left;
  unicode-bidi: plaintext;
}

.form-control.is-invalid {
  border-color: #DC2626;
  background-color: #FEF2F2;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.field-error {
  display: block;
  margin-top: 0.45rem;
  color: #B91C1C;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.55;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: #0B132B;
  color: #E2E8F0;
  padding: 5rem 0 2rem 0;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #FFFFFF;
}

.footer-logo-box {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--cta));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.footer-desc {
  color: #94A3B8;
  line-height: 1.75;
  font-size: 0.92rem;
}

.footer-socials {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 0.5rem;
  direction: ltr;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
  transition: all var(--transition-fast);
}

.social-link svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.social-link:hover,
.social-link:focus-visible {
  color: #FFFFFF;
  transform: translateY(-3px);
  border-color: transparent;
}

.social-link--facebook:hover,
.social-link--facebook:focus-visible {
  background-color: #1877F2;
}

.social-link--whatsapp:hover,
.social-link--whatsapp:focus-visible {
  background-color: #25D366;
}

.social-link--instagram:hover,
.social-link--instagram:focus-visible {
  background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45);
}

.social-link--gmail {
  background-color: rgba(255, 255, 255, 0.08);
}

.social-link--gmail:hover,
.social-link--gmail:focus-visible {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.24);
}

.social-link--gmail .gmail-mark {
  width: 23px;
  height: 23px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-link--gmail .gmail-mark path {
  stroke: #FFFFFF;
  stroke-width: 2.55;
  transition: stroke var(--transition-fast), stroke-width var(--transition-fast);
}

.social-link--gmail:hover .gmail-mark path,
.social-link--gmail:focus-visible .gmail-mark path {
  stroke-width: 3.25;
}

.social-link--gmail:hover .gmail-mark path:nth-child(1),
.social-link--gmail:focus-visible .gmail-mark path:nth-child(1) {
  stroke: #4285F4;
}

.social-link--gmail:hover .gmail-mark path:nth-child(2),
.social-link--gmail:focus-visible .gmail-mark path:nth-child(2) {
  stroke: #34A853;
}

.social-link--gmail:hover .gmail-mark path:nth-child(3),
.social-link--gmail:focus-visible .gmail-mark path:nth-child(3) {
  stroke: #EA4335;
}

.social-link:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.75);
  outline-offset: 3px;
}

.whatsapp-paper-cta {
  gap: 0.5rem;
  background: #FFFFFF;
  color: #166534;
  border-color: #86EFAC;
}

.whatsapp-paper-cta:hover,
.whatsapp-paper-cta:focus-visible {
  background: #ECFDF5;
  color: #15803D;
  border-color: #22C55E;
}

.inline-brand-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: currentColor;
}

.footer-column h4 {
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 3px;
  border-radius: var(--radius-full);
  background-color: var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: #94A3B8;
  transition: color var(--transition-fast);
  display: inline-block;
}

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

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #94A3B8;
  font-size: 0.92rem;
}

.footer-contact-icon {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 2px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #64748B;
}

/* ==========================================================================
   Sticky Floating WhatsApp Widget
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background-color: #25D366;
  color: #FFFFFF;
  width: 70px;
  height: 70px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(18, 140, 126, 0.32);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-bounce);
  animation: none;
}

.floating-whatsapp span {
  display: none !important;
}

.floating-whatsapp:hover {
  transform: scale(1.06) translateY(-2px);
  background-color: #20BA56;
  color: #FFFFFF;
}

@keyframes pulseWhatsApp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-icon-svg {
  width: 38px;
  height: 38px;
  padding: 0;
  color: #FFFFFF;
  fill: currentColor;
  background: transparent;
  border-radius: 0;
  filter: none;
}

/* ==========================================================================
   Modal Dialogs
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.modal-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 540px;
  width: 100%;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-bounce);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
}

.modal-backdrop.active .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--bg-subtle);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: var(--cta);
  color: #FFFFFF;
}

.modal-header {
  text-align: center;
  margin-bottom: 1.8rem;
}

.modal-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--secondary-dark);
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.modal-card form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-card .form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.modal-card .form-control {
  min-height: 48px;
  font-size: 1rem;
}

/* Success Toast */
.toast-notice {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background-color: #10B981;
  color: #FFFFFF;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  z-index: 2500;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   UI / UX Enhancements (Conversion, Micro-interactions & Accessibility)
   ========================================================================== */

/* 1. Page Reading Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--cta) 50%, var(--secondary) 100%);
  z-index: 2000;
  width: 0%;
  transition: width 0.1s ease-out;
}

/* 2. Accessible Focus Visible Ring */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  inset-block-start: 0.75rem;
  inset-inline-start: 50%;
  z-index: 5000;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-full);
  background: #0F172A;
  color: #FFFFFF;
  font-weight: 800;
  text-decoration: none;
  transform: translate(-50%, -180%);
  transition: transform var(--transition-fast);
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.social-link[aria-disabled="true"] {
  opacity: 0.82;
  cursor: default;
}

.gallery-item[role="button"]:focus-visible {
  outline: 4px solid var(--primary);
  outline-offset: 5px;
}

/* 3. Wave Section Dividers */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 48px;
}

/* 4. Quick Selection Chips (Age, Routes, etc.) */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.8rem 0 1.2rem 0;
}

.chip-btn {
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  color: var(--text-main);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.chip-btn:hover {
  border-color: var(--primary);
  background-color: var(--primary-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.chip-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #FFFFFF;
  border-color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.quick-stage-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* 5. Enhanced Interactive Cards */
.card-interactive {
  transition: transform var(--transition-bounce), box-shadow var(--transition-fast), border-color var(--transition-fast);
  cursor: pointer;
}

.card-interactive:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

/* 6. Gallery Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 850px;
  width: 100%;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  animation: popIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
  0% { transform: scale(0.9) translateY(20px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.lightbox-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.lightbox-caption {
  padding: 1.5rem 2rem;
  background-color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
}

.lightbox-caption h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.lightbox-caption p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.lightbox-close-btn {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition-fast);
  z-index: 10;
}

.lightbox-close-btn:hover {
  background-color: var(--cta);
  transform: rotate(90deg) scale(1.1);
}

/* 7. Floating Quick Action & Conversion Dock (UI/UX Pro Max) */
.floating-dock {
  position: fixed;
  bottom: 1.8rem;
  left: 1.8rem;
  z-index: 1020;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 12px 32px -4px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(15, 23, 42, 0.08);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-dock:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -4px rgba(15, 23, 42, 0.24);
}

/* Status Pill in Dock */
.dock-status-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: #166534;
  white-space: nowrap;
}

.dock-status-pill.closed {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #991B1B;
}

.dock-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  cursor: pointer;
  border: none;
  text-decoration: none;
  position: relative;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.dock-btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.dock-btn-whatsapp:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
}

.dock-btn-call {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.dock-btn-call:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.45);
}

.dock-btn-tour {
  background: linear-gradient(135deg, #F43F5E 0%, #E11D48 100%);
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.35);
}

.dock-btn-tour:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 20px rgba(244, 63, 94, 0.45);
}

/* Scroll To Top with Circular Progress */
.dock-btn-top {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.dock-btn-top.visible {
  opacity: 1;
  visibility: visible;
}

.dock-btn-top:hover {
  transform: translateY(-3px);
  background: var(--bg-subtle);
  border-color: var(--primary);
  color: var(--primary-dark);
}

.dock-btn-top svg.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-ring-circle {
  stroke: var(--primary);
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  transition: stroke-dashoffset 0.15s ease-out;
}

/* Tooltip on dock buttons */
.dock-btn[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #0F172A;
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dock-btn:hover[data-tooltip]::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Interactive Calculator & Finder Widgets on Homepage */
.widget-box {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(226, 232, 240, 0.9);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.widget-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -6px rgba(15, 23, 42, 0.12);
}

.widget-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.widget-header {
  margin-bottom: 1.5rem;
}

.widget-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.widget-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* 8. Reduced motion accessibility respect */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Page Banner - Full-Bleed Photographic Background with Light Mist (بدون بطاقة)
   ========================================================================== */
.page-banner-immersive {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 3.8rem 0;
  text-align: center;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-banner-immersive::before {
  content: '';
  position: absolute;
  inset: -15px;
  background-size: cover;
  background-position: center;
  filter: blur(0.6px);
  transform: scale(1.01);
  z-index: 1;
}

.page-banner-immersive::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 255, 255, 0.66) 48%,
    rgba(255, 255, 255, 0.48) 100%
  );
  backdrop-filter: blur(1px) saturate(108%);
  -webkit-backdrop-filter: blur(1px) saturate(108%);
  z-index: 2;
}

.page-banner-immersive .container {
  position: relative;
  z-index: 3;
  max-width: 840px;
}

.page-banner-immersive .hero-title,
.page-banner-immersive .hero-desc {
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.92);
}

.banner-programs::before {
  background-image: url('../assets/images/hero-montessori.jpg');
}

.programs-hero-cta {
  margin-top: 1.6rem;
}

.programs-detail-section {
  padding: 5rem 0;
  background: var(--bg-page);
  scroll-margin-top: 6rem;
}

.programs-detail-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.program-detail-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "content media";
  gap: 3rem;
  align-items: center;
  padding: 3rem;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  scroll-margin-top: 7rem;
}

.program-detail-card--reverse {
  grid-template-areas: "media content";
}

.program-detail-media {
  grid-area: media;
  height: 360px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.program-detail-content {
  grid-area: content;
  min-width: 0;
  direction: rtl;
  text-align: right;
}

.program-detail-media img {
  display: block;
}

.banner-gallery::before {
  background-image: url('../assets/images/playground.jpg');
}

.banner-admissions::before {
  background-image: url('../assets/images/hero.jpg');
}

.banner-contact::before {
  background-image: url('../assets/images/hero-montessori.jpg');
}

/* ==========================================================================
   Interactive Documents Checklist (UI/UX Pro Max)
   ========================================================================== */
.checklist-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.1rem;
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.checklist-item:hover {
  border-color: var(--secondary);
  background-color: var(--bg-subtle);
  transform: translateX(-3px);
}

.checklist-item.checked {
  background-color: #F0FDF4;
  border-color: #86EFAC;
}

.checklist-box {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 2px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #FFFFFF;
  background: #FFFFFF;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.checklist-item.checked .checklist-box {
  background: var(--accent);
  border-color: var(--accent);
}

.checklist-item.checked .checklist-title {
  color: var(--text-muted);
  text-decoration: line-through;
}

.checklist-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  transition: color var(--transition-fast);
}

/* ==========================================================================
   Interactive Routine Timeline (UI/UX Pro Max)
   ========================================================================== */
.routine-timeline-wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  position: relative;
}

.routine-section-container {
  max-width: 1180px;
}

.routine-timeline-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.9rem;
  min-width: 0;
  min-height: 228px;
  padding: 1.4rem;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.routine-timeline-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.routine-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  background: var(--secondary-light);
  color: var(--secondary-dark);
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  width: fit-content;
}

.routine-content-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.55rem;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
  line-height: 1.55;
}

.routine-content-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .routine-timeline-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .routine-timeline-wrapper {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .routine-timeline-item {
    min-height: auto;
    gap: 0.7rem;
    padding: 1rem 1.2rem;
  }
}

/* ==========================================================================
   Bus Routes Overview
   ========================================================================== */
.routes-overview-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  max-width: 1180px;
  margin-inline: auto;
}

.route-overview-card {
  position: relative;
  flex: 1 1 340px;
  max-width: 370px;
  min-height: 307px;
  padding: 1.65rem;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.route-overview-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.route-overview-card:hover {
  transform: translateY(-5px);
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow: var(--shadow-lg);
}

.route-overview-body {
  flex: 1;
}

.route-overview-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.route-code-pill {
  max-width: 190px;
  font-size: 0.76rem;
  line-height: 1.55;
  text-align: center;
}

.route-availability {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding: 0.38rem 0.65rem;
  color: #047857;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.route-availability-dot {
  width: 7px;
  height: 7px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.13);
}

.route-overview-title {
  margin-bottom: 0.7rem;
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.65;
}

.route-overview-areas {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

.route-overview-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1rem;
  margin-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.route-supervisor {
  color: var(--text-muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

.route-details-btn {
  min-height: 42px;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .routes-overview-grid {
    gap: 1rem;
  }

  .route-overview-card {
    flex-basis: 100%;
    max-width: 100%;
    min-height: auto;
    padding: 1.35rem;
  }

  .route-overview-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .route-details-btn {
    width: 100%;
    justify-content: center;
  }
}
