/* ==========================================================================
   ApexEdge Academy - Playful, Vibrant & Friendly Educational Theme
   Inspired by KidSkool Modern Design: Pastels, Cloud Waves, Rounded Shapes
   Pure CSS - Zero External CSS Libraries, Fully Responsive
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Playful & Warm Pastel Color System */
  --color-coral: #ff6f61;
  --color-coral-dark: #ea5647;
  --color-coral-soft: #ffece9;

  --color-peach: #fff2ed;
  --color-yellow: #ffb703;
  --color-yellow-soft: #fff8e5;
  --color-orange: #fb8500;

  --color-sky: #48cae4;
  --color-sky-soft: #e0f7fa;
  --color-blue: #0077b6;

  --color-mint: #52b788;
  --color-mint-soft: #e8f5e9;

  --color-purple: #9d4edd;
  --color-purple-soft: #f3e8ff;

  --color-pink: #ff758f;
  --color-pink-soft: #ffeef2;

  /* Base Canvas & Text */
  --bg-body: #fcf9f5;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f8f4ef;

  --text-dark: #2d3142;
  --text-muted: #6c757d;
  --text-light: #9aa0a6;
  --text-white: #ffffff;

  --border-soft: #f0e6dc;
  --border-color: #ede3d7;

  /* Shadows & Radius */
  --radius-xs: 8px;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-full: 9999px;

  --shadow-playful: 0 12px 30px -8px rgba(255, 111, 97, 0.22);
  --shadow-card: 0 10px 30px rgba(45, 49, 66, 0.06);
  --shadow-hover: 0 18px 40px -10px rgba(45, 49, 66, 0.12);

  /* Fonts */
  --font-heading: 'Fredoka', 'Outfit', sans-serif;
  --font-body: 'Nunito', sans-serif;

  --transition-bouncy: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: 0.3s ease;
}

/* Dark mode adjustments keeping the friendly color accents */
[data-theme="dark"] {
  --bg-body: #161824;
  --bg-surface: #1e2235;
  --bg-surface-alt: #262b42;
  --text-dark: #f1f3f9;
  --text-muted: #a6b0cf;
  --border-soft: #2e344e;
  --border-color: #353d5a;
  --color-peach: #231c26;
  --color-yellow-soft: #2a2618;
  --color-sky-soft: #172635;
  --color-mint-soft: #172922;
  --color-purple-soft: #271a33;
  --color-pink-soft: #2e1a24;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   Spacing Utilities (Bootstrap-compatible Margin & Padding)
   Scale:
     0: 0
     1: 0.25rem (4px)
     2: 0.5rem (8px)
     3: 1rem (16px)
     4: 1.5rem (24px)
     5: 3rem (48px)
     auto: auto
   ========================================================================== */

/* Margin All */
.m-0 {
  margin: 0 !important;
}

.m-1 {
  margin: 0.25rem !important;
}

.m-2 {
  margin: 0.5rem !important;
}

.m-3 {
  margin: 1rem !important;
}

.m-4 {
  margin: 1.5rem !important;
}

.m-5 {
  margin: 3rem !important;
}

.m-auto {
  margin: auto !important;
}

/* Margin Top */
.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mt-5 {
  margin-top: 3rem !important;
}

.mt-auto {
  margin-top: auto !important;
}

/* Margin Bottom */
.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.mb-auto {
  margin-bottom: auto !important;
}

/* Margin Start / Left */
.ms-0,
.ml-0 {
  margin-left: 0 !important;
}

.ms-1,
.ml-1 {
  margin-left: 0.25rem !important;
}

.ms-2,
.ml-2 {
  margin-left: 0.5rem !important;
}

.ms-3,
.ml-3 {
  margin-left: 1rem !important;
}

.ms-4,
.ml-4 {
  margin-left: 1.5rem !important;
}

.ms-5,
.ml-5 {
  margin-left: 3rem !important;
}

.ms-auto,
.ml-auto {
  margin-left: auto !important;
}

/* Margin End / Right */
.me-0,
.mr-0 {
  margin-right: 0 !important;
}

.me-1,
.mr-1 {
  margin-right: 0.25rem !important;
}

.me-2,
.mr-2 {
  margin-right: 0.5rem !important;
}

.me-3,
.mr-3 {
  margin-right: 1rem !important;
}

.me-4,
.mr-4 {
  margin-right: 1.5rem !important;
}

.me-5,
.mr-5 {
  margin-right: 3rem !important;
}

.me-auto,
.mr-auto {
  margin-right: auto !important;
}

/* Margin X (Horizontal) */
.mx-0 {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.mx-1 {
  margin-left: 0.25rem !important;
  margin-right: 0.25rem !important;
}

.mx-2 {
  margin-left: 0.5rem !important;
  margin-right: 0.5rem !important;
}

.mx-3 {
  margin-left: 1rem !important;
  margin-right: 1rem !important;
}

.mx-4 {
  margin-left: 1.5rem !important;
  margin-right: 1.5rem !important;
}

.mx-5 {
  margin-left: 3rem !important;
  margin-right: 3rem !important;
}

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Margin Y (Vertical) */
.my-0 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.my-1 {
  margin-top: 0.25rem !important;
  margin-bottom: 0.25rem !important;
}

.my-2 {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

.my-3 {
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

.my-4 {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.my-5 {
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
}

.my-auto {
  margin-top: auto !important;
  margin-bottom: auto !important;
}

/* Padding All */
.p-0 {
  padding: 0 !important;
}

.p-1 {
  padding: 0.25rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.p-4 {
  padding: 1.5rem !important;
}

.p-5 {
  padding: 3rem !important;
}

/* Padding Top */
.pt-0 {
  padding-top: 0 !important;
}

.pt-1 {
  padding-top: 0.25rem !important;
}

.pt-2 {
  padding-top: 0.5rem !important;
}

.pt-3 {
  padding-top: 1rem !important;
}

.pt-4 {
  padding-top: 1.5rem !important;
}

.pt-5 {
  padding-top: 3rem !important;
}

/* Padding Bottom */
.pb-0 {
  padding-bottom: 0 !important;
}

.pb-1 {
  padding-bottom: 0.25rem !important;
}

.pb-2 {
  padding-bottom: 0.5rem !important;
}

.pb-3 {
  padding-bottom: 1rem !important;
}

.pb-4 {
  padding-bottom: 1.5rem !important;
}

.pb-5 {
  padding-bottom: 3rem !important;
}

/* Padding Start / Left */
.ps-0,
.pl-0 {
  padding-left: 0 !important;
}

.ps-1,
.pl-1 {
  padding-left: 0.25rem !important;
}

.ps-2,
.pl-2 {
  padding-left: 0.5rem !important;
}

.ps-3,
.pl-3 {
  padding-left: 1rem !important;
}

.ps-4,
.pl-4 {
  padding-left: 1.5rem !important;
}

.ps-5,
.pl-5 {
  padding-left: 3rem !important;
}

/* Padding End / Right */
.pe-0,
.pr-0 {
  padding-right: 0 !important;
}

.pe-1,
.pr-1 {
  padding-right: 0.25rem !important;
}

.pe-2,
.pr-2 {
  padding-right: 0.5rem !important;
}

.pe-3,
.pr-3 {
  padding-right: 1rem !important;
}

.pe-4,
.pr-4 {
  padding-right: 1.5rem !important;
}

.pe-5,
.pr-5 {
  padding-right: 3rem !important;
}

/* Padding X (Horizontal) */
.px-0 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.px-1 {
  padding-left: 0.25rem !important;
  padding-right: 0.25rem !important;
}

.px-2 {
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}

.px-3 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.px-4 {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

.px-5 {
  padding-left: 3rem !important;
  padding-right: 3rem !important;
}

/* Padding Y (Vertical) */
.py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.py-1 {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

.py-2 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.py-3 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.py-4 {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

/* Gap Utilities (for flex / grid) */
.gap-0 {
  gap: 0 !important;
}

.gap-1 {
  gap: 0.25rem !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.gap-3 {
  gap: 1rem !important;
}

.gap-4 {
  gap: 1.5rem !important;
}

.gap-5 {
  gap: 3rem !important;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section-title-wrap {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px auto;
}

.section-tag-playful {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-coral);
  background: var(--color-coral-soft);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-title-playful {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-title-playful span {
  color: var(--color-coral);
  position: relative;
}

.section-subtitle-playful {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Playful Buttons
   ========================================================================== */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-bouncy);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

.btn-pill:hover {
  transform: translateY(-3px) scale(1.02);
}

.btn-pill-coral {
  background: linear-gradient(135deg, #ff6f61, #ea5647);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(255, 111, 97, 0.35);
}

.btn-pill-coral:hover {
  box-shadow: 0 12px 28px rgba(255, 111, 97, 0.5);
}

.btn-pill-yellow {
  background: linear-gradient(135deg, #ffb703, #fb8500);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(251, 133, 0, 0.35);
}

.btn-pill-yellow:hover {
  box-shadow: 0 12px 26px rgba(251, 133, 0, 0.45);
}

.btn-pill-purple {
  background: linear-gradient(135deg, #9d4edd, #7b2cbf);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(157, 78, 221, 0.35);
}

.btn-pill-sky {
  background: linear-gradient(135deg, #48cae4, #0077b6);
  color: #ffffff;
}

.btn-pill-outline {
  background: transparent;
  border: 2px solid var(--border-color);
  color: var(--text-dark);
}

.btn-pill-outline:hover {
  border-color: var(--color-coral);
  color: var(--color-coral);
  background: var(--color-coral-soft);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.9rem;
}

/* ==========================================================================
   Header & Navbar (Friendly Theme)
   ========================================================================== */
.top-notice-bar {
  background: #fff8f5;
  border-bottom: 1px dashed #f5ded7;
  padding: 8px 0;
  font-size: 0.88rem;
  color: #6c757d;
}

[data-theme="dark"] .top-notice-bar {
  background: #1c1d2c;
  border-bottom-color: #2e334d;
}

.top-notice-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.top-notice-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-coral);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

.top-notice-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-notice-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--text-dark);
}

.top-notice-links a:hover {
  color: var(--color-coral);
}

/* Sticky Main Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  transition: all var(--transition-smooth);
}

[data-theme="dark"] .site-header {
  background: rgba(30, 34, 53, 0.95);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

/* Playful Brand Logo */
.brand-logo-playful {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mascot-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff6f61, #ffb703);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 18px rgba(255, 111, 97, 0.3);
  transform: rotate(-3deg);
  transition: transform var(--transition-bouncy);
}

.brand-logo-playful:hover .brand-mascot-icon {
  transform: rotate(6deg) scale(1.08);
}

.brand-text-playful {
  display: flex;
  flex-direction: column;
}

.brand-title-playful {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.brand-title-playful .char-1 {
  color: #ff6f61;
}

.brand-title-playful .char-2 {
  color: #ffb703;
}

.brand-title-playful .char-3 {
  color: #48cae4;
}

.brand-title-playful .char-4 {
  color: #52b788;
}

.brand-title-playful .char-5 {
  color: #9d4edd;
}

.brand-sub-playful {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  padding: 6px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--color-coral);
  border-radius: 2px;
  transition: width var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-coral);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-soft);
  color: var(--text-dark);
  cursor: pointer;
  transition: transform var(--transition-bouncy);
}

.theme-toggle-btn:hover {
  transform: rotate(25deg);
}

.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 0;
  position: relative;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-smooth);
}

.mobile-toggle-btn span {
  position: absolute;
  left: 8px;
  width: 24px;
  height: 2.5px;
  background-color: var(--text-dark);
  border-radius: 3px;
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, top 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.mobile-toggle-btn span:nth-child(1) {
  top: 11px;
}

.mobile-toggle-btn span:nth-child(2) {
  top: 19px;
}

.mobile-toggle-btn span:nth-child(3) {
  top: 27px;
}

.mobile-toggle-btn.open span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
  background-color: var(--color-coral);
}

.mobile-toggle-btn.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle-btn.open span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
  background-color: var(--color-coral);
}

/* ==========================================================================
   Full Screen Hero Slider (Minimal Text, Immersive Panorama)
   ========================================================================== */
.hero-slider-panorama {
  position: relative;
  width: 100%;
  height: calc(100vh - 120px);
  min-height: 600px;
  overflow: hidden;
  background-color: #101424;
}

.hero-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-coral), var(--color-yellow));
  z-index: 25;
  transition: width 0.05s linear;
}

.hero-slider-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  height: 100%;
  width: 100%;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100%;
  min-width: 100%;
  max-width: 100%;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background image with Ken Burns smooth scale */
.slide-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.08);
  transition: transform 8s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active .slide-bg-img {
  transform: scale(1);
}

/* Modern contrast gradient overlay */
.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      rgba(14, 18, 36, 0.88) 0%,
      rgba(14, 18, 36, 0.65) 45%,
      rgba(14, 18, 36, 0.25) 80%,
      rgba(14, 18, 36, 0.45) 100%);
  z-index: 2;
}

/* Minimal Slide Content */
.slide-container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.slide-content {
  max-width: 660px;
  color: #ffffff;
  padding-bottom: 20px;
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff4e6;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.slide-badge i {
  color: var(--color-yellow);
}

.slide-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease 0.35s, transform 0.6s ease 0.35s;
}

.slide-title span.accent-coral {
  color: #ff8577;
}

.slide-title span.accent-yellow {
  color: #ffc233;
}

.slide-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  max-width: 540px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}

.slide-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease 0.65s, transform 0.6s ease 0.65s;
}

/* Staggered entrance when slide becomes active */
.hero-slide.active .slide-badge,
.hero-slide.active .slide-title,
.hero-slide.active .slide-subtitle,
.hero-slide.active .slide-actions {
  opacity: 1;
  transform: translateY(0);
}

/* Navigation Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-smooth);
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-coral);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow-prev {
  left: 28px;
}

.slider-arrow-next {
  right: 28px;
}

/* Indicator Dots */
.slider-dots-container {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.35);
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s ease;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.slider-dot.active {
  width: 34px;
  background: #ffffff;
  border-radius: var(--radius-full);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

/* White Pill Button */
.btn-pill-white {
  background: #ffffff;
  color: var(--text-dark);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.btn-pill-white:hover {
  background: #ffffff;
  color: var(--color-coral);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

/* Bottom Wave Divider */
.hero-slider-panorama .wave-divider-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 6;
  pointer-events: none;
}

.hero-slider-panorama .wave-divider-wrap svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 48px;
}

/* ==========================================================================
   Quick Admission Inquiry Bar (Pastel Card)
   ========================================================================== */
.hero-quick-bar-wrap {
  margin-top: -35px;
  position: relative;
  z-index: 10;
}

.playful-inquiry-bar {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 24px 32px;
  box-shadow: var(--shadow-card);
  border: 3px solid #ffede8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

[data-theme="dark"] .playful-inquiry-bar {
  border-color: #353d5a;
}

.inquiry-bar-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.inquiry-icon-pill {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-coral-soft);
  color: var(--color-coral);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.inquiry-bar-title h4 {
  font-size: 1.25rem;
  margin-bottom: 2px;
}

.inquiry-bar-title p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.playful-inquiry-form {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-grow: 1;
  flex-wrap: wrap;
}

.form-pill-control {
  padding: 12px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-alt);
  border: 1.5px solid var(--border-soft);
  color: var(--text-dark);
  font-size: 0.92rem;
  flex: 1 1 150px;
  transition: all var(--transition-smooth);
}

.form-pill-control:focus {
  border-color: var(--color-coral);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 111, 97, 0.15);
}

/* ==========================================================================
   Specialized Programs Section (KidSkool Colorful Rounded Cards)
   ========================================================================== */
.programs-section {
  padding: 90px 0 70px 0;
  background: var(--bg-body);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.program-card-playful {
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all var(--transition-bouncy);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.program-card-playful:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: var(--shadow-hover);
}

/* Distinctive Pastel Themes */
.card-theme-sky {
  background: #e8f7fa;
  border: 2px solid #bcecf3;
}

.card-theme-coral {
  background: linear-gradient(180deg, #ff6f61, #f95738);
  color: #ffffff;
  box-shadow: 0 15px 35px -8px rgba(255, 111, 97, 0.45);
  transform: translateY(-8px);
}

.card-theme-coral h3,
.card-theme-coral p {
  color: #ffffff;
}

.card-theme-yellow {
  background: #fff8e5;
  border: 2px solid #ffe3a8;
}

.card-theme-pink {
  background: #ffeef2;
  border: 2px solid #ffd0db;
}

.card-theme-purple {
  background: #f4ecfc;
  border: 2px solid #e2cbf7;
}

.program-illustration-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 18px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.card-theme-coral .program-illustration-wrap {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
}

.program-card-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.program-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 20px;
  flex-grow: 1;
}

.btn-card-pill {
  padding: 8px 20px;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  background: #ffffff;
  color: var(--text-dark);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-smooth);
}

.card-theme-coral .btn-card-pill {
  background: #ffffff;
  color: var(--color-coral);
}

.program-card-playful:hover .btn-card-pill {
  background: var(--color-coral);
  color: #ffffff;
}

/* ==========================================================================
   About Us & Why Choose Us (KidSkool Style Features)
   ========================================================================== */
.about-playful-section {
  padding: 80px 0;
  background: #ffffff;
  position: relative;
}

[data-theme="dark"] .about-playful-section {
  background: var(--bg-surface);
}

.about-playful-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: center;
}

/* Pedagogy Photo Collage (Matching "Our Happy Moments" Reference) */
.pedagogy-collage-container {
  position: relative;
  width: 100%;
}

.pedagogy-collage-card {
  position: relative;
  background: linear-gradient(145deg, #4eb7b4 0%, #369c99 100%);
  border-radius: 30px;
  padding: 24px 22px 18px 22px;
  box-shadow: 0 20px 45px -10px rgba(54, 156, 153, 0.38);
  border: 5px solid #ffffff;
  overflow: hidden;
}

[data-theme="dark"] .pedagogy-collage-card {
  background: linear-gradient(145deg, #245856 0%, #173d3b 100%);
  border-color: #2e354e;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.45);
}

/* Floating Playful Doodles */
.collage-doodle {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.doodle-loop {
  top: 10px;
  left: 14px;
  animation: doodleFloat 6s ease-in-out infinite alternate;
}

.doodle-sparkle {
  top: 14px;
  right: 18px;
  font-size: 1.6rem;
  color: #ffb703;
  animation: doodleFloat 5s ease-in-out infinite alternate-reverse;
}

.collage-header-wrap {
  text-align: center;
  position: relative;
  z-index: 3;
  margin-bottom: 18px;
}

.collage-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  letter-spacing: 0.01em;
}

.collage-header-pill i {
  color: #ffdd80;
}

/* Pedagogy Slider Wrapper & Multi-Page Track */
.pedagogy-slider-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 18px;
  z-index: 3;
}

.pedagogy-slider-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.pedagogy-slide-page {
  flex: 0 0 100%;
  min-width: 100%;
  max-width: 100%;
  width: 100%;
  opacity: 0.35;
  transform: scale(0.97);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.pedagogy-slide-page.active {
  opacity: 1;
  transform: scale(1);
}

/* 4-Photo Grid */
.pedagogy-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
}

.collage-photo-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border: 3.5px solid #ffffff;
  background: #ffffff;
  aspect-ratio: 4 / 3;
  transition: all var(--transition-smooth);
}

.collage-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.collage-photo-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
  border-color: #fff9e6;
  z-index: 5;
}

.collage-photo-item:hover img {
  transform: scale(1.08);
}

.photo-caption-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(16, 20, 36, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  pointer-events: none;
  transition: all 0.3s ease;
}

.collage-photo-item:hover .photo-caption-badge {
  background: var(--color-coral);
  color: #ffffff;
}

/* Bottom Bar with Interactive Dots & Plane Button */
.collage-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 0 4px;
  position: relative;
  z-index: 3;
}

.collage-mini-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
}

.collage-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s ease;
  outline: none;
}

.collage-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.25);
}

.collage-dot.active {
  width: 26px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}

.collage-arrow-btn,
.collage-plane-btn {
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  outline: none;
  padding: 0;
}

.collage-arrow-btn:hover,
.collage-plane-btn:hover {
  background: #ffffff;
  color: #369c99;
  transform: scale(1.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.collage-arrow-btn:active,
.collage-plane-btn:active {
  transform: scale(0.92);
}

/* 4 Colorful Feature Squares (KidSkool style) */
.features-playful-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 30px;
}

.feature-box-playful {
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: transform var(--transition-bouncy);
}

.feature-box-playful:hover {
  transform: translateY(-5px);
}

.box-green {
  background: #e8f5e9;
  border: 1.5px solid #c8e6c9;
}

.box-yellow {
  background: #fff8e1;
  border: 1.5px solid #ffecb3;
}

.box-teal {
  background: #e0f2f1;
  border: 1.5px solid #b2dfdb;
}

.box-pink {
  background: #ffebee;
  border: 1.5px solid #ffcdd2;
}

.box-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.box-text h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.box-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   Wavy Illustrated Mid-Banner (School Bus & Happy Scholar)
   ========================================================================== */
.banner-wavy-quote {
  background: #fdf2d5;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .banner-wavy-quote {
  background: #2a251a;
}

.banner-quote-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.banner-quote-text {
  max-width: 650px;
}

.banner-quote-text h2 {
  font-size: 2.3rem;
  color: #3d3115;
  margin-bottom: 14px;
}

[data-theme="dark"] .banner-quote-text h2 {
  color: #fceecb;
}

.banner-quote-text p {
  font-size: 1.1rem;
  color: #685834;
  margin-bottom: 24px;
}

[data-theme="dark"] .banner-quote-text p {
  color: #d1c4a5;
}

.banner-bus-icon {
  font-size: 6rem;
  line-height: 1;
}

/* ==========================================================================
   Upcoming Classes (Scalloped Cloud Sky Blue Section)
   ========================================================================== */
.classes-scalloped-section {
  background: #dff3f9;
  padding: 100px 0;
  position: relative;
}

[data-theme="dark"] .classes-scalloped-section {
  background: #142836;
}

.classes-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.class-card-rounded {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-bouncy);
}

[data-theme="dark"] .class-card-rounded {
  background: var(--bg-surface);
}

.class-card-rounded:hover {
  transform: translateY(-8px);
}

.class-card-img-wrap {
  width: 100%;
  height: 190px;
  overflow: hidden;
  position: relative;
}

.class-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.class-card-rounded:hover .class-card-img-wrap img {
  transform: scale(1.08);
}

.class-age-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--color-coral);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.class-card-body {
  padding: 22px 18px;
  text-align: center;
}

.class-card-title {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.class-card-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* ==========================================================================
   Upcoming Events & Batches (KidSkool Horizontal Date Cards)
   ========================================================================== */
.events-section-playful {
  padding: 90px 0;
  background: var(--bg-body);
}

.events-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
}

.event-card-playful {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border: 1.5px solid var(--border-soft);
  transition: all var(--transition-bouncy);
}

[data-theme="dark"] .event-card-playful {
  background: var(--bg-surface);
}

.event-card-playful:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-coral);
}

.event-date-pill {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  flex-shrink: 0;
  color: #ffffff;
}

.event-date-pill.purple {
  background: linear-gradient(135deg, #9d4edd, #7b2cbf);
}

.event-date-pill.orange {
  background: linear-gradient(135deg, #fb8500, #ffb703);
}

.event-date-pill.teal {
  background: linear-gradient(135deg, #2ec4b6, #0077b6);
}

.event-date-pill.pink {
  background: linear-gradient(135deg, #ff758f, #ff4d6d);
}

.event-day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.event-month {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.event-info {
  flex-grow: 1;
}

.event-title {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.event-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Question Form & Interactive Map (KidSkool Style)
   ========================================================================== */
/* ==========================================================================
   Question Form & Interactive Map (KidSkool Style)
   ========================================================================== */
.contact-playful-section {
  padding: 85px 0 95px;
  background: var(--bg-body, #ffffff);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .contact-playful-section {
  background: var(--bg-surface);
}

.contact-playful-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: stretch;
  width: 100%;
}

.contact-map-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.campus-info-box {
  background: var(--bg-surface-alt, #faf7f2);
  padding: 24px 26px;
  border-radius: 24px;
  border: 2px dashed #f0ded6;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

[data-theme="dark"] .campus-info-box {
  background: #1e2538;
  border-color: #38425d;
}

.campus-info-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.campus-header-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ffece9;
  color: var(--color-coral);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

[data-theme="dark"] .campus-header-icon {
  background: #2e2430;
}

.campus-info-header h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 850;
  color: var(--text-dark);
  margin: 0;
}

.campus-address-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
  list-style: none;
  padding: 0;
}

.campus-address-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-dark);
}

.campus-address-item .badge-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 850;
  color: #ffffff;
  flex-shrink: 0;
  margin-top: 2px;
}

.campus-address-item .dot-coral {
  background: var(--color-coral);
}

.campus-address-item .dot-amber {
  background: #f59e0b;
}

.campus-address-item .dot-ocean {
  background: #0284c7;
}

.campus-address-item strong {
  display: inline;
  color: var(--text-dark);
  margin-right: 4px;
}

.campus-address-item span {
  color: var(--text-muted);
}

.campus-quick-contacts {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1.5px solid rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .campus-quick-contacts {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.quick-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 750;
  font-size: 0.88rem;
  color: var(--color-coral);
  transition: all 0.2s ease;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.quick-contact-link:hover {
  color: #e63946;
  transform: translateX(2px);
}

/* Surat Map Interactive Card */
.campus-map-interactive-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid #edf2f7;
  height: 220px;
  box-shadow: 0 10px 28px rgba(45, 49, 66, 0.06);
  background: #0f172a;
}

[data-theme="dark"] .campus-map-interactive-card {
  border-color: #2e3a54;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.campus-map-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(1.1);
  transition: transform 0.4s ease;
}

.campus-map-interactive-card:hover .campus-map-thumb {
  transform: scale(1.04);
}

.campus-map-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.75) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.map-overlay-badge {
  background: rgba(255, 255, 255, 0.95);
  color: #1e2538;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.map-overlay-badge i {
  color: var(--color-coral);
}

.btn-map-directions {
  padding: 8px 16px;
  font-size: 0.82rem;
}

/* Right Pink Card Form */
.contact-pink-card {
  background: #fff5f5;
  border-radius: 28px;
  padding: 38px 34px;
  box-shadow: 0 16px 40px rgba(255, 111, 97, 0.12);
  border: 2px solid #ffccd5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

[data-theme="dark"] .contact-pink-card {
  background: #1a1e2e;
  border-color: #3b2834;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.pink-card-badge {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 850;
  color: var(--color-coral);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: inline-block;
}

.pink-card-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 850;
  color: var(--text-dark, #1e2538);
  margin: 0 0 8px;
  line-height: 1.25;
}

.pink-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.contact-pink-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-group-pink {
  width: 100%;
}

.form-input-pink {
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1.5px solid #ffccd5;
  background: #ffffff;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.92rem;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

[data-theme="dark"] .form-input-pink {
  background: #141829;
  border-color: #38425d;
  color: #f1f5f9;
}

.form-input-pink:focus {
  border-color: var(--color-coral);
  box-shadow: 0 0 0 3px rgba(255, 111, 97, 0.2);
  background: #ffffff;
}

[data-theme="dark"] .form-input-pink:focus {
  background: #1e2538;
}

.form-input-pink.textarea-pink {
  resize: vertical;
  min-height: 80px;
}

.btn-submit-pink {
  width: 100%;
  padding: 14px 20px;
  font-size: 0.98rem;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  margin-top: 4px;
  box-sizing: border-box;
}

/* ==========================================================================
   Newsletter Pencil Banner
   ========================================================================== */
.newsletter-pencil-banner {
  background: #fdf6ec;
  border-radius: var(--radius-xl);
  padding: 45px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 70px 0;
  border: 3px dashed #ffdda1;
  position: relative;
}

[data-theme="dark"] .newsletter-pencil-banner {
  background: #232019;
  border-color: #4a3e26;
}

.newsletter-text h3 {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.newsletter-text p {
  color: var(--text-muted);
}

.newsletter-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 6px 8px 6px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1.5px solid var(--border-soft);
  min-width: 380px;
}

.newsletter-field {
  border: none;
  background: transparent;
  flex-grow: 1;
  font-size: 0.95rem;
  color: var(--text-dark);
}

/* ==========================================================================
   Scalloped Cloud Wave Footer (KidSkool Coral/Pink Wave)
   ========================================================================== */
.site-footer-playful {
  position: relative;
  background: #ff6f61;
  color: #ffffff;
  padding: 50px 0 30px 0;
}

/* Scalloped Cloud Top for Footer */
.footer-cloud-scallop {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.footer-cloud-scallop svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
  fill: #ff6f61;
}

.footer-playful-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 20px;
}

.footer-playful-brand p {
  color: #ffe6e3;
  margin: 16px 0 22px 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-circle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: all var(--transition-smooth);
  text-decoration: none;
}

.social-circle-btn:hover {
  background: #ffffff;
  color: var(--color-coral);
  transform: translateY(-3px);
}

.footer-playful-col h4 {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-playful-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-playful-links a {
  color: #ffe6e3;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-smooth);
}

.footer-playful-links a:hover {
  color: #ffffff;
  transform: translateX(6px);
}

.footer-playful-bottom {
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
  color: #ffe6e3;
}

/* ==========================================================================
   Key Stats Bar (Playful Pastel Cards)
   ========================================================================== */
.stats-section {
  padding: 40px 0;
  background: var(--bg-surface);
  border-bottom: 2px dashed #f0e2d8;
}

[data-theme="dark"] .stats-section {
  background: var(--bg-surface-alt);
  border-bottom-color: #2e354f;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-surface-alt);
  border: 1.5px solid var(--border-soft);
  transition: transform var(--transition-bouncy);
}

.stat-card:hover {
  transform: translateY(-6px);
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.stat-icon.blue {
  background: #e0f7fa;
  color: #0077b6;
}

.stat-icon.gold {
  background: #fff8e1;
  color: #fb8500;
}

.stat-icon.teal {
  background: #e8f5e9;
  color: #2e7d32;
}

.stat-icon.green {
  background: #ffebee;
  color: #c2185b;
}

.stat-number-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-coral);
}

.stat-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   Results & Toppers Showcase (Playful Style)
   ========================================================================== */
.results-section {
  padding: 90px 0;
  background: #ffffff;
}

[data-theme="dark"] .results-section {
  background: var(--bg-surface);
}

.results-filter-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.result-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-alt);
  border: 1.5px solid var(--border-soft);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-bouncy);
}

.result-tab-btn:hover,
.result-tab-btn.active {
  background: var(--color-coral);
  color: #ffffff;
  border-color: var(--color-coral);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 111, 97, 0.35);
}

/* Inline single-row horizontal scrolling on tablets and mobile screens */
@media (max-width: 860px) {
  .results-filter-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 14px;
    margin-left: -16px;
    margin-right: -16px;
    margin-bottom: 25px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .results-filter-nav::-webkit-scrollbar {
    display: none;
  }

  .results-filter-nav::after {
    content: '';
    flex: 0 0 10px;
    height: 1px;
  }

  .result-tab-btn {
    padding: 8px 16px;
    font-size: 0.84rem;
    gap: 6px;
  }
}

@media (max-width: 380px) {
  .results-filter-nav {
    gap: 6px;
    padding: 4px 12px 10px;
    margin-left: -12px;
    margin-right: -12px;
    margin-bottom: 20px;
  }

  .result-tab-btn {
    padding: 7px 13px;
    font-size: 0.78rem;
    gap: 5px;
  }
}

/* --- Star Achievers Slider Wrapper & Viewport --- */
.toppers-slider-wrapper {
  position: relative;
  margin-top: 35px;
}

.toppers-viewport {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 14px 6px 20px;
}

.toppers-slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* Individual Slide Card */
.topper-slide-item {
  flex: 0 0 calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  box-sizing: border-box;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (min-width: 1280px) {
  .topper-slide-item {
    flex: 0 0 calc((100% - 72px) / 4);
    max-width: calc((100% - 72px) / 4);
  }
}

@media (max-width: 991px) {
  .toppers-slider-track {
    gap: 20px;
  }

  .topper-slide-item {
    flex: 0 0 calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
  }
}

@media (max-width: 640px) {
  .toppers-slider-track {
    gap: 16px;
  }

  .topper-slide-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Floating Navigation Arrows */
.toppers-nav-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--text-dark);
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toppers-nav-arrow:hover {
  background: var(--color-coral);
  color: #ffffff;
  border-color: var(--color-coral);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 28px rgba(255, 111, 97, 0.4);
}

.toppers-nav-arrow.arrow-prev {
  left: -22px;
}

.toppers-nav-arrow.arrow-next {
  right: -22px;
}

@media (max-width: 768px) {
  .toppers-nav-arrow.arrow-prev {
    left: 2px;
  }

  .toppers-nav-arrow.arrow-next {
    right: 2px;
  }
}

[data-theme="dark"] .toppers-nav-arrow {
  background: #1e293b;
  color: #f1f5f9;
  border-color: #334155;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .toppers-nav-arrow:hover {
  background: var(--color-coral);
  border-color: var(--color-coral);
  color: #ffffff;
}

/* Topper Card Refinements */
.topper-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 2px solid #ffede8;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-bouncy);
  position: relative;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}

[data-theme="dark"] .topper-card {
  border-color: #353d5a;
}

.topper-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-coral);
}

.topper-rank-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, #ffb703, #fb8500);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(251, 133, 0, 0.3);
  z-index: 2;
}

.topper-rank-badge.badge-gold {
  background: linear-gradient(135deg, #ffb703 0%, #fb8500 100%);
}

.topper-rank-badge.badge-coral {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5253 100%);
  box-shadow: 0 4px 12px rgba(238, 82, 83, 0.3);
}

.topper-rank-badge.badge-teal {
  background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.3);
}

.topper-rank-badge.badge-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.topper-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.topper-exam-pill {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(11, 57, 84, 0.88);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 750;
  padding: 3px 10px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.topper-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.topper-card:hover .topper-img {
  transform: scale(1.08);
}

.topper-details {
  padding: 22px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.topper-name {
  font-size: 1.25rem;
  margin-bottom: 2px;
}

.topper-score {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-coral);
  margin-bottom: 4px;
}

.topper-exam {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.topper-quote {
  font-size: 0.85rem;
  color: var(--text-dark);
  background: var(--bg-surface-alt);
  padding: 12px;
  border-radius: var(--radius-sm);
  line-height: 1.45;
  margin-top: auto;
  font-style: italic;
}

/* Indicator Dots */
.toppers-slider-footer {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.toppers-indicator-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topper-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.topper-dot.active {
  width: 28px;
  border-radius: 20px;
  background: var(--color-coral);
  box-shadow: 0 2px 8px rgba(255, 111, 97, 0.4);
}

[data-theme="dark"] .topper-dot {
  background: #475569;
}

[data-theme="dark"] .topper-dot.active {
  background: var(--color-coral);
}

.results-banner {
  margin-top: 50px;
  background: linear-gradient(135deg, #ff6f61, #ea5647);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 35px 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 15px 35px rgba(255, 111, 97, 0.35);
}

.res-banner-text h3 {
  font-size: 1.7rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.res-banner-text p {
  color: #ffe6e3;
  font-size: 0.98rem;
}

/* ==========================================================================
   Faculty Profiles (KidSkool Style)
   ========================================================================== */
.faculty-section {
  padding: 90px 0;
  background: var(--bg-body);
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.faculty-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 2px solid #ffede8;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-bouncy);
}

[data-theme="dark"] .faculty-card {
  border-color: #353d5a;
}

.faculty-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.faculty-img-wrap {
  width: 100%;
  height: 270px;
  overflow: hidden;
  position: relative;
}

.faculty-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.faculty-card:hover .faculty-img {
  transform: scale(1.06);
}

.faculty-exp-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-coral);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.faculty-info {
  padding: 26px 22px;
}

.faculty-name {
  font-size: 1.35rem;
  margin-bottom: 2px;
}

.faculty-role {
  color: var(--color-coral);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.faculty-qual {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.faculty-bio {
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 16px;
}

.faculty-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.faculty-tag {
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--color-coral-soft);
  color: var(--color-coral);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Reviews / Testimonials (Playful Carousel)
   ========================================================================== */
.reviews-section {
  padding: 90px 0;
  background: #ffffff;
}

[data-theme="dark"] .reviews-section {
  background: var(--bg-surface);
}

.reviews-carousel-wrap {
  position: relative;
}

.reviews-track-container {
  overflow: hidden;
  padding: 10px 4px;
}

.reviews-track {
  display: flex;
  gap: 22px;
  transition: transform var(--transition-smooth);
}

.review-card {
  min-width: calc(33.333% - 15px);
  max-width: calc(33.333% - 15px);
  background: var(--bg-surface-alt);
  border-radius: var(--radius-xl);
  padding: 30px 24px;
  border: 2px solid #ffede8;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  transition: transform var(--transition-bouncy);
}

.review-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-coral);
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.review-stars {
  font-size: 1.05rem;
  color: var(--color-yellow);
  display: flex;
  gap: 3px;
}

.review-type-badge {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  background: #ffffff;
  color: var(--color-coral);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1.5px dashed #f0ded6;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6f61, #ffb703);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reviewer-info h5 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.reviewer-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 35px;
}

.review-ctrl-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--border-soft);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-bouncy);
}

.review-ctrl-btn:hover {
  background: var(--color-coral);
  color: #ffffff;
  border-color: var(--color-coral);
  transform: scale(1.1);
}

/* ==========================================================================
   Modals & Popups
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 49, 66, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  padding: 24px 28px 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
  border: 3px solid #ffede8;
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: all var(--transition-bouncy);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  box-sizing: border-box;
}

.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-track {
  background: transparent;
  margin: 18px 0;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

[data-theme="dark"] .modal-content {
  border-color: #382c35;
  scrollbar-color: #334155 transparent;
}

[data-theme="dark"] .modal-content::-webkit-scrollbar-thumb {
  background: #334155;
}

[data-theme="dark"] .modal-content::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-coral-soft);
  border: none;
  color: var(--color-coral);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-bouncy);
  z-index: 5;
}

.modal-close-btn:hover {
  transform: rotate(90deg) scale(1.1);
}

.modal-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 4px;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.38;
  margin-bottom: 12px;
}

.inquiry-form-group {
  margin-bottom: 10px;
  text-align: left;
}

.form-label {
  display: block;
  font-weight: 750;
  font-size: 0.82rem;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--bg-surface-alt);
  border: 1.5px solid var(--border-soft);
  color: var(--text-dark);
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition-smooth), background-color var(--transition-smooth), box-shadow 0.2s ease;
  box-sizing: border-box;
}

.form-control:focus {
  border-color: var(--color-coral);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px rgba(255, 111, 97, 0.16);
}

/* Modal Select Dropdowns */
select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding: 10px 34px 10px 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 12px) center;
  background-size: 13px 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

select.form-control option {
  padding: 8px 12px;
  background: #ffffff;
  color: var(--text-dark, #1e293b);
  font-size: 0.9rem;
}

[data-theme="dark"] select.form-control {
  background-color: #141829;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  border-color: #334155;
  color: #f1f5f9;
}

[data-theme="dark"] select.form-control option {
  background: #1a2035;
  color: #f1f5f9;
}

.inquiry-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.inquiry-perks {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.inquiry-perk-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-bouncy);
  text-decoration: none;
}

.btn-gold {
  background: linear-gradient(135deg, #ffb703, #fb8500);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(251, 133, 0, 0.3);
}

.btn-gold:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 26px rgba(251, 133, 0, 0.4);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Floating Action Buttons & Toast
   ========================================================================== */
.floating-actions-bar {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-action-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: transform var(--transition-bouncy);
}

.floating-action-btn:hover {
  transform: scale(1.12);
}

.floating-whatsapp {
  background: #25d366;
}

.floating-call {
  background: var(--color-coral);
}

.back-to-top-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-coral);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(255, 111, 97, 0.35);
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  transform: translateY(-4px) scale(1.08);
}

.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-surface);
  color: var(--text-dark);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border-left: 5px solid var(--color-mint);
  border-top: 1px solid var(--border-soft);
  border-right: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 320px;
  transform: translateX(120%);
  transition: transform var(--transition-smooth);
}

.toast.show {
  transform: translateX(0);
}

.toast.error {
  border-left-color: var(--color-coral);
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translate(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

/* ==========================================================================
   Comprehensive Responsive Rules
   Breakpoints:
     - 1200px (Large Tablet / Compact Laptop)
     - 991px  (Tablet / Mobile Menu Transition)
     - 768px  (Portrait Tablet / Large Mobile)
     - 576px  (Standard Mobile Phones)
     - 400px  (Small Mobile Phones)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Large Tablets & Compact Desktops (max-width: 1200px)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .programs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .classes-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .toppers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-playful-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }

  .review-card {
    min-width: calc(50% - 11px);
    max-width: calc(50% - 11px);
  }
}

/* --------------------------------------------------------------------------
   2. Tablets & Mobile Nav Transition (max-width: 991px)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .nav-container {
    height: 72px;
  }

  /* Hamburger Button */
  .mobile-toggle-btn {
    display: block;
    position: relative;
    z-index: 1002;
  }

  /* Mobile Dropdown Navigation */
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--bg-surface);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    border-top: 1px solid var(--border-soft);
    border-bottom: 4px solid var(--color-coral);
    padding: 18px 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 1001;
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-menu li {
    list-style: none;
    width: 100%;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface-alt);
    color: var(--text-dark);
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
    transition: all var(--transition-smooth);
  }

  .nav-link:hover,
  .nav-link.active {
    background: var(--color-coral-soft);
    color: var(--color-coral);
  }

  .nav-link::after {
    display: none;
  }

  /* Hero Slider Responsive */
  .hero-slider-panorama {
    height: clamp(540px, 86vh, 660px);
    min-height: 520px;
  }

  .slide-content {
    max-width: 100%;
  }

  /* Hide navigation arrows on touch screens so they never overlap text */
  .slider-arrow {
    display: none !important;
  }

  .slider-dots-container {
    bottom: 34px;
    background: rgba(14, 18, 36, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 12;
  }

  .slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    transition: all 0.3s ease;
  }

  .slider-dot.active {
    background: var(--color-coral);
    width: 22px;
    border-radius: 50px;
  }

  /* Inquiry Bar */
  .hero-quick-bar-wrap {
    margin-top: 25px;
  }

  .playful-inquiry-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
    gap: 16px;
  }

  .inquiry-bar-title {
    text-align: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
  }

  .playful-inquiry-form {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .form-pill-control,
  .playful-inquiry-form button {
    width: 100%;
    flex: 1 1 100%;
  }

  /* Key Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* About Us */
  .about-playful-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }

  .pedagogy-collage-container {
    max-width: 600px;
    margin: 0 auto;
  }

  .section-tag-playful {
    margin: 0 auto 14px auto;
  }

  .features-playful-grid {
    text-align: left;
  }

  /* Faculty */
  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Contact */
  .contact-playful-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* --------------------------------------------------------------------------
   3. Medium Screens & Portrait Tablets (max-width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }

  .section-title-wrap {
    margin-bottom: 30px;
  }

  .section-title-playful {
    font-size: 2rem;
  }

  .section-subtitle-playful {
    font-size: 1rem;
  }

  /* Doodles scale down */
  .doodle-float {
    transform: scale(0.7);
    opacity: 0.5;
  }

  .doodle-cloud-1 {
    right: 2%;
    top: 10px;
    font-size: 2rem;
  }

  .doodle-cloud-2,
  .doodle-star-2 {
    display: none;
  }

  .hero-arch-card {
    height: 380px;
    max-width: 340px;
    border-radius: 170px 170px 30px 30px;
  }

  .pedagogy-collage-card {
    padding: 18px 16px 14px 16px;
    border-radius: 24px;
    border-width: 4px;
  }

  .pedagogy-photo-grid {
    gap: 10px;
  }

  /* Mid Banner */
  .banner-wavy-quote {
    padding: 45px 0;
  }

  .banner-quote-flex {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .banner-quote-text h2 {
    font-size: 1.7rem;
  }

  .banner-quote-text p {
    font-size: 0.95rem;
  }

  .banner-bus-icon {
    font-size: 4rem;
  }

  /* Events Card */
  .event-card-playful {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 20px 16px;
  }

  .event-meta {
    flex-direction: column;
    gap: 6px;
    align-items: center;
  }

  .event-card-playful button {
    width: 100%;
  }

  /* Results Banner */
  .results-banner {
    flex-direction: column;
    text-align: center;
    padding: 26px 20px;
    gap: 20px;
  }

  .results-banner .btn {
    width: 100%;
  }

  /* Newsletter Banner */
  .newsletter-pencil-banner {
    flex-direction: column;
    text-align: center;
    padding: 28px 18px;
    gap: 20px;
  }

  .newsletter-input-wrap {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .newsletter-field,
  .newsletter-input-wrap button {
    width: 100%;
  }

  /* Footer */
  .footer-playful-bottom {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .footer-playful-bottom div {
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   4. Mobile Phones (max-width: 576px)
   -------------------------------------------------------------------------- */
@media (max-width: 576px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-container {
    height: 64px;
  }

  .brand-mascot-icon {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
    border-radius: 12px;
  }

  .brand-title-playful {
    font-size: 1.35rem;
  }

  .brand-sub-playful {
    font-size: 0.68rem;
  }

  #navDemoBtn {
    padding: 7px 14px;
    font-size: 0.82rem;
  }

  .hero-slider-panorama {
    height: clamp(520px, 86vh, 620px);
    min-height: 500px;
  }

  .hero-slide {
    align-items: flex-end;
  }

  .slide-overlay {
    background: linear-gradient(180deg,
        rgba(14, 18, 36, 0.15) 0%,
        rgba(14, 18, 36, 0.4) 38%,
        rgba(14, 18, 36, 0.82) 68%,
        rgba(14, 18, 36, 0.95) 100%);
  }

  .slide-container {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 72px;
  }

  .slide-content {
    padding-bottom: 0;
    margin-top: 0;
  }

  .slide-badge {
    padding: 5px 12px;
    font-size: 0.78rem;
    margin-bottom: 8px;
  }

  .slide-title {
    font-size: clamp(1.42rem, 5.2vw, 1.8rem);
    line-height: 1.22;
    margin-bottom: 8px;
  }

  .slide-subtitle {
    font-size: 0.86rem;
    line-height: 1.45;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.92);
  }

  .slide-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
  }

  .slide-actions .btn-pill {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    justify-content: center;
    padding: 10px 8px;
    font-size: 0.82rem;
    white-space: nowrap;
    box-sizing: border-box;
    text-align: center;
    gap: 6px;
  }

  .slide-actions .btn-pill span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .slider-arrow {
    display: none !important;
  }

  .hero-slider-panorama .wave-divider-wrap svg {
    height: 38px;
  }

  /* Single Column Grids */
  .programs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .classes-cards-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .features-playful-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pedagogy-collage-card {
    padding: 16px 12px 12px 12px;
    border-radius: 20px;
  }

  .pedagogy-photo-grid {
    gap: 8px;
  }

  .collage-photo-item {
    border-radius: 14px;
    border-width: 2.5px;
  }

  .photo-caption-badge {
    font-size: 0.68rem;
    padding: 2px 7px;
    bottom: 5px;
    left: 5px;
  }

  .collage-header-pill {
    font-size: 0.85rem;
    padding: 5px 14px;
    margin-bottom: 12px;
  }

  .toppers-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .faculty-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-playful-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: left;
  }

  /* Reviews Carousel on Mobile: 1 Full Card */
  .review-card {
    min-width: 100%;
    max-width: 100%;
    padding: 24px 18px;
  }

  /* Modal Dialog on Mobile */
  .modal-overlay {
    padding: 12px;
  }

  .modal-content {
    padding: 26px 18px;
    border-radius: var(--radius-lg);
  }

  .modal-header h3 {
    font-size: 1.4rem;
  }

  .inquiry-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Floating Quick Buttons on Mobile */
  .floating-actions-bar {
    bottom: 15px;
    left: 15px;
    gap: 8px;
  }

  .floating-action-btn {
    width: 44px;
    height: 44px;
  }

  .floating-action-btn i {
    font-size: 1.25rem !important;
  }

  .back-to-top-btn {
    bottom: 15px;
    right: 15px;
    width: 42px;
    height: 42px;
  }

  .section-title-playful {
    font-size: 1.7rem;
    line-height: 1.25;
  }

  /* Contact / Visit Our Campuses Section Mobile Rules */
  .contact-playful-section {
    padding: 45px 0 60px;
  }

  .contact-playful-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
  }

  .campus-info-box {
    padding: 20px 16px;
    border-radius: 20px;
    box-sizing: border-box;
    width: 100%;
  }

  .campus-info-header h4 {
    font-size: 1.15rem;
  }

  .campus-address-item {
    font-size: 0.85rem;
    line-height: 1.45;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .campus-address-item div {
    min-width: 0;
    flex: 1;
  }

  .campus-address-item span {
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .campus-quick-contacts {
    flex-direction: column;
    gap: 10px;
  }

  .quick-contact-link {
    font-size: 0.84rem;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .contact-pink-card {
    padding: 26px 20px;
    border-radius: 22px;
    box-sizing: border-box;
    width: 100%;
  }

  .pink-card-title {
    font-size: 1.45rem;
  }

  .pink-card-desc {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .form-group-pink {
    width: 100%;
  }

  .form-input-pink {
    width: 100%;
    box-sizing: border-box;
  }

  .btn-submit-pink {
    width: 100%;
    justify-content: center;
  }

  .campus-map-interactive-card {
    height: clamp(170px, 45vw, 210px);
    border-radius: 20px;
    width: 100%;
  }

  .campus-map-overlay {
    padding: 12px 14px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 8px;
  }

  .map-overlay-badge {
    font-size: 0.76rem;
    padding: 4px 10px;
  }

  .btn-map-directions {
    padding: 6px 12px;
    font-size: 0.76rem;
  }
}

/* --------------------------------------------------------------------------
   5. Extra Small Phones (max-width: 380px)
   -------------------------------------------------------------------------- */
@media (max-width: 380px) {
  .brand-title-playful {
    font-size: 1.2rem;
  }

  .brand-mascot-icon {
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
  }

  .slide-container {
    padding-bottom: 68px;
  }

  .slide-title {
    font-size: 1.35rem;
    line-height: 1.22;
    margin-bottom: 6px;
  }

  .slide-subtitle {
    font-size: 0.82rem;
    line-height: 1.4;
    margin-bottom: 14px;
  }

  .slide-actions {
    flex-direction: row;
    width: 100%;
    max-width: 100%;
    gap: 6px;
  }

  .slide-actions .btn-pill {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    padding: 9px 6px;
    font-size: 0.76rem;
    gap: 4px;
  }

  .section-title-playful {
    font-size: 1.55rem;
    line-height: 1.25;
  }

  .campus-info-box {
    padding: 16px 14px;
  }

  .contact-pink-card {
    padding: 20px 14px;
  }

  .pink-card-title {
    font-size: 1.35rem;
  }

  .form-input-pink {
    padding: 10px 14px;
    font-size: 0.88rem;
  }

  .btn-submit-pink {
    padding: 12px 16px;
    font-size: 0.92rem;
  }
}

.social-circle-btn i {
  margin: auto;
  padding: 5px;
  font-size: 18px;
}

/* ==========================================================================
   Multi-Branch Network Section - Full-Size Map & Reference Campus Cards
   (Authentic Surat Municipal Network: Parvat Patiya | Godadara | Dindoli)
   Layout: Top Full-Size Interactive City Map + Below 3 Bespoke Landscape Cards
   ========================================================================== */

.branches-multi-section {
  padding: 85px 0 95px;
  background: radial-gradient(circle at 10% 15%, rgba(255, 111, 97, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(72, 202, 228, 0.06) 0%, transparent 50%),
    var(--bg-body);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .branches-multi-section {
  background: radial-gradient(circle at 10% 15%, rgba(255, 111, 97, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(72, 202, 228, 0.05) 0%, transparent 50%),
    #121624;
}

/* Playful Section Title Curve Accent */
.highlight-coral-curve {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  max-width: 100%;
  background: linear-gradient(135deg, var(--color-coral) 0%, #e63946 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight-coral-curve::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0,7 C30,12 80,0 120,7' stroke='%23ff6f61' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center bottom;
  background-size: 100% 100%;
  opacity: 0.85;
}

/* ==========================================================================
   1. FULL-SIZE MAP ON TOP
   ========================================================================== */
.branch-map-full-card {
  background: #ffffff;
  border-radius: 28px;
  border: 1.5px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 18px 45px -12px rgba(45, 49, 66, 0.09),
    0 0 0 1px rgba(255, 255, 255, 0.95) inset;
  overflow: hidden;
  margin-bottom: 34px;
  position: relative;
  transition: all 0.3s ease;
}

[data-theme="dark"] .branch-map-full-card {
  background: #1a2035;
  border-color: #2e3a54;
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.55);
}

/* Map Header Bar */
.map-window-header {
  padding: 14px 26px;
  background: linear-gradient(135deg, #1e2538 0%, #29344f 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.map-header-left {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  color: #e2e8f0;
}

.map-header-left i {
  color: var(--color-coral);
  font-size: 1.15rem;
}

.map-header-left strong {
  color: #ffffff;
}

/* Segmented Quick Jump Tabs */
.map-header-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.4);
  padding: 4px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-tab-btn {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50px;
  padding: 6px 14px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  outline: none;
}

.map-tab-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.map-tab-btn.active {
  background: #ffffff;
  color: #1e2538;
  font-weight: 850;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.tab-dot.dot-coral {
  background: var(--color-coral);
}

.tab-dot.dot-amber {
  background: #f59e0b;
}

.tab-dot.dot-ocean {
  background: #0284c7;
}

/* Map Viewport Stage */
.map-viewport-stage {
  position: relative;
  width: 100%;
  min-height: 480px;
  height: 480px;
  overflow: hidden;
  background: #eef2f6;
}

.surat-map-base-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.map-border-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 40px rgba(11, 57, 84, 0.08);
  pointer-events: none;
}

/* Floating Overlay Badge */
.map-floating-overlay-card {
  position: absolute;
  top: 16px;
  right: 18px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 8;
  pointer-events: none;
}

[data-theme="dark"] .map-floating-overlay-card {
  background: rgba(30, 41, 59, 0.9);
  border-color: #334155;
  color: #cbd5e1;
}

.overlay-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

/* Map Pins & Geographical Anchoring */
.map-pin-marker {
  position: absolute;
  transform: translate(-50%, -100%);
  cursor: pointer;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  outline: none;
  user-select: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.map-pin-marker.pin-parvat {
  left: 63.8%;
  top: 62.5%;
}

.map-pin-marker.pin-godadara {
  left: 71.5%;
  top: 50.0%;
}

.map-pin-marker.pin-dindoli {
  left: 82.5%;
  top: 19.5%;
}

.pin-floating-tag {
  background: rgba(30, 41, 59, 0.94);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 3px 10px 3px 5px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.2px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
  pointer-events: none;
  transition: all 0.25s ease;
}

.pin-floating-tag .tag-num {
  background: var(--color-coral);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 900;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin-godadara .tag-num {
  background: #f59e0b;
}

.pin-dindoli .tag-num {
  background: #0284c7;
}

.pin-icon-wrapper {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin-img-asset {
  width: 44px;
  height: 44px;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.38));
  transition: transform 0.25s ease;
}

.pin-pulse-beacon {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  pointer-events: none;
}

.beacon-coral {
  background: #e63946;
  box-shadow: 0 0 6px rgba(230, 57, 70, 0.8);
}

.beacon-amber {
  background: #f59e0b;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.8);
}

.beacon-ocean {
  background: #0284c7;
  box-shadow: 0 0 6px rgba(2, 132, 199, 0.8);
}

.pin-pulse-ring {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  pointer-events: none;
  animation: pinBeaconPulse 2.4s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.ring-coral {
  color: #e63946;
}

.ring-amber {
  color: #f59e0b;
  animation-delay: 0.4s;
}

.ring-ocean {
  color: #0284c7;
  animation-delay: 0.8s;
}

@keyframes pinBeaconPulse {
  0% {
    width: 10px;
    height: 10px;
    opacity: 0.9;
  }

  60% {
    width: 48px;
    height: 48px;
    opacity: 0.2;
  }

  100% {
    width: 66px;
    height: 66px;
    opacity: 0;
  }
}

/* Pin Hover / Active States */
.map-pin-marker:hover,
.map-pin-marker.active {
  transform: translate(-50%, -108%) scale(1.15);
  z-index: 25;
}

.map-pin-marker.pin-parvat:hover .pin-floating-tag,
.map-pin-marker.pin-parvat.active .pin-floating-tag {
  background: var(--color-coral);
  border-color: #ffffff;
  box-shadow: 0 6px 18px rgba(255, 111, 97, 0.55);
}

.map-pin-marker.pin-godadara:hover .pin-floating-tag,
.map-pin-marker.pin-godadara.active .pin-floating-tag {
  background: #f59e0b;
  border-color: #ffffff;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.55);
}

.map-pin-marker.pin-dindoli:hover .pin-floating-tag,
.map-pin-marker.pin-dindoli.active .pin-floating-tag {
  background: #0284c7;
  border-color: #ffffff;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.55);
}

.map-pin-marker:hover .tag-num,
.map-pin-marker.active .tag-num {
  background: #ffffff;
  color: #1e2538;
}

/* Map Footer Bar */
.map-window-footer {
  padding: 12px 24px;
  background: #ffffff;
  border-top: 1.5px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  z-index: 5;
}

[data-theme="dark"] .map-window-footer {
  background: #1e293b;
  border-top-color: #334155;
  color: #94a3b8;
}

.map-legend-items {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.legend-dot-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-color-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.legend-color-dot.dot-coral {
  background: var(--color-coral);
}

.legend-color-dot.dot-amber {
  background: #f59e0b;
}

.legend-color-dot.dot-ocean {
  background: #0284c7;
}

.map-transit-note {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #0284c7;
}

/* ==========================================================================
   2. CARDS BELOW AS PER REFERENCE DESIGN
   ========================================================================== */
.branch-reference-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.branch-ref-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1.5px solid #eef2f6;
  box-shadow: 0 8px 24px rgba(45, 49, 66, 0.05);
  padding: 16px 18px 14px 18px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

[data-theme="dark"] .branch-ref-card {
  background: #1a2035;
  border-color: #2e3a54;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.branch-ref-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -8px rgba(45, 49, 66, 0.12);
  border-color: rgba(255, 111, 97, 0.4);
}

.branch-ref-card.active {
  border-color: var(--color-coral);
  box-shadow: 0 16px 36px -8px rgba(255, 111, 97, 0.22);
}

.card-godadara.active {
  border-color: #f59e0b;
  box-shadow: 0 16px 36px -8px rgba(245, 158, 11, 0.22);
}

.card-dindoli.active {
  border-color: #0284c7;
  box-shadow: 0 16px 36px -8px rgba(2, 132, 199, 0.22);
}

/* Upper Row: Image + Details + Arrow Button */
.ref-card-upper {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.ref-card-thumb-wrap {
  width: 120px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.ref-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.branch-ref-card:hover .ref-card-thumb {
  transform: scale(1.05);
}

.ref-card-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ref-card-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 850;
  color: #1e2538;
  margin: 0 0 2px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-theme="dark"] .ref-card-title {
  color: #f8fafc;
}

.ref-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: #64748b;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-theme="dark"] .ref-card-meta {
  color: #94a3b8;
}

.meta-icon-coral {
  color: #ff6f61;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.meta-icon-slate {
  color: #64748b;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* Circular Arrow Button Matching Reference */
.ref-card-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #ff7b6b;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff6f61;
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

[data-theme="dark"] .ref-card-arrow-btn {
  background: #232b45;
  border-color: #ff7b6b;
  color: #ff7b6b;
}

.ref-card-arrow-btn:hover {
  background: #ff6f61;
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(255, 111, 97, 0.35);
}

/* Lower Row: 3 Pill Tags Exactly As Per Reference */
.ref-card-pills-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

[data-theme="dark"] .ref-card-pills-row {
  border-top-color: #2e3a54;
}

.ref-pill {
  font-size: 0.71rem;
  font-weight: 750;
  padding: 5px 8px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
  flex: 1;
  letter-spacing: -0.15px;
  transition: transform 0.2s ease;
}

.ref-pill:hover {
  transform: translateY(-1px);
}

.ref-pill.pill-mint {
  background: #e8f8f2;
  color: #0d9488;
}

.ref-pill.pill-sky {
  background: #e8f3fe;
  color: #0284c7;
}

.ref-pill.pill-amber {
  background: #fef6e6;
  color: #d97706;
}

[data-theme="dark"] .ref-pill.pill-mint {
  background: #132e29;
  color: #5eead4;
}

[data-theme="dark"] .ref-pill.pill-sky {
  background: #132a40;
  color: #7dd3fc;
}

[data-theme="dark"] .ref-pill.pill-amber {
  background: #332713;
  color: #fde047;
}

/* ==========================================================================
   3. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1199px) {
  .ref-card-upper {
    gap: 10px;
  }

  .ref-card-thumb-wrap {
    width: 105px;
    height: 75px;
  }

  .ref-card-title {
    font-size: 1.02rem;
  }

  .ref-pill {
    font-size: 0.68rem;
    padding: 4px 6px;
  }
}

@media (max-width: 991px) {
  .branch-reference-cards-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ref-card-thumb-wrap {
    width: 120px;
    height: 80px;
  }

  .ref-pill {
    font-size: 0.72rem;
    padding: 5px 8px;
  }

  .map-viewport-stage {
    min-height: 340px;
    height: 340px;
  }

  .map-window-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 18px;
  }

  .map-header-left {
    font-size: 0.88rem;
  }

  .map-header-tabs {
    width: 100%;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
    padding: 4px;
    box-sizing: border-box;
  }

  .map-header-tabs::-webkit-scrollbar {
    display: none;
  }

  .map-tab-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .branches-multi-section {
    padding: 50px 0 65px;
  }

  .branch-map-full-card {
    border-radius: 20px;
    margin-bottom: 24px;
  }

  .map-floating-overlay-card {
    display: none;
  }

  .map-viewport-stage {
    min-height: 290px;
    height: clamp(280px, 60vw, 360px);
  }
}

@media (max-width: 576px) {
  .ref-card-upper {
    flex-wrap: wrap;
    position: relative;
    gap: 12px;
  }

  .ref-card-thumb-wrap {
    width: 100%;
    height: 160px;
    border-radius: 14px;
  }

  .ref-card-info {
    width: 100%;
  }

  .ref-card-title {
    font-size: 1.15rem;
    white-space: normal;
  }

  .ref-card-arrow-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    z-index: 5;
  }

  .ref-card-pills-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding-top: 12px;
  }

  .ref-card-pills-row .ref-pill:last-child {
    grid-column: 1 / -1;
  }

  .ref-pill {
    width: 100%;
    box-sizing: border-box;
    font-size: 0.72rem;
    padding: 6px 8px;
    justify-content: center;
    white-space: nowrap;
  }

  .pin-icon-wrapper {
    width: 36px;
    height: 36px;
  }

  .pin-img-asset {
    width: 36px;
    height: 36px;
  }

  .pin-floating-tag {
    font-size: 0.7rem;
    padding: 2px 7px 2px 3px;
  }

  .map-window-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 16px;
  }

  .map-legend-items {
    gap: 10px;
    font-size: 0.76rem;
  }

  .map-transit-note {
    font-size: 0.76rem;
  }
}

/* ==========================================================================
   About Us Page Styling (ApexEdge Brand & KidSkool Modern Aesthetics)
   ========================================================================== */

/* 1. Hero & Breadcrumbs */
.about-hero-section {
  padding: 65px 0 70px;
  background: radial-gradient(circle at 10% 20%, rgba(255, 111, 97, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(72, 202, 228, 0.09) 0%, transparent 45%),
    linear-gradient(180deg, #fff2ed 0%, var(--bg-body) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

[data-theme="dark"] .about-hero-section {
  background: radial-gradient(circle at 10% 20%, rgba(255, 111, 97, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(72, 202, 228, 0.06) 0%, transparent 45%),
    linear-gradient(180deg, #181c2e 0%, #121624 100%);
}

.about-hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 750;
  color: #64748b;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 22px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .breadcrumb-nav {
  background: rgba(30, 41, 59, 0.8);
  border-color: #334155;
  color: #cbd5e1;
}

.breadcrumb-nav a {
  color: var(--color-coral);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.breadcrumb-separator {
  color: #cbd5e1;
  font-size: 0.75rem;
}

.breadcrumb-current {
  color: var(--text-dark);
}

[data-theme="dark"] .breadcrumb-current {
  color: #f8fafc;
}

.about-hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: #1e2538;
  line-height: 1.16;
  margin: 14px 0 16px;
}

[data-theme="dark"] .about-hero-title {
  color: #f8fafc;
}

.about-hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 740px;
  margin: 0 auto 34px;
  line-height: 1.6;
}

.about-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-stat-item {
  background: #ffffff;
  padding: 14px 24px;
  border-radius: 20px;
  border: 1.5px solid #edf2f7;
  box-shadow: 0 8px 24px rgba(45, 49, 66, 0.05);
  min-width: 150px;
  transition: transform 0.25s ease;
}

[data-theme="dark"] .hero-stat-item {
  background: #1a2035;
  border-color: #2e3a54;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.hero-stat-item:hover {
  transform: translateY(-3px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--color-coral);
  display: block;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 750;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 2px;
  display: block;
}

[data-theme="dark"] .stat-label {
  color: #94a3b8;
}

/* 2. Founding Story Section */
.about-story-section {
  padding: 80px 0;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: center;
}

.story-image-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(45, 49, 66, 0.12);
  border: 2px solid #ffffff;
}

[data-theme="dark"] .story-image-card {
  border-color: #2e3a54;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6);
}

.story-main-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

.story-badges-wrap {
  display: contents;
}

.story-floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  padding: 10px 18px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--text-dark);
  border: 1px solid rgba(255, 255, 255, 0.9);
  z-index: 2;
}

[data-theme="dark"] .story-floating-badge {
  background: rgba(30, 41, 59, 0.92);
  border-color: #334155;
  color: #f1f5f9;
}

.story-floating-badge i {
  font-size: 1.4rem;
  color: var(--color-coral);
}

.story-floating-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1.2;
}

.story-floating-badge span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.badge-top-right {
  top: 24px;
  right: 24px;
}

.badge-bottom-left {
  bottom: 24px;
  left: 24px;
}

.story-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1e2538;
  line-height: 1.6;
  margin-bottom: 16px;
}

[data-theme="dark"] .story-lead {
  color: #e2e8f0;
}

.story-text {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.director-quote-box {
  background: #faf7f2;
  border-left: 4px solid var(--color-coral);
  border-radius: 0 20px 20px 0;
  padding: 22px 26px;
  margin-top: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .director-quote-box {
  background: #1e2538;
}

.quote-icon {
  font-size: 1.6rem;
  color: var(--color-coral);
  line-height: 1;
  margin-bottom: 6px;
}

.quote-text {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.55;
  margin-bottom: 12px;
}

[data-theme="dark"] .quote-text {
  color: #cbd5e1;
}

.quote-author strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 850;
  color: #1e2538;
}

[data-theme="dark"] .quote-author strong {
  color: #f1f5f9;
}

.quote-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 3. Pedagogical Pillars Grid */
.about-pillars-section {
  padding: 85px 0;
  background: #ffffff;
}

[data-theme="dark"] .about-pillars-section {
  background: #141829;
}

.pillars-playful-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 30px 22px 26px;
  border: 1.5px solid #edf2f7;
  box-shadow: 0 10px 30px rgba(45, 49, 66, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

[data-theme="dark"] .pillar-card {
  background: #1a2035;
  border-color: #2e3a54;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(45, 49, 66, 0.14);
}

.card-green:hover {
  border-color: #10b981;
}

.card-amber:hover {
  border-color: #f59e0b;
}

.card-ocean:hover {
  border-color: #0284c7;
}

.card-coral:hover {
  border-color: var(--color-coral);
}

.pillar-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.card-green .pillar-icon-wrap {
  background: #dcfce7;
  color: #10b981;
}

.card-amber .pillar-icon-wrap {
  background: #fef3c7;
  color: #d97706;
}

.card-ocean .pillar-icon-wrap {
  background: #e0f2fe;
  color: #0284c7;
}

.card-coral .pillar-icon-wrap {
  background: #ffece9;
  color: var(--color-coral);
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 850;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.pillar-perk {
  margin-top: auto;
  font-size: 0.8rem;
  font-weight: 750;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 4. Parent Confidence Perks List */
.parent-perks-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.parent-perk-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.perk-bullet {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffece9;
  color: var(--color-coral);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

[data-theme="dark"] .perk-bullet {
  background: #2e2638;
}

.parent-perk-item strong {
  font-size: 0.98rem;
  color: var(--text-dark);
  display: block;
  margin-bottom: 3px;
}

.parent-perk-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* 5. Milestones Timeline Roadmap */
.about-timeline-section {
  padding: 85px 0;
  background: var(--bg-body);
}

.timeline-roadmap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 10px;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.timeline-year-pill {
  background: var(--color-coral);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 850;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(255, 111, 97, 0.35);
  z-index: 2;
}

.timeline-step.current .timeline-year-pill {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
}

.timeline-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1.5px solid #edf2f7;
  padding: 22px 18px;
  box-shadow: 0 8px 24px rgba(45, 49, 66, 0.05);
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}

[data-theme="dark"] .timeline-card {
  background: #1a2035;
  border-color: #2e3a54;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.timeline-card:hover {
  transform: translateY(-4px);
}

.timeline-step-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 850;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.timeline-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* 6. Faculty Showcase Grid */
.about-faculty-section {
  padding: 85px 0;
  background: #ffffff;
}

[data-theme="dark"] .about-faculty-section {
  background: #141829;
}

.faculty-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.faculty-profile-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 34px 26px 28px;
  border: 1.5px solid #edf2f7;
  box-shadow: 0 10px 30px rgba(45, 49, 66, 0.06);
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
}

[data-theme="dark"] .faculty-profile-card {
  background: #1a2035;
  border-color: #2e3a54;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.faculty-profile-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px -10px rgba(45, 49, 66, 0.15);
  border-color: rgba(255, 111, 97, 0.4);
}

.faculty-avatar-wrap {
  width: 125px;
  height: 125px;
  border-radius: 50%;
  margin: 0 auto 20px;
  position: relative;
  padding: 4px;
  border: 3px solid var(--color-coral);
}

.faculty-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.faculty-tag-badge {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-coral);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 850;
  padding: 3px 11px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.faculty-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 850;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.faculty-role {
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--color-coral);
  margin-bottom: 12px;
}

.faculty-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* 7. Campuses Teaser Card */
.about-campuses-teaser {
  padding: 85px 0 100px;
}

.campuses-teaser-card {
  background: linear-gradient(135deg, #1e2538 0%, #29344f 100%);
  color: #ffffff;
  border-radius: 28px;
  padding: 45px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 20px 50px -10px rgba(11, 57, 84, 0.3);
  overflow: hidden;
}

.teaser-text-side h2 {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  margin: 10px 0 14px;
}

.teaser-text-side p {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 22px;
}

.teaser-campus-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.teaser-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 750;
  padding: 6px 14px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.teaser-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.teaser-map-preview {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.teaser-map-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* Responsive Rules for About Page */
@media (max-width: 1199px) {
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .story-main-img {
    height: 360px;
  }

  .timeline-roadmap {
    grid-template-columns: repeat(3, 1fr);
  }

  .campuses-teaser-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .about-hero-title {
    font-size: 2.3rem;
  }

  .pillars-playful-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faculty-showcase-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .timeline-roadmap {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .about-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  .hero-stat-item {
    width: 100%;
    min-width: 0;
    padding: 14px 10px;
    text-align: center;
    border-radius: 18px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .hero-stat-item .stat-number {
    font-size: 1.55rem;
    line-height: 1.2;
    margin-bottom: 4px;
  }

  .hero-stat-item .stat-label {
    font-size: 0.76rem;
    white-space: normal;
    line-height: 1.25;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .about-hero-stats {
    gap: 8px;
  }

  .hero-stat-item {
    padding: 12px 6px;
    border-radius: 14px;
  }

  .hero-stat-item .stat-number {
    font-size: 1.35rem;
  }

  .hero-stat-item .stat-label {
    font-size: 0.7rem;
  }
}

@media (max-width: 576px) {
  .about-hero-title {
    font-size: 1.15rem;
  }

  .pillars-playful-grid {
    grid-template-columns: 1fr;
  }

  .story-badges-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 10px;
    background: var(--bg-surface);
    box-sizing: border-box;
    width: 100%;
  }

  [data-theme="dark"] .story-badges-wrap {
    background: #1a2035;
  }

  .story-floating-badge {
    position: static;
    margin: 0;
    width: 100%;
    min-width: 0;
    padding: 9px 8px;
    border-radius: 14px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  }

  .story-floating-badge i {
    font-size: 1.25rem;
    flex-shrink: 0;
  }

  .story-floating-badge div {
    min-width: 0;
    overflow: hidden;
  }

  .story-floating-badge strong {
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .story-floating-badge span {
    font-size: 0.68rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }

  .campuses-teaser-card {
    padding: 26px 20px;
  }
}

@media (max-width: 380px) {
  .story-badges-wrap {
    gap: 6px;
    padding: 8px;
  }

  .story-floating-badge {
    padding: 8px 6px;
    gap: 6px;
  }

  .story-floating-badge i {
    font-size: 1.1rem;
  }

  .story-floating-badge strong {
    font-size: 0.74rem;
  }

  .story-floating-badge span {
    font-size: 0.62rem;
  }
}

/* ==========================================================================
   Contact Us Page Styling (ApexEdge Brand & KidSkool Modern Aesthetics)
   ========================================================================== */

/* 1. Hero & Breadcrumbs */
.contact-hero-section {
  padding: 65px 0 70px;
  background: radial-gradient(circle at 10% 20%, rgba(255, 111, 97, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(72, 202, 228, 0.09) 0%, transparent 45%),
    linear-gradient(180deg, #fff2ed 0%, var(--bg-body) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

[data-theme="dark"] .contact-hero-section {
  background: radial-gradient(circle at 10% 20%, rgba(255, 111, 97, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(72, 202, 228, 0.06) 0%, transparent 45%),
    linear-gradient(180deg, #181c2e 0%, #121624 100%);
}

.contact-hero-content {
  max-width: 980px;
  margin: 0 auto;
}

.contact-hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: #1e2538;
  line-height: 1.16;
  margin: 14px 0 16px;
}

[data-theme="dark"] .contact-hero-title {
  color: #f8fafc;
}

.contact-hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* 4 Quick Contact Channels */
.contact-hero-channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 10px;
}

.channel-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 24px 20px;
  border: 1.5px solid #edf2f7;
  box-shadow: 0 10px 28px rgba(45, 49, 66, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

[data-theme="dark"] .channel-card {
  background: #1a2035;
  border-color: #2e3a54;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.channel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px -8px rgba(45, 49, 66, 0.12);
}

.channel-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.card-coral .channel-icon-wrap {
  background: #ffece9;
  color: var(--color-coral);
}

.card-green .channel-icon-wrap {
  background: #dcfce7;
  color: #10b981;
}

.card-ocean .channel-icon-wrap {
  background: #e0f2fe;
  color: #0284c7;
}

.card-amber .channel-icon-wrap {
  background: #fef3c7;
  color: #d97706;
}

.channel-body {
  margin-bottom: 14px;
  flex: 1;
}

.channel-label {
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #64748b;
  display: block;
  margin-bottom: 4px;
}

[data-theme="dark"] .channel-label {
  color: #94a3b8;
}

.channel-value {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 850;
  color: var(--text-dark);
  display: block;
  line-height: 1.3;
}

.channel-value-link,
.channel-value a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, text-decoration 0.2s ease;
}

.channel-value-link:hover,
.channel-value a:hover {
  text-decoration: underline;
  opacity: 0.85;
}

.channel-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

.channel-sub-link,
.channel-sub a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, text-decoration 0.2s ease;
}

.channel-sub-link:hover,
.channel-sub a:hover {
  text-decoration: underline;
  opacity: 0.85;
}

.footer-contact-link {
  color: #ffe6e3;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.4);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-contact-link:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.channel-link {
  font-size: 0.84rem;
  font-weight: 750;
  color: var(--color-coral);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: transform 0.2s ease;
  margin-top: auto;
}

.channel-link:hover {
  transform: translateX(3px);
  color: #e0584b;
}

.channel-link.link-green {
  color: #10b981;
}

.channel-link.link-green:hover {
  color: #059669;
}

.channel-link.link-ocean {
  color: #0284c7;
}

.channel-link.link-ocean:hover {
  color: #0369a1;
}

.channel-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 750;
  color: #10b981;
  background: #dcfce7;
  padding: 4px 12px;
  border-radius: 50px;
  margin-top: auto;
}

[data-theme="dark"] .channel-status-badge {
  background: #064e3b;
  color: #a7f3d0;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  animation: pulseBeacon 1.5s infinite;
}

/* 2. Contact Page: Learning Centers in 1 Row Section */
.contact-centers-section {
  padding: 85px 0 65px;
  background: var(--bg-body);
}

.card-highlight-pulse {
  animation: pulseCard 1.2s ease;
}

@keyframes pulseCard {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 111, 97, 0.6);
  }

  50% {
    transform: scale(1.02);
    box-shadow: 0 0 0 12px rgba(255, 111, 97, 0);
  }

  100% {
    transform: scale(1);
  }
}

/* 3. Dedicated Consultation & Inquiry Form Section */
.contact-form-section {
  padding: 30px 0 85px;
  background: #ffffff;
}

[data-theme="dark"] .contact-form-section {
  background: #141829;
}

.contact-form-center-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.contact-form-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 42px 38px;
  border: 2px solid #ffede8;
  box-shadow: 0 20px 50px -10px rgba(255, 111, 97, 0.12);
  position: relative;
}

[data-theme="dark"] .contact-form-card {
  background: #1a2035;
  border-color: #382c35;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6);
}

.form-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-coral);
  background: #ffece9;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

[data-theme="dark"] .form-card-badge {
  background: #2e2430;
}

.form-card-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 850;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 8px;
}

.form-card-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 24px;
}

.contact-custom-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group-playful {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label-playful {
  font-size: 0.84rem;
  font-weight: 800;
  color: #334155;
}

[data-theme="dark"] .form-label-playful {
  color: #cbd5e1;
}

.required-star {
  color: var(--color-coral);
}

.optional-tag {
  font-size: 0.74rem;
  font-weight: 600;
  color: #94a3b8;
}

.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrap>i {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  font-size: 1.05rem;
  pointer-events: none;
  transition: color 0.2s ease;
}

.input-icon-wrap.textarea-wrap>i {
  top: 14px;
}

.form-input-playful,
.form-select-playful,
.form-textarea-playful {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  background: #fdfdfd;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.form-select-playful {
  padding: 12px 38px 12px 42px;
  text-indent: 0;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 15px) center;
  background-size: 14px 14px;
}

.form-select-playful option {
  text-indent: 0;
  padding: 8px 12px;
  background: #ffffff;
  color: var(--text-dark, #1e293b);
}

[data-theme="dark"] .form-select-playful {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

[data-theme="dark"] .form-select-playful option {
  background: #1a2035;
  color: #f1f5f9;
}

[data-theme="dark"] .form-input-playful,
[data-theme="dark"] .form-select-playful,
[data-theme="dark"] .form-textarea-playful {
  background: #141829;
  border-color: #334155;
  color: #f1f5f9;
}

.form-input-playful:focus,
.form-select-playful:focus,
.form-textarea-playful:focus {
  outline: none;
  border-color: var(--color-coral);
  box-shadow: 0 0 0 3px rgba(255, 111, 97, 0.18);
  background: #ffffff;
}

[data-theme="dark"] .form-input-playful:focus,
[data-theme="dark"] .form-select-playful:focus,
[data-theme="dark"] .form-textarea-playful:focus {
  background: #1e2538;
}

.input-icon-wrap:focus-within>i {
  color: var(--color-coral);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Communication Mode Pills */
.contact-mode-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mode-pill {
  display: flex;
  height: 100%;
}

.mode-pill input {
  display: none;
}

.mode-pill-box {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  font-size: 0.82rem;
  font-weight: 750;
  color: #475569;
  cursor: pointer;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.mode-pill-box i {
  font-size: 1rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.mode-pill-box .bi-telephone-fill {
  color: #3b82f6;
}

.mode-pill-box .bi-whatsapp {
  color: #16a34a;
}

.mode-pill-box .bi-building,
.mode-pill-box .bi-buildings-fill {
  color: #f97316;
}

.mode-pill:hover .mode-pill-box {
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
}

[data-theme="dark"] .mode-pill-box {
  background: #141829;
  border-color: #334155;
  color: #94a3b8;
  box-shadow: none;
}

.mode-pill input:checked+.mode-pill-box {
  border: 2px solid var(--color-coral, #ff6f61);
  background: linear-gradient(135deg, #fff7f5 0%, #ffedea 100%);
  color: #d93829;
  box-shadow: 0 4px 14px rgba(255, 111, 97, 0.22), 0 0 0 1px rgba(255, 111, 97, 0.15);
  transform: translateY(-1px);
}

.mode-pill input:checked+.mode-pill-box i {
  transform: scale(1.12);
}

.mode-pill input:checked+.mode-pill-box .bi-telephone-fill,
.mode-pill input:checked+.mode-pill-box .bi-whatsapp,
.mode-pill input:checked+.mode-pill-box .bi-building,
.mode-pill input:checked+.mode-pill-box .bi-buildings-fill {
  color: #d93829;
}

[data-theme="dark"] .mode-pill input:checked+.mode-pill-box {
  background: #2e2126;
  color: #ff8a7d;
  border-color: #ff6f61;
  box-shadow: 0 4px 14px rgba(255, 111, 97, 0.3);
}

[data-theme="dark"] .mode-pill input:checked+.mode-pill-box i {
  color: #ff8a7d;
}

.btn-submit-inquiry {
  width: 100%;
  padding: 14px 22px;
  font-size: 0.98rem;
  font-weight: 750;
  letter-spacing: 0.2px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 50px;
  background: linear-gradient(135deg, #ff6f61 0%, #ee5244 50%, #d83a2c 100%);
  box-shadow: 0 8px 22px rgba(255, 111, 97, 0.38), 0 2px 6px rgba(255, 111, 97, 0.2);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-submit-inquiry:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 111, 97, 0.5), 0 4px 10px rgba(255, 111, 97, 0.25);
}

.btn-submit-inquiry:hover i {
  transform: translateX(4px) translateY(-2px);
}

.btn-submit-inquiry i {
  transition: transform 0.2s ease;
}

.form-trust-footnote {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 6px;
  line-height: 1.4;
}

.form-trust-footnote i {
  color: #10b981;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Dual Split Section: Map (Left) & Contact Inquiry Form (Right)
   ========================================================================== */
.contact-centers-section {
  padding: 60px 0 35px;
  background: #ffffff;
}

[data-theme="dark"] .contact-centers-section {
  background: #141829;
}

.contact-split-section {
  padding: 40px 0 95px;
  background: #faf7f2;
}

[data-theme="dark"] .contact-split-section {
  background: #0d111d;
}

.contact-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: stretch;
}

/* Left: Surat Campus Map Side */
.split-map-side {
  display: flex;
  flex-direction: column;
}

.split-map-side .contact-map-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border-radius: 28px;
  border: 2px solid #edf2f7;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(45, 49, 66, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .split-map-side .contact-map-card {
  background: #1a2035;
  border-color: #2e3a54;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.split-map-side .map-display-stage {
  flex: 1 1 auto;
  min-height: 480px;
  position: relative;
  width: 100%;
  background: #0f172a;
  overflow: hidden;
}

/* Right: Contact Inquiry Form Side */
.split-form-side {
  display: flex;
  flex-direction: column;
}

.split-form-side .contact-form-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border-radius: 28px;
  padding: 38px 34px;
  border: 2px solid #ffede8;
  box-shadow: 0 20px 50px -10px rgba(255, 111, 97, 0.12);
  position: relative;
  box-sizing: border-box;
}

[data-theme="dark"] .split-form-side .contact-form-card {
  background: #1a2035;
  border-color: #382c35;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6);
}

.split-form-side .contact-custom-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 4px;
}

.map-window-header {
  background: #faf7f2;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid #edf2f7;
  flex-wrap: wrap;
  gap: 12px;
}

[data-theme="dark"] .map-window-header {
  background: #1e2538;
  border-bottom-color: #2e3a54;
}

.map-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #334155;
  font-weight: 600;
}

.map-header-left strong {
  color: #0f172a;
  font-weight: 800;
}

[data-theme="dark"] .map-header-left {
  color: #cbd5e1;
}

[data-theme="dark"] .map-header-left strong {
  color: #f8fafc;
}

.map-header-left i {
  color: var(--color-coral);
  font-size: 1.1rem;
}

.map-quick-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge-point {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.point-coral {
  background: #ffece9;
  color: var(--color-coral);
}

.point-amber {
  background: #fef3c7;
  color: #d97706;
}

.point-ocean {
  background: #e0f2fe;
  color: #0284c7;
}

.map-display-stage {
  position: relative;
  width: 100%;
  height: 460px;
  background: #0f172a;
  overflow: hidden;
}

.surat-map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(1.1);
}

.map-contact-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-contact-pin:hover {
  transform: translate(-50%, -108%) scale(1.08);
}

.pin-1 {
  top: 46%;
  left: 45%;
}

.pin-2 {
  top: 68%;
  left: 58%;
}

.pin-3 {
  top: 78%;
  left: 42%;
}

.pin-tag-badge {
  background: #ffffff;
  border-radius: 50px;
  padding: 4px 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  font-size: 0.78rem;
  font-weight: 850;
  color: #1e2538;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
  white-space: nowrap;
  border: 1.5px solid #edf2f7;
}

.pin-num {
  background: var(--color-coral);
  color: #ffffff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
}

.pin-2 .pin-num {
  background: #f59e0b;
}

.pin-3 .pin-num {
  background: #0284c7;
}

.pin-core {
  position: relative;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin-asset {
  width: 32px;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.pin-wave {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  animation: pinRadar 2s infinite ease-out;
}

.wave-coral {
  background: rgba(255, 111, 97, 0.5);
}

.wave-amber {
  background: rgba(245, 158, 11, 0.5);
}

.wave-ocean {
  background: rgba(2, 132, 199, 0.5);
}

@keyframes pinRadar {
  0% {
    transform: translateX(-50%) scale(0.6);
    opacity: 1;
  }

  100% {
    transform: translateX(-50%) scale(2.4);
    opacity: 0;
  }
}

.map-transit-strip {
  background: #ffffff;
  padding: 18px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1.5px solid #edf2f7;
}

[data-theme="dark"] .map-transit-strip {
  background: #1a2035;
  border-top-color: #2e3a54;
}

.transit-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.transit-item i {
  font-size: 1.5rem;
  color: var(--color-coral);
}

.transit-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.transit-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 5. Support Desks Section */
.contact-desks-section {
  padding: 85px 0;
  background: var(--bg-body);
}

.desks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.desk-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 28px 22px;
  border: 1.5px solid #edf2f7;
  box-shadow: 0 10px 28px rgba(45, 49, 66, 0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

[data-theme="dark"] .desk-card {
  background: #1a2035;
  border-color: #2e3a54;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.desk-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px -8px rgba(45, 49, 66, 0.12);
}

.desk-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.desk-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 850;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.desk-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}

.desk-contacts {
  font-size: 0.82rem;
  font-weight: 750;
  color: #475569;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px dashed #edf2f7;
}

[data-theme="dark"] .desk-contacts {
  color: #cbd5e1;
  border-top-color: #2e3a54;
}

.desk-contacts i {
  color: var(--color-coral);
  margin-right: 4px;
}

/* 6. FAQ Accordion Section */
.contact-faq-section {
  padding: 85px 0;
  background: #ffffff;
}

[data-theme="dark"] .contact-faq-section {
  background: #141829;
}

.faq-accordion-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border-radius: 18px;
  border: 1.5px solid #edf2f7;
  overflow: hidden;
  transition: all 0.25s ease;
}

[data-theme="dark"] .faq-item {
  background: #1a2035;
  border-color: #2e3a54;
}

.faq-item.active {
  border-color: var(--color-coral);
  box-shadow: 0 8px 24px rgba(255, 111, 97, 0.08);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 850;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  transition: color 0.2s ease;
}

[data-theme="dark"] .faq-question {
  color: #f1f5f9;
}

.faq-icon {
  font-size: 1.1rem;
  color: var(--color-coral);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 280px;
  padding: 0 24px 22px;
}

.faq-answer p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.faq-answer strong {
  color: var(--text-dark);
}

/* 7. Pre-Footer Call to Action Banner */
.contact-cta-section {
  padding: 60px 0 90px;
}

.contact-cta-banner {
  background: linear-gradient(135deg, var(--color-coral) 0%, #ff5240 100%);
  color: #ffffff;
  border-radius: 30px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 20px 50px -10px rgba(255, 111, 97, 0.4);
  position: relative;
  overflow: hidden;
}

.cta-banner-content {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #ffffff;
}

.cta-subtitle {
  font-size: 1.08rem;
  color: #ffe6e3;
  line-height: 1.6;
  margin-bottom: 28px;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-pill-outline-light {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-pill-outline-light:hover {
  background: #ffffff;
  color: var(--color-coral);
}

/* Responsive Breakpoints */
@media (max-width: 1199px) {
  .contact-hero-channels {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-split-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .split-map-side .map-display-stage {
    min-height: 440px;
    height: 440px;
  }

  .desks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .contact-hero-title {
    font-size: 2.3rem;
  }

  .map-transit-strip {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 576px) {
  .contact-hero-section {
    padding: 35px 0 45px;
  }

  .breadcrumb-nav {
    font-size: 0.78rem;
    padding: 4px 14px;
    margin-bottom: 12px;
  }

  .section-tag-playful {
    font-size: 0.76rem;
    padding: 4px 12px;
    max-width: 94%;
    margin: 0 auto 10px;
  }

  .contact-hero-title {
    font-size: 1.18rem;
    line-height: 1.26;
    word-break: break-word;
    padding: 0 14px;
  }

  .highlight-coral-curve {
    display: inline-block;
    padding: 0 4px;
  }

  .contact-hero-subtitle {
    font-size: 0.92rem;
    padding: 0 14px;
    margin-bottom: 22px;
  }

  .contact-hero-channels {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .column-title {
    font-size: 1.65rem;
  }

  .campus-detailed-card {
    padding: 20px 16px;
  }

  .campus-card-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .campus-card-footer .btn-pill {
    width: 100%;
    justify-content: center;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .contact-split-section {
    padding: 24px 0 50px;
  }

  .contact-split-grid {
    gap: 22px;
  }

  /* Map Card Header on Mobile */
  .map-window-header {
    padding: 12px 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .map-header-left {
    font-size: 0.82rem;
  }

  .map-header-left i {
    font-size: 1rem;
  }

  .map-quick-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    width: 100%;
  }

  .badge-point {
    font-size: 0.72rem;
    padding: 6px 4px;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    border-radius: 8px;
  }

  /* Map Display Stage & Pins on Mobile */
  .split-map-side .map-display-stage {
    min-height: 380px;
    height: 380px;
  }

  .pin-1 {
    top: 36%;
    left: 58%;
  }

  .pin-2 {
    top: 55%;
    left: 66%;
  }

  .pin-3 {
    top: 74%;
    left: 38%;
  }

  .pin-tag-badge {
    font-size: 0.72rem;
    padding: 3px 8px;
    margin-bottom: 2px;
    gap: 4px;
    border-radius: 30px;
  }

  .pin-num {
    width: 16px;
    height: 16px;
    font-size: 0.62rem;
  }

  .pin-asset {
    width: 22px;
    height: 28px;
  }

  .pin-wave {
    width: 26px;
    height: 11px;
    bottom: -3px;
  }

  /* Transit Strip on Mobile */
  .map-transit-strip {
    padding: 12px 14px;
    gap: 10px;
  }

  .transit-item {
    gap: 10px;
  }

  .transit-item i {
    font-size: 1.25rem;
  }

  .transit-item strong {
    font-size: 0.8rem;
  }

  .transit-item span {
    font-size: 0.72rem;
  }

  /* Contact Form Card on Mobile */
  .contact-form-card,
  .split-form-side .contact-form-card {
    padding: 24px 16px;
    border-radius: 22px;
  }

  .form-card-badge {
    font-size: 0.75rem;
    padding: 4px 12px;
    margin-bottom: 10px;
  }

  .form-card-title {
    font-size: 1.35rem;
    line-height: 1.25;
    margin-bottom: 6px;
  }

  .form-card-desc {
    font-size: 0.84rem;
    line-height: 1.45;
    margin-bottom: 16px;
  }

  .form-group-playful {
    margin-bottom: 12px;
  }

  .form-label-playful {
    font-size: 0.8rem;
    margin-bottom: 5px;
  }

  .form-input-playful,
  .form-select-playful {
    font-size: 0.88rem;
    padding: 11px 14px 11px 38px;
    border-radius: 14px;
  }

  .form-select-playful {
    padding-right: 34px;
    text-indent: 0;
    background-position: calc(100% - 12px) center;
    background-size: 13px 13px;
  }

  .form-textarea-playful {
    font-size: 0.88rem;
    padding: 11px 14px 11px 38px;
    border-radius: 14px;
  }

  .input-icon-wrap i {
    left: 12px;
    font-size: 1rem;
  }

  .contact-mode-pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .mode-pill {
    display: flex;
    height: 100%;
  }

  .mode-pill-box {
    flex-direction: column;
    padding: 9px 3px 8px;
    font-size: 0.74rem;
    font-weight: 750;
    border-radius: 12px;
    gap: 5px;
    text-align: center;
    white-space: nowrap;
  }

  .mode-pill-box i {
    font-size: 1.15rem;
  }

  .btn-submit-inquiry {
    padding: 14px 18px;
    font-size: 0.94rem;
    border-radius: 50px;
  }

  .form-trust-footnote {
    font-size: 0.72rem;
    text-align: center;
    line-height: 1.35;
  }

  .desks-grid {
    grid-template-columns: 1fr;
  }

  .cta-title {
    font-size: 1.55rem;
  }

  .cta-banner-content {
    padding: 0 10px;
  }

  .cta-buttons .btn-pill {
    width: 100%;
    justify-content: center;
  }
}

.demo-pass {
  font-size: 0.95rem;
  font-weight: 750;
  margin-top: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  letter-spacing: 0.2px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.demo-pass:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(251, 133, 0, 0.45);
}

.demo-pass:hover i {
  transform: translateX(4px);
}

.demo-pass i {
  transition: transform 0.2s ease;
}

/* ==========================================================================
   Courses & Academic Pathways Page Styles
   ========================================================================== */

.courses-hero-section {
  padding: 65px 0 60px;
  background: radial-gradient(circle at 10% 20%, rgba(255, 111, 97, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(72, 202, 228, 0.09) 0%, transparent 45%),
    linear-gradient(180deg, #fff2ed 0%, var(--bg-body) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

[data-theme="dark"] .courses-hero-section {
  background: radial-gradient(circle at 10% 20%, rgba(255, 111, 97, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(72, 202, 228, 0.06) 0%, transparent 45%),
    linear-gradient(180deg, #181c2e 0%, #121624 100%);
}

.courses-hero-content {
  max-width: 1080px;
  margin: 0 auto;
}

.courses-hero-title {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  font-weight: 900;
  color: #1e2538;
  line-height: 1.18;
  margin: 14px 0 16px;
}

[data-theme="dark"] .courses-hero-title {
  color: #f8fafc;
}

.courses-hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.courses-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1040px;
  margin: 0 auto;
  align-items: stretch;
}

.courses-hero-stats .hero-stat-item {
  min-width: 0;
  padding: 16px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.courses-hero-stats .stat-number {
  font-size: 1.65rem;
  white-space: nowrap;
}

.courses-hero-stats .stat-label {
  font-size: 0.74rem;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

/* Category Filter Bar (Inline Single-Row with Smooth Mobile Swipe) */
.courses-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
  margin: 0 auto 38px;
  max-width: 100%;
  overflow-x: auto;
  padding: 6px 10px 14px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.courses-filter-bar::-webkit-scrollbar {
  display: none;
}

.course-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 50px;
  font-weight: 750;
  font-size: 0.85rem;
  font-family: var(--font-body);
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  user-select: none;
}

.course-filter-btn i {
  font-size: 0.95rem;
}

.course-filter-btn:hover {
  border-color: var(--color-coral);
  color: var(--color-coral);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(255, 111, 97, 0.15);
}

.course-filter-btn.active {
  background: linear-gradient(135deg, #ff6f61 0%, #ee5253 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(255, 111, 97, 0.35);
  transform: translateY(-2px);
}

[data-theme="dark"] .course-filter-btn {
  background: #1a2035;
  border-color: #334155;
  color: #94a3b8;
  box-shadow: none;
}

[data-theme="dark"] .course-filter-btn:hover {
  border-color: var(--color-coral);
  color: #ff8a7d;
}

[data-theme="dark"] .course-filter-btn.active {
  background: linear-gradient(135deg, #ff6f61 0%, #ee5253 100%);
  color: #ffffff;
  border-color: transparent;
}

/* Academic Dossier Cards Stack */
.courses-cards-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 50px;
}

/* Master Academic Dossier Card */
.academic-dossier-card,
.course-detail-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 12px 28px -4px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  position: relative;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

[data-theme="dark"] .academic-dossier-card,
[data-theme="dark"] .course-detail-card {
  background: #131a2b;
  border-color: #24324c;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

/* Subtle Stream Accent Borders */


.academic-dossier-card:hover,
.course-detail-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px -2px rgba(0, 0, 0, 0.04), 0 20px 40px -6px rgba(15, 23, 42, 0.1);
  border-color: #cbd5e1;
}

[data-theme="dark"] .academic-dossier-card:hover,
[data-theme="dark"] .course-detail-card:hover {
  border-color: #3b4d70;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6);
}

/* Dossier Grid Layout */
.dossier-grid,
.course-card-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  align-items: stretch;
}

/* Left Column: Visual & Quick Snapshot Slate */
.dossier-media-col {
  background: #f8fafc;
  border-right: 1.5px solid #edf2f7;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

[data-theme="dark"] .dossier-media-col {
  background: #0c121e;
  border-right-color: #1e2a40;
}

.dossier-img-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  background: #0f172a;
}

.dossier-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.academic-dossier-card:hover .dossier-img {
  transform: scale(1.04);
}

.dossier-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.2) 45%, transparent 75%);
  display: flex;
  align-items: flex-end;
  padding: 10px 12px;
  pointer-events: none;
}

.dossier-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.73rem;
  font-weight: 750;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  letter-spacing: 0.01em;
}

.dossier-meta-chip i {
  font-size: 0.82rem;
  color: #f1f5f9;
}

/* At a Glance Snapshot Table */
.dossier-snapshot-box {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.snapshot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 4px;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 0.82rem;
}

.snapshot-row:last-child {
  border-bottom: none;
}

[data-theme="dark"] .snapshot-row {
  border-bottom-color: #1e2a40;
}

.snap-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 650;
  color: #64748b;
  letter-spacing: 0.01em;
}

.snap-label i {
  font-size: 0.88rem;
  color: #94a3b8;
}

[data-theme="dark"] .snap-label {
  color: #94a3b8;
}

[data-theme="dark"] .snap-label i {
  color: #64748b;
}

.snap-val {
  font-weight: 750;
  color: #1e293b;
  text-align: right;
  font-size: 0.82rem;
}

[data-theme="dark"] .snap-val {
  color: #f1f5f9;
}

/* Right Column: Academic Architecture */
.dossier-content-col {
  padding: 28px 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.dossier-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.dossier-badges {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.stream-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
}

.stream-foundation {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.stream-engineering {
  background: #ffe4e6;
  color: #be123c;
  border: 1px solid #fecdd3;
}

.stream-medical {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.stream-fasttrack {
  background: #f3e8ff;
  color: #6b21a8;
  border: 1px solid #e9d5ff;
}

.stream-repeater {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #ffedd5;
}

[data-theme="dark"] .stream-foundation {
  background: rgba(2, 132, 199, 0.15);
  color: #38bdf8;
  border-color: rgba(2, 132, 199, 0.3);
}

[data-theme="dark"] .stream-engineering {
  background: rgba(225, 29, 72, 0.15);
  color: #fb7185;
  border-color: rgba(225, 29, 72, 0.3);
}

[data-theme="dark"] .stream-medical {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

[data-theme="dark"] .stream-fasttrack {
  background: rgba(147, 51, 234, 0.15);
  color: #c084fc;
  border-color: rgba(147, 51, 234, 0.3);
}

[data-theme="dark"] .stream-repeater {
  background: rgba(234, 88, 12, 0.15);
  color: #fb923c;
  border-color: rgba(234, 88, 12, 0.3);
}

.stream-board-tag {
  font-size: 0.74rem;
  font-weight: 650;
  color: #64748b;
  background: #f1f5f9;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

[data-theme="dark"] .stream-board-tag {
  background: #192237;
  color: #94a3b8;
  border-color: #27354f;
}

.dossier-batch-status {
  font-size: 0.78rem;
  font-weight: 750;
  color: #059669;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ecfdf5;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid #d1fae5;
}

[data-theme="dark"] .dossier-batch-status {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.25);
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
}

.status-pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.45);
  animation: pulseRadar 1.8s infinite;
}

@keyframes pulseRadar {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.6);
    opacity: 0;
  }

  100% {
    transform: scale(0.9);
    opacity: 0;
  }
}

.dossier-title {
  font-family: var(--font-heading);
  font-size: 1.48rem;
  font-weight: 850;
  line-height: 1.3;
  color: var(--text-dark, #0f172a);
  margin: 0 0 10px;
  letter-spacing: -0.015em;
}

[data-theme="dark"] .dossier-title {
  color: #f8fafc;
}

.dossier-desc {
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--text-muted, #475569);
  margin: 0 0 22px;
}

[data-theme="dark"] .dossier-desc {
  color: #94a3b8;
}

/* Structured Academic Roadmap (3-Phase Milestones) */
.dossier-roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.roadmap-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 10px;
  padding: 12px 14px;
  transition: all 0.22s ease;
}

.roadmap-item:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

[data-theme="dark"] .roadmap-item {
  background: #0f1524;
  border-color: #1e283d;
}

[data-theme="dark"] .roadmap-item:hover {
  background: #151d30;
  border-color: #2e3e5c;
}

.roadmap-marker {
  font-family: var(--font-heading, monospace);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  color: var(--text-dark, #0f172a);
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.theme-sky .roadmap-marker {
  color: #0284c7;
  background: #f0f9ff;
  border-color: #bae6fd;
}

.theme-coral .roadmap-marker {
  color: #e11d48;
  background: #fff1f2;
  border-color: #fecdd3;
}

.theme-yellow .roadmap-marker {
  color: #059669;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.theme-purple .roadmap-marker {
  color: #7c3aed;
  background: #f5f3ff;
  border-color: #e9d5ff;
}

.theme-pink .roadmap-marker {
  color: #ea580c;
  background: #fff7ed;
  border-color: #fed7aa;
}

[data-theme="dark"] .roadmap-marker {
  background: #1a233a;
  border-color: #334466;
  color: #e2e8f0;
}

[data-theme="dark"] .theme-sky .roadmap-marker {
  color: #38bdf8;
  background: rgba(2, 132, 199, 0.16);
  border-color: rgba(2, 132, 199, 0.35);
}

[data-theme="dark"] .theme-coral .roadmap-marker {
  color: #fb7185;
  background: rgba(225, 29, 72, 0.16);
  border-color: rgba(225, 29, 72, 0.35);
}

[data-theme="dark"] .theme-yellow .roadmap-marker {
  color: #34d399;
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.35);
}

[data-theme="dark"] .theme-purple .roadmap-marker {
  color: #c084fc;
  background: rgba(147, 51, 234, 0.16);
  border-color: rgba(147, 51, 234, 0.35);
}

[data-theme="dark"] .theme-pink .roadmap-marker {
  color: #fb923c;
  background: rgba(234, 88, 12, 0.16);
  border-color: rgba(234, 88, 12, 0.35);
}

.roadmap-info {
  flex: 1;
  min-width: 0;
}

.roadmap-info h4 {
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.28;
  color: var(--text-dark, #0f172a);
  margin: 0 0 4px;
}

[data-theme="dark"] .roadmap-info h4 {
  color: #f1f5f9;
}

.roadmap-info p {
  font-size: 0.76rem;
  line-height: 1.42;
  color: var(--text-muted, #64748b);
  margin: 0;
}

[data-theme="dark"] .roadmap-info p {
  color: #94a3b8;
}

/* Footer Row with Scholarship Callout & Dual Action Buttons */
.dossier-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid #edf2f7;
  flex-wrap: wrap;
}

[data-theme="dark"] .dossier-footer {
  border-top-color: #1e2a40;
}

.dossier-scholarship {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #475569;
}

.dossier-scholarship i {
  color: #d97706;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.dossier-scholarship strong {
  color: #0f172a;
  font-weight: 750;
}

[data-theme="dark"] .dossier-scholarship {
  color: #94a3b8;
}

[data-theme="dark"] .dossier-scholarship strong {
  color: #f8fafc;
}

.dossier-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-dossier-secondary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #334155;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-dossier-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
  transform: translateY(-1px);
}

[data-theme="dark"] .btn-dossier-secondary {
  background: #141b2d;
  border-color: #2d3b55;
  color: #cbd5e1;
}

[data-theme="dark"] .btn-dossier-secondary:hover {
  background: #1c253b;
  border-color: #475569;
  color: #ffffff;
}

.btn-dossier-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 750;
  color: #ffffff;
  background: linear-gradient(135deg, #ff6f61 0%, #ee5253 100%);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(238, 82, 83, 0.25);
  transition: all 0.22s ease;
}

.btn-dossier-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(238, 82, 83, 0.35);
  filter: brightness(1.05);
}

.btn-dossier-primary i {
  transition: transform 0.2s ease;
  font-size: 0.92rem;
}

.btn-dossier-primary:hover i {
  transform: translateX(3px);
}

/* ==========================================================================
   Pedagogy Learning Loop
   ========================================================================== */
.courses-engine-section {
  padding: 60px 0 50px;
  background: #ffffff;
}

[data-theme="dark"] .courses-engine-section {
  background: #0f1423;
}

.pedagogy-loop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pedagogy-step-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 30px 22px 26px;
  border: 2px solid #edf2f7;
  position: relative;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

[data-theme="dark"] .pedagogy-step-card {
  background: #1a2035;
  border-color: #2e3a54;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.pedagogy-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
}

.step-badge-num {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 900;
  color: #cbd5e1;
}

[data-theme="dark"] .step-badge-num {
  color: #475569;
}

.step-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .step-icon-wrap {
  background: #141829;
}

.pedagogy-step-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-dark);
}

[data-theme="dark"] .pedagogy-step-card h4 {
  color: #f8fafc;
}

.pedagogy-step-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   Program Comparison Matrix Table
   ========================================================================== */
.courses-matrix-section {
  padding: 55px 0 60px;
  background: #fbfcfe;
}

[data-theme="dark"] .courses-matrix-section {
  background: #121727;
}

.table-responsive-card {
  background: #ffffff;
  border-radius: 24px;
  border: 2px solid #edf2f7;
  box-shadow: 0 16px 40px rgba(45, 49, 66, 0.06);
  overflow-x: auto;
  padding: 6px;
}

[data-theme="dark"] .table-responsive-card {
  background: #1a2035;
  border-color: #2e3a54;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.program-matrix-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  text-align: left;
}

.program-matrix-table th,
.program-matrix-table td {
  padding: 14px 18px;
  font-size: 0.88rem;
  border-bottom: 1px solid #edf2f7;
}

[data-theme="dark"] .program-matrix-table th,
[data-theme="dark"] .program-matrix-table td {
  border-bottom-color: #2e3a54;
  color: #cbd5e1;
}

.program-matrix-table thead th {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.94rem;
  background: #f8fafc;
  color: var(--text-dark);
}

[data-theme="dark"] .program-matrix-table thead th {
  background: #141829;
  color: #f8fafc;
}

.program-matrix-table th.col-sky {
  color: #0284c7;
}

.program-matrix-table th.col-coral {
  color: var(--color-coral);
}

.program-matrix-table th.col-yellow {
  color: #d97706;
}

.program-matrix-table th.col-purple {
  color: #7c3aed;
}

.program-matrix-table tbody tr:hover {
  background: rgba(255, 111, 97, 0.03);
}

[data-theme="dark"] .program-matrix-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* ==========================================================================
   ASAT Scholarship Banner
   ========================================================================== */
.courses-asat-section {
  padding: 50px 0 60px;
}

.asat-banner-card {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 28px;
  padding: 44px 48px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2);
}

.asat-banner-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 111, 97, 0.25) 0%, transparent 70%);
}

.asat-title {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 900;
  color: #ffffff;
  margin: 12px 0 14px;
}

.asat-desc {
  font-size: 0.98rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 20px;
}

.asat-perks {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 24px;
}

.asat-perks i {
  color: #10b981;
}

.asat-mascot-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.asat-stat-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 30px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.badge-big {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: #fbbf24;
  display: block;
  line-height: 1.1;
  margin-bottom: 6px;
}

.badge-sub {
  font-size: 0.88rem;
  color: #cbd5e1;
}

/* ==========================================================================
   Courses FAQ Accordion
   ========================================================================== */
.courses-faq-section {
  padding: 50px 0 60px;
  background: #ffffff;
}

[data-theme="dark"] .courses-faq-section {
  background: #0f1423;
}

.courses-faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #f8fafc;
  border: 1.5px solid #edf2f7;
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.25s ease;
}

[data-theme="dark"] .faq-item {
  background: #141829;
  border-color: #2e3a54;
}

.faq-item.active {
  border-color: var(--color-coral);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(255, 111, 97, 0.08);
}

[data-theme="dark"] .faq-item.active {
  background: #1a2035;
  border-color: var(--color-coral);
}

.faq-question {
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 750;
  color: var(--text-dark);
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
}

[data-theme="dark"] .faq-question {
  color: #f1f5f9;
}

.faq-icon {
  font-size: 1rem;
  color: var(--color-coral);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 16px;
  display: none;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-answer p {
  margin: 0;
}

/* ==========================================================================
   Courses CTA Section
   ========================================================================== */
.courses-cta-section {
  padding: 60px 0 70px;
  background: linear-gradient(135deg, #fff2ed 0%, #ffece9 100%);
  text-align: center;
}

[data-theme="dark"] .courses-cta-section {
  background: linear-gradient(135deg, #1e1e30 0%, #151624 100%);
}

/* ==========================================================================
   Responsive Adaptations (Courses Page)
   ========================================================================== */
@media (max-width: 991px) {
  .courses-hero-stats {
    gap: 12px;
  }

  .courses-hero-stats .hero-stat-item {
    padding: 12px 8px;
  }

  .courses-hero-stats .stat-number {
    font-size: 1.45rem;
  }

  .courses-hero-stats .stat-label {
    font-size: 0.68rem;
  }

  .courses-filter-bar {
    justify-content: flex-start;
    padding: 6px 14px 14px;
    -webkit-overflow-scrolling: touch;
  }

  .dossier-grid,
  .course-card-inner {
    grid-template-columns: 1fr;
  }

  .dossier-media-col {
    border-right: none;
    border-bottom: 1.5px solid #edf2f7;
  }

  [data-theme="dark"] .dossier-media-col {
    border-bottom-color: #1e2a40;
  }

  .dossier-img-frame {
    max-height: 260px;
    aspect-ratio: 16/9;
  }

  .dossier-roadmap {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .course-card-media {
    min-height: 220px;
    height: 220px;
  }

  .pedagogy-loop-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .asat-banner-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    text-align: center;
  }

  .asat-perks {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .courses-hero-title {
    font-size: 2.1rem;
  }

  .courses-hero-subtitle {
    font-size: 0.96rem;
  }

  .courses-hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 520px;
  }

  .dossier-content-col {
    padding: 22px 18px;
  }

  .dossier-header-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .dossier-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .dossier-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .btn-dossier-secondary,
  .btn-dossier-primary {
    width: 100%;
    justify-content: center;
  }

  .course-card-body {
    padding: 22px 18px;
  }

  .curriculum-pills-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .course-specs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 12px 14px;
  }

  .course-card-buttons {
    width: 100%;
    flex-direction: column;
  }

  .btn-card-outline,
  .course-card-buttons .btn-pill {
    width: 100%;
    justify-content: center;
  }

  .pedagogy-loop-grid {
    grid-template-columns: 1fr;
  }

  .asat-title {
    font-size: 1.65rem;
  }
}

@media (max-width: 480px) {
  .courses-hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .courses-hero-stats .hero-stat-item {
    padding: 10px 6px;
  }

  .courses-hero-stats .stat-number {
    font-size: 1.3rem;
  }

  .courses-hero-stats .stat-label {
    font-size: 0.64rem;
  }

  .dossier-actions {
    grid-template-columns: 1fr;
  }

  .dossier-title {
    font-size: 1.25rem;
  }

  .snapshot-row {
    font-size: 0.78rem;
  }

  .snap-label {
    font-size: 0.74rem;
  }

  .snap-val {
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   Interactive Form Validation & Feedback Styles (ApexEdge Theme)
   ========================================================================== */

/* Field Error Text */
.field-error {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 750;
  color: #ef4444;
  margin-top: 6px;
  line-height: 1.35;
  padding: 2px 4px;
}

.field-error.active {
  display: flex;
  animation: fieldErrorSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.field-error i {
  font-size: 0.92rem;
  flex-shrink: 0;
  color: #ef4444;
}

@keyframes fieldErrorSlideIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Invalid State for Form Inputs */
.form-input-playful.is-invalid,
.form-select-playful.is-invalid,
.form-textarea-playful.is-invalid,
.form-input-pink.is-invalid,
.form-control.is-invalid {
  border-color: #ef4444 !important;
  background-color: #fffaf9 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.16) !important;
}

.form-input-playful.is-invalid:focus,
.form-select-playful.is-invalid:focus,
.form-textarea-playful.is-invalid:focus,
.form-input-pink.is-invalid:focus,
.form-control.is-invalid:focus {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.25) !important;
}

[data-theme="dark"] .form-input-playful.is-invalid,
[data-theme="dark"] .form-select-playful.is-invalid,
[data-theme="dark"] .form-textarea-playful.is-invalid,
[data-theme="dark"] .form-input-pink.is-invalid,
[data-theme="dark"] .form-control.is-invalid {
  border-color: #ef4444 !important;
  background-color: #241419 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
}

/* Valid State for Form Inputs */
.form-input-playful.is-valid,
.form-select-playful.is-valid,
.form-input-pink.is-valid,
.form-control.is-valid {
  border-color: #10b981 !important;
}

/* Shake Animation for Attention */
.shake-error {
  animation: fieldShake 0.35s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes fieldShake {
  0%, 100% {
    transform: translateX(0);
  }
  20%, 60% {
    transform: translateX(-5px);
  }
  40%, 80% {
    transform: translateX(5px);
  }
}

/* Form Status Alert Banners */
.form-status-alert {
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  line-height: 1.45;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  animation: fieldErrorSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.form-status-alert i {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.form-status-alert.alert-success {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  color: #166534;
}

.form-status-alert.alert-success i {
  color: #16a34a;
}

.form-status-alert.alert-error {
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  color: #991b1b;
}

.form-status-alert.alert-error i {
  color: #dc2626;
}

[data-theme="dark"] .form-status-alert.alert-success {
  background: #064e3b;
  border-color: #059669;
  color: #bbf7d0;
}

[data-theme="dark"] .form-status-alert.alert-success i {
  color: #34d399;
}

[data-theme="dark"] .form-status-alert.alert-error {
  background: #450a0a;
  border-color: #b91c1c;
  color: #fecaca;
}

[data-theme="dark"] .form-status-alert.alert-error i {
  color: #f87171;
}

/* ==========================================
   Math Captcha (2 + 1) Styles
   ========================================== */
.captcha-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.captcha-equation-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1.5px dashed #cbd5e1;
  border-radius: 12px;
  padding: 10px 14px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 850;
  color: #1e293b;
  letter-spacing: 0.5px;
  user-select: none;
  flex-shrink: 0;
}

.captcha-equation-badge i.bi-shield-lock-fill {
  color: var(--color-coral, #ff6f61);
  font-size: 1rem;
}

.captcha-equation-badge.pink-badge {
  background: #ffe4e6;
  border-color: #fda4af;
  color: #9f1239;
}

.captcha-equation-badge.modal-badge {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #1e293b;
}

.btn-captcha-refresh {
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
}

.btn-captcha-refresh:hover {
  color: var(--color-coral, #ff6f61);
  transform: rotate(180deg);
}

.captcha-input-wrap {
  flex: 1;
}

.captcha-row .captcha-input {
  font-weight: 800;
  letter-spacing: 0.5px;
}

[data-theme="dark"] .captcha-equation-badge {
  background: #192033;
  border-color: #3b4662;
  color: #f1f5f9;
}

[data-theme="dark"] .captcha-equation-badge.pink-badge {
  background: #331d27;
  border-color: #5c2c3e;
  color: #fca5a5;
}

[data-theme="dark"] .btn-captcha-refresh {
  color: #94a3b8;
}

[data-theme="dark"] .btn-captcha-refresh:hover {
  color: #ff8a7d;
}

@media (max-width: 480px) {
  .captcha-row {
    flex-direction: row;
    gap: 8px;
  }
  .captcha-equation-badge {
    padding: 8px 10px;
    font-size: 0.95rem;
  }
}
