@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
  --primary-color: #f97d80;
  --secondary-color: #b4ed7f;
  --accent-color: #f9eda8;
  --bg-color: #fcfdfe;
  --text-color: #2b2b2b;
  --card-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s, color 0.3s;
}

/* Background blob animations */
.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.6;
  animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--primary-color), transparent 70%);
  animation-delay: 0s;
}

.blob-2 {
  bottom: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--accent-color), transparent 70%);
  animation-delay: -5s;
}

.blob-3 {
  top: 40%;
  left: 40%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, var(--secondary-color), transparent 70%);
  animation-delay: -10s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Navigation */
nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  box-shadow: var(--glass-shadow);
  transition: padding 0.3s;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s;
}

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

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  position: relative;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  transition: width 0.3s;
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

/* Page Layout */
main {
  padding: 4rem 5%;
  max-width: 1200px;
  margin: 0 auto;
  min-height: calc(100vh - 160px);
}

header.page-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInDown 0.8s ease-out;
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

/* Glass Cards */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 24px;
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeInUp 0.8s ease-out backwards;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.15);
}

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

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

.locations-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

/* Testimonials single-column list */
.testimonials-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Testimonial location badge */
.testimonial-location {
  display: inline-block;
  background: rgba(42, 157, 143, 0.1);
  color: #2a9d8f;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  margin-left: 0.3rem;
}

/* Feature Images */
.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Testimonial Quote */
.quote {
  font-style: italic;
  font-size: 1.2rem;
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
  margin-bottom: 1rem;
}

/* FAQs */
.faq-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-question {
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--glass-border);
  margin-top: 4rem;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Staggered Animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* Hamburger Menu Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text-color);
  border-radius: 3px;
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.4rem;
  }

  /* Typography */
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  p {
    font-size: 1rem;
  }

  /* Layout */
  main {
    padding: 2rem 4%;
  }

  header.page-header {
    margin-bottom: 2rem;
  }

  .glass-card {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  /* FAQs */
  .faq-question {
    font-size: 1.1rem;
  }

  /* Footer */
  footer {
    padding: 1.5rem 1rem;
    margin-top: 2rem;
  }

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

/* Profile Card - horizontal layout for owner bios */
.profile-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.profile-card .profile-img {
  width: 220px;
  min-width: 220px;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.profile-card .profile-text {
  flex: 1;
}

@media (max-width: 768px) {
  .profile-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .profile-card .profile-img {
    width: 100%;
    min-width: unset;
    height: 250px;
  }
}

/* Location Cards */
.location-card {
  position: relative;
  overflow: hidden;
  padding-top: 2.5rem;
}

/* Top row: info left, director right */
.loc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.loc-info {
  flex: 1;
}

.loc-info h2 {
  margin-bottom: 0.75rem;
}

/* Action buttons — see Location Page Enhancements section below */

.loc-actions .rates-details {
  flex: 1;
  margin-bottom: 0;
}

.loc-actions .btn-primary {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Expandable rates area — see Location Page Enhancements section below */

/* Mobile stacking */
@media (max-width: 768px) {
  .loc-top {
    flex-direction: column;
    gap: 1rem;
  }
  /* loc-actions mobile handled in enhancements section */
}

.location-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #2a9d8f, #4cc9a0);
  border-radius: 24px 24px 0 0;
}

.location-card h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.loc-detail {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  opacity: 0.85;
}

.loc-detail a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.loc-detail a:hover {
  color: #2a9d8f;
  text-decoration: underline;
}

.director-box {
  background: rgba(42, 157, 143, 0.08);
  border-left: 4px solid #2a9d8f;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  margin: 1.2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.director-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #2a9d8f;
}

.director-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-color);
}

.rates-details {
  margin-bottom: 1rem;
}

.btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #2a9d8f;
  border-radius: 50px;
  background: transparent;
  color: #2a9d8f;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  list-style: none;
}

.btn-outline:hover {
  background: rgba(42, 157, 143, 0.08);
}

.btn-outline::-webkit-details-marker {
  display: none;
}

.rates-content {
  padding: 1rem 0.5rem 0;
}

.rates-content p {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.btn-primary {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, #2a9d8f, #3cbaa0);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 14px rgba(42, 157, 143, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 157, 143, 0.4);
}

/* Rates expanded content */
.rates-heading {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-color);
}

.rates-table {
  border-left: 3px solid rgba(42, 157, 143, 0.25);
  margin-bottom: 1.2rem;
}

.rate-row {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.9rem;
}

.rate-row:last-child {
  border-bottom: none;
}

.rate-row strong {
  white-space: nowrap;
}

.reg-fees-box {
  background: rgba(42, 157, 143, 0.06);
  border: 1px solid rgba(42, 157, 143, 0.15);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1.2rem;
}

.reg-fees-box strong {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #2a9d8f;
}

.reg-fees-box p {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.discount-note {
  color: #2a9d8f;
  font-weight: 600;
}

.tuition-note {
  font-size: 0.85rem;
  text-align: center;
  opacity: 0.6;
  margin-top: 0.5rem;
}

/* Why We're Different Section */
.why-different {
  margin: 3rem -5%;
  padding: 4rem 5%;
  background: transparent;
  border-radius: 0;
  animation: fadeInUp 0.8s ease-out backwards;
}

.why-different-header {
  text-align: center;
  margin-bottom: 3rem;
}

.why-different-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #1e3a5f;
  margin-bottom: 0.75rem;
}

.why-different-header p {
  font-size: 1.1rem;
  color: #5a6e7f;
  max-width: 600px;
  margin: 0 auto;
}

.why-different-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.15);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon--teal {
  background: #e0f7f3;
  color: #2a9d8f;
}

.feature-icon--orange {
  background: #fde8d8;
  color: #e07832;
}

.feature-icon--green {
  background: #e4f5e0;
  color: #4a9e3f;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1e3a5f;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.98rem;
  color: #5a6e7f;
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .why-different {
    padding: 3rem 4%;
    margin: 2rem -4%;
  }
  .why-different-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .why-different-header h2 {
    font-size: 1.8rem;
  }
}

/* Carousel */
.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  margin: 1rem 0;
}

.carousel-track-wrapper {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  padding-bottom: 0.5rem;
}

.carousel-track-wrapper::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
}

.carousel-slide {
  flex: 0 0 calc((100% - 3rem) / 3);
  scroll-snap-align: start;
  display: flex;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.testimonial-card .quote {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.carousel-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  position: absolute;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s, background 0.3s;
}

.carousel-btn:hover {
  transform: scale(1.1);
  background: #e66a6d;
}

.prev-btn {
  left: -20px;
}

.next-btn {
  right: -20px;
}

@media (max-width: 900px) {
  .carousel-slide {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }
}

@media (max-width: 600px) {
  .carousel-slide {
    flex: 0 0 100%;
  }
  .prev-btn {
    left: -10px;
  }
  .next-btn {
    right: -10px;
  }
}

/* ============================================
   LOCATION PAGE ENHANCEMENTS
   ============================================ */

/* Trust Badges Bar */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  padding: 1rem 1.5rem;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  box-shadow: var(--glass-shadow);
  animation: fadeInUp 0.6s ease-out backwards;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(42, 157, 143, 0.06);
  border: 1px solid rgba(42, 157, 143, 0.15);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #2a9d8f;
  transition: transform 0.2s, box-shadow 0.2s;
}

.trust-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42, 157, 143, 0.15);
}

.trust-badge svg {
  flex-shrink: 0;
}

/* Location Filter Tabs */
.location-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease-out backwards;
}

.filter-tab {
  padding: 0.6rem 1.2rem;
  border: 2px solid rgba(42, 157, 143, 0.2);
  border-radius: 50px;
  background: transparent;
  color: var(--text-color);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-tab:hover {
  border-color: #2a9d8f;
  background: rgba(42, 157, 143, 0.05);
}

.filter-tab.active {
  background: linear-gradient(135deg, #2a9d8f, #3cbaa0);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(42, 157, 143, 0.3);
}

/* Location Header Row (title + enrollment badge) */
.loc-header-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.loc-header-row h2 {
  margin-bottom: 0;
}

/* Enrollment Status Badges */
.enrollment-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.enrollment-open {
  background: rgba(76, 175, 80, 0.1);
  color: #2e7d32;
  border: 1px solid rgba(76, 175, 80, 0.25);
}

.enrollment-limited {
  background: rgba(255, 152, 0, 0.1);
  color: #e65100;
  border: 1px solid rgba(255, 152, 0, 0.25);
}

.enrollment-waitlist {
  background: rgba(244, 67, 54, 0.1);
  color: #c62828;
  border: 1px solid rgba(244, 67, 54, 0.25);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  animation: badgePulse 2s infinite;
}

.enrollment-open .badge-dot {
  background: #4caf50;
}

.enrollment-limited .badge-dot {
  background: #ff9800;
}

.enrollment-waitlist .badge-dot {
  background: #f44336;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* Age Group Tags */
.age-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.age-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(249, 237, 168, 0.3);
  border: 1px solid rgba(249, 237, 168, 0.6);
  border-radius: 50px;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #7a6b2a;
  transition: transform 0.2s;
}

.age-tag:hover {
  transform: translateY(-1px);
}

.age-icon {
  font-size: 0.95rem;
}

/* Schedule a Tour Button */
a.btn-tour,
.btn-tour {
  flex: 1;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, #f97d80, #e66a6d);
  color: #fff !important;
  text-align: center;
  text-decoration: none !important;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 14px rgba(249, 125, 128, 0.3);
}

.btn-tour:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 125, 128, 0.45);
}

/* Updated loc-actions for 3 buttons */
.loc-actions {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

/* Embedded Map Container */
.loc-map-container {
  margin-top: 1.25rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.loc-map-container iframe {
  display: block;
}

/* Smooth Accordion Animation for Rates */
.rates-expand {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid transparent;
  transition: grid-template-rows 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease, padding-top 0.3s ease, border-color 0.3s ease;
}

.rates-expand > .rates-content {
  overflow: hidden;
}

.rates-expand.open {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top-color: rgba(42, 157, 143, 0.15);
}

/* Sticky Mobile CTA Bar */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--glass-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    padding: 0.6rem 1rem;
    gap: 0.75rem;
  }

  .mobile-cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 0.5rem;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: transform 0.2s;
  }

  .mobile-cta-btn:active {
    transform: scale(0.97);
  }

  .mobile-cta-tour {
    background: linear-gradient(135deg, #f97d80, #e66a6d);
    color: #fff;
    box-shadow: 0 3px 10px rgba(249, 125, 128, 0.3);
  }

  .mobile-cta-call {
    background: linear-gradient(135deg, #2a9d8f, #3cbaa0);
    color: #fff;
    box-shadow: 0 3px 10px rgba(42, 157, 143, 0.3);
  }

  /* Add bottom padding to main so content isn't hidden behind sticky bar */
  main {
    padding-bottom: 5rem;
  }

  /* Stack action buttons on mobile */
  .loc-actions {
    flex-direction: column;
  }

  /* Trust bar adjustments */
  .trust-bar {
    gap: 0.5rem;
  }

  .trust-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }

  .trust-badge svg {
    width: 16px;
    height: 16px;
  }

  /* Filter tabs scroll on mobile */
  .location-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.5rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .location-filter::-webkit-scrollbar {
    display: none;
  }

  .filter-tab {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.82rem;
    padding: 0.5rem 1rem;
  }

  .age-tags {
    gap: 0.35rem;
  }

  .age-tag {
    font-size: 0.72rem;
    padding: 0.25rem 0.6rem;
  }
}

/* ============================================
   HOMEPAGE ENHANCEMENTS
   ============================================ */

/* Hero CTA Group */
.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.hero-cta-group .btn-tour,
.hero-cta-group a.btn-tour {
  flex: unset;
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
}

.btn-outline-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 2rem;
  border: 2px solid #2a9d8f;
  border-radius: 50px;
  background: transparent;
  color: #2a9d8f;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.2s, box-shadow 0.3s;
}

.btn-outline-hero:hover {
  background: rgba(42, 157, 143, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(42, 157, 143, 0.2);
}

/* Hero Social Proof */
.hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #5a6e7f;
  animation: fadeInUp 0.8s ease-out backwards;
  animation-delay: 0.3s;
}

.hero-stars {
  color: #f5a623;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

/* Animated Tagline */
.hero-tagline-wrapper {
  min-height: 2rem;
}

.hero-tagline {
  transition: opacity 0.4s ease, transform 0.4s ease;
  opacity: 1;
  transform: translateY(0);
}

/* Impact Stats Counter Bar */
.stats-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  animation: fadeInUp 0.7s ease-out backwards;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.2rem;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  display: inline;
}

.stat-suffix {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-color);
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #5a6e7f;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(42, 157, 143, 0.2);
}

/* Programs / Age Groups Section */
.programs-section {
  margin: 3rem -5%;
  padding: 4rem 5%;
  background: transparent;
  animation: fadeInUp 0.8s ease-out backwards;
}

.programs-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.programs-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #1e3a5f;
  margin-bottom: 0.75rem;
}

.programs-header p {
  font-size: 1.1rem;
  color: #5a6e7f;
  max-width: 600px;
  margin: 0 auto;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.program-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.15);
}

.program-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.program-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1e3a5f;
  margin-bottom: 0.4rem;
}

.program-age {
  display: inline-block;
  background: rgba(42, 157, 143, 0.1);
  color: #2a9d8f;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.program-card p {
  font-size: 0.95rem;
  color: #5a6e7f;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.program-link {
  color: #2a9d8f;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s;
}

.program-link:hover {
  color: #1e7a6e;
  text-decoration: underline;
}

/* Location Preview Strip */
.location-strip {
  margin-top: 2rem;
  animation: fadeInUp 0.8s ease-out backwards;
}

.location-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.location-strip-header h2 {
  margin-bottom: 0;
}

.view-all-link {
  color: #2a9d8f;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s;
}

.view-all-link:hover {
  color: #1e7a6e;
  text-decoration: underline;
}

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

.location-mini-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.25rem;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
  text-decoration: none;
  color: var(--text-color);
  transition: transform 0.3s, box-shadow 0.3s;
}

.location-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(31, 38, 135, 0.12);
}

.mini-card-city {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-color);
}

.mini-card-phone {
  font-size: 0.88rem;
  opacity: 0.8;
}

.mini-card-hours {
  font-size: 0.8rem;
  opacity: 0.6;
}

.mini-card-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: #2a9d8f;
  margin-top: 0.3rem;
}

/* Final CTA Banner */
.final-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 3rem 2rem;
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 24px;
  animation: fadeInUp 0.8s ease-out backwards;
}

.final-cta h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #1e3a5f;
  margin-bottom: 0.75rem;
}

.final-cta p {
  color: #5a6e7f;
  max-width: 500px;
  margin: 0 auto 0;
}

/* Nav CTA Button */
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 1.2rem;
  background: linear-gradient(135deg, #f97d80, #e66a6d);
  color: #fff !important;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 3px 10px rgba(249, 125, 128, 0.25);
  margin-left: 0.5rem;
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(249, 125, 128, 0.4);
}

.nav-cta-btn::after {
  display: none !important;
}

/* Homepage Mobile Overrides */
@media (max-width: 768px) {
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    padding: 0 1rem;
  }

  .hero-cta-group .btn-tour,
  .hero-cta-group a.btn-tour,
  .btn-outline-hero {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }

  .stats-bar {
    gap: 1rem;
    padding: 1.25rem 1rem;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .stat-divider {
    height: 30px;
  }

  .programs-section {
    margin: 2rem -4%;
    padding: 3rem 4%;
  }

  .programs-header h2 {
    font-size: 1.8rem;
  }

  .programs-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .location-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .mini-card-city {
    font-size: 0.95rem;
  }

  .mini-card-phone,
  .mini-card-hours {
    font-size: 0.75rem;
  }

  .final-cta {
    padding: 2rem 1.5rem;
  }

  .final-cta h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .location-strip-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    gap: 0.5rem;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    flex: 1;
    min-width: 80px;
  }
}

/* Screen-reader only — visible to crawlers & assistive tech, hidden visually */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
