/* ======== About Us Banner ======== */
.about-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;
}

.about-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 25, 70, 0.65); /* dark overlay for readability */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.about-content h1 {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: capitalize;
  color: #fff;
}

.about-content p {
  font-size: 20px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.about-content p a {
  color: #ffb700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.about-content p a:hover {
  color: #ff4f81;
}

.about-content span {
  color: #fff;
  opacity: 0.8;
}

/* ======== Responsive ======== */
@media (max-width: 992px) {
  .about-banner {
    height: 50vh;
  }
  .about-content h1 {
    font-size: 44px;
  }
  .about-content p {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .about-banner {
    height: 45vh;
  }
  .about-content h1 {
    font-size: 36px;
  }
  .about-content p {
    font-size: 16px;
  }
}

/* /////////////city holdings section/////////////*/
.city-holdings-section {
  text-align: center;
  margin: -50px 0px 250px 0px ;
  padding: 0 15px;
  max-width: 1200px;
}

.city-banner {
  margin-bottom: 40px;
}

.city-banner img {
  width: 80%;
  margin-left: 10%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.city-content {
  color: #333;
}

.icon-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.icon-text i {
  color: #ff4f81;
  font-size: 26px;
}

.city-content h2 {
  color: #2e3361;
  font-weight: 600;
  font-size: 28px;
  margin: 0;
}

.city-content p {
  color: #757575;
  font-size: 16px;
  line-height: 1.7;
  margin-top: 10px;
}

.city-content a {
  color: #3b59ff;
  text-decoration: none;
  font-weight: 500;
}

.city-content a:hover {
  color: #ff4f81;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .city-content h2 {
    font-size: 22px;
  }
  .city-content p {
    font-size: 15px;
  }
}

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Base: Hidden + soft blur + slight Y offset */
.scroll-item {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(6px);
  transition: 
    opacity 0.9s cubic-bezier(0.19, 1, 0.22, 1),
    transform 1s cubic-bezier(0.19, 1, 0.22, 1),
    filter 1s ease-out;
}
/* Visible state */
.scroll-item.show {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
/* Smooth stagger for children */
.scroll-parent .scroll-item:nth-child(1) { transition-delay: 0.1s; }
.scroll-parent .scroll-item:nth-child(2) { transition-delay: 0.25s; }
.scroll-parent .scroll-item:nth-child(3) { transition-delay: 0.40s; }
.scroll-parent .scroll-item:nth-child(4) { transition-delay: 0.55s; }

 /* <!--  animation section --> */
.skills-section {
  margin-top: -12%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.skills-box {
  width: 60%;
  background: #4f96ff;
  padding: 80px;
  border-radius: 5px;
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: left;
  margin: 0 0 10px 0;
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 0.8s ease-out,transform 1s ease-out;
}
.skills-box.show {
  opacity: 1;
  transform: translateX(0);
}
.skills-box h2 {
  font-size: 55px;
  font-weight: 400;
  margin-bottom: 25px;
  line-height: 1;
}

.skills-box .subtitle {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 10px;
  margin-top: -5%;
}

.skills-box .desc {
  font-size: 16px;
  width: 70%;
  line-height: 1.7;
  opacity: 0.95;
}
.bg-img-sec {
  margin-top: -15%;
  height: 400px;

}
/* ==== Animation ==== */
@keyframes slideRightToLeft {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.animate-slide-right {
  animation: slideRightToLeft 1.5s ease-out forwards;
}

/* ==== Responsive ==== */
@media (max-width: 992px) {
  .skills-box {
    width: 90%;
    padding: 50px 30px;
  }
  .skills-box h2 {
    font-size: 32px;
  }
  .skills-box .desc {
    width: 100%;
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .skills-section {
    padding: 140px 0; 
    margin-top: -90%;
  }
}
@media (max-width: 576px) {
  .bg-img-sec { 
    margin-top:-50%;
    margin-bottom: -60%;
}
}

/* ==== 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; /* warm yellow/orange, like your mock */
  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;
  /* Blink 5x on first render */
  animation: btn-blink .6s ease-in-out 0s 5;
}
/* Optional: reanimate when hovered (1 blink) */
.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;
}
/* Start hidden before scroll */
.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;
  }
}
/* ==== Serve Your Child CTA (end) ==== */
