/* features.css - admission enquiry, events calendar, homepage upcoming band, popup CTA. Pastel + Watermelon look. */

/* ---------- Sticky minimal header: slim bar once you scroll ---------- */
.dps-header { transition: box-shadow .25s ease, background .25s ease; }
.dps-header .dps-header__row { transition: min-height .25s ease; }
.dps-header .dps-brand img { transition: width .25s ease, height .25s ease; }
.dps-header.is-stuck { background: rgba(255,255,255,.9) !important; box-shadow: 0 6px 24px -12px rgba(63,71,102,.35) !important; }
.dps-header.is-stuck .dps-header__row { min-height: 58px; }
.dps-header.is-stuck .dps-brand img { width: 40px; height: 40px; }
.dps-header.is-stuck .dps-brand__text small { display: none; }
.dps-header.is-stuck .dps-brand__text strong { font-size: 17px; }
.dps-header.is-stuck .dps-nav__link { padding-top: 6px !important; padding-bottom: 6px !important; }
.dps-header.is-stuck .dps-header__cta { padding-top: 7px !important; padding-bottom: 7px !important; }

/* ---------- Board toppers: scrolling faces ---------- */
.tp-marquee { overflow: hidden; padding: 18px 0 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tp-marquee__track { display: flex; width: max-content; animation: tp-scroll var(--tp-dur, 40s) linear infinite; }
.tp-marquee:hover .tp-marquee__track { animation-play-state: paused; }
.tp-marquee__set { display: flex; gap: 22px; padding-right: 22px; }
@keyframes tp-scroll { to { transform: translateX(-50%); } }
.tp-face { width: 170px; margin: 0; text-align: center; background: #fff; border-radius: 22px; padding: 18px 12px 14px; box-shadow: 0 0 0 1px rgba(63,71,102,.08), 0 10px 26px -14px rgba(63,71,102,.35); flex: none; transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.tp-face:hover { transform: translateY(-6px); }
.tp-face__ring { position: relative; width: 116px; height: 116px; margin: 0 auto 10px; border-radius: 50%; padding: 4px; background: conic-gradient(var(--c-primary), var(--c-accent), var(--c-secondary), var(--c-primary)); }
.tp-face__ring img, .tp-face__ini { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #fff; display: grid; place-items: center; background: #FFF1F5; color: var(--c-primary); font-weight: 800; font-size: 34px; }
.tp-medal { position: absolute; right: -2px; bottom: 2px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 14px; color: #fff; border: 3px solid #fff; background: #E0A21B; }
.tp-medal--2 { background: #9AA5B8; } .tp-medal--3 { background: #C98A5B; }
.tp-face__pct { display: inline-block; font-size: 22px; font-weight: 800; color: var(--c-primary); line-height: 1.1; }
.tp-face figcaption strong { display: block; color: var(--c-text); font-size: 15px; line-height: 1.25; margin-top: 4px; }
.tp-face figcaption small { color: color-mix(in srgb, var(--c-text) 60%, transparent); font-size: 12.5px; }
@media (max-width: 575px) { .tp-face { width: 140px; padding: 14px 8px 12px; } .tp-face__ring { width: 92px; height: 92px; } .tp-face__pct { font-size: 19px; } }
@media (prefers-reduced-motion: reduce) { .tp-marquee { overflow-x: auto; } .tp-marquee__track { animation: none; } .tp-marquee__set[aria-hidden] { display: none; } }

/* ---------- Result page ---------- */
.rs-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; }
.rs-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0 6px; }
.rs-stats .stat { background: #fff; border-radius: 20px; padding: 16px; text-align: center; }
.rs-stats .stat b { display: block; font-size: 26px; color: var(--c-primary); font-weight: 800; }
.rs-stats .stat span { font-size: 13px; opacity: .7; }
@media (max-width: 767px) { .rs-stats { grid-template-columns: 1fr 1fr; } }
.rs-tabs { margin-top: 26px; }
.rs-table { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px rgba(63,71,102,.08), 0 10px 26px -14px rgba(63,71,102,.3); }
body.dps .rs-table table { width: 100%; border-collapse: collapse; box-shadow: none; border-radius: 0; display: table; white-space: normal; }
body.dps .rs-table th { background: #FFF1F5 !important; color: var(--c-text) !important; text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
body.dps .rs-table td { border: 0 !important; border-top: 1px solid #F3EEF5 !important; vertical-align: middle; }
.rs-table tr.is-top td { background: #FFFBEF; }
.rs-rank { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #F4F0FF; color: #6A4FC9; font-weight: 800; }
.rs-table tr.is-top .rs-rank { background: var(--c-accent); color: #1b1300; }
.rs-name { display: flex; align-items: center; gap: 12px; }
.rs-name img, .rs-ini { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none; display: grid; place-items: center; background: #FFF1F5; color: var(--c-primary); }
.rs-pct { display: inline-block; min-width: 120px; padding: 6px 12px; border-radius: 999px; font-weight: 800; background: linear-gradient(90deg, color-mix(in srgb, var(--c-primary) 22%, #fff) var(--p), #F6F3F8 var(--p)); }
@media (max-width: 575px) { .rs-pct { min-width: 0; } body.dps .rs-table td, body.dps .rs-table th { padding: 8px; } .rs-name { gap: 8px; } }

/* ---------- Accordion of sessions (annual toppers, older board results) ---------- */
.an-older { margin: 36px 0 12px; font-size: 20px; }
.an-acc { display: grid; gap: 14px; }
.an-acc__item { background: #fff; border-radius: 22px; box-shadow: 0 0 0 1px rgba(63,71,102,.08), 0 10px 26px -16px rgba(63,71,102,.3); overflow: hidden; }
.an-acc__item > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 22px; font-weight: 800; font-size: 18px; color: var(--c-text); }
.an-acc__item > summary::-webkit-details-marker { display: none; }
.an-acc__item > summary::after { content: '+'; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #FFF1F5; color: var(--c-primary); font-size: 22px; transition: transform .3s; flex: none; }
.an-acc__item[open] > summary::after { transform: rotate(45deg); }
.an-acc__item > summary span i { color: var(--c-primary); margin-right: 6px; }
.an-acc__item > summary small { margin-left: auto; font-weight: 600; font-size: 13px; opacity: .6; }
.an-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; padding: 4px 18px 20px; }
.an-grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.an-grid h4 { margin: 6px 0 10px; }
.an-card { background: #FFFBF7; border-radius: 18px; padding: 14px; }
.an-card h3 { font-size: 17px; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 2px dashed #F3E6EC; }
.an-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.an-list li { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 8px 10px; }
.an-list li.r1 { background: #FFF6D9; } .an-list li.r2 { background: #F1F3F8; } .an-list li.r3 { background: #FBEDE3; }
.an-list li.r1 .rs-rank { background: var(--c-accent); color: #1b1300; }
.an-list img, .an-list .rs-ini { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.an-list b { flex: 1; min-width: 0; font-size: 14.5px; color: var(--c-text); display: flex; flex-direction: column; }
.an-list b small { font-weight: 500; opacity: .6; font-size: 12px; }
.an-list em { font-style: normal; font-weight: 800; color: var(--c-primary); }

/* ---------- Notice extras ---------- */
.nb-class { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #EFE9FF; color: #6A4FC9; }
.nb-classfilter { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 4px 6px 4px 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(63,71,102,.12); color: #6A4FC9; }
.nb-classfilter select { border: 0 !important; box-shadow: none !important; min-height: 36px; padding: 4px 10px !important; font-weight: 700; background: #F4F0FF !important; border-radius: 999px !important; }
.notice__list .nb-class { padding: 1px 8px; font-size: 11px; margin-left: 4px; }
.nb-uploaded { display: block; margin: -4px 0 8px; font-size: 12.5px; opacity: .65; }

/* ---------- Popup CTA ---------- */
.dps-popup__cta { padding: 12px 16px 16px; text-align: center; background: #fff; }

/* ---------- Admission enquiry ---------- */
.enq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 28px; align-items: start; }
.enq__side { background: linear-gradient(160deg, #FFE8F0, #EFE9FF); border-radius: 24px; padding: 30px; position: sticky; top: 110px; }
.enq__side h2 { font-family: var(--f-head), sans-serif; font-size: clamp(24px, 3vw, 32px); margin: 14px 0 10px; color: var(--c-text); }
.enq__side p { color: color-mix(in srgb, var(--c-text) 80%, transparent); }
.enq__steps { list-style: none; padding: 0; margin: 20px 0; counter-reset: s; display: grid; gap: 10px; }
.enq__steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; background: rgba(255,255,255,.75); border-radius: 16px; padding: 10px 14px; }
.enq__steps li::before { content: counter(s); grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--c-primary); color: #fff; font-weight: 800; }
.enq__steps b { color: var(--c-text); }
.enq__steps span { font-size: 14px; opacity: .75; }
.enq__call a { font-weight: 700; color: var(--c-primary); }
.enq__form { background: #fff; border-radius: 24px; padding: 30px; box-shadow: var(--wm-ring, 0 0 0 1px rgba(63,71,102,.1)), var(--wm-shadow, 0 8px 24px -8px rgba(63,71,102,.12)); }
.enq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.enq__grid label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; color: var(--c-text); margin: 0; }
.enq__grid label.full { grid-column: 1 / -1; }
.enq__grid input, .enq__grid select, .enq__grid textarea { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-weight: 400; font-size: 16px; }
.enq__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enq__btn { margin-top: 20px; width: 100%; justify-content: center; min-height: 52px; font-size: 17px; border: 0; cursor: pointer; }
.enq__note { font-size: 13px; opacity: .65; margin: 10px 0 0; text-align: center; }
.enq__done { text-align: center; padding: 30px 10px; }
.enq__done .fa { font-size: 64px; color: #4CC38A; }
.enq__done h3 { font-size: 28px; margin: 10px 0; }
.form-msg { display: block; padding: 12px 16px; border-radius: 14px; margin-bottom: 16px; font-weight: 600; }
.form-msg.err { background: #FFE9EC; color: #B4234A; }
.form-msg.ok { background: #E6F8EF; color: #1F7A4F; }
@media (max-width: 860px) { .enq { grid-template-columns: 1fr; } .enq__side { position: static; } }
@media (max-width: 560px) { .enq__grid { grid-template-columns: 1fr; } .enq__form, .enq__side { padding: 20px; } }

/* ---------- Event kinds ---------- */
.k--event { --k: #5BB8E0; --kb: #E4F4FB; }
.k--holiday { --k: #EC6F93; --kb: #FFE8F0; }
.k--notice { --k: #E0A21B; --kb: #FFF4D6; }

/* ---------- Calendar ---------- */
.cal-wrap { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; align-items: start; }
.cal { background: #fff; border-radius: 24px; padding: 22px; box-shadow: var(--wm-ring, 0 0 0 1px rgba(63,71,102,.1)), var(--wm-shadow, 0 8px 24px -8px rgba(63,71,102,.12)); }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cal__head h2 { margin: 0; font-family: var(--f-head), sans-serif; font-size: clamp(20px, 3vw, 28px); color: var(--c-text); }
.cal__nav { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #FFF1F5; color: var(--c-primary); transition: transform .3s var(--wm-spring, ease); }
.cal__nav:hover { transform: scale(1.1); background: var(--c-primary); color: #fff; }
.cal__legend { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0; }
.cal__legend .k { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 4px 12px; border-radius: 999px; background: var(--kb); color: var(--c-text); }
.cal__legend .k::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--k); }
.cal__today { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--c-primary); }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal__dow { text-align: center; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; opacity: .55; padding: 4px 0; }
.cal__cell { min-height: 92px; border-radius: 14px; background: #FBF8FF; padding: 6px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal__cell.is-empty { background: transparent; }
.cal__cell.is-sun .cal__d { color: var(--c-primary); }
.cal__cell.is-holiday { background: #FFF0F5; }
.cal__cell.is-today { box-shadow: inset 0 0 0 2px var(--c-primary); }
.cal__cell.is-today .cal__d { background: var(--c-primary); color: #fff; }
.cal__d { font-weight: 700; font-size: 13px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
.cal__ev { display: block; font-size: 11.5px; line-height: 1.25; padding: 3px 6px; border-radius: 8px; background: var(--kb); color: var(--c-text); border-left: 3px solid var(--k); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal__ev:hover { color: var(--c-text); filter: brightness(.97); }
@media (max-width: 991px) { .cal-wrap { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
    .cal { padding: 14px; }
    .cal__cell { min-height: 52px; align-items: center; padding: 4px 2px; }
    .cal__ev { font-size: 0; width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: var(--k); }
    .cal__cell.has-items { gap: 2px; flex-direction: column; }
}

/* ---------- Event list ---------- */
.cal-list { background: #fff; border-radius: 24px; padding: 22px; box-shadow: var(--wm-ring, 0 0 0 1px rgba(63,71,102,.1)), var(--wm-shadow, 0 8px 24px -8px rgba(63,71,102,.12)); }
.cal-list h3 { font-size: 18px; margin: 0 0 12px; }
.ev-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.ev-list li { display: flex; gap: 12px; align-items: center; background: var(--kb); border-radius: 16px; padding: 10px 12px; transition: transform .35s var(--wm-spring, ease); }
.ev-list li:hover { transform: translateX(4px); }
.ev-date { flex: none; width: 52px; height: 56px; border-radius: 14px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12px; text-transform: uppercase; color: var(--k); font-weight: 700; }
.ev-date b { font-size: 22px; line-height: 1; color: var(--c-text); }
.ev-list a { color: var(--c-text); font-weight: 700; line-height: 1.3; display: flex; flex-direction: column; min-width: 0; }
.ev-list small { font-weight: 500; opacity: .65; font-size: 12.5px; margin-top: 2px; }

/* ---------- Homepage upcoming band ---------- */
.up-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: stretch; }
.up-events { background: #fff; border-radius: 24px; padding: 26px; box-shadow: var(--wm-ring, 0 0 0 1px rgba(63,71,102,.1)), var(--wm-shadow, 0 8px 24px -8px rgba(63,71,102,.12)); }
.up-cta { border-radius: 24px; padding: 34px; background: radial-gradient(120% 120% at 100% 0%, #FFE7A3 0%, transparent 55%), linear-gradient(150deg, #FFE1EB, #E9E3FF); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; position: relative; overflow: hidden; }
.up-cta h2 { font-family: var(--f-head), sans-serif; font-size: clamp(24px, 3vw, 34px); color: var(--c-text); margin: 12px 0 6px; }
.up-cta p { margin: 0 0 16px; color: color-mix(in srgb, var(--c-text) 80%, transparent); }
.up-cta .dps-btn { margin: 4px 8px 0 0; }
.up-cta::after { content: ''; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.45); }
@media (max-width: 860px) { .up-grid { grid-template-columns: 1fr; } }

/* ---------- Hero: image fills the whole slider (no grey gap), sits right under the header ---------- */
html, body.dps { overflow-x: clip; }
body.dps main#main { margin: 0; padding: 0; }
body.dps .hero { margin-top: 0; }
body.dps .hero__slide > img { width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; object-position: center; }
.hero__content { max-width: min(760px, 100%); min-width: 0; }
.hero h1, .hero .hero__h { overflow-wrap: anywhere; }
@media (max-width: 767px) {
    body.dps .hero { height: clamp(420px, 70vh, 560px); }
    .hero h1, .hero .hero__h { font-size: clamp(28px, 8.5vw, 40px); }
}

/* ---------- Admission button: always visible in the header ---------- */
.dps-header__cta { display: inline-flex !important; align-items: center; gap: 8px; white-space: nowrap; flex: none; }
.dps-header__cta .cta-short { display: none; }
@media (max-width: 1439px) {
    .dps-header__cta { padding: 9px 16px !important; font-size: 14px !important; }
    .dps-header__cta .cta-long { display: none; }
    .dps-header__cta .cta-short { display: inline; }
}
@media (max-width: 1279px) { .dps-header__cta { margin-left: auto; } .dps-burger { margin-left: 8px; } }
@media (max-width: 575px) {
    .dps-header__row { gap: 8px; }
    .dps-brand { min-width: 0; flex: 1 1 auto; gap: 8px; }
    .dps-brand__text { min-width: 0; }
    .dps-brand__text strong { white-space: normal; font-size: 15px; line-height: 1.15; }
    .dps-brand img { width: 42px; height: 42px; }
    .dps-header__cta { padding: 8px 12px !important; font-size: 13px !important; }
    .dps-burger { width: 42px; height: 42px; flex: none; }
}
@media (max-width: 360px) { .dps-header__cta .cta-short { display: none; } }
/* Fee structure page */ .fee-card { background: #fff; border-radius: 22px; padding: 18px; box-shadow: 0 0 0 1px rgba(63,71,102,.08), 0 10px 26px -16px rgba(63,71,102,.3); overflow-x: auto; } .an-acc__item .fee-card { box-shadow: none; border-radius: 0; padding: 4px 18px 20px; } body.dps .fee-card table { width: 100%; border-collapse: collapse; display: table; white-space: normal; box-shadow: none; } body.dps .fee-card th { background: #FFF1F5 !important; color: var(--c-text) !important; font-size: 13px; text-align: center; } body.dps .fee-card td { text-align: center; border: 0 !important; border-top: 1px solid #F3EEF5 !important; } body.dps .fee-card td:first-child, body.dps .fee-card th:first-child { text-align: left; font-weight: 700; } .fee-card h3 { font-size: 17px; margin: 18px 0 8px; } .fee-card ul { padding-left: 18px; font-size: 14.5px; line-height: 1.6; } .fee-card ul li { list-style: none; margin-bottom: 4px; } @media (max-width: 767px) { body.dps .fee-card table { display: block; overflow-x: auto; white-space: nowrap; } }
body.dps .fee-card .container, body.dps .fee-card .row, body.dps .fee-card [class*=col-], body.dps .fee-card .about-content, body.dps .fee-card .section-title, body.dps .fee-card .table-responsive { all: unset; display: block; }
.pay-cta{margin-right:8px}@media(max-width:600px){.pay-cta span{display:none}}.paybar{grid-column:1/-1;display:flex;align-items:center;gap:16px;padding:18px 22px;border-radius:22px;background:linear-gradient(120deg,#d9f5e6,#dbeafe);color:#14324a;text-decoration:none;box-shadow:0 8px 24px rgba(20,50,74,.12);transition:transform .25s}.paybar:hover{transform:translateY(-3px);color:#14324a;text-decoration:none}.paybar>i{font-size:30px;color:#0f9d6b}.paybar span{flex:1;display:flex;flex-direction:column}.paybar b{font-size:20px}.paybar small{opacity:.75}.paybar em{font-style:normal;font-weight:700;background:#0f9d6b;color:#fff;padding:10px 18px;border-radius:999px;white-space:nowrap}@media(max-width:600px){.paybar small{display:none}.paybar b{font-size:16px}}
.captcha { display: flex !important; flex-direction: row !important; flex-wrap: wrap; align-items: center; gap: 10px 14px !important; padding: 12px 14px; border-radius: 16px; background: #F3F0FF; } .captcha__q { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: #fff; font-weight: 800; font-size: 18px; letter-spacing: .5px; color: var(--c-text, #3F4766); box-shadow: 0 0 0 1px rgba(63,71,102,.12); } .captcha input[type=text] { width: 110px !important; min-height: 44px; text-align: center; font-size: 18px; font-weight: 700; } .captcha small { flex-basis: 100%; font-weight: 400; opacity: .7; }
.enq__grid .captcha { grid-column: 1 / -1; font-weight: 600; font-size: 14px; } .captcha > span:first-child { font-weight: 700; }
@media (max-width: 1400px) { .pay-cta span { display: none; } .pay-cta { padding-left: 14px !important; padding-right: 14px !important; margin-right: 6px; } } .pay-cta { flex: none; }
@media (min-width: 1280px) and (max-width: 1439px) { .dps-nav__link { padding: 10px 6px; font-size: 13.5px; } .dps-header__row { gap: 10px; } .dps-header__cta { padding-left: 16px !important; padding-right: 16px !important; } }
