/* ------------------- Global fixes ------------------- */
html, body {
  overflow-x: hidden;
  scroll-behavior: smooth;
  margin: 0;
  font-family: 'Raleway', sans-serif;
}

body {
  min-height: 100%;
  background-color: #fff;
  background-size: cover;
  position: relative;
}



body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom right, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
  z-index: -1;
}



/* ---------------- NAVBAR ---------------- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all 0.4s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav.scrolled {
  padding: 10px 50px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
}

nav .logo {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

nav.scrolled .logo {
  font-size: 1.9rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav ul li {
  position: relative;
}

nav ul li a {
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  padding: 5px 0;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

nav ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: 0;
  background: #ffd700;
  transition: width 0.3s ease;
  display: none;
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a:hover {
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

nav .btn {
  padding: 10px 20px;
  background: #ffd700;
  border-radius: 30px;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

nav .btn:hover {
  color: black;
    text-decoration: none; 
  box-shadow: 0 6px 18px rgba(255, 215, 0, 0.5);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 45px;
  left: 0;
  background: rgba(0,0,0,0.85);
  border-radius: 12px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  min-width: 180px;
  z-index: 100;
  display: flex;
  flex-direction: column; 
}

.dropdown-menu li a {
  display: block;
  padding: 12px 25px;
  color: #fff;
  font-weight: 500;
  transition: 0.3s;
}

.dropdown-menu li a:hover {
  color: #ffd700;
  background: rgba(255,255,255,0.05);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Burger Button */
  .burger {
    
    display: none;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    width: 30px;
    height: 20px;
    gap: 5px;
    z-index: 200; /* make sure it's on top */
  }

  .burger span {
    display: block;
    height: 300px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* Burger Animation */
  .burger.open span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }
  .burger.open span:nth-child(2) {
    opacity: 0;
  }
  .burger.open span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }

  /* Mobile Styles */
  @media (max-width: 768px) {
    .burger {
      display: flex;
    }

    nav ul {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* links start from top */
    align-items: center;         /* horizontally center links */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #f2e6e1, #e6d5c3, #d9c1aa); /* muted warm gradient */
    backdrop-filter: blur(6px);
    padding-top: 80px; /* space from top for navbar */
    margin: 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
    z-index: 150;
}

nav ul.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

nav ul li {
    list-style: none;
    margin: 8px 0; /* balanced spacing */
}

nav ul li a {
    font-size: 1.5rem;
    font-weight: 500;
    color: #5c3a21; /* soft brown for readability */
    text-decoration: none;
    letter-spacing: 0.5px;
    padding: 10px 25px;
    border-radius: 25px;
    
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.4);
    color: #a55c42; /* warm hover accent */
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
  }





/* Mobile Navbar */
@media (max-width: 768px) {
   nav {
    display: flex;
    justify-content: space-between; /* logo left, burger right */
    align-items: center;
    position: fixed;   /* navbar stays on scroll */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 10px; /* works now */
    height: 50px; /* consistent height */
   
  }

  .logo {
    margin: 0;
    padding: 0;
    font-size: 2rem;
   position: relative; /* keep it inside nav flow */
    margin-left: 0px;
    
  }

  .burger {
    display: flex;
    position: absolute; /* keep inside nav */
    right: 0; /* hug right edge */
    transform: none;
    transform: translateX(-50%);
    
  }

  nav ul {
    position: absolute;
    top: 70px; /* below nav */
    right: 15px;
  }
}












  

/* ---------------- HERO ---------------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  background-image: url('images/parenting1.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.hero h1,
.hero h2 {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  font-weight: 700;
  background: linear-gradient(90deg, #ffe29f, #ffa99f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
  text-shadow: 3px 5px 12px rgba(0,0,0,0.6);
  margin: 0;
  animation: fadeSlideDown 1.2s ease-out forwards;
}

.hero h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.7rem;
  font-weight: 400;
  color: #fff;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.5);
  margin-top: 20px;
  max-width: 700px;
  animation: fadeSlideUp 1.4s ease-out forwards;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1rem;
  color: #fff;
  opacity: 0.8;
  animation: bounce 2s infinite;
}

/* Animations */
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -10px); }
}

/* Mobile Hero */
@media (max-width: 576px) {
  .hero {
    min-height: 100vh;
    background-position: center top;
    padding: 0 15px;
  }

  .hero h1 {
    font-size: 3rem;
    letter-spacing: 1px;
  }

  .hero h2 {
    font-size: 1.3rem;
    max-width: 90%;
  }

  .scroll-indicator {
    font-size: 0.9rem;
    bottom: 20px;
  }
}

/* ---------------- ABOUT ---------------- */
.about {
  background: linear-gradient(to right, #fff0f5, #ffe5ec);
  padding: 80px 20px;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

.about-text { flex: 1; }

.about-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #ff9a9e, #fad0c4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-text h2 {
  font-size: 1.8rem;
  color: #222;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 25px;
}

.about-text .btn {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(90deg, #ff758c, #ff7eb3);
  color: #fff;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
}

.about-text .btn:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, #ff4e68, #ff6f91);
  
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  object-fit: cover;
  border: 5px solid #fff;
  padding: 5px;
  transition: transform 0.5s ease;
}

/* Hover only on desktop */
@media (hover: hover) {
  .about-image img:hover {
    transform: rotate(-10deg) scale(1.05);
  }
}

/* Tablet */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-text h1 { font-size: 2.5rem; }
  .about-text h2 { font-size: 1.5rem; }
  .about-text p  { font-size: 1rem; }

  .about-image img { max-width: 400px; }
}

/* Mobile */
@media (max-width: 576px) {
  .about {
    padding: 50px 15px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .about-text h1 { font-size: 2rem; }
  .about-text h2 { font-size: 1.2rem; }
  .about-text p  { font-size: 0.95rem; }
  .about-text .btn { padding: 10px 20px; font-size: 0.9rem; }

  .about-image img {
    max-width: 100%;
    border-radius: 15px;
    transform: none;
  }
}

/* ---------------- OTHER SECTIONS (Programs, Stories, Testimonials, CTA, Footer) ---------------- */
/* I kept your existing rules intact since they were already good and responsive. */


.hidden-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1s ease-out;
}

.hidden-right {
  opacity: 0;
  transform: translateX(100px);
  transition: all 1s ease-out;
}

.show {
  opacity: 1;
  transform: translateX(0);
}

.mission-vision {
  padding: 100px 50px;
  background: linear-gradient(to right, #fff0f5, #ffe5ec); /* light blush */
}

.mv-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.mv-header {
  text-align: center;
  margin-bottom: 60px;
}

.mv-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: #222;
}

.mv-header p {
  font-family: 'Raleway', sans-serif;
  font-size: 1.2rem;
  color: #555;
}

.mv-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: center;
  text-align: center;
}

.mv-card {
  flex: 0 1 400px; /* base width of 400px, can shrink but not below */
  max-width: 450px; /* optional: limit max width */
  background: white;
  border-radius: 20px;
  padding: 40px 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.2s;
  margin: 0; /* keep centered */
}

.mv-card:hover {
  transform: translateY(-10px);
}

.mv-card i {
  font-size: 3rem;
  color: #ff7f50;
  margin-bottom: 20px;
}

.mv-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #222;
}

.mv-card p {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .mv-content {
    flex-direction: column;
    align-items: center;
  }
}


.programs {
  padding: 100px 20px;
  background: linear-gradient(to right, #fff0f5, #ffe5ec); /* matches About & Success Stories */
  text-align: center;
}

.programs-header h1 {
  font-family: 'Playfair Display', serif; /* same as About & headers */
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(90deg, #ff9a9e, #fad0c4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.programs-header p {
  font-family: 'Raleway', sans-serif; /* matches body text */
  font-size: 1.2rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

/* Grid layout */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.program-card {
  background: #fff;
  padding: 30px 25px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.program-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 20px;
}

.program-card h2 {
  font-family: 'Playfair Display', serif; /* keep consistent with About h2 */
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #e91e63;
}

.program-card p {
  font-family: 'Raleway', sans-serif; /* matches About paragraph */
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
}

/* 📱 Mobile Responsive */
@media (max-width: 768px) {
  .programs-header h1 {
    font-size: 2.2rem;
  }

  .programs-header p {
    font-size: 1rem;
    padding: 0 15px;
  }

  .programs-grid {
    grid-template-columns: 1fr; /* stack */
    gap: 25px;
  }

  .program-card img {
    height: 180px;
  }

  .program-card h2 {
    font-size: 1.3rem;
  }

  .program-card p {
    font-size: 0.95rem;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  background: linear-gradient(90deg, #ff9a9e, #fad0c4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.2rem;
  color: #555;
}

.success-stories {
  background: linear-gradient(to right, #fff0f5, #ffe5ec);
  padding: 100px 20px;
}

.section-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  background: linear-gradient(90deg, #ff9a9e, #fad0c4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

.section-header p {
  font-family: 'Raleway', sans-serif;
  font-size: 1.2rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

/* Grid layout */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
  padding: 0 15px;
}

.story-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.story-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.story-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 5px solid #ffd700;
}

.story-content {
  padding: 20px;
}

.story-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #222;
}

.story-content p {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* 📱 Mobile Responsive */
@media (max-width: 768px) {
  .section-header h1 {
    font-size: 2.2rem;
  }

  .section-header p {
    font-size: 1rem;
    padding: 0 10px;
  }

  .story-img img {
    height: 180px;
  }

  .story-content h2 {
    font-size: 1.3rem;
  }

  .story-content p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .success-stories {
    padding: 60px 15px;
  }

  .section-header h1 {
    font-size: 1.8rem;
  }

  .story-img img {
    height: 160px;
  }

  .story-content h2 {
    font-size: 1.2rem;
  }

  .story-content p {
    font-size: 0.9rem;
  }
}

.testimonials {
  background: linear-gradient(to right, #fff0f5, #ffe5ec);
  padding: 80px 20px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.testimonial-card {
  background: linear-gradient(135deg, #ffecd2, #fcb69f);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-card p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 15px;
  font-style: italic;
}

.testimonial-card h4 {
  font-size: 1rem;
  color: #222;
  font-weight: 600;
}



.cta {
  background: linear-gradient(135deg, #ff9a9e, #fad0c4);
  color: #fff;
  border-radius: 25px;
  padding: 80px 40px;
  margin: 50px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}


.cta h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 12px rgba(0,0,0,0.3);
}

.cta p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: auto;
  margin-bottom: 30px;
}

.cta .btn {
  padding: 15px 40px;
  font-size: 1.1rem;
  background: #ffd700;
  border-radius: 50px;
  color: #000;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(255, 215, 0, 0.4);
}

.cta .btn:hover {
  background: #e6c200;
  transform: scale(1.08);
  box-shadow: 0 8px 22px rgba(255, 215, 0, 0.5);
}

.cta-decor span {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  animation: float 6s infinite;
}

.cta-decor span:nth-child(1) { width: 100px; height: 100px; top: -50px; left: -30px; animation-delay: 0s; }
.cta-decor span:nth-child(2) { width: 150px; height: 150px; bottom: -70px; right: -50px; animation-delay: 2s; }
.cta-decor span:nth-child(3) { width: 80px; height: 80px; top: 20%; left: 50%; animation-delay: 4s; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-20px) translateX(15px); }
}

footer {
  background: #1b1b2f;
  color: #eee;
  padding: 60px 20px 20px;
  font-family: 'Raleway', sans-serif;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  max-width: 1200px;
  margin: auto;
  justify-content: space-between;
}

.footer-about, .footer-links, .footer-newsletter {
  flex: 1 1 300px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 20px;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.5);
}

.footer-about p {
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-socials a {
  color: #fff;
  margin-right: 15px;
  font-size: 1.3rem;
  transition: transform 0.3s, color 0.3s;
}

.footer-socials a:hover {
  color: #ffd700;
  transform: translateY(-3px) scale(1.1);
}

.footer-links h3, .footer-newsletter h3 {
  color: #ffd700;
  font-family: 'Playfair Display', serif;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #ccc;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #ffd700;
}

.footer-newsletter p {
  color: #ccc;
  margin-bottom: 15px;
}

.footer-newsletter form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-newsletter input[type="email"] {
  padding: 12px 15px;
  border-radius: 30px;
  border: none;
  outline: none;
}

.footer-newsletter button {
  padding: 12px 0;
  border-radius: 30px;
  border: none;
  background: #ffd700;
  color: #000;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.footer-newsletter button:hover {
  background: #e6c200;
  transform: scale(1.05);
}

.footer-bottom {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  padding-top: 15px;
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
}

@media(max-width: 900px){
  .footer-top {
    flex-direction: column;
    align-items: center;
  }
  .footer-about, .footer-links, .footer-newsletter {
    text-align: center;
  }
}
















/* Mission & Vision Mobile Margin Fix */
@media (max-width: 768px) {
  .mv-content {
    flex-direction: column; /* stack vertically */
    gap: 30px;
    align-items: center;
    padding: 0 15px; /* add horizontal padding */
  }

  .mv-card {
    width: 100%;
    max-width: 500px; /* optional: limit width so it doesn't stretch too far */
    box-sizing: border-box; /* ensures padding doesn't break layout */
  }
}

/* ------------------- Hero fixes ------------------- */
@media (max-width: 576px) {
  .hero h1 {
    font-size: 2.5rem; /* smaller font */
    letter-spacing: 1px;
  }

  .hero h2 {
    font-size: 1.1rem;
    max-width: 90%;
  }

  .scroll-indicator {
    font-size: 0.8rem;
    bottom: 15px;
  }
}

/* ------------------- About section ------------------- */
@media (max-width: 576px) {
  .about {
    padding: 40px 15px;
  }

  .about-text h1 {
    font-size: 1.8rem;
  }

  .about-text h2 {
    font-size: 1.1rem;
  }

  .about-text p {
    font-size: 0.9rem;
  }

  .about-text .btn {
    padding: 8px 18px;
    font-size: 0.85rem;
  }

  .about-image img {
    max-width: 100%;
    border-radius: 12px;
    transform: none;
  }
}

/* ------------------- Programs ------------------- */
@media (max-width: 768px) {
  .programs-grid {
    grid-template-columns: 1fr; /* stack cards */
    gap: 20px;
  }

  .program-card img {
    height: 150px;
  }

  .program-card h2 {
    font-size: 1.2rem;
  }

  .program-card p {
    font-size: 0.9rem;
  }
}

/* ------------------- Success Stories ------------------- */
@media (max-width: 768px) {
  .stories-grid {
    grid-template-columns: 1fr;
  }

  .story-img img {
    height: 150px;
  }

  .story-content h2 {
    font-size: 1.2rem;
  }

  .story-content p {
    font-size: 0.9rem;
  }
}

/* ------------------- Testimonials ------------------- */
@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-card p {
    font-size: 0.95rem;
  }

  .testimonial-card h4 {
    font-size: 0.9rem;
  }
}

/* ------------------- CTA ------------------- */
@media (max-width: 768px) {
  .cta {
    padding: 50px 20px;
    margin: 30px 15px;
  }

  .cta h1 {
    font-size: 2rem;
  }

  .cta p {
    font-size: 1rem;
  }

  .cta .btn {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

/* ------------------- Footer ------------------- */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
  }

  .footer-about, .footer-links, .footer-newsletter {
    text-align: center;
  }
}