/* Kidzee Duttapulia - Landing Page */
:root {
  --purple: #52248f;
  --purple-dark: #3a176c;
  --purple-soft: #eee5ff;
  --yellow: #ffd900;
  --yellow-soft: #fff5b8;
  --green: #58b947;
  --orange: #f57b20;
  --text: #35313d;
  --muted: #777180;
  --light: #fffaf1;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(62, 35, 95, 0.12);
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Nunito", sans-serif;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 { font-family: "Baloo 2", sans-serif; }
a { text-decoration: none; }

.topbar {
  background: var(--purple);
  color: #fff;
  font-size: .82rem;
  padding: 8px 0;
}
.topbar i { color: var(--yellow); }

.main-nav { z-index: 1030; }
.logo-wrap img { width: 205px; height: auto; display: block; }
.nav-link {
  color: #514b58 !important;
  font-weight: 800;
  padding: .7rem .9rem !important;
  transition: .25s ease;
}
.nav-link:hover, .nav-link.active { color: var(--purple) !important; }
.btn-primary {
  background: var(--purple);
  border-color: var(--purple);
  font-weight: 800;
}
.btn-primary:hover { background: var(--purple-dark); border-color: var(--purple-dark); }

.hero { position: relative; }
.hero .carousel-item { height: min(78vh, 720px); min-height: 520px; }
.hero .carousel-item > img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(36, 17, 57, .78) 0%, rgba(36,17,57,.44) 48%, rgba(36,17,57,.08) 100%);
}
.hero-caption {
  top: 50%;
  bottom: auto;
  transform: translateY(-42%);
  padding-bottom: 0;
}
.eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  border-radius: 50px;
  padding: 7px 15px;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .4px;
  margin-bottom: 14px;
}
.hero-caption h1 {
  font-size: clamp(3.1rem, 7vw, 6.5rem);
  line-height: .9;
  font-weight: 800;
  margin: 0 0 20px;
  color: #fff;
}
.hero-caption h1 span { color: var(--yellow); }
.hero-caption p {
  max-width: 600px;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  line-height: 1.6;
  margin-bottom: 28px;
  color: #fff;
}
.hero-caption .btn { font-weight: 800; }
.hero .carousel-control-prev, .hero .carousel-control-next { width: 7%; }
.hero-bottom-wave {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; bottom: -1px;
  height: 45px;
  background: var(--white);
  clip-path: ellipse(62% 55% at 50% 100%);
}

.highlights { margin-top: -4px; position: relative; z-index: 5; }
.highlight-card {
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 24px;
  padding: 20px 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 10px;
}
.highlight-item + .highlight-item { border-left: 1px solid #eee; }
.highlight-item strong { display: block; font-family: "Baloo 2"; font-size: 1.15rem; }
.highlight-item small { color: var(--muted); }
.highlight-icon {
  width: 52px; height: 52px;
  flex: 0 0 52px;
  border-radius: 17px;
  display: grid; place-items: center;
  font-size: 1.45rem;
}
.icon-purple { background: var(--purple-soft); color: var(--purple); }
.icon-yellow { background: var(--yellow-soft); color: #c59f00; }
.icon-green { background: #e5f6df; color: #3f9d32; }

.section-padding { padding: 95px 0; }
.section-heading span {
  color: var(--purple);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: .8rem;
}
.section-heading h2 {
  margin: 5px 0 8px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1;
  font-weight: 800;
}
.section-heading h2 em { color: var(--purple); font-style: normal; }
.heading-line {
  width: 65px; height: 5px;
  border-radius: 10px;
  background: var(--yellow);
  margin: 14px auto;
}
.section-intro {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.02rem;
}

.about-section { background: var(--light); }
.about-photo { position: relative; padding: 12px; }
.about-photo::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 45%; height: 45%;
  border-radius: 25px;
  background: var(--yellow);
  z-index: 0;
}
.about-photo::after {
  content: "";
  position: absolute;
  right: 0; bottom: 0;
  width: 42%; height: 42%;
  border-radius: 25px;
  background: var(--purple);
  z-index: 0;
}
.about-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 510px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(60, 32, 90, .18);
}
.photo-badge {
  position: absolute;
  z-index: 2;
  right: 28px; bottom: 28px;
  width: 125px; height: 125px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--purple-dark);
  transform: rotate(7deg);
  box-shadow: 0 10px 30px rgba(0,0,0,.14);
}
.photo-badge strong { font-family: "Baloo 2"; font-size: 1.35rem; line-height: 1; }
.photo-badge span { font-weight: 800; font-size: .8rem; }
.about-copy { font-size: 1rem; line-height: 1.85; }
.about-copy .lead { font-size: 1.25rem; line-height: 1.55; color: var(--purple-dark); }
.btn-outline-primary {
  border-color: var(--purple);
  color: var(--purple);
  font-weight: 800;
}
.btn-outline-primary:hover { background: var(--purple); border-color: var(--purple); }

.programs-section { background: #fff; }
.program-card {
  position: relative;
  height: 100%;
  padding: 30px 26px 27px;
  border-radius: 28px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  border: 1px solid rgba(0,0,0,.04);
}
.program-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.program-number {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 3.2rem;
  font-family: "Baloo 2";
  font-weight: 800;
  opacity: .12;
}
.program-icon {
  width: 64px; height: 64px;
  border-radius: 20px;
  display: grid; place-items: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
}
.program-card h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 9px; }
.program-card p { color: #655e69; line-height: 1.7; min-height: 115px; margin-bottom: 20px; }
.program-tag {
  display: inline-block;
  border-radius: 50px;
  padding: 7px 12px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .3px;
}
.program-purple { background: #f1e9ff; }
.program-purple .program-icon { background: var(--purple); color: #fff; }
.program-purple .program-tag { background: #dfcaff; color: var(--purple-dark); }
.program-yellow { background: #fff8cf; }
.program-yellow .program-icon { background: var(--yellow); color: var(--purple-dark); }
.program-yellow .program-tag { background: #ffeca0; color: #7d6500; }
.program-green { background: #e9f8e5; }
.program-green .program-icon { background: var(--green); color: #fff; }
.program-green .program-tag { background: #ccefc4; color: #2f7c27; }
.program-orange { background: #fff0e3; }
.program-orange .program-icon { background: var(--orange); color: #fff; }
.program-orange .program-tag { background: #ffd9bd; color: #9d4d0d; }

.gallery-section { overflow: hidden; }
.gallery-tile { height: 300px; overflow: hidden; }
.gallery-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.gallery-tile:hover img { transform: scale(1.06); }
.gallery-cta {
  background: var(--purple);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.gallery-cta span { color: var(--yellow); text-transform: uppercase; font-size: .75rem; font-weight: 800; letter-spacing: 1.5px; }
.gallery-cta h3 { font-size: 2.7rem; line-height: .95; margin: 8px 0 20px; font-weight: 800; }

.contact-section {
  background:
    radial-gradient(circle at 10% 10%, rgba(255,217,0,.12), transparent 25%),
    radial-gradient(circle at 90% 80%, rgba(88,185,71,.13), transparent 28%),
    var(--purple-dark);
  color: #fff;
}
.light-heading span { color: var(--yellow); }
.light-heading h2 { color: #fff; }
.light-heading h2 em { color: var(--yellow); }
.light-heading .section-intro { color: rgba(255,255,255,.76); }
.contact-card {
  height: 100%;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 24px;
  padding: 30px 24px;
  text-align: center;
  transition: .3s ease;
}
.contact-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.13); }
.contact-icon {
  width: 62px; height: 62px;
  margin: 0 auto 17px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--purple-dark);
  display: grid; place-items: center;
  font-size: 1.45rem;
}
.contact-card h3 { font-size: 1.55rem; }
.contact-card p { color: rgba(255,255,255,.85); line-height: 1.8; margin: 0; }
.contact-card a { color: #fff; font-weight: 800; }
.contact-card small { color: rgba(255,255,255,.68); }
.contact-actions .btn-warning { font-weight: 800; color: var(--purple-dark); }
.contact-actions .btn-outline-light { font-weight: 800; }

.footer {
  background: #241238;
  color: rgba(255,255,255,.72);
  padding: 30px 0;
  font-size: .86rem;
}
.footer-logo {
  width: 175px;
  height: auto;
  background: #fff;
  padding: 4px 8px;
  border-radius: 8px;
}
.footer strong { color: #fff; }

.floating-call {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 1000;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--yellow);
  color: var(--purple-dark);
  font-size: 1.35rem;
  box-shadow: 0 10px 25px rgba(0,0,0,.22);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 10px 25px rgba(0,0,0,.22), 0 0 0 0 rgba(255,217,0,.45); }
  50% { box-shadow: 0 10px 25px rgba(0,0,0,.22), 0 0 0 12px rgba(255,217,0,0); }
}

@media (max-width: 991.98px) {
  .logo-wrap img { width: 170px; }
  .hero .carousel-item { min-height: 500px; height: 68vh; }
  .hero-caption h1 { font-size: clamp(2.9rem, 10vw, 5rem); }
  .highlight-card { grid-template-columns: 1fr; }
  .highlight-item + .highlight-item { border-left: 0; border-top: 1px solid #eee; padding-top: 18px; }
  .about-photo img { height: 430px; }
}
@media (max-width: 767.98px) {
  .topbar { font-size: .74rem; }
  .topbar .container { justify-content: center !important; text-align: center; }
  .hero .carousel-item { min-height: 510px; height: 72vh; }
  .hero-caption { transform: translateY(-45%); }
  .hero-caption p { font-size: 1rem; }
  .hero-caption .btn { font-size: .92rem; }
  .section-padding { padding: 70px 0; }
  .highlight-card { border-radius: 18px; padding: 15px; }
  .about-photo img { height: 350px; }
  .photo-badge { width: 105px; height: 105px; right: 22px; bottom: 22px; }
  .program-card p { min-height: auto; }
  .gallery-tile { height: 220px; }
  .gallery-cta h3 { font-size: 2.1rem; }
}
