/* Creative Minds Pre School page – playful, mobile first. */
.cmpsp { --p: #E94E77; --y: #FFC93C; --t: #2EC4B6; --d: #2B2D42; --m: #6B7280; --v: #8B5CF6;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--d); line-height: 1.55; overflow: hidden;
  width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.cmpsp *, .cmpsp *::before, .cmpsp *::after { box-sizing: border-box; }
.cmpsp-wrap { max-width: 1140px; margin: 0 auto; padding: 0 18px; position: relative; z-index: 1; }
.cmpsp-sec { padding: 46px 0; background: #fff; }
.cmpsp-soft { background: #FFF8EE; }
.cmpsp-center { text-align: center; }
.cmpsp h1, .cmpsp h2, .cmpsp h3 { font-family: "Baloo 2", "Mukta", system-ui, sans-serif !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--d) !important; }
.cmpsp-tag { display: inline-block; margin: 0 0 6px; padding: 5px 14px; border-radius: 999px; background: #FFE3EC; color: var(--p); font-weight: 700; font-size: 13px; }
.cmpsp-h2 { font-weight: 800 !important; font-size: 30px !important; line-height: 1.15 !important; margin: 0 0 14px !important; }
.cmpsp-intro { font-size: 16px; max-width: 760px; margin: 0 0 20px; color: #3F4257; }
.cmpsp-note { margin: 18px 0 0; font-size: 14px; color: var(--m); }
.cmpsp-note a { color: var(--p); font-weight: 700; }

/* buttons */
.cmpsp-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cmpsp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 12px 20px; border-radius: 16px; border: 0; cursor: pointer;
  font: 800 16px/1 "Baloo 2", system-ui, sans-serif; text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease; }
.cmpsp-btn:hover { transform: translateY(-2px); }
.cmpsp-btn-main { background: var(--p); color: #fff !important; box-shadow: 0 8px 20px rgba(233,78,119,.35); }
.cmpsp-btn-wa { background: #25D366; color: #fff !important; box-shadow: 0 8px 20px rgba(37,211,102,.3); }
.cmpsp-btn-ghost { background: #fff; color: var(--d) !important; border: 2px solid var(--d); }

/* hero */
.cmpsp-hero { position: relative; padding: 40px 0 90px; background: radial-gradient(circle at 10% 20%, #FFE3EC 0, transparent 40%), radial-gradient(circle at 90% 30%, #DDF7F4 0, transparent 40%), linear-gradient(160deg, #FFF4D6, #FFE9F0 60%, #E6FAF7); }
.cmpsp-hero-in { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.cmpsp-logo { width: 120px; height: auto; display: block; margin-bottom: 8px; background: #fff; border-radius: 20px; padding: 6px; box-shadow: 0 6px 18px rgba(43,45,66,.1); }
.cmpsp-kicker { margin: 0; font-weight: 700; color: var(--t); font-size: 15px; }
.cmpsp-h1 { font-weight: 800 !important; font-size: 40px !important; line-height: 1.05 !important; margin: 6px 0 12px !important; }
.cmpsp-h1 span { color: var(--p); text-shadow: 3px 3px 0 var(--y); }
.cmpsp-lead { font-size: 17px; margin: 0 0 6px; color: #3F4257; max-width: 560px; }
.cmpsp-mr { font-family: "Mukta", system-ui, sans-serif; font-weight: 700; font-size: 18px; margin: 0 0 18px; }
.cmpsp-floats span { position: absolute; font-size: 30px; opacity: .5; animation: cmpsp-float 8s ease-in-out infinite; }
.cmpsp-floats span:nth-child(1) { top: 10%; left: 4%; }
.cmpsp-floats span:nth-child(2) { top: 18%; right: 6%; animation-delay: -2s; }
.cmpsp-floats span:nth-child(3) { top: 62%; left: 44%; animation-delay: -4s; font-size: 40px; }
.cmpsp-floats span:nth-child(4) { bottom: 22%; right: 3%; animation-delay: -1s; }
.cmpsp-floats span:nth-child(5) { bottom: 18%; left: 8%; animation-delay: -6s; font-size: 20px; }
@keyframes cmpsp-float { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-16px) rotate(6deg); } }
.cmpsp-collage { position: relative; height: 320px; max-width: 460px; width: 100%; margin: 0 auto; }
.cmpsp-collage > * { position: absolute; object-fit: cover; border: 6px solid #fff; border-radius: 24px; box-shadow: 0 14px 30px rgba(43,45,66,.18); background: #fff; }
.cmpsp-c0 { width: 64%; height: 70%; left: 0; top: 4%; transform: rotate(-4deg); z-index: 2; }
.cmpsp-c1 { width: 50%; height: 50%; right: 0; top: 0; transform: rotate(5deg); }
.cmpsp-c2 { width: 52%; height: 50%; right: 4%; bottom: 0; transform: rotate(-2deg); z-index: 3; }
.cmpsp-ph { display: flex; align-items: center; justify-content: center; font-size: 56px; background: linear-gradient(135deg, #fff, #FFF4D6) !important; }
.cmpsp-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; display: block; }

/* classes */
.cmpsp-classes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cmpsp-class { border-radius: 22px; padding: 18px 12px; text-align: center; color: var(--d); box-shadow: 0 8px 22px rgba(43,45,66,.08); transition: transform .2s ease; }
.cmpsp-class:hover { transform: translateY(-4px) rotate(-1deg); }
.cmpsp-k0 { background: #FFF4D6; } .cmpsp-k1 { background: #FFE3EC; } .cmpsp-k2 { background: #DDF7F4; } .cmpsp-k3 { background: #EDE9FE; }
.cmpsp-class-ico { font-size: 40px; line-height: 1; }
.cmpsp-class h3 { font-weight: 800 !important; font-size: 20px !important; margin: 8px 0 0 !important; }
.cmpsp-class-mr { margin: 0; font-family: "Mukta", sans-serif; font-size: 14px; color: var(--m); }
.cmpsp-age { margin: 10px 0 0; background: #fff; border-radius: 12px; padding: 8px; font-size: 15px; }
.cmpsp-age small { color: var(--m); font-size: 12px; }

/* curriculum */
.cmpsp-two { display: grid; grid-template-columns: 1fr; gap: 14px; }
.cmpsp-box { background: #fff; border-radius: 22px; padding: 20px; box-shadow: 0 8px 22px rgba(43,45,66,.06); border-top: 6px solid var(--t); }
.cmpsp-box:nth-child(2) { border-color: var(--p); }
.cmpsp-box h3 { font-size: 22px !important; margin: 0 0 6px !important; font-weight: 800 !important; }
.cmpsp-box p { margin: 0; }
.cmpsp-domains { list-style: none !important; margin: 20px 0 0 !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.cmpsp-domains li { margin: 0 !important; background: #fff; border-radius: 999px; padding: 10px 18px 10px 10px; font-weight: 700; display: flex; align-items: center; gap: 8px; box-shadow: 0 4px 14px rgba(43,45,66,.08); }
.cmpsp-domains span { width: 36px; height: 36px; border-radius: 50%; background: #FFF4D6; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }

/* gallery */
.cmpsp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.cmpsp-chips button { border: 2px solid #E5E7EB; background: #fff; color: var(--d); border-radius: 999px; padding: 7px 16px; font: 600 14px/1 "Poppins", sans-serif; cursor: pointer; }
.cmpsp-chips button.is-on { background: var(--d); border-color: var(--d); color: #fff; }
.cmpsp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cmpsp-ph-item { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; background: #F3F4F6; }
.cmpsp-ph-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.cmpsp-ph-item:hover img { transform: scale(1.06); }
.cmpsp-ph-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; color: #fff; font-size: 13px; font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.cmpsp-ph-item.is-more, .cmpsp-ph-item.is-hidden { display: none; }
.cmpsp-grid.show-all .cmpsp-ph-item.is-more:not(.is-hidden) { display: block; }
.cmpsp-more { margin-top: 18px; }
.cmpsp-empty { text-align: center; font-size: 18px; padding: 30px; background: #FFF8EE; border-radius: 22px; }
.cmpsp-lb { position: fixed; inset: 0; z-index: 100000; background: rgba(15,16,30,.92); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; }
.cmpsp-lb img { max-width: 100%; max-height: 80vh; border-radius: 14px; }
.cmpsp-lb p { color: #fff; margin: 10px 0 0; text-align: center; }
.cmpsp-lb button { position: absolute; background: rgba(255,255,255,.15); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 24px; cursor: pointer; }
.cmpsp-lb .x { top: 14px; right: 14px; } .cmpsp-lb .l { left: 10px; top: 50%; } .cmpsp-lb .r { right: 10px; top: 50%; }

/* checker block */
.cmpsp-check { background: linear-gradient(180deg, #fff, #FFF8EE); text-align: center; }
.cmpsp-check .cmps { text-align: left; }
.cmpsp-check .cmps-top { justify-content: center; }

/* videos */
.cmpsp-vids { display: grid; grid-template-columns: 1fr; gap: 14px; }
.cmpsp-vid { position: relative; padding: 0; border: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; cursor: pointer; background: #000; box-shadow: 0 8px 22px rgba(43,45,66,.12); }
.cmpsp-vid img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; }
.cmpsp-vid span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: var(--p); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; padding-left: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.cmpsp-vid iframe { width: 100%; height: 100%; border: 0; display: block; }

/* visit */
.cmpsp-visit { padding: 40px 0; background: var(--d); color: #fff; }
.cmpsp-visit .cmpsp-h2 { color: #fff !important; }
.cmpsp-visit p { color: #E5E7EB; margin: 0 0 14px; }
.cmpsp-visit-in { display: grid; gap: 10px; align-items: center; }
.cmpsp-visit .cmpsp-btn-ghost { background: transparent; color: #fff !important; border-color: #fff; }

.cmpsp-fab { position: fixed; right: 16px; bottom: 16px; z-index: 9999; background: var(--v); color: #fff !important; text-decoration: none !important; font: 800 16px/1 "Baloo 2", sans-serif; padding: 14px 18px; border-radius: 999px; box-shadow: 0 10px 24px rgba(139,92,246,.45); }

@media (min-width: 700px) {
  .cmpsp-h1 { font-size: 54px !important; }
  .cmpsp-h2 { font-size: 36px !important; }
  .cmpsp-classes { grid-template-columns: repeat(4, 1fr); }
  .cmpsp-two { grid-template-columns: 1fr 1fr; }
  .cmpsp-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .cmpsp-vids { grid-template-columns: repeat(2, 1fr); }
  .cmpsp-visit-in { grid-template-columns: 1fr auto; }
}
@media (min-width: 980px) {
  .cmpsp-hero { padding: 60px 0 110px; }
  .cmpsp-hero-in { grid-template-columns: 1.1fr 1fr; }
  .cmpsp-collage { height: 400px; }
  .cmpsp-grid { grid-template-columns: repeat(4, 1fr); }
  .cmpsp-vids { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .cmpsp-floats span { animation: none; } }

/* albums */
.cmpsp-albums { display: grid; grid-template-columns: 1fr; gap: 16px; }
.cmpsp-album { display: block; background: #fff; border-radius: 22px; overflow: hidden; text-decoration: none !important; color: var(--d) !important; box-shadow: 0 8px 22px rgba(43,45,66,.1); transition: transform .2s ease, box-shadow .2s ease; }
.cmpsp-album:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(43,45,66,.16); }
.cmpsp-album-img { position: relative; display: block; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #FFF4D6, #FFE3EC); }
.cmpsp-album-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cmpsp-album-img em { position: absolute; right: 10px; bottom: 10px; font-style: normal; background: rgba(43,45,66,.85); color: #fff; font-weight: 700; font-size: 13px; padding: 5px 10px; border-radius: 999px; }
.cmpsp-album-txt { display: block; padding: 12px 16px 16px; }
.cmpsp-album-txt b { display: block; font: 800 20px/1.2 "Baloo 2", system-ui, sans-serif; }
.cmpsp-album-txt small { color: var(--m); font-size: 13px; }
.cmpsp-album.is-more, .cmpsp-album.is-hidden { display: none; }
.cmpsp-albums.show-all .cmpsp-album.is-more:not(.is-hidden) { display: block; }
.cmpsp-back { margin: 0 0 4px; }
.cmpsp-back a { color: var(--p) !important; font-weight: 700; text-decoration: none !important; }
.cmpsp-album-meta { margin: -6px 0 16px; color: var(--m); font-weight: 600; }
@media (min-width: 700px) { .cmpsp-albums { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cmpsp-albums { grid-template-columns: repeat(3, 1fr); } }
