/* ==========================================================
   Centre pages — Kidzee Survey Park · Kidzee Trikon Park ·
   Crazy Kids · About Us   (markup: layouts/sections.php)
   ========================================================== */

.cp-page {
    --cp-ink: #1c1233;
    --cp-plum: #2a1048;
    --cp-accent: #652a82;
    --cp-accent-2: #8a3fb0;
    --cp-gold: #f4b63f;
    --cp-cream: #fbf7f1;
    --cp-line: #ece6f2;
    --cp-text: #5a5368;
    --cp-shadow: 0 12px 34px rgba(28, 18, 51, .08);
    --cp-shadow-lg: 0 24px 60px rgba(28, 18, 51, .16);
    --cp-serif: "Fraunces", Georgia, serif;
    --cp-sans: "Poppins", "Roboto", system-ui, sans-serif;
    font-family: var(--cp-sans);
    color: var(--cp-text);
    background: #fff;
}
.cp-page.cp--orange { --cp-accent: #e2582a; --cp-accent-2: #ff8a4c; }
.cp-page section p { font-family: var(--cp-sans); }

/* ---------- Shared ---------- */
.cp-sec { position: relative; padding: 100px 0; overflow: hidden; }
.cp-alt, .cp-programs, .cp-activities, .cp-videos { background: var(--cp-cream); }
.cp-head { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.cp-head p { font-size: 16px; line-height: 1.8; margin: 0; }
.cp-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 40px;
    background: color-mix(in srgb, var(--cp-accent) 9%, transparent); color: var(--cp-accent);
    font: 600 12.5px/1.2 var(--cp-sans); letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 14px;
}
.cp-h2 { font: 700 clamp(30px, 3.8vw, 44px)/1.15 var(--cp-serif); color: var(--cp-ink); letter-spacing: -.5px; margin: 0 0 16px; }
.cp-h2 em { font-style: italic; color: var(--cp-accent); }
.cp-head--light .cp-h2 { color: #fff; }
.cp-head--light .cp-h2 em { color: var(--cp-gold); }
.cp-head--light .cp-eyebrow { background: rgba(244, 182, 63, .15); color: #ffd77a; }
.cp-head--light p { color: rgba(255, 255, 255, .7); }
.cp-lead { font-size: 16.5px; line-height: 1.85; margin-bottom: 18px; }
.cp-lead b, .cp-lead strong { color: var(--cp-ink); }
.cp-center { text-align: center; margin-top: 40px; }

.cp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 28px; border-radius: 50px; border: 2px solid transparent; cursor: pointer;
    font: 600 15px/1 var(--cp-sans); transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease;
}
.cp-btn:hover { transform: translateY(-3px); }
.cp-btn-primary { background: var(--cp-accent); color: #fff; box-shadow: 0 12px 26px color-mix(in srgb, var(--cp-accent) 30%, transparent); }
.cp-btn-primary:hover { color: #fff; background: var(--cp-ink); }
.cp-btn-outline { border-color: var(--cp-accent); color: var(--cp-accent); background: transparent; }
.cp-btn-outline:hover { background: var(--cp-accent); color: #fff; }
.cp-btn-wa { background: #25d366; color: #fff; box-shadow: 0 12px 26px rgba(37, 211, 102, .3); }
.cp-btn-wa:hover { color: #fff; background: #1ebe5b; }

.cp-checks { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.cp-checks li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--cp-ink); font-size: 15px; }
.cp-checks i { flex: 0 0 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: #fff; background: var(--cp-accent); }
.cp-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================
   INTRO (photo collage + welcome text)
   ========================================================== */
.cp-intro { background: #fff !important; }
.cp-collage { position: relative; padding: 0 70px 70px 0; }
.cp-collage .a { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 28px 120px 28px 28px; box-shadow: var(--cp-shadow-lg); }
.cp-collage .b {
    position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover;
    border-radius: 22px; border: 8px solid #fff; box-shadow: var(--cp-shadow-lg);
}
.cp-collage::before {
    content: ""; position: absolute; left: -26px; top: -26px; width: 130px; height: 130px; z-index: -1;
    background-image: radial-gradient(var(--cp-accent) 2px, transparent 2px); background-size: 16px 16px; opacity: .25;
}
.cp-badge {
    position: absolute; left: 24px; bottom: 34px; display: flex; align-items: center; gap: 12px;
    padding: 12px 18px 12px 12px; border-radius: 16px; background: #fff; box-shadow: var(--cp-shadow-lg);
    animation: cp-bob 5s ease-in-out infinite;
}
.cp-badge i { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--cp-gold); color: var(--cp-ink); font-size: 19px; }
.cp-badge strong { display: block; font: 700 18px/1.1 var(--cp-serif); color: var(--cp-ink); }
.cp-badge span { font-size: 12.5px; }

.cp-upgrade {
    display: flex; align-items: center; gap: 18px; margin-top: 34px; padding: 18px 22px; border-radius: 18px;
    background: linear-gradient(120deg, #0b3d25, #0d4a2c 60%, #146b41); color: #fff; box-shadow: var(--cp-shadow);
    transition: transform .3s ease, box-shadow .3s ease;
}
.cp-upgrade:hover { color: #fff; transform: translateY(-4px); box-shadow: var(--cp-shadow-lg); }
.cp-upgrade img { flex: 0 0 auto; width: 58px; height: 58px; object-fit: contain; background: #fff; border-radius: 50%; padding: 5px; }
.cp-upgrade strong { display: block; font: 600 16px/1.3 var(--cp-sans); }
.cp-upgrade small { color: rgba(255, 255, 255, .75); font-size: 13px; }
.cp-upgrade > i { margin-left: auto; color: var(--cp-gold); transition: transform .3s ease; }
.cp-upgrade:hover > i { transform: translateX(5px); }

/* ==========================================================
   PROGRAMMES
   ========================================================== */
.cp-program {
    height: 100%; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden;
    background: #fff; box-shadow: var(--cp-shadow); transition: transform .4s ease, box-shadow .4s ease;
}
.cp-program:hover { transform: translateY(-8px); box-shadow: var(--cp-shadow-lg); }
.cp-program.p1 { --pc: #f26b38; }
.cp-program.p2 { --pc: #2a9d8f; }
.cp-program.p3 { --pc: #652a82; }
.cp-program-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.cp-program-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.cp-program:hover .cp-program-img img { transform: scale(1.07); }
.cp-program-age {
    position: absolute; left: 16px; bottom: 16px; padding: 7px 14px; border-radius: 30px;
    background: rgba(255, 255, 255, .95); color: var(--cp-ink); font: 600 12.5px/1 var(--cp-sans);
}
.cp-program-age i { color: var(--pc); margin-right: 4px; }
.cp-program-body { position: relative; flex: 1; padding: 40px 28px 28px; border-top: 4px solid var(--pc); }
.cp-program-ic {
    position: absolute; top: -30px; right: 24px; width: 58px; height: 58px; border-radius: 16px;
    display: grid; place-items: center; background: var(--pc); color: #fff; font-size: 22px;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--pc) 40%, transparent);
}
.cp-program h3 { font: 700 24px/1.2 var(--cp-serif); color: var(--cp-ink); margin-bottom: 12px; }
.cp-program p { font-size: 14.5px; line-height: 1.8; margin-bottom: 18px; }
.cp-program ul { list-style: none; padding: 16px 0 0; margin: auto 0 0; border-top: 1px dashed var(--cp-line); display: grid; gap: 8px; }
.cp-program li { font-size: 14px; font-weight: 500; color: var(--cp-ink); }
.cp-program li i { color: var(--pc); margin-right: 8px; font-size: 12px; }

/* ==========================================================
   APPROACH / SERVICES / CLASSES / CENTRES (feature cards)
   ========================================================== */
.cp-feature {
    position: relative; height: 100%; padding: 30px 26px; border-radius: 20px; background: #fff;
    border: 1px solid var(--cp-line); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.cp-feature:hover { transform: translateY(-6px); box-shadow: var(--cp-shadow-lg); border-color: transparent; }
.cp-feature .ic {
    width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
    background: linear-gradient(135deg, var(--cp-accent-2), var(--cp-accent)); color: #fff; font-size: 23px;
    transition: transform .5s ease;
}
.cp-feature:hover .ic { transform: rotate(-8deg) scale(1.08); }
.cp-feature h3 { font: 700 20px/1.3 var(--cp-serif); color: var(--cp-ink); margin-bottom: 10px; }
.cp-feature p { margin: 0; font-size: 14.5px; line-height: 1.75; }
.cp-feature .step { position: absolute; top: 18px; right: 22px; font: 800 44px/1 var(--cp-serif); color: color-mix(in srgb, var(--cp-accent) 10%, transparent); }

.cp-service {
    display: grid; grid-template-columns: 1fr 1.1fr; height: 100%; border-radius: 26px; overflow: hidden;
    background: #fff; box-shadow: var(--cp-shadow); transition: transform .4s ease, box-shadow .4s ease;
}
.cp-service:hover { transform: translateY(-6px); box-shadow: var(--cp-shadow-lg); }
.cp-service-img { position: relative; min-height: 100%; }
.cp-service-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cp-service-body { padding: 34px 30px; }
.cp-service-body .cp-eyebrow { margin-bottom: 10px; }
.cp-service h3 { font: 700 24px/1.25 var(--cp-serif); color: var(--cp-ink); margin-bottom: 12px; }
.cp-service p { font-size: 14.5px; line-height: 1.8; }

.cp-classes { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.cp-class {
    padding: 26px 16px; border-radius: 18px; background: #fff; text-align: center; box-shadow: var(--cp-shadow);
    border-bottom: 4px solid var(--c); transition: translate .35s ease, rotate .35s ease, box-shadow .35s ease;
}
.cp-class:hover { translate: 0 -6px; rotate: -1.5deg; box-shadow: var(--cp-shadow-lg); }
.cp-class i { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; font-size: 22px; color: var(--c); background: color-mix(in srgb, var(--c) 13%, #fff); }
.cp-class strong { display: block; font: 600 15.5px/1.3 var(--cp-sans); color: var(--cp-ink); }
.cp-class small { font-size: 12.5px; }

/* ==========================================================
   VALUES
   ========================================================== */
.cp-value {
    position: relative; height: 100%; padding: 32px 28px; border-radius: 20px; background: #fff;
    border: 1px solid var(--cp-line); overflow: hidden; transition: transform .35s ease, box-shadow .35s ease;
}
.cp-value::before {
    content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
    background: linear-gradient(90deg, var(--cp-accent), var(--cp-gold)); transform: scaleX(0); transform-origin: left; transition: transform .45s ease;
}
.cp-value:hover { transform: translateY(-6px); box-shadow: var(--cp-shadow-lg); }
.cp-value:hover::before { transform: scaleX(1); }
.cp-value .num { position: absolute; right: 22px; top: 14px; font: 800 50px/1 var(--cp-serif); color: color-mix(in srgb, var(--cp-accent) 8%, transparent); }
.cp-value .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; background: linear-gradient(135deg, var(--cp-accent-2), var(--cp-accent)); color: #fff; font-size: 22px; transition: transform .5s ease; }
.cp-value:hover .ic { transform: rotate(-8deg) scale(1.08); }
.cp-value h3 { font: 700 19px/1.3 var(--cp-serif); color: var(--cp-ink); margin-bottom: 8px; }
.cp-value p { margin: 0; font-size: 14.5px; line-height: 1.7; }

/* ==========================================================
   ACTIVITIES (horizontal strip)
   ========================================================== */
.cp-act-track {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px;
    overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; scrollbar-width: none;
}
.cp-act-track::-webkit-scrollbar { display: none; }
.cp-act {
    position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden;
    scroll-snap-align: start; box-shadow: var(--cp-shadow);
}
.cp-act img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.cp-act::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(28, 18, 51, .85)); }
.cp-act span { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 18px; color: #fff; font: 600 16px/1.3 var(--cp-sans); }
.cp-act:hover img { transform: scale(1.08); }
.cp-act-nav { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }
.cp-act-btn {
    width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--cp-accent); background: transparent;
    color: var(--cp-accent); transition: background .3s ease, color .3s ease;
}
.cp-act-btn:hover { background: var(--cp-accent); color: #fff; }

/* ==========================================================
   GALLERY / AWARDS (bento)
   ========================================================== */
.cp-gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.cp-gal-item { position: relative; display: block; border-radius: 18px; overflow: hidden; box-shadow: var(--cp-shadow); background: var(--cp-line); }
.cp-gal-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.cp-gal-grid--simple { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); grid-auto-rows: 260px; }
.cp-gal-grid--simple .cp-gal-item:nth-child(1) { grid-column: auto; grid-row: auto; }
.cp-gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.cp-gal-item span {
    position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 26px;
    background: linear-gradient(180deg, transparent, rgba(28, 18, 51, .75)); opacity: 0; transition: opacity .4s ease;
}
.cp-gal-item:hover img { transform: scale(1.08); }
.cp-gal-item:hover span { opacity: 1; }
.cp-awards .cp-gal-item img { object-fit: contain; background: #fff; padding: 10px; }

/* ==========================================================
   VIDEO REVIEWS
   ========================================================== */
.cp-videos { padding-bottom: 60px; }
.cp-videos .cp-head { margin-bottom: 10px; }
@media (min-width: 601px) {
    .cp-page .custom-carousel-wrapper .carousel-container { height: min(88vh, 760px); }
    .cp-page .custom-carousel-wrapper .carousel { margin-top: 0 !important; }
    .cp-page .custom-carousel-wrapper .carousel-item { height: 80%; width: 30%; border-radius: 20px; }
    .cp-page .custom-carousel-wrapper .carousel-item.active { height: 100%; width: 34%; box-shadow: 0 25px 60px rgba(28, 18, 51, .35); }
}
.cp-page .custom-carousel-wrapper .arrow {
    width: 52px; height: 52px; padding: 0; border-radius: 50%; background: #fff; color: var(--cp-accent);
    box-shadow: var(--cp-shadow); transition: background .3s ease, color .3s ease, transform .3s ease;
}
.cp-page .custom-carousel-wrapper .arrow:hover { background: var(--cp-accent); color: #fff; transform: translateY(-50%) scale(1.08); }

/* ==========================================================
   TESTIMONIALS
   ========================================================== */
.cp-testi { background: radial-gradient(120% 120% at 100% 0%, #3d1a63, var(--cp-plum) 55%, #170828) !important; }
.cp--orange .cp-testi { background: radial-gradient(120% 120% at 100% 0%, #4a1c33, #3a1530 55%, #1d0a1c) !important; }
.cp-testi::before {
    content: "\201C"; position: absolute; left: 4%; top: -40px; font: 800 340px/1 var(--cp-serif);
    color: rgba(255, 255, 255, .04); pointer-events: none;
}
.cp-testi-grid { columns: 3 320px; column-gap: 22px; }
.cp-quote {
    break-inside: avoid; margin: 0 0 22px; padding: 28px 26px; border-radius: 20px;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    transition: background .3s ease, border-color .3s ease;
}
.cp-quote:hover { background: rgba(255, 255, 255, .1); border-color: rgba(244, 182, 63, .35); }
.cp-quote .stars { color: var(--cp-gold); font-size: 13px; letter-spacing: 2px; margin-bottom: 14px; }
.cp-quote blockquote {
    margin: 0 0 20px; padding: 0 !important; background: none; border: 0; border-radius: 0; text-align: left;
    color: rgba(255, 255, 255, .85); font-size: 15px; line-height: 1.8;
}
.cp-quote figcaption { display: flex; align-items: center; gap: 12px; }
.cp-quote .av {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--cp-gold), #ffd77a); color: var(--cp-ink); font: 700 15px/1 var(--cp-sans);
}
.cp-quote strong { display: block; color: #fff; font-size: 15px; }
.cp-quote small { color: rgba(255, 255, 255, .55); font-size: 12.5px; }

/* ==========================================================
   ENQUIRY + MAP
   ========================================================== */
.cp-enquiry { background: #fff !important; }
.cp-enq { display: grid; grid-template-columns: 1fr 1fr; border-radius: 28px; overflow: hidden; box-shadow: var(--cp-shadow-lg); border: 1px solid var(--cp-line); }
.cp-enq-form { padding: 50px 46px; }
.cp-enq-form .cp-h2 { font-size: clamp(26px, 3vw, 36px); }
.cp-enq-form > p { margin-bottom: 26px; line-height: 1.8; }
.cp-enq-form form { display: grid; gap: 16px; }
.cp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cp-enq-form label { display: grid; gap: 7px; margin: 0; }
.cp-enq-form label > span { font: 600 13px/1 var(--cp-sans); color: var(--cp-ink); }
.cp-enq-form .form-control {
    height: 54px; border-radius: 12px; border: 1px solid var(--cp-line); background: #faf8fc; box-shadow: none;
    font: 400 15px var(--cp-sans); padding: 0 16px; transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.cp-enq-form .form-control:focus { border-color: var(--cp-accent); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--cp-accent) 12%, transparent); }
.cp-enq-form .cp-btn { margin-top: 6px; border: 0; }
.cp-enq-map { position: relative; min-height: 460px; background: var(--cp-line); }
.cp-enq-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.cp-visit {
    position: absolute; left: 20px; right: 20px; bottom: 20px; display: grid; gap: 8px;
    padding: 20px 22px; border-radius: 18px; background: rgba(255, 255, 255, .96); box-shadow: var(--cp-shadow-lg); font-size: 14px;
}
.cp-visit strong { font: 700 18px/1.2 var(--cp-serif); color: var(--cp-ink); }
.cp-visit i { width: 18px; color: var(--cp-accent); margin-right: 6px; text-align: center; }
.cp-visit a { color: var(--cp-ink); font-weight: 600; }
.cp-visit .cp-visit-dir { color: var(--cp-accent); font-size: 13.5px; }
.cp-visit .cp-visit-dir i { width: auto; margin: 0 0 0 4px; font-size: 11px; }

/* ==========================================================
   ABOUT PAGE
   ========================================================== */
.cp-principal { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.cp-principal-photo { position: relative; }
.cp-principal-photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: 200px 200px 26px 26px; box-shadow: var(--cp-shadow-lg); }
.cp-principal-photo::before {
    content: ""; position: absolute; inset: -16px -16px 30px 30px; z-index: -1; border-radius: 200px 200px 26px 26px;
    border: 2px solid var(--cp-gold);
}
.cp-principal-name {
    position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); white-space: nowrap;
    padding: 14px 26px; border-radius: 16px; background: var(--cp-ink); color: #fff; text-align: center; box-shadow: var(--cp-shadow-lg);
}
.cp-principal-name strong { display: block; font: 700 18px/1.2 var(--cp-serif); }
.cp-principal-name small { color: var(--cp-gold); font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; }
.cp-motto {
    margin: 0 0 22px; padding: 18px 22px; border-left: 4px solid var(--cp-gold); border-radius: 0 14px 14px 0;
    background: var(--cp-cream); font: italic 600 20px/1.5 var(--cp-serif); color: var(--cp-accent);
}

.cp-centre {
    display: flex; flex-direction: column; height: 100%; border-radius: 22px; overflow: hidden; background: #fff;
    box-shadow: var(--cp-shadow); transition: transform .4s ease, box-shadow .4s ease;
}
.cp-centre:hover { transform: translateY(-8px); box-shadow: var(--cp-shadow-lg); }
.cp-centre-img { aspect-ratio: 16 / 10; overflow: hidden; }
.cp-centre-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.cp-centre:hover .cp-centre-img img { transform: scale(1.07); }
.cp-centre-body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 40px 24px 24px; }
.cp-centre-logo {
    position: absolute; top: -30px; left: 24px; height: 60px; padding: 8px 12px; border-radius: 14px; background: #fff;
    box-shadow: var(--cp-shadow); display: flex; align-items: center;
}
.cp-centre-logo img { height: 42px; width: auto; max-width: 120px; object-fit: contain; }
.cp-centre h3 { font: 700 21px/1.25 var(--cp-serif); color: var(--cp-ink); margin-bottom: 8px; }
.cp-centre p { font-size: 14.5px; line-height: 1.7; margin-bottom: 16px; }
.cp-centre .more { margin-top: auto; font-weight: 600; color: var(--cp-accent); }
.cp-centre .more i { transition: transform .3s ease; }
.cp-centre:hover .more i { transform: translateX(5px); }
.cp-centre.vedra { --cp-accent: #0d4a2c; }

.cp-vm-grid { display: grid; grid-template-columns: 1fr .8fr 1fr; gap: 26px; align-items: stretch; }
.cp-vm-card { position: relative; padding: 36px 32px; border-radius: 24px; background: #fff; box-shadow: var(--cp-shadow); border-top: 5px solid var(--cp-accent); }
.cp-vm-card.alt { border-top-color: var(--cp-gold); }
.cp-vm-card .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--cp-accent); color: #fff; font-size: 22px; margin-bottom: 18px; }
.cp-vm-card.alt .ic { background: var(--cp-gold); color: var(--cp-ink); }
.cp-vm-card h3 { font: 700 24px/1.2 var(--cp-serif); color: var(--cp-ink); margin-bottom: 12px; }
.cp-vm-card p { margin: 0; font-size: 14.5px; line-height: 1.85; }
.cp-vm-quote { display: grid; place-items: center; padding: 20px; border-radius: 24px; background: linear-gradient(160deg, var(--cp-plum), #3d1a63); box-shadow: var(--cp-shadow-lg); }
.cp-vm-quote img { width: 100%; max-width: 320px; height: auto; border-radius: 14px; }

/* ==========================================================
   MOTION + DARK + RESPONSIVE
   ========================================================== */
@keyframes cp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .cp-badge { animation: none; } }

.theme-dark .cp-page { background: #0e0e12; color: #b9b2c6; }
.theme-dark .cp-alt, .theme-dark .cp-programs, .theme-dark .cp-activities, .theme-dark .cp-videos { background: #15131b; }
.theme-dark .cp-intro, .theme-dark .cp-enquiry { background: #0e0e12 !important; }
.theme-dark .cp-program, .theme-dark .cp-feature, .theme-dark .cp-service, .theme-dark .cp-class, .theme-dark .cp-value,
.theme-dark .cp-centre, .theme-dark .cp-vm-card, .theme-dark .cp-badge, .theme-dark .cp-enq-form, .theme-dark .cp-motto { background: #1c1924; border-color: #2a2633; }
.theme-dark .cp-h2, .theme-dark .cp-program h3, .theme-dark .cp-feature h3, .theme-dark .cp-service h3, .theme-dark .cp-class strong,
.theme-dark .cp-value h3, .theme-dark .cp-centre h3, .theme-dark .cp-vm-card h3, .theme-dark .cp-checks li, .theme-dark .cp-program li,
.theme-dark .cp-badge strong, .theme-dark .cp-enq-form label > span, .theme-dark .cp-lead b { color: #f3eff8; }
.theme-dark .cp-enq-form .form-control { background: #15131b; border-color: #2a2633; color: #fff; }
.theme-dark .cp-collage .b { border-color: #0e0e12; }

@media (max-width: 1199px) {
    .cp-act-track { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
    .cp-service { grid-template-columns: 1fr; }
    .cp-service-img { min-height: 240px; }
}
@media (max-width: 991px) {
    .cp-sec { padding: 76px 0; }
    .cp-collage { max-width: 560px; margin: 0 auto 50px; }
    .cp-principal { grid-template-columns: 1fr; gap: 70px; }
    .cp-principal-photo { max-width: 420px; margin: 0 auto; }
    .cp-vm-grid { grid-template-columns: 1fr; }
    .cp-vm-quote img { max-width: 260px; }
    .cp-enq { grid-template-columns: 1fr; }
    .cp-enq-map { min-height: 420px; }
}
@media (max-width: 767px) {
    .cp-sec { padding: 60px 0; }
    .cp-head { margin-bottom: 34px; }
    .cp-checks { grid-template-columns: 1fr; }
    .cp-collage { padding: 0 34px 44px 0; }
    .cp-badge { left: 12px; bottom: 16px; }
    .cp-act-track { grid-auto-columns: 70%; }
    .cp-gal-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
    .cp-gal-grid:not(.cp-gal-grid--simple) .cp-gal-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
    .cp-fields { grid-template-columns: 1fr; }
    .cp-enq-form { padding: 34px 22px; }
    .cp-actions .cp-btn { flex: 1 1 100%; }
    .cp-upgrade { gap: 14px; padding: 16px; }
    .cp-upgrade img { width: 48px; height: 48px; }
    .cp-upgrade > i { display: none; }
    .cp-page .custom-carousel-wrapper .carousel-container { height: min(68vh, 560px) !important; margin-bottom: 20px; }
    .cp-page .custom-carousel-wrapper .carousel { margin-top: 0 !important; }
    .cp-page .custom-carousel-wrapper .carousel-item { top: 50% !important; height: 85% !important; }
    .cp-page .custom-carousel-wrapper .carousel-item.active { height: 100% !important; }
    .cp-page .custom-carousel-wrapper .arrow { width: 42px; height: 42px; font-size: 22px; }
}

/* ==========================================================
   AREAS WE SERVE page
   ========================================================== */
.cp-area-centre { display: flex; flex-direction: column; }
.cp-area-logo { display: inline-flex; align-items: center; height: 56px; margin-bottom: 18px; }
.cp-area-logo img { height: 50px; width: auto; max-width: 160px; object-fit: contain; }
.cp-area-meta { list-style: none; padding: 0; margin: 4px 0 18px; display: grid; gap: 8px; font-size: 14px; color: var(--cp-ink); }
.cp-area-meta i { width: 18px; color: var(--cp-accent); margin-right: 6px; }
.cp-area-meta a { color: var(--cp-ink); font-weight: 600; }
.cp-area-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px 18px; font-weight: 600; font-size: 14px; }
.cp-area-links a { color: var(--cp-accent); }
.cp-area-links i { font-size: 11px; margin-left: 3px; }

.cp-area-group { margin-bottom: 44px; }
.cp-area-group:last-child { margin-bottom: 0; }
.cp-area-group-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.cp-area-group-head .ic { flex: 0 0 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--cp-accent); color: #fff; font-size: 20px; }
.cp-area-group-head h3 { font: 700 22px/1.2 var(--cp-serif); color: var(--cp-ink); margin: 0 0 4px; }
.cp-area-group-head p { margin: 0; font-size: 14.5px; }
.cp-area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.cp-area {
    padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--cp-line);
    scroll-margin-top: 120px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.cp-area:hover, .cp-area:target { transform: translateY(-4px); box-shadow: var(--cp-shadow); border-color: transparent; }
.cp-area:target { outline: 2px solid var(--cp-gold); }
.cp-area h4 { font: 700 18px/1.2 var(--cp-serif); color: var(--cp-ink); margin: 0 0 6px; }
.cp-area h4 i { color: var(--cp-accent); font-size: 14px; margin-right: 4px; }
.cp-area p { font-size: 13.5px; line-height: 1.6; margin: 0 0 14px; }
.cp-area-dir { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-area-dir a {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 30px;
    font: 600 12.5px/1 var(--cp-sans); color: var(--cp-accent); background: color-mix(in srgb, var(--cp-accent) 8%, transparent);
    transition: background .25s ease, color .25s ease;
}
.cp-area-dir a:hover { background: var(--cp-accent); color: #fff; }
.theme-dark .cp-area { background: #1c1924; border-color: #2a2633; }
.theme-dark .cp-area h4, .theme-dark .cp-area-group-head h3, .theme-dark .cp-area-meta, .theme-dark .cp-area-meta a { color: #f3eff8; }
