/* ================================
   Green Olives Child Development Centre
   Modern, Clean, and Professional Design
================================ */

@font-face {
  font-family: 'Niveau Grotesk Black';
  src: local('Niveau Grotesk Black'), local('NiveauGrotesk-Black');
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: 'Bogart Regular';
  src: local('Bogart Regular'), local('Bogart-Regular');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  /* Color Palette - Refined & Professional */
  --olive-primary: #556B2F;      /* Deep Olive Green */
  --olive-dark: #3A4B1F;         /* Dark Forest Olive */
  --olive-light: #FDFBF7;        /* Creamy White Accent */
  --leaf-green: #FDFBF7;         /* Creamy White Surface */
  --warm-bg: #FDFBF7;            /* Creamy White */
  --earth-brown: #8B7355;        /* Warm Stone */
  --text: #2C3E50;               /* Dark Slate */
  --text-light: #5A6E7F;         /* Muted Blue-Gray */
  --white: #FFFFFF;
  
  /* Shadows - softer & more dispersed */
  --shadow-sm: 0 4px 12px rgba(85, 107, 47, 0.08);
  --shadow-md: 0 8px 24px rgba(85, 107, 47, 0.12);
  --shadow-lg: 0 12px 32px rgba(85, 107, 47, 0.15);
  
  --font-body: 'Nunito', 'Sofia Pro', 'Sofia Sans', 'Source Sans Pro', Arial, sans-serif;
  --font-heading: 'Bogart Regular', 'Niveau Grotesk Black', 'Montserrat', 'Sofia Sans', 'Source Sans Pro', Arial, sans-serif;
  --font-accent: 'Montserrat', 'Niveau Grotesk Black', 'Sofia Sans', 'Source Sans Pro', Arial, sans-serif;
  --font-friendly: 'Nunito', 'Sofia Sans', Arial, sans-serif;
  /* Spacing */
  --radius: 12px; /* Slightly tighter radius for more refinement */
}

/* ================================
   Reset & Base Styles
================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  background-color: var(--warm-bg);
  font-weight: 400;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--olive-dark);
  line-height: 1.3;
  font-weight: 400;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.brand-bar {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: rgba(253, 251, 247, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(58, 75, 31, 0.12);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.brand-bar-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: min-height 0.25s ease, justify-content 0.25s ease;
}

.brand-bar-name {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive-dark);
  font-weight: 700;
  text-align: center;
  transition: font-size 0.25s ease, letter-spacing 0.25s ease, transform 0.25s ease;
}

body.scrolled .brand-bar {
  box-shadow: 0 6px 18px rgba(58, 75, 31, 0.12);
  border-bottom-color: rgba(58, 75, 31, 0.18);
}

body.scrolled .brand-bar-inner {
  min-height: 64px;
  justify-content: center;
}

body.scrolled .brand-bar-name {
  font-size: 1.12rem;
  letter-spacing: 0.06em;
  transform: none;
}

@media (max-width: 768px) {
  .brand-bar-inner {
    min-height: 78px;
  }

  .brand-bar-name {
    font-size: 1.05rem;
    letter-spacing: 0.05em;
  }

  body.scrolled .brand-bar-inner {
    min-height: 58px;
  }

  body.scrolled .brand-bar-name {
    font-size: 0.95rem;
    letter-spacing: 0.04em;
  }
}

/* ================================
   Navigation
================================ */

header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-bottom: 2px solid var(--leaf-green);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
  z-index: 1001;
  text-decoration: none;
}

.logo-img {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
}

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

.nav-links {
  list-style: none;
  display: flex;
  font-family: var(--font-accent);
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 5px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--olive-primary);
  transition: width 0.3s ease;
}

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

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

.mobile-nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 1001;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ================================
   Hero Section
================================ */

.hero {
  background-color: var(--warm-bg);
  background-image: url('assets/Inside.jpeg');
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 8rem 1.5rem 8rem;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(253, 251, 247, 0.85), rgba(253, 251, 247, 0.95));
  z-index: 1;
}

.hero-content {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 2rem;
  display: inline-block;
  animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
  font-size: 3.75rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--olive-dark);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero p {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================
   Buttons
================================ */

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  border: none;
  font-family: var(--font-accent);
}

.btn-primary {
  background: var(--olive-primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(107, 142, 35, 0.3);
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-primary:hover {
  background: var(--olive-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(107, 142, 35, 0.4);
}

.btn-block {
  width: 100%;
  text-align: center;
}

/* ================================
   Sections
================================ */

.section {
  padding: 6rem 1.5rem;
}

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

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

.section-header h2 {
  font-family: var(--font-accent);
  font-size: 2.75rem;
  margin-bottom: 1rem;
  color: var(--olive-dark);
}

.section-header p {
  font-family: var(--font-body);
  color: var(--text-light);
  font-size: 1.2rem;
  line-height: 1.8;
}

/* ================================
   About Section
================================ */

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

.about-text p {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-text strong {
  color: var(--olive-primary);
  font-weight: 700;
}

.circle-image {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  background: var(--olive-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: float 6s ease-in-out infinite;
}

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

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

/* ================================
   Cards
================================ */

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

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--olive-primary), var(--olive-light));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.service-card:hover,
.condition-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--olive-light);
}

.icon {
  margin: 0 0 1.5rem 0;
  background: var(--olive-primary);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 2.5;
}

.card h3 {
  color: var(--olive-dark);
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.card p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

.condition-card {
  text-align: center;
  padding: 2.5rem 2rem !important;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.condition-card h3 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--olive-dark);
}

/* ================================
   Services Flow - Staggered Layout
================================ */

.services-flow {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--leaf-green);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
}

.service-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-color: var(--olive-primary);
  transform: translateY(-5px);
}

/* Removed reverse styles to unify the look */

/* Removed service-icon styles as they are gone */

.service-text h3 {
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
  color: var(--olive-dark);
}

.service-text p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ================================
   Conditions Badges
================================ */

.conditions-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.condition-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--leaf-green);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: default;
  box-shadow: none; /* Removed initial shadow for cohesion */
}

.condition-badge:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--olive-primary);
}

.badge-emoji {
  display: none;
}

.badge-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--olive-dark);
  text-align: center;
  padding: 0 1.5rem;
  letter-spacing: 0.2px;
}

/* ================================
   Features Grid (Why Choose Us)
================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.feature-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  display: inline-block;
  animation: bounce 2s ease-in-out infinite;
}

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

.feature-item:nth-child(1) .feature-icon { animation-delay: 0s; }
.feature-item:nth-child(2) .feature-icon { animation-delay: 0.2s; }
.feature-item:nth-child(3) .feature-icon { animation-delay: 0.4s; }
.feature-item:nth-child(4) .feature-icon { animation-delay: 0.6s; }

.feature-item h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--olive-dark);
}

.feature-item p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ================================
   Testimonial Section
================================ */

.testimonial-section {
  background: linear-gradient(135deg, var(--olive-dark) 0%, var(--olive-primary) 100%);
  color: var(--white);
  text-align: center;
  padding: 6rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.testimonial-section::before {
  content: '"';
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 15rem;
  font-family: var(--font-heading);
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  pointer-events: none;
}

.testimonial-section blockquote {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.8;
  border: none;
  padding: 0;
  position: relative;
  z-index: 2;
}

.testimonial-section cite {
  font-family: var(--font-accent);
  font-weight: 700;
  font-style: normal;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ================================
   Contact Section
================================ */

.contact-section {
  padding: 6rem 1.5rem;
  background: var(--warm-bg);
}

/* Contact Wrapper Style Removed */

.contact-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 2;
}

.contact-header h2 {
  color: var(--white);
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.contact-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  font-family: var(--font-body);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
  position: relative;
  z-index: 2;
}

.contact-info {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-item {
  margin-bottom: 2rem;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item h4 {
  color: var(--olive-light);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.info-item p {
  color: var(--white);
  font-weight: 500;
  line-height: 1.8;
  font-size: 1.05rem;
}

.contact-form {
  background: var(--white);
  padding: 3rem 2.5rem;
  border-radius: 20px;
  color: var(--text);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--olive-dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1.2rem;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  outline: none;
  transition: all 0.3s ease;
  background: #fafafa;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--olive-primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(107, 142, 35, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* ================================
   Footer
================================ */

footer {
  background: linear-gradient(160deg, #2d3d18 0%, var(--olive-dark) 60%, #1e2a0e 100%);
  color: rgba(255, 255, 255, 0.92);
  padding: 4rem 1.5rem 1.5rem;
  font-family: var(--font-friendly);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-col h4 {
  font-family: var(--font-friendly);
  color: #b8d47a;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  opacity: 0.9;
}

.footer-verse {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.95rem;
  opacity: 0.8;
  padding-left: 1rem;
  border-left: 3px solid var(--olive-light);
}

.footer-verse span {
  font-style: normal;
  font-family: var(--font-accent);
  font-size: 0.85rem;
}

.footer-links,
.footer-contact,
.footer-hours {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--olive-light);
  transition: width 0.3s ease;
}

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

.footer-links a:hover::after {
  width: 100%;
}

.footer-contact li,
.footer-hours li {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.85;
  font-family: var(--font-friendly);
}

.footer-contact strong,
.footer-hours strong {
  color: #b8d47a;
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
  opacity: 0.8;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-bottom-links a:hover {
  color: var(--olive-light);
}


/* ================================
   Responsive Design
================================ */

@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .section-header h2 {
    font-size: 2.25rem;
  }
  
  .about-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .circle-image {
    max-width: 350px;
    margin: 0 auto;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  
  .footer-col:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  /* Mobile Navigation */
  .nav-links {
    position: fixed;
    inset: 0 0 0 30%;
    flex-direction: column;
    padding: min(20vh, 10rem) 2rem;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(1rem);
    -webkit-backdrop-filter: blur(1rem);
    transform: translateX(100%);
    transition: transform 350ms ease-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  .nav-links[data-visible="true"] {
    transform: translateX(0%);
  }

  .mobile-nav-toggle {
    display: block;
    position: absolute;
    z-index: 9999;
    background-color: transparent;
    background-image: url(./assets/icon-hamburger.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 0;
    width: 1.5rem;
    aspect-ratio: 1;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
  }

  .mobile-nav-toggle[aria-expanded="true"] {
    background-image: url(./assets/icon-close.svg);
  }

  /* Hero */
  .hero {
    padding: 5rem 1.5rem 4rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.15rem;
  }
  
  .hero-logo {
    max-width: 140px;
    margin-bottom: 1.5rem;
  }
  
  /* Sections */
  .section {
    padding: 4rem 1.5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .section-header p {
    font-size: 1.05rem;
  }
  
  /* Cards */
  .cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Services Flow */
  .services-flow {
    gap: 2rem;
  }
  
  .service-item {
    grid-template-columns: 70px 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .service-icon {
    width: 70px;
    height: 70px;
  }
  
  .service-text h3 {
    font-size: 1.2rem;
  }
  
  /* Conditions Badges */
  .conditions-badges {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .condition-badge {
    height: 180px;
    border-radius: 30%;
  }
  
  .badge-emoji {
    font-size: 2.5rem;
  }
  
  .badge-text {
    font-size: 1rem;
  }
  
  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Testimonial */
  .testimonial-section {
    padding: 4rem 1.5rem;
  }
  
  .testimonial-section blockquote {
    font-size: 1.3rem;
  }
  
  /* Contact */
  .contact-wrapper {
    padding: 3rem 2rem;
    border-radius: 20px;
  }
  
  .contact-header h2 {
    font-size: 2rem;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-col:first-child {
    grid-column: 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-bottom-links {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  nav {
    height: 75px;
  }
  
  .logo-img {
    height: 50px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
  }
  
  .section-header h2 {
    font-size: 1.75rem;
  }
  
  /* Services Flow */
  .service-item {
    grid-template-columns: 60px 1fr;
    gap: 1rem;
    padding: 1.25rem;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
  }
  
  .service-icon svg {
    width: 32px;
    height: 32px;
  }
  
  .service-text h3 {
    font-size: 1.1rem;
  }
  
  .service-text p {
    font-size: 0.95rem;
  }
  
  /* Conditions Badges */
  .conditions-badges {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .condition-badge {
    height: 150px;
    width: 100%;
  }
  
  .badge-emoji {
    font-size: 2.2rem;
  }
  
  .badge-text {
    font-size: 0.95rem;
  }
  
  .contact-wrapper {
    padding: 2rem 1.25rem;
  }
  
  .contact-header h2 {
    font-size: 1.75rem;
  }
  
  .contact-info {
    padding: 2rem 1.5rem;
  }
  
  /* Footer */
  footer {
    padding: 3rem 1.5rem 1.5rem;
  }
  
  .footer-logo {
    height: 50px;
  }
  
  .footer-bottom-links {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* ================================
   Utility Classes
================================ */

.text-center {
  text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ================================
   Facility Grid
================================ */

.facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-rows: 250px;
  gap: 1.5rem;
  margin-top: 2rem;
}

.facility-img {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.facility-img:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  z-index: 2;
}

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

@media (min-width: 768px) {
  .facility-img.wide {
    grid-column: span 2;
  }
}

/* ================================
   New Image & Layout Styles
================================ */

.hero-title {
  margin-top: 2rem;
  font-family: var(--font-heading);
}

.rounded-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  max-height: 450px;
}

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

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(58, 75, 31, 0.1);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: var(--shadow-sm);
  padding: 0;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--olive-primary);
}

.service-image-header {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-image-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-item:hover .service-image-header img {
  transform: scale(1.05);
}

.service-text {
  padding: 2rem 1.5rem;
}

.service-text h3 {
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
  color: var(--olive-dark);
}

.service-text p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.6;
}

.showcase-section {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  color: var(--white);
  text-align: center;
  padding: 8rem 1.5rem;
}

.showcase-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 62, 80, 0.6);
  z-index: 1;
}

.showcase-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.showcase-content h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.showcase-content p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--warm-bg);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--olive-dark);
  margin-bottom: 0.2rem;
}

.footer-brand-sub {
  font-family: var(--font-accent);
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .services-flow {
    grid-template-columns: 1fr;
  }
  .about-layout {
    flex-direction: column;
    display: flex;
    gap: 2rem;
  }
}

.footer-location-img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: var(--radius);
  margin-top: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: block;
}

.footer-location-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-location-images .footer-location-img {
  margin-top: 0;
}

.footer-location-images {
  flex-direction: row;
  gap: 0.75rem;
}

.footer-location-images .footer-location-img {
  width: calc(50% - 0.375rem);
  max-width: none;
}

/* ================================
   Early Intervention Standalone Section
================================ */

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

.early-intervention-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  color: var(--olive-dark);
}

.early-intervention-text p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.85;
  font-family: var(--font-friendly);
}

/* ================================
   Footer Refinements (Nunito)
================================ */

.footer-brand-title {
  font-family: var(--font-friendly);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.15rem;
  letter-spacing: -0.5px;
}

.footer-brand-sub {
  font-family: var(--font-friendly);
  color: #b8d47a;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a {
  font-family: var(--font-friendly);
  font-size: 0.95rem;
}

.footer-bottom p {
  margin: 0;
  opacity: 0.65;
  font-family: var(--font-friendly);
  font-size: 0.85rem;
}

/* Ensure service cards have no padding-bottom gap when no <p> is present */
.service-text {
  padding: 1.5rem 1.5rem;
}

.early-intervention-section .early-intervention-text {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}

/* ================================
   Scripture Quote Section
================================ */

.scripture-section {
  background-color: var(--olive-primary);
  padding: 5rem 1.5rem;
}

.scripture-quote {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  border: none;
  padding: 0;
}

.scripture-quote p {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  line-height: 1.55;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.scripture-quote cite {
  font-family: var(--font-friendly);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-style: normal;
}

/* Scripture quote inside showcase (photo background) */
.showcase-content .scripture-quote p {
  font-size: 2.2rem;
}

.showcase-content .scripture-quote cite {
  color: rgba(255, 255, 255, 0.65);
}
