/* ==========================================================================
   KidBee Day Care - Premium Child-Friendly Stylesheet & Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bubblegum+Sans&family=Fredoka:wght@400;500;600;700&family=Outfit:wght@400;500;600;700&family=Quicksand:wght@500;600;700&display=swap');

:root {
  /* Brand Colors Extracted from Logo & Reference */
  --color-primary: #F35C2B;
  /* Logo Warm Orange */
  --color-primary-dark: #D44215;
  /* Darker Warm Orange */
  --color-primary-light: #FFF0EB;
  /* Soft Orange Tint */

  --color-navy: #2D3D68;
  /* Reference Deep Navy Slate Blue */
  --color-navy-dark: #1E2B4B;
  /* Darker Navy */
  --color-navy-light: #EEF2FB;
  /* Soft Navy Tint */

  --color-yellow: #FFB800;
  /* Yellow Paint Badge Accent */
  --color-yellow-light: #FFF8E6;

  --color-sky-blue: #38BDF8;
  /* Cloud Sky Blue */
  --color-sky-light: #E0F2FE;

  --color-mint-green: #10B981;
  /* ABC Green */
  --color-mint-light: #D1FAE5;

  --color-purple: #8B5CF6;
  /* ABC Purple */
  --color-purple-light: #EDE9FE;

  --color-coral-pink: #FF5E7E;
  /* Red/Pink Accent */

  /* Neutral Tones */
  --bg-page: #FFFFFF;
  --bg-soft: #FFFDF9;
  /* Cream Warm Page Section BG */
  --bg-subtle: #F8FAFC;
  --text-dark: #2D3D68;
  /* Reference Primary Navy Text */
  --text-body: #475569;
  /* Slate Body Text */
  --text-muted: #64748B;
  --border-color: #E2E8F0;

  /* Typography Fonts */
  --font-display: 'Fredoka', 'Bubblegum Sans', cursive, sans-serif;
  --font-heading: 'Fredoka', cursive, sans-serif;
  --font-subheading: 'Quicksand', sans-serif;
  --font-body: 'Outfit', 'Quicksand', sans-serif;

  /* Elevation & Shadows */
  --shadow-sm: 0 4px 12px rgba(45, 61, 104, 0.05);
  --shadow-md: 0 10px 25px rgba(45, 61, 104, 0.08);
  --shadow-lg: 0 20px 40px rgba(45, 61, 104, 0.12);
  --shadow-hover: 0 22px 45px rgba(243, 92, 43, 0.22);

  /* Radii */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 50px;

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

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

html,
body {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  line-height: 1.25;
  letter-spacing: 0.2px;
}

p {
  color: var(--text-body);
  font-size: 1.05rem;
}

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

ul {
  list-style: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 3.5rem 0;
  position: relative;
}

/* ==========================================================================
   Badge Pills & Section Headers
   ========================================================================== */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-yellow {
  background: var(--color-yellow-light);
  color: #B45309;
}

.badge-blue {
  background: var(--color-sky-light);
  color: #0284C7;
}

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

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: 2.7rem;
  margin: 0.8rem 0 1rem 0;
  position: relative;
}

.section-header h2 span {
  color: var(--color-primary);
  position: relative;
  display: inline-block;
}

.section-header h2 span::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--color-primary-light);
  border-radius: 4px;
  z-index: -1;
}

/* ==========================================================================
   Buttons (Reference Styled Navy & Outline Buttons)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.btn-navy {
  background-color: var(--color-navy);
  color: #FFFFFF;
  border: 2px solid var(--color-navy);
  box-shadow: 0 6px 18px rgba(45, 61, 104, 0.22);
}

.btn-navy:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(243, 92, 43, 0.3);
}

.btn-navy i {
  transition: transform 0.3s ease;
}

.btn-navy:hover i {
  transform: translateX(4px);
}

.btn-navy-outline {
  background-color: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
  box-shadow: none;
}

.btn-navy-outline:hover {
  background-color: var(--color-navy);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(45, 61, 104, 0.2);
}

.btn-navy-outline i {
  transition: transform 0.3s ease;
}

.btn-navy-outline:hover i {
  transform: translateX(4px);
}

.btn-navy-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  border-radius: 8px;
  background-color: var(--color-navy);
  color: #FFFFFF;
  border: 2px solid var(--color-navy);
}

.btn-navy-sm:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

/* Wavy Dividers */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  position: relative;
  z-index: 2;
}

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

/* ==========================================================================
   Header & Navigation Bar (Uses /img/navbar.jpg)
   ========================================================================== */
.header-nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition-fast);
}

.header-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo-img {
  height: 60px;
  max-height: 66px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-navy);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 3px;
  background: var(--color-primary);
  border-radius: 3px;
  transition: var(--transition-fast);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-admission-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.header-admission-btn .btn-text-short {
  display: none;
}

.header-admission-btn .btn-text-full {
  display: inline;
}

.nav-mobile-admission-link {
  display: none;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--color-navy);
  cursor: pointer;
}

/* ==========================================================================
   Hero Section (Using /img/banner.png)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5.5rem 0;
  background: #FFFFFF;
  overflow: hidden;
}

.cloud-bg {
  position: absolute;
  color: rgba(56, 189, 248, 0.15);
  font-size: 7rem;
  z-index: 1;
  pointer-events: none;
  animation: cloudFloat 8s ease-in-out infinite alternate;
}

.cloud-1 {
  top: 8%;
  left: 3%;
  animation-delay: 0s;
}

.cloud-2 {
  top: 45%;
  right: 4%;
  animation-delay: 2s;
  color: rgba(243, 92, 43, 0.1);
}

.cloud-3 {
  bottom: 10%;
  left: 45%;
  animation-delay: 4s;
  font-size: 5rem;
  color: rgba(255, 184, 0, 0.12);
}

.sparkle-decor {
  position: absolute;
  color: #FFB800;
  font-size: 1.5rem;
  z-index: 1;
  animation: sparkleTwinkle 3s ease-in-out infinite;
}

.sp-1 {
  top: 18%;
  left: 48%;
}

.sp-2 {
  bottom: 25%;
  left: 8%;
  color: var(--color-primary);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-sub-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  color: var(--color-navy);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.hero-main-title {
  font-family: var(--font-heading);
  font-size: 3.3rem;
  color: var(--color-navy);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.75rem;
}

.yellow-paint-badge {
  display: inline-block;
  background-color: var(--color-yellow);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  padding: 0.35rem 1.8rem;
  border-radius: 18px 26px 20px 30px;
  transform: rotate(-2.5deg);
  box-shadow: 0 8px 22px rgba(255, 184, 0, 0.35);
  text-shadow: 1px 2px 0px rgba(0, 0, 0, 0.12);
  letter-spacing: 0.5px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.yellow-paint-badge:hover {
  transform: rotate(0deg) scale(1.06);
}

.red-curved-arrow {
  width: 75px;
  height: 52px;
  filter: drop-shadow(0 2px 4px rgba(255, 94, 126, 0.2));
  animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(3px, -3px) scale(1.05);
  }
}

.hero-description {
  font-size: 1.12rem;
  color: var(--text-body);
  margin-bottom: 2.25rem;
  max-width: 530px;
  line-height: 1.65;
}

.hero-btn-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-illustration-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-illustration-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
  background: #FFFFFF;
}

.hero-main-img {
  width: 100%;
  max-width: 540px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

.abc-blocks-row {
  position: absolute;
  bottom: -22px;
  left: 24px;
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

.abc-block {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: #FFFFFF;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), inset 0 -4px 0 rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease;
  animation: abcBounce 3s ease-in-out infinite;
}

.abc-block:hover {
  transform: translateY(-8px) scale(1.15) rotate(5deg) !important;
}

.abc-a {
  background: var(--color-purple);
  animation-delay: 0s;
}

.abc-b {
  background: var(--color-mint-green);
  animation-delay: 0.4s;
}

.abc-c {
  background: var(--color-yellow);
  animation-delay: 0.8s;
}

@keyframes abcBounce {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(4deg);
  }
}

.floating-books-badge {
  position: absolute;
  top: -18px;
  left: -20px;
  background: #FFFFFF;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 10;
  font-family: var(--font-subheading);
  font-weight: 700;
  color: var(--color-navy);
  font-size: 0.95rem;
  animation: floatBadge 4s ease-in-out infinite;
}

.hero-brand-floating-badge {
  position: absolute;
  bottom: 25px;
  right: -25px;
  background: #FFFFFF;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 10;
  animation: floatBadge 4.5s ease-in-out infinite 1s;
}

.hero-brand-floating-badge img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.hero-brand-floating-badge strong {
  display: block;
  color: var(--color-navy);
  font-size: 0.9rem;
  font-family: var(--font-subheading);
}

.hero-brand-floating-badge small {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.78rem;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
  background-color: var(--bg-soft);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background-image: radial-gradient(var(--color-yellow) 20%, transparent 20%),
                    radial-gradient(var(--color-yellow) 20%, transparent 20%);
  background-position: 0 0, 25px 25px;
  background-size: 50px 50px;
  opacity: 0.1;
  z-index: 0;
  border-radius: 50%;
}

.flying-bee {
  position: absolute;
  color: var(--color-yellow);
  font-size: 2.2rem;
  z-index: 5;
  animation: flyAround 15s linear infinite;
  opacity: 0.85;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
}

.flying-bee-1 {
  top: 15%;
  left: 2%;
  animation-duration: 20s;
  font-size: 2.8rem;
}

.flying-bee-2 {
  bottom: 10%;
  right: 5%;
  animation-duration: 18s;
  animation-delay: -5s;
}

.flying-bee-3 {
  top: 40%;
  left: 45%;
  animation-duration: 22s;
  animation-delay: -10s;
  font-size: 1.6rem;
}

@keyframes flyAround {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(120px, -60px) rotate(15deg); }
  50% { transform: translate(250px, 30px) rotate(-10deg); }
  75% { transform: translate(80px, 100px) rotate(25deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  padding: 2rem;
  z-index: 1;
}

.about-img-inner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  z-index: 2;
  border: 12px solid #FFFFFF;
}

.about-img-feature {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.02);
  transition: transform 0.5s ease;
}

.about-image-wrapper:hover .about-img-feature {
  transform: scale(1.05);
}

.about-shape {
  position: absolute;
  z-index: 0;
}

.about-shape-1 {
  width: 250px;
  height: 250px;
  background-color: var(--color-yellow);
  opacity: 0.3;
  top: 0;
  left: 0;
  border-radius: 50%;
  transform: translate(-10%, -10%);
}

.about-shape-2 {
  width: 350px;
  height: 350px;
  background-color: var(--color-primary);
  opacity: 0.15;
  bottom: 0;
  right: 0;
  transform: translate(10%, 10%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.float-animation {
  animation: float 4s ease-in-out infinite;
}

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

.about-experience-tag {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  background: var(--color-primary);
  color: #FFFFFF;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 10px 25px rgba(243, 92, 43, 0.35);
}

.exp-icon-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin: 0 auto 0.35rem auto;
}

.about-experience-tag h3 {
  font-size: 1.8rem;
  color: #FFFFFF;
  line-height: 1;
}

.about-experience-tag p {
  font-size: 0.75rem;
  color: #FFFFFF;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0;
}

.about-content h2 {
  font-size: 2.6rem;
  margin: 0.75rem 0 1.25rem 0;
}

/* ==========================================================================
   Core Values Section
   ========================================================================== */
.core-values-section {
  background-color: var(--bg-soft);
  position: relative;
}

.core-values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.core-value-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.25rem 1.75rem 1.25rem;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.core-value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(243, 92, 43, 0.3);
}

.core-value-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.icon-bg-blocks {
  background: #FFF0EB;
  color: #F35C2B;
}

.icon-bg-balloons {
  background: #E0F2FE;
  color: #0284C7;
}

.icon-bg-plane {
  background: #EDE9FE;
  color: #8B5CF6;
}

.icon-bg-pencil {
  background: #FFF8E6;
  color: #B45309;
}

.icon-bg-health {
  background: #D1FAE5;
  color: #10B981;
}

.core-value-title {
  font-family: var(--font-subheading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.core-value-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.5;
  margin: 0;
}

/* Ready to Enroll Call to Action Card */
.ready-enroll-card {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 3rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.ready-enroll-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 184, 0, 0.1);
  pointer-events: none;
}

.ready-enroll-content h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.ready-enroll-content p {
  font-size: 1.05rem;
  color: #CBD5E1;
  margin: 0;
}

/* ==========================================================================
   Parent Testimonials Section
   ========================================================================== */
.testimonials-section {
  background-color: #FFFFFF;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-soft);
  padding: 2.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  position: relative;
}

.testimonial-quote-icon {
  font-size: 2.5rem;
  color: var(--color-primary-light);
  margin-bottom: 0.5rem;
}

.rating-stars {
  color: var(--color-yellow);
  margin-bottom: 1rem;
  display: flex;
  gap: 0.25rem;
}

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

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
}

.author-info h4 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

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

.testimonial-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.testimonial-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(45, 61, 104, 0.22);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.testimonial-dot.active {
  width: 24px;
  border-radius: 12px;
  background: var(--color-primary);
  box-shadow: 0 2px 8px rgba(243, 92, 43, 0.35);
}

/* ==========================================================================
   Minimal Photo Gallery Section (Matching Reference Image)
   ========================================================================== */
.gallery-section {
  background-color: var(--bg-soft);
}

.minimal-gallery-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2.7rem;
  color: var(--color-navy);
  margin-bottom: 2.75rem;
  font-weight: 700;
}

.minimal-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.minimal-gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 380px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.minimal-gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(41, 58, 105, 0.2);
}

.minimal-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(41, 58, 105, 0.94) 0%, rgba(41, 58, 105, 0.65) 60%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.minimal-gallery-item:hover .gallery-overlay {
  opacity: 1;
  visibility: visible;
}

.gallery-overlay-content {
  transform: translateY(15px);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  color: #FFFFFF;
  width: 100%;
}

.minimal-gallery-item:hover .gallery-overlay-content {
  transform: translateY(0);
}

.gallery-category {
  display: inline-block;
  background: var(--color-primary);
  color: #FFFFFF;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  margin-bottom: 0.5rem;
}

.gallery-caption-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.gallery-caption-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.gallery-view-btn {
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFB800;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   Admission Section (Comprehensive Multi-Block Form)
   ========================================================================== */
.admission-section {
  background-color: #FFFFFF;
}

.comprehensive-form-card {
  background: #FFFFFF;
  padding: 2.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.form-section-block {
  background: var(--bg-soft);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 1.75rem;
}

.form-block-title {
  font-size: 1.35rem;
  color: var(--color-navy);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px dashed var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.form-sub-heading {
  font-size: 1.05rem;
  color: var(--color-primary);
  margin: 1.25rem 0 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-navy);
}

.form-control {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
  font-family: var(--font-body);
  font-size: 0.98rem;
  outline: none;
  background: #FFFFFF;
  transition: border-color 0.25s ease;
}

.form-control:focus {
  border-color: var(--color-primary);
}

.radio-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.radio-card-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.1rem;
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-subheading);
  font-weight: 700;
  color: var(--color-navy);
  transition: all 0.2s ease;
}

.radio-card-label:hover,
.radio-card-label:has(input:checked) {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

.radio-inline-group {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-top: 0.4rem;
}

.radio-inline-group label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--color-navy);
}

.consent-box {
  background: #FFFFFF;
  padding: 1.1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--color-navy);
  font-weight: 600;
  line-height: 1.5;
}

.checkbox-label input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--color-primary);
}

/* ==========================================================================
   Contact Section & Embedded Map Styling (Right Side Embedded Map)
   ========================================================================== */
.contact-section {
  background-color: var(--bg-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: stretch;
}

.contact-info-card {
  background: #FFFFFF;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-card h3 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.info-item {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-navy-light);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  background: #FFFFFF;
  min-height: 420px;
}

.contact-map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

/* ==========================================================================
   Footer Section (Matching User Reference Design)
   ========================================================================== */
.footer-wrapper {
  position: relative;
  background-color: #FFFFFF;
  width: 100%;
}

.footer-kids-banner-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
  background-color: #FFFFFF;
}

.footer-kids-banner-img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
}

.footer-wave-divider {
  width: 100%;
  height: 60px;
  margin-top: -2px;
  overflow: hidden;
  line-height: 0;
  background-color: transparent;
}

.footer-wave-divider svg {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.footer-main-content {
  background-color: #293A69;
  color: #FFFFFF;
  padding: 3rem 0 2rem 0;
}

.footer-grid-ref {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr;
  gap: 3.5rem;
  margin-bottom: 2.5rem;
  align-items: start;
}

.footer-brand-ref {
  padding-right: 1.5rem;
}

.footer-logo-box {
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-ref-logo {
  height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  background: transparent;
  padding: 0;
  box-shadow: none;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.18));
  transition: transform 0.3s ease;
}

.footer-ref-logo:hover {
  transform: scale(1.03);
}

.footer-ref-desc {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.6;
  font-family: var(--font-body);
}

.footer-col-title {
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.2px;
}

.timings-block {
  color: rgba(255, 255, 255, 0.9);
}

.timing-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.25rem;
}

.timing-time {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.timing-extended {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

.footer-quick-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-quick-links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-block;
}

.footer-quick-links a:hover {
  color: #FFB800;
  transform: translateX(4px);
}

.footer-bottom-ref {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Floating Widgets */
.floating-widgets {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 999;
}

.btn-floating-whatsapp {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s ease;
}

.btn-floating-whatsapp:hover {
  transform: scale(1.15) rotate(8deg);
}

.btn-back-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #FFFFFF;
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.25s ease;
}

.btn-back-top.show {
  display: flex;
}

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

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

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

.lightbox-content {
  position: relative;
  max-width: 800px;
  text-align: center;
}

.lightbox-content img {
  max-height: 80vh;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #FFFFFF;
  font-size: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Tour Success Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #FFFFFF;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  max-width: 480px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.modal-icon {
  margin-bottom: 1.25rem;
}

@keyframes cloudFloat {

  0%,
  100% {
    transform: translateX(0) translateY(0);
  }

  50% {
    transform: translateX(12px) translateY(-6px);
  }
}

@keyframes sparkleTwinkle {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.3) rotate(45deg);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Responsive Breakdown & Mobile Optimization System
   ========================================================================== */

/* --- Desktops & Laptops (Max 1200px) --- */
@media (max-width: 1200px) {
  .core-values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .minimal-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Tablets & Small Desktops (Max 992px) --- */
@media (max-width: 992px) {
  .header-nav .container {
    height: 74px;
  }

  .brand-logo-img {
    height: 48px;
    max-height: 48px;
  }

  /* Navbar Admission Button adjustment for tablets */
  .header-admission-btn .btn-text-full {
    display: none;
  }

  .header-admission-btn .btn-text-short {
    display: inline;
  }

  .header-admission-btn {
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
    border-radius: var(--radius-pill);
    gap: 0.45rem;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--color-navy-light);
    color: var(--color-navy);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .mobile-toggle:hover {
    background: var(--color-primary-light);
    color: var(--color-primary);
  }

  .nav-menu {
    position: fixed;
    top: 74px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 74px);
    background: #FFFFFF;
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    overflow-y: auto;
    z-index: 999;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transition: left 0.35s ease;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    width: 100%;
    font-size: 1.05rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-mobile-admission-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background: var(--color-navy);
    color: #FFFFFF !important;
    padding: 0.9rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 700;
    width: 100%;
    margin-top: 0.75rem;
    text-align: center;
    border-bottom: none;
    box-shadow: 0 6px 18px rgba(45, 61, 104, 0.25);
  }

  .nav-mobile-admission-link:hover {
    background: var(--color-primary);
    color: #FFFFFF !important;
  }

  /* Grid Layout Adjustments */
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-main-title {
    font-size: 2.75rem;
  }

  .core-values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .ready-enroll-card {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.75rem;
  }

  .comprehensive-form-card {
    padding: 2rem 1.75rem;
  }

  .contact-info-card {
    padding: 2rem 1.75rem;
  }

  .contact-map-card {
    min-height: 360px;
    height: 360px;
  }

  .contact-map-card iframe {
    min-height: 360px;
    height: 360px;
  }

  .footer-grid-ref {
    grid-template-columns: 1.2fr 1fr 0.9fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }
}

/* --- Mobile Landscape & Phablets (Max 768px) --- */
@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .section-padding {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .section-header h2 {
    font-size: 2.1rem;
  }

  /* Hero Section Mobile */
  .hero-section {
    padding: 3rem 0 3.5rem 0;
  }

  /* Cloud Adjustments for Mobile (Prevents Overlap/Coinciding with KidBee Animations & Badges) */
  .cloud-bg {
    font-size: 2.8rem;
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
  }

  .cloud-1 {
    top: 2%;
    left: auto;
    right: 5%;
    font-size: 2.6rem;
  }

  .cloud-2 {
    top: 38%;
    right: auto;
    left: -15px;
    font-size: 2.4rem;
  }

  .cloud-3 {
    bottom: 2%;
    left: auto;
    right: 8%;
    font-size: 2.5rem;
  }

  .hero-content,
  .hero-illustration-wrapper {
    position: relative;
    z-index: 2;
  }

  .hero-sub-title {
    font-size: 1.35rem;
  }

  .hero-main-title {
    font-size: 2.3rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }

  .hero-illustration-wrapper {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .abc-blocks-row {
    bottom: -16px;
    left: 16px;
    gap: 0.5rem;
  }

  .abc-block {
    width: 40px;
    height: 40px;
    font-size: 1.35rem;
    border-radius: 10px;
  }

  /* About Section Mobile */
  .about-image-wrapper {
    padding: 0.5rem;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .about-shape-1,
  .about-shape-2 {
    display: none;
  }

  .about-content h2 {
    font-size: 2rem;
  }

  /* Testimonials Mobile Horizontal Scroll */
  .testimonial-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1.25rem;
    padding: 0.5rem 0.5rem 1.25rem 0.5rem;
    margin: 0 -0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--color-yellow) rgba(0, 0, 0, 0.05);
  }

  .testimonial-grid::-webkit-scrollbar {
    height: 5px;
  }

  .testimonial-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.04);
    border-radius: 10px;
  }

  .testimonial-grid::-webkit-scrollbar-thumb {
    background: var(--color-yellow);
    border-radius: 10px;
  }

  .testimonial-card {
    flex: 0 0 85%;
    min-width: 280px;
    max-width: 330px;
    scroll-snap-align: center;
    padding: 1.6rem 1.25rem;
    box-shadow: 0 8px 24px rgba(45, 61, 104, 0.08);
  }

  .testimonial-dots {
    display: flex;
  }

  /* Comprehensive Admission Form Mobile Layout */
  .admission-section {
    padding: 3rem 0;
  }

  .comprehensive-form-card {
    padding: 1.5rem 1.15rem;
    border-radius: var(--radius-md);
  }

  .form-section-block {
    padding: 1.25rem 1rem;
    margin-bottom: 1.25rem;
    border-radius: 14px;
  }

  .form-block-title {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    padding-bottom: 0.4rem;
    gap: 0.5rem;
  }

  .form-sub-heading {
    font-size: 0.98rem;
    margin: 1.1rem 0 0.6rem 0;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 0.85rem;
  }

  .form-group label {
    font-size: 0.86rem;
  }

  .form-control {
    padding: 0.75rem 0.95rem;
    font-size: 16px; /* Prevents auto-zoom on mobile browsers */
    border-radius: 8px;
    width: 100%;
    max-width: 100%;
  }

  .radio-options-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .radio-card-label {
    padding: 0.7rem 0.95rem;
    font-size: 0.9rem;
  }

  .radio-inline-group {
    flex-wrap: wrap;
    gap: 1.25rem;
  }

  .consent-box {
    padding: 0.95rem 0.85rem;
  }

  .checkbox-label {
    font-size: 0.88rem;
    gap: 0.65rem;
  }

  .checkbox-label input {
    width: 18px;
    height: 18px;
    min-width: 18px;
    flex-shrink: 0;
  }

  /* Contact Us & Map Section Mobile Layout */
  .contact-section {
    padding: 3rem 0;
  }

  .contact-info-card {
    padding: 1.6rem 1.25rem;
    border-radius: var(--radius-md);
  }

  .contact-info-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
  }

  .info-item {
    gap: 0.9rem;
    margin-top: 1.15rem;
    align-items: flex-start;
  }

  .info-icon {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  .info-details {
    min-width: 0;
    flex: 1;
  }

  .info-details h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
  }

  .info-details p,
  .info-details p a {
    font-size: 0.92rem;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .contact-map-card {
    min-height: 310px;
    height: 310px;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .contact-map-card iframe {
    min-height: 310px;
    height: 310px;
    border-radius: var(--radius-md);
    width: 100% !important;
    max-width: 100%;
  }

  /* Footer & Floating Widgets */
  .footer-wave-divider {
    height: 38px;
  }

  .footer-main-content {
    padding: 2rem 0 1.25rem 0;
  }

  .footer-grid-ref {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem 1.25rem;
    margin-bottom: 1.5rem;
  }

  .footer-brand-ref {
    grid-column: 1 / -1;
    padding-right: 0;
  }

  .footer-timings-col {
    grid-column: 1;
  }

  .footer-links-col {
    grid-column: 2;
  }

  .footer-logo-box {
    margin-bottom: 0.65rem;
  }

  .footer-ref-logo {
    height: 44px;
    width: auto;
    max-width: 150px;
  }

  .footer-ref-desc {
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .footer-col-title {
    font-size: 1.22rem;
    margin-bottom: 0.75rem;
  }

  .timing-label {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
  }

  .timing-time {
    font-size: 1.05rem;
    margin-bottom: 0.65rem;
  }

  .timing-extended {
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .footer-quick-links {
    gap: 0.45rem;
  }

  .footer-quick-links a {
    font-size: 0.92rem;
  }

  .footer-bottom-ref {
    padding-top: 1.25rem;
    font-size: 0.84rem;
  }

  .floating-widgets {
    bottom: 18px;
    right: 18px;
    gap: 0.5rem;
  }

  .btn-floating-whatsapp {
    width: 48px;
    height: 48px;
    font-size: 1.55rem;
  }

  .btn-back-top {
    width: 42px;
    height: 42px;
    font-size: 1.05rem;
  }
}

/* --- Mobile Portrait Screens (Max 576px) --- */
@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }

  .header-nav .container {
    height: 66px;
  }

  .brand-logo-img {
    height: 40px;
    max-height: 40px;
  }

  .header-actions {
    gap: 0.5rem;
  }

  /* Clean, uncluttered navbar button for phone portrait */
  .header-admission-btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.76rem;
    gap: 0.35rem;
    font-weight: 700;
  }

  .header-admission-btn i {
    font-size: 0.8rem;
  }

  .mobile-toggle {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }

  .nav-menu {
    top: 66px;
    height: calc(100vh - 66px);
    padding: 1.5rem 1rem;
  }

  /* Hero Section */
  .hero-section {
    padding: 2.25rem 0 3rem 0;
  }

  /* Cloud Adjustments for Mobile Portrait */
  .cloud-bg {
    font-size: 2.2rem;
    opacity: 0.28;
  }

  .cloud-1 {
    top: 1.5%;
    right: 5%;
    font-size: 2.2rem;
  }

  .cloud-2 {
    top: 42%;
    left: -10px;
    font-size: 2rem;
  }

  .cloud-3 {
    bottom: 1%;
    right: 5%;
    font-size: 2.2rem;
  }

  .hero-main-title {
    font-size: 1.95rem;
    margin-bottom: 1rem;
  }

  .hero-sub-title {
    font-size: 1.15rem;
  }

  .yellow-paint-badge {
    font-size: 1.5rem;
    padding: 0.25rem 1.1rem;
    border-radius: 12px 18px 14px 20px;
  }

  .red-curved-arrow {
    width: 48px;
    height: 32px;
  }

  .hero-btn-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-btn-group .btn {
    width: 100%;
    justify-content: center;
  }

  .floating-books-badge {
    top: -10px;
    left: -5px;
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
    gap: 0.45rem;
  }

  .hero-brand-floating-badge {
    bottom: 12px;
    right: -5px;
    padding: 0.45rem 0.85rem;
    gap: 0.55rem;
  }

  .hero-brand-floating-badge img {
    width: 32px;
    height: 32px;
  }

  .hero-brand-floating-badge strong {
    font-size: 0.78rem;
  }

  .hero-brand-floating-badge small {
    font-size: 0.68rem;
  }

  .abc-blocks-row {
    bottom: -12px;
    left: 10px;
    gap: 0.35rem;
  }

  .abc-block {
    width: 34px;
    height: 34px;
    font-size: 1.2rem;
    border-radius: 8px;
  }

  /* Core Values & Gallery */
  .core-values-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ready-enroll-card {
    padding: 2rem 1.25rem;
  }

  .ready-enroll-content h2 {
    font-size: 1.65rem;
  }

  .ready-enroll-card .btn {
    width: 100%;
    justify-content: center;
  }

  .minimal-gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .minimal-gallery-item {
    height: 280px;
  }

  .minimal-gallery-title {
    font-size: 2rem;
    margin-bottom: 1.75rem;
  }

  /* Comprehensive Form Phone Layout */
  .comprehensive-form-card {
    padding: 1.25rem 0.85rem;
    border-radius: 16px;
  }

  .form-section-block {
    padding: 1rem 0.75rem;
    margin-bottom: 1rem;
    border-radius: 12px;
  }

  .form-block-title {
    font-size: 1.05rem;
  }

  .form-sub-heading {
    font-size: 0.92rem;
  }

  /* Contact Us & Map on Phones */
  .contact-info-card {
    padding: 1.25rem 0.9rem;
    border-radius: 16px;
  }

  .contact-info-card h3 {
    font-size: 1.45rem;
  }

  .contact-map-card {
    min-height: 270px;
    height: 270px;
    border-radius: 16px;
  }

  .contact-map-card iframe {
    min-height: 270px;
    height: 270px;
    border-radius: 16px;
  }

  /* Modals */
  .modal-box {
    padding: 1.75rem 1.25rem;
    width: 92%;
    border-radius: 18px;
  }

  .modal-box h3 {
    font-size: 1.45rem !important;
  }

  /* Testimonials & Footer on Mobile Portrait */
  .testimonial-card {
    flex: 0 0 88%;
    min-width: 260px;
    padding: 1.4rem 1.15rem;
  }

  .footer-wave-divider {
    height: 30px;
  }

  .footer-main-content {
    padding: 1.6rem 0 1rem 0;
  }

  .footer-grid-ref {
    gap: 1.25rem 1rem;
    margin-bottom: 1.25rem;
  }

  .footer-logo-box {
    margin-bottom: 0.5rem;
  }

  .footer-ref-logo {
    height: 38px;
    width: auto;
    max-width: 135px;
  }

  .footer-ref-desc {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .footer-col-title {
    font-size: 1.12rem;
    margin-bottom: 0.6rem;
  }

  .timing-label {
    font-size: 0.85rem;
  }

  .timing-time {
    font-size: 0.96rem;
    margin-bottom: 0.45rem;
  }

  .timing-extended {
    font-size: 0.85rem;
  }

  .footer-quick-links {
    gap: 0.35rem;
  }

  .footer-quick-links a {
    font-size: 0.88rem;
  }

  .footer-bottom-ref {
    padding-top: 1rem;
    font-size: 0.78rem;
    line-height: 1.45;
  }
}

/* --- Extra Small Screens (Max 380px) --- */
@media (max-width: 380px) {
  .brand-logo-img {
    height: 35px;
  }

  .header-admission-btn {
    padding: 0.4rem 0.6rem;
    font-size: 0.7rem;
  }

  .hero-main-title {
    font-size: 1.75rem;
  }

  .yellow-paint-badge {
    font-size: 1.35rem;
    padding: 0.2rem 0.85rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .footer-grid-ref {
    gap: 1rem 0.65rem;
  }

  .footer-col-title {
    font-size: 1.05rem;
  }

  .timing-time {
    font-size: 0.9rem;
  }

  .footer-quick-links a {
    font-size: 0.82rem;
  }
}