/* ==== Fee Structure Section ==== */
.main-fee {
  min-height: 100vh; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 40px 20px;
  /* height: 1000%; */
}

.main-fee::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.4); dark overlay for contrast */
  z-index: 1;
}

/* === Heading === */
.main-fee h1 {
  position: relative;
  z-index: 2;
  font-size: 48px;
  color: #393D72;
  font-weight: 600;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

/* === Image === */
.main-fee img {
  position: relative;
  z-index: 2;
  max-width: 80%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.main-fee img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* ==== Responsive ==== */
@media (max-width: 992px) {
  .main-fee h1 {
    font-size: 36px;
    margin-bottom: 30px;
  }

  .main-fee img {
    max-width: 90%;
  }
}

@media (max-width: 576px) {
  .main-fee {
    min-height: auto;
    padding: 60px 10px;
  }

  .main-fee h1 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .main-fee img {
    max-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;
}

.scroll-reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes btn-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; filter: brightness(1.1); }
}

@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;
  }
}
