/* ========================================
   CUTELAND DAYCARE - MAIN STYLESHEET
   Created by AltaForm Studio
   ======================================== */

/* ========================================
   CSS VARIABLES 
   ======================================== */
:root {
  /* Brand Colors */
  --color-red: #ff4444;
  --color-blue: #4a90e2;
  --color-yellow: #ffd93d;
  --color-green: #6bcb77;
  --color-light: #f8f9fa;
  --color-dark: #2c3e50;
  --color-white: #ffffff;
  --color-gray: #666666;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;

  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 2rem;
  --radius-full: 50px;

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);

  /* Transitions */
  --transition: 0.3s ease;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--color-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: url("../images/background.png");
  background-repeat: repeat;
  background-size: auto;
  background-attachment: fixed;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: bold;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Delius Unicase", cursive;
  font-weight: 700;
}
p {
  margin-bottom: 1rem;
}

/* Text Color Utilities */
.text-red {
  color: var(--color-red);
}
.text-blue {
  color: var(--color-blue);
}
.text-yellow {
  color: var(--color-yellow);
}
.text-green {
  color: var(--color-green);
}
.text-dark {
  color: var(--color-dark);
}
.text-white {
  color: var(--color-white);
}

/* ========================================
   NAVIGATION
   ======================================== */
#main-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  padding: 0.5rem 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}

.logo * {
  text-decoration: none !important;
}

a.logo,
a.logo:hover,
a.logo:visited,
a.logo:active {
  text-decoration: none !important;
}

.logo-image {
  height: 120px;
  width: auto;
  margin-right: 0.5rem;
}

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

.logo .logo-title {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  background: linear-gradient(
    to right,
    var(--color-red),
    var(--color-blue),
    var(--color-green)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  text-decoration: none;
}

.logo p {
  font-size: 1.25rem;
  background: linear-gradient(
    to right,
    var(--color-red),
    var(--color-blue),
    var(--color-green)
  );
  text-decoration: none;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  margin-top: 0.25rem;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: var(--spacing-md);
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
  text-transform: capitalize;
  background: linear-gradient(
    to right,
    var(--color-red),
    var(--color-blue),
    var(--color-green)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links a:hover {
  opacity: 0.7;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--color-dark);
  transition: var(--transition);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
}

/* Background Slider */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  filter: contrast(1.15) saturate(1.2) brightness(1.05);
}

.hero-slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    transparent 40%,
    rgba(0, 0, 0, 0.2) 70%,
    rgba(0, 0, 0, 0.4) 100%
  );
  pointer-events: none;
  z-index: 2;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide.active {
  opacity: 1;
}

/* Dark Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

/* Content on Top */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: left;
  color: white;
  width: 100%;
  height: 100%;
  padding: 150px 120px 50px 120px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  text-align: center;
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-lg);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* Slider Dots */
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: white;
  width: 30px;
  border-radius: 6px;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Floating Elements Animation */
.floating-element {
  position: absolute;
  z-index: 4;
  animation: bounce 2s ease-in-out infinite;
}

.floating-element img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  display: block;
}

.balloon {
  top: 10rem;
  left: 2rem;
  animation-delay: 0s;
}

.star {
  top: 10rem;
  right: 5rem;
  animation-delay: 0.5s;
}

.rainbow {
  bottom: 5rem;
  left: 5rem;
  animation-delay: 1s;
}

.butterfly {
  bottom: 10rem;
  right: 2rem;
  animation-delay: 1.5s;
}

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

.floating-elements-global {
  position: fixed; /* fixed = on entire site */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none; /* don't interfere with clicks */
  z-index: 9999;
}

/* Smaller on mobile */

/* ========================================
   SECTIONS
   ======================================== */
.section {
  padding: var(--spacing-xl) var(--spacing-md);
}

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

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: var(--spacing-sm);
}

.section-subtitle {
  font-size: 1.25rem;
  text-align: center;
  color: var(--color-gray);
  margin-bottom: var(--spacing-lg);
}

/* Background Colors */
.bg-white {
  background: transparent;
}

.bg-light {
  background: transparent;
}

/* ========================================
   GRID LAYOUTS
   ======================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

/* ========================================
   CARDS
   ======================================== */
.card {
  background: rgba(255, 255, 255, 0.9);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}

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

.card-icon {
  font-size: 4rem;
  margin-bottom: var(--spacing-sm);
}

.card-icon-img {
  width: 140px;
  height: 140px;
  margin-bottom: var(--spacing-sm);
  object-fit: contain;
}

.card:hover .card-icon-img,
.program-card:hover .card-icon-img {
  transform: scale(1.1) rotate(5deg);
  transition: transform 0.5s ease;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

.card p {
  color: var(--color-gray);
  line-height: 1.8;
}

/* ========================================
   ICON STYLES
   ======================================== */
.title-icon {
  width: 100px;
  height: 100px;
  vertical-align: middle;
  margin-left: -0.7rem;
  display: inline-block;
  transform: translateY(-5px);
}

.inline-icon {
  width: 60px;
  height: 60px;
  vertical-align: middle;
  display: inline-block;
  margin-left: -0.7rem;
  transform: translateY(-8px);
}

.footer-icon-img {
  width: 80px;
  height: 80px;
  margin-bottom: var(--spacing-sm);
}

.contact-icon-img {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  object-fit: contain;
  margin-right: var(--spacing-sm);
  align-self: center;
}

/* ========================================
   MISSION BOX
   ======================================== */
.mission-box {
  background: rgba(255, 255, 255, 0.9);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  margin-top: var(--spacing-lg);
}

.mission-box h3 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.mission-box p {
  font-size: 1.25rem;
  text-align: center;
  color: #555;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
}

/* ========================================
   PROGRAMS
   ======================================== */
.program-card {
  background: rgba(255, 255, 255, 0.9);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition);
  cursor: pointer;
  text-align: center;
}

.program-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.program-age {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: var(--spacing-sm);
}

.program-description {
  color: var(--color-gray);
  margin-bottom: var(--spacing-md);
}

.program-card .btn {
  margin-top: var(--spacing-sm);
}

/* Program Comparison Table */
.program-table-wrapper {
  margin-top: var(--spacing-lg);
  overflow-x: auto;
}

.program-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  font-size: 0.95rem;
}

.program-table thead {
  background: var(--color-blue);
  color: white;
}

.program-table th,
.program-table td {
  padding: 0.75rem 1rem;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.program-table th:first-child,
.program-table td:first-child {
  text-align: left;
  font-weight: 600;
}

.program-table tbody tr:hover {
  background: rgba(74, 144, 226, 0.05);
}

/* ========================================
   SPECIAL EVENTS SECTION
   ======================================== */
.events-section {
  background: linear-gradient(
    135deg,
    rgba(255, 68, 68, 0.1),
    rgba(74, 144, 226, 0.1)
  );
}

.events-banner {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--spacing-md);
  align-items: center;
}

.events-icon {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.events-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.events-content h2 {
  font-size: 2.5rem;
  color: var(--color-blue);
  margin-bottom: var(--spacing-sm);
}

.events-content p {
  font-size: 1.25rem;
  color: var(--color-gray);
  line-height: 1.8;
  margin: 0;
}

.events-photos {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.event-photo {
  font-size: 3rem;
  background: white;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

/* Mobile */
@media (max-width: 768px) {
  .events-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: var(--spacing-md);
  }

  .events-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
  }

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

  .events-content p {
    font-size: 1.1rem;
  }

  .events-photos {
    justify-content: center;
  }

  .event-photo {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
}
/* ========================================
GALLERY
======================================== */
/* Gallery Container */
.gallery-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* Gallery Slide - NO fixed height! */
.gallery-slide {
  position: relative;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-color: #2c3e50;
  background-size: cover;
  background-position: center;
}

/* Blurred background (copy of image) */
.gallery-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(20px) brightness(0.6);
  z-index: 0;
}

/* Gallery Image - adaptive! */
#gallery-image {
  position: relative;
  width: 100%;
  height: auto; /* automatic height! */
  display: block;
  max-height: 600px; /* max to avoid huge images */
  object-fit: contain;
  filter: contrast(1.15) saturate(1.2) brightness(1.05);
  z-index: 1;
}

/* Gallery Content */
.gallery-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    transparent 100%
  );
  color: white;
  padding: var(--spacing-lg);
  text-align: center;
  z-index: 5;
  display: none; /* Hidden by default */
}

.gallery-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

#gallery-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

#gallery-type {
  font-size: 1rem;
  color: white;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Gallery Navigation */
.gallery-nav {
  position: absolute;
  top: 300px; /* Fixed vertical position */
  background: var(--color-white);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition);
  font-size: 1.5rem;
  color: var(--color-blue);
  z-index: 100;
  pointer-events: auto; /* Always clickable */
}

.gallery-nav:hover {
  box-shadow: var(--shadow-lg);
}

.gallery-nav.prev {
  left: var(--spacing-sm);
}

.gallery-nav.next {
  right: var(--spacing-sm);
}

/* Gallery Progress Bar */
.gallery-progress {
  margin-top: var(--spacing-md);
  text-align: center;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: var(--spacing-xs);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(
    to right,
    var(--color-red),
    var(--color-blue),
    var(--color-green)
  );
  width: 2.22%; /* 1/45 = 2.22% */
  transition: width 0.3s ease;
  border-radius: 10px;
}

.progress-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
}

/* Mobile */
@media (max-width: 768px) {
  .gallery-slide {
    height: 450px; /* Fixed height on mobile */
  }

  #gallery-image {
    height: 100%; /* Takes full container height */
    width: 100%;
    max-height: none; /* Remove limit */
    object-fit: cover; /* Fills without distortion */
  }

  .gallery-icon {
    font-size: 2rem;
  }

  #gallery-title {
    font-size: 1.3rem;
  }

  .gallery-nav {
    top: 225px; /* Center 450px / 2 */
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* ========================================
   REVIEWS
   ======================================== */
.review-card {
  background: rgba(255, 255, 255, 0.9);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: var(--spacing-sm);
}

.star-img {
  width: 28px;
  height: 28px;
  display: inline-block;
  margin-right: 0.25rem;
  vertical-align: middle;
}

.review-text {
  font-style: italic;
  color: var(--color-gray);
  margin-bottom: var(--spacing-sm);
}

.review-author {
  font-weight: bold;
  color: var(--color-blue);
}

/* ========================================
   FORMS
   ======================================== */
.form-container {
  max-width: 600px;
  margin: var(--spacing-lg) auto 0;
  background: rgba(255, 255, 255, 0.9);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.form-title {
  text-align: center;
  margin-bottom: var(--spacing-md);
  font-size: 2rem;
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  color: var(--color-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #ddd;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-blue);
}

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

/* Star Rating */
.star-rating {
  display: flex;
  gap: var(--spacing-xs);
}

.star-rating button {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  transition: transform var(--transition);
}

.star-rating button:hover {
  transform: scale(1.1);
}

/* ========================================
   COMMUNITY / LOCAL SEO
   ======================================== */
.community-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.community-content p {
  margin-bottom: 1rem;
  color: #444;
}

.map-wrapper {
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
  display: block;
}

/* ========================================
   FAQ
   ======================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  color: var(--color-dark);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.faq-item p {
  color: #444;
  line-height: 1.7;
}

/* ========================================
   CONTACT
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: var(--spacing-lg);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.contact-item {
  display: flex;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-sm);
  transition: box-shadow var(--transition);
}

.contact-item:hover {
  box-shadow: var(--shadow-md);
}

.contact-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-item h3 {
  margin-bottom: 0.25rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.9);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

/* ========================================
   BUTTONS
   ======================================== */
.button-group {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: bold;
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-md);
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.btn-red {
  background: var(--color-red);
}

.btn-blue {
  background: var(--color-blue);
}

.btn-green {
  background: var(--color-green);
}

.btn-yellow {
  background: var(--color-yellow);
  color: var(--color-dark);
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background: white;
  color: var(--color-blue);
}

.btn-full {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
}

/* ========================================
   FOOTER
   ======================================== */
footer {
  background-image: url("../images/footer-panorama.png");
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  background-attachment: scroll;
  position: relative;
  padding: var(--spacing-xl) 0;
  color: white;
  min-height: 400px;
  text-align: center;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

footer * {
  position: relative;
  z-index: 2;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

footer a {
  color: white;
  text-decoration: none;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

footer a:hover {
  color: var(--primary-yellow);
}

.footer-social {
  margin: 1.5rem 0 0.5rem;
  font-size: 0.95rem;
}

.footer-social a {
  transition: all 0.3s ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
  display: inline-block;
}

.footer-links {
  margin: 0.5rem 0 1.5rem;
  font-size: 0.95rem;
}

.footer-links a {
  transition: all 0.3s ease;
}

.footer-links a:hover {
  transform: translateY(-2px);
  display: inline-block;
}

.footer-copy {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.95;
}

.footer-credit {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ========================================
   RESPONSIVE DESIGN (Mobile)
   ======================================== */
@media (max-width: 768px) {
  /* Navigation */
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .logo-image {
    height: 80px;
  }

  .logo .logo-title {
    font-size: 1.5rem;
  }

  .logo p {
    font-size: 1rem;
  }

  /* Hero */
  .hero {
    height: 60vh;
    min-height: 400px;
  }

  .hero-slide {
    background-position: center center;
    background-size: cover;
  }

  .hero-content {
    padding: 0 var(--spacing-md);
    padding-bottom: 80px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-bottom: var(--spacing-sm);
  }

  .hero-subtitle {
    position: static;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
    word-wrap: break-word;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  /* Sections */
  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  /* Icons */
  .title-icon {
    width: 60px;
    height: 60px;
    transform: translateY(-3px);
  }

  .inline-icon {
    width: 40px;
    height: 40px;
    transform: translateY(-2px);
  }

  .card-icon-img {
    width: 100px;
    height: 100px;
  }

  .contact-icon-img {
    width: 50px;
    height: 50px;
  }

  /* Floating elements */
  .floating-element img {
    width: 50px;
    height: 50px;
  }

  .balloon,
  .star {
    top: 10rem;
  }

  .rainbow,
  .butterfly {
    bottom: 2rem;
  }

  /* Gallery */
  .gallery-slide {
    height: 300px;
  }

  .gallery-icon {
    font-size: 4rem;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* Grid */
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   very small screens
   ======================================== */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem; /* even smaller! */
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .floating-element img {
    width: 40px;
    height: 40px;
  }
}

/* ========================================
   MOBILE MENU STYLES
   ======================================== */
@media (max-width: 768px) {
  .nav-links {
    display: flex;
    position: fixed;
    top: 100px;
    right: -100%;
    width: 70%;
    height: auto;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.929);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 2rem;
    gap: 0.5rem;
    border-radius: 1rem 0 0 1rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 9999;
    list-style: none;
  }

  .nav-links a {
    font-size: 1.25rem;
    padding: 1rem 0;
    width: 100%;
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-menu-btn {
    display: flex;
    z-index: 10000;
  }
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

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

@media (max-width: 768px) {
  footer {
    background-position: center center;
    background-attachment: scroll;
    min-height: 300px;
    padding: var(--spacing-lg) var(--spacing-md);
  }

  footer::before {
    background: rgba(0, 0, 0, 0.6);
  }

  footer h3 {
    font-size: 1.2rem;
  }

  footer p {
    font-size: 0.9rem;
  }

  footer .footer-logo img {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  footer {
    min-height: 250px;
    padding: var(--spacing-md);
  }

  footer::before {
    background: rgba(0, 0, 0, 0.65);
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: var(--spacing-sm);
}

.mt-2 {
  margin-top: var(--spacing-md);
}

.mt-3 {
  margin-top: var(--spacing-lg);
}

.mb-1 {
  margin-bottom: var(--spacing-sm);
}

.mb-2 {
  margin-bottom: var(--spacing-md);
}

.mb-3 {
  margin-bottom: var(--spacing-lg);
}

/* ========================================
   SEO: Inline style replacements
   ======================================== */
.program-comparison-title {
  text-align: center;
  margin: 2rem 0 1rem;
}

.reviews-cta {
  text-align: center;
  margin-top: 3rem;
}

.reviews-cta-note {
  margin-top: 1rem;
  color: #666;
  font-size: 0.9rem;
}

.footer-title {
  margin-bottom: 0.5rem;
}

.footer-subtitle {
  margin-bottom: 0.5rem;
}

.footer-tagline {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-divider {
  margin: 0 0.5rem;
}

.footer-credit-link {
  text-decoration: none;
}

/* ========================================
   ACCESSIBILITY: Skip navigation
   ======================================== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  background: var(--color-dark);
  color: var(--color-white);
  padding: 8px 16px;
  z-index: 10000;
}

.skip-link:focus {
  left: 0;
  top: 0;
}

/* ========================================
   HERO SLIDE BACKGROUNDS
   ======================================== */
.hero-slide-1 { background-image: url('../images/hero/hero-slide-4.jpeg'); }
.hero-slide-2 { background-image: url('../images/hero/hero-slide-1.jpg'); }
.hero-slide-3 { background-image: url('../images/hero/hero-slide-2.jpg'); }
.hero-slide-4 { background-image: url('../images/hero/hero-slide-3.jpg'); }
.hero-slide-5 { background-image: url('../images/hero/hero-slide-5.jpeg'); }
.hero-slide-6 { background-image: url('../images/hero/hero-slide-6.png'); }
