/* ======== our-Programmes Us Banner ======== */
.our-Programmes-banner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.our-Programmes-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 25, 70, 0.65); 
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.our-Programmes-content h1 {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: capitalize;
  color: #fff;
}

.our-Programmes-content p {
  font-size: 20px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.our-Programmes-content p a {
  color: #ffb700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.our-Programmes-content p a:hover {
  color: #ff4f81;
}

.our-Programmes-content span {
  color: #fff;
  opacity: 0.8;
}

/* ======== Responsive ======== */
@media (max-width: 992px) {
  .our-Programmes-banner {
    height: 50vh;
  }
  .our-Programmes-content h1 {
    font-size: 44px;
  }
  .our-Programmes-content p {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .our-Programmes-banner {
    height: 45vh;
  }
  .our-Programmes-content h1 {
    font-size: 36px;
  }
  .our-Programmes-content p {
    font-size: 16px;
  }
}

/* ==== Base Section ==== */
.arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: #ffca28; 
  color: #2d2d70;
  font-size: 24px;
  border-radius: 50%;
  text-decoration: none;
  margin-top: 20px;
  transition: 0.3s ease;
  font-weight: bold;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.arrow-btn:hover {
  background: #ffb400; 
  transform: translateX(5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.cen-arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: white; 
  color: #2d2d70;
  font-size: 24px;
  border-radius: 50%;
  text-decoration: none;
  margin-top: 20px;
  transition: 0.3s ease;
  font-weight: bold;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.cen-arrow-btn:hover {
  background: white; 
  transform: translateX(5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.what-we-do {
  text-align: center;
  padding: 100px 20px;
  background: #fff;
  overflow: hidden;
}

.subtitle {
  color: #ff4f81;
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 500;
  animation: slideUp 1s ease forwards;
}

.main-title {
  color: #2d2d70;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 60px;
  animation: slideUp 1.2s ease forwards;
}

/* ==== Cards ==== */
.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  width: 320px;
  padding: 40px 25px;
  transition: all 0.3s ease;
  animation: slideUp 1.4s ease forwards;
  opacity: 0;
}

.card:nth-child(1) {
  animation-delay: 0.4s;
}
.card:nth-child(2) {
  animation-delay: 0.6s;
}
.card:nth-child(3) {
  animation-delay: 0.8s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.card h3 {
  color: #2d2d70;
  font-size: 20px;
  margin: 20px 0 10px;
  font-weight: 600;
}

.card p {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

.icon {
  background: #2d2d70;
  color: #fff;
  font-size: 40px;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 15px;
}

.highlight {
  background: #ffb400;
  color: #fff;
}

.highlight .icon {
  background: #fff;
  color: #ff4f81;
}
/* Start hidden */
.reveal {
  opacity: 0;
  transform: translateY(60px) scale(0.97);
  filter: blur(4px);
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

/* When visible */
.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Stagger cards */
.card.reveal {
  transition-delay: var(--delay, 0s);
}

/* ==== Animation ==== */
@keyframes slideUp {
  0% {
    transform: translateY(80px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ==== Responsive ==== */
@media (max-width: 992px) {
  .main-title {
    font-size: 34px;
  }

  .cards {
    gap: 20px;
  }

  .card {
    width: 280px;
  }
}

@media (max-width: 576px) {
  .main-title {
    font-size: 26px;
  }

  .card {
    width: 100%;
  }
}
/* ==== Serve Your Child CTA (start) ==== */
.serve-child-cta{
  position: relative;
  isolation: isolate;
  padding: 80px 20px;
  color: #fff;
  overflow: hidden;
}

.serve-child-cta__wrap{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.serve-child-cta__title{
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 300;
  margin: 0;
  letter-spacing: 0.2px;
}

.serve-child-cta__btn {
  padding: 18px 28px;
  border-radius: 999px;
  background: #FFB000;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.scroll-reveal.show .serve-child-cta__btn {
  animation: btn-blink .6s ease-in-out 0s 5;
}
.serve-child-cta__btn:hover{
    display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 28px;
  border-radius: 999px;
  background: #e84c7f; 
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform .15s ease, box-shadow .2s ease;
  animation: btn-blink .6s ease-in-out 0s 5;
}
.serve-child-cta__btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
  animation: btn-blink .6s ease-in-out 0s 1;
}
.scroll-reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity .9s ease-out, transform 1.1s ease-out;
}

/* When visible */
.scroll-reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes btn-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; filter: brightness(1.1); }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce){
  .serve-child-cta__btn{
    animation: none;
  }
}

/* Stack layout on small screens */
@media (max-width: 768px){
  .serve-child-cta__wrap{
    grid-template-columns: 1fr;
    text-align: left;
  }
  .serve-child-cta__btn{
    justify-self: start;
  }
}
