/* 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; }
}

/* Facilities */
.facilities-section {
  background:
    radial-gradient(circle at 0% 20%, rgba(255, 217, 0, .12), transparent 22%),
    radial-gradient(circle at 100% 80%, rgba(88, 185, 71, .10), transparent 25%),
    #fffdf7;
}
.facility-card {
  height: 100%; background: #fff; border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(82, 36, 143, .08);
  box-shadow: 0 12px 35px rgba(62, 35, 95, .08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.facility-card:hover { transform: translateY(-8px); box-shadow: 0 20px 45px rgba(62, 35, 95, .15); }
.facility-image {
  height: 175px; background: linear-gradient(135deg, #f4ebff, #fff8c9);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.facility-image::before {
  content: ""; position: absolute; width: 145px; height: 145px; border-radius: 50%;
  border: 2px dashed rgba(82, 36, 143, .16);
}
.facility-image::after {
  content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%;
  background: rgba(255, 217, 0, .28); right: -25px; top: -25px;
}
.facility-image i {
  position: relative; z-index: 1; width: 82px; height: 82px; border-radius: 26px;
  display: grid; place-items: center; background: var(--purple); color: var(--yellow);
  font-size: 2.5rem; box-shadow: 0 12px 24px rgba(82, 36, 143, .20);
  transition: transform .35s ease, background .35s ease, color .35s ease;
}
.facility-card:hover .facility-image i { transform: scale(1.08) rotate(-4deg); background: var(--yellow); color: var(--purple-dark); }
.facility-content { position: relative; padding: 20px 18px 22px; text-align: center; }
.facility-number { position: absolute; top: 8px; right: 13px; font-family: "Baloo 2", sans-serif; font-size: 2rem; font-weight: 800; line-height: 1; color: var(--purple); opacity: .08; }
.facility-content h3 { color: var(--purple-dark); font-size: 1.35rem; line-height: 1.05; font-weight: 800; margin: 0 8px 10px; }
.facility-content p { color: var(--muted); font-size: .88rem; line-height: 1.55; margin: 0; }
@media (min-width: 992px) { .facilities-section .row { flex-wrap: nowrap; } }
@media (max-width: 575.98px) {
  .facility-image { height: 140px; }
  .facility-image::before { width: 110px; height: 110px; }
  .facility-image i { width: 65px; height: 65px; border-radius: 20px; font-size: 2rem; }
  .facility-content { padding: 16px 12px 18px; }
  .facility-content h3 { font-size: 1.08rem; }
  .facility-content p { font-size: .78rem; }
}

/* Facilities - playful illustrated-card option */
.facilities-section{background:radial-gradient(circle at 5% 15%,rgba(255,217,0,.12),transparent 20%),radial-gradient(circle at 95% 85%,rgba(88,185,71,.10),transparent 22%),#fffdf7}
.facility-card{height:100%;position:relative;overflow:hidden;border-radius:28px;background:#fff;border:2px solid rgba(82,36,143,.07);box-shadow:0 12px 32px rgba(62,35,95,.08);transition:transform .3s ease,box-shadow .3s ease}
.facility-card:hover{transform:translateY(-9px);box-shadow:0 20px 42px rgba(62,35,95,.15)}
.facility-art{height:175px;position:relative;display:grid;place-items:center;overflow:hidden}
.facility-art:before,.facility-art:after{content:"";position:absolute;border-radius:50%;opacity:.22}
.facility-art:before{width:155px;height:155px;left:-65px;bottom:-75px}.facility-art:after{width:120px;height:120px;right:-48px;top:-55px}
.facility-purple .facility-art{background:#efe5ff}.facility-purple .facility-art:before,.facility-purple .facility-art:after{background:var(--yellow)}
.facility-yellow .facility-art{background:#fff5bf}.facility-yellow .facility-art:before,.facility-yellow .facility-art:after{background:var(--purple)}
.facility-green .facility-art{background:#e5f6df}.facility-green .facility-art:before,.facility-green .facility-art:after{background:var(--yellow)}
.facility-orange .facility-art{background:#fff0e2}.facility-orange .facility-art:before,.facility-orange .facility-art:after{background:var(--purple)}
.facility-icon{width:104px;height:104px;border-radius:50%;display:grid;place-items:center;position:relative;z-index:3;font-size:3rem;transform:rotate(-4deg);box-shadow:0 12px 22px rgba(50,25,70,.14);transition:transform .3s ease}.facility-card:hover .facility-icon{transform:rotate(4deg) scale(1.08)}
.facility-purple .facility-icon{background:var(--purple);color:#fff}.facility-yellow .facility-icon{background:var(--yellow);color:var(--purple-dark)}.facility-green .facility-icon{background:var(--green);color:#fff}.facility-orange .facility-icon{background:var(--orange);color:#fff}
.art-dot{position:absolute;z-index:1;width:12px;height:12px;border-radius:50%;background:var(--purple)}.art-dot.dot-1{top:30px;left:25%}.art-dot.dot-2{bottom:27px;right:23%;width:9px;height:9px;background:var(--yellow)}.art-ring{position:absolute;width:138px;height:138px;border:3px dashed rgba(82,36,143,.16);border-radius:50%;z-index:1;transform:rotate(8deg)}
.facility-content{position:relative;text-align:center;padding:21px 18px 24px}.facility-number{position:absolute;right:15px;top:7px;font-family:"Baloo 2",sans-serif;font-size:2.2rem;line-height:1;font-weight:800;color:var(--purple);opacity:.08}.facility-content h3{margin:0 15px 9px;color:var(--purple-dark);font-size:1.3rem;line-height:1.08;font-weight:800}.facility-content p{margin:0;color:var(--muted);font-size:.86rem;line-height:1.55}
@media (min-width:992px){.facilities-section .row{flex-wrap:nowrap}}
@media (max-width:575.98px){.facility-art{height:145px}.facility-icon{width:76px;height:76px;border-radius:50%;font-size:2.05rem}.facility-content{padding:16px 11px 19px}.facility-content h3{font-size:1.05rem}.facility-content p{font-size:.76rem}}


/* Facilities - 5 custom inline illustrated icons */
.facility-grid { align-items: stretch; }
.facility-col { flex: 0 0 20%; max-width: 20%; }
.facility-icon { width: 108px; height: 108px; border-radius: 42% 58% 52% 48% / 52% 44% 56% 48%; display: grid; place-items: center; position: relative; z-index: 3; box-shadow: 0 12px 22px rgba(50,25,70,.14); transition: transform .3s ease, border-radius .3s ease; }
.facility-icon svg { width: 68px; height: 68px; fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.facility-card:hover .facility-icon { transform: translateY(-4px) rotate(3deg) scale(1.07); border-radius: 50%; }
.facility-green .facility-icon { background: var(--green); color: #fff; }
.facility-purple .facility-icon { background: var(--purple); color: #fff; }
.facility-orange .facility-icon { background: var(--orange); color: #fff; }
.facility-yellow .facility-icon { background: var(--yellow); color: var(--purple-dark); }
.facility-art { min-height: 185px; }
.facility-content h3 { min-height: 48px; }
@media (max-width: 991.98px) {
  .facility-col { flex: 0 0 33.333333%; max-width: 33.333333%; }
}
@media (max-width: 575.98px) {
  .facility-col { flex: 0 0 50%; max-width: 50%; }
  .facility-art { min-height: 150px; }
  .facility-icon { width: 78px; height: 78px; }
  .facility-icon svg { width: 50px; height: 50px; stroke-width: 5.5; }
  .facility-content h3 { min-height: auto; }
}
