/* ==========================================================
   DSUMS — public website styles
   Colours come from the uniform (khaki + white) and the logo (navy).
   The CSS variables are overwritten from Admin > Site Settings > Colours.
   ========================================================== */
:root {
    --navy: #1E3A5F;
    --navy-deep: #142a46;
    --khaki: #A68B66;
    --khaki-dark: #7A6548;
    --khaki-soft: #EFE7DA;
    --paper: #F8F4EC;
    --white: #ffffff;
    --gold: #E9A23B;
    --ink: #22303f;
    --muted: #5d6875;
    --radius-lg: 22px;
    --radius: 14px;
    --shadow: 0 10px 30px -12px rgba(30, 58, 95, .28);
    --font-head: "Baloo Da 2", "Hind Siliguri", system-ui, sans-serif;
    --font-body: "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    font-size: 1.02rem;
    line-height: 1.7;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, .font-head { font-family: var(--font-head); color: var(--navy); line-height: 1.2; font-weight: 700; }
a { color: var(--navy); }
a:hover { color: var(--khaki-dark); }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.bn { font-family: "Hind Siliguri", var(--font-body); }
.text-khaki { color: var(--khaki-dark) !important; }
.text-navy { color: var(--navy) !important; }
.bg-paper { background: var(--paper); }
.bg-navy { background: var(--navy); }
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }

/* ---------- Buttons ---------- */
.btn { font-family: var(--font-head); font-weight: 600; border-radius: 50px; padding: .62rem 1.5rem; letter-spacing: .01em; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; border: 2px solid var(--navy); }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.btn-khaki { background: var(--khaki); color: #fff; border: 2px solid var(--khaki); }
.btn-khaki:hover { background: var(--khaki-dark); border-color: var(--khaki-dark); color: #fff; }
.btn-outline-white { border: 2px solid rgba(255,255,255,.8); color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--navy); }
.btn-gold { background: var(--gold); color: var(--navy-deep); border: 2px solid var(--gold); }
.btn-gold:hover { background: #f3b450; color: var(--navy-deep); }

/* ---------- Signature: the shoulder badge (khaki tab + white stripe) ---------- */
.badge-tab {
    display: inline-block; width: 64px; height: 12px; border-radius: 3px 10px 10px 3px;
    background: linear-gradient(90deg, var(--khaki) 0 58%, #fff 58% 76%, var(--khaki) 76%);
    box-shadow: inset 0 0 0 1px rgba(122,101,72,.35);
    position: relative;
}
.badge-tab::after { content: ""; position: absolute; right: 5px; top: 3px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.section-title { margin-bottom: 2.8rem; }
.section-title h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: .5rem 0 .4rem; }
.section-title p { color: var(--muted); max-width: 640px; margin: 0; }
.section-title.text-center p { margin: 0 auto; }
.on-dark h2, .on-dark h3 { color: #fff; }
.on-dark p { color: rgba(255,255,255,.78); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-deep); color: rgba(255,255,255,.85); font-size: .88rem; }
.topbar a { color: rgba(255,255,255,.85); text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar .social a { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.08); margin-left: 4px; }

/* ---------- Navbar ---------- */
.site-nav { background: #fff; box-shadow: 0 2px 0 var(--khaki-soft); transition: box-shadow .25s; z-index: 1030; }
.site-nav.scrolled { box-shadow: 0 8px 24px -14px rgba(30,58,95,.45); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; min-width: 0; max-width: calc(100% - 64px); }
.brand > span { min-width: 0; }
.brand img { width: 58px; height: 58px; object-fit: contain; mix-blend-mode: multiply; flex: 0 0 auto; }
.brand .name { font-family: var(--font-head); font-weight: 700; color: var(--navy); line-height: 1.1; font-size: 1.12rem; }
.brand .name-bn { font-family: "Hind Siliguri"; color: var(--khaki-dark); font-size: .86rem; font-weight: 600; line-height: 1.2; }
.site-nav .btn { white-space: nowrap; }
.site-nav .nav-link { font-family: var(--font-head); font-weight: 600; color: var(--navy); padding: .5rem .8rem !important; border-radius: 50px; }
.site-nav .nav-link:hover, .site-nav .nav-link.active, .site-nav .show > .nav-link { color: var(--khaki-dark); background: var(--khaki-soft); }
.site-nav .dropdown-menu { border: 0; border-radius: var(--radius); box-shadow: var(--shadow); padding: .5rem; border-top: 4px solid var(--khaki); }
.site-nav .dropdown-item { border-radius: 10px; padding: .5rem .9rem; font-weight: 500; }
.site-nav .dropdown-item:hover { background: var(--khaki-soft); color: var(--navy); }
.navbar-toggler { border: 2px solid var(--khaki-soft); border-radius: 12px; padding: .4rem .6rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px var(--khaki-soft); }
@media (max-width: 1199.98px) {
    .site-nav .navbar-collapse { padding: .75rem 0 1rem; max-height: calc(100vh - 90px); overflow-y: auto; }
    .site-nav .dropdown-menu { box-shadow: none; border-top: 0; background: var(--paper); }
}

/* ---------- Ticker ---------- */
.ticker { background: var(--khaki); color: #fff; display: flex; align-items: stretch; overflow: hidden; font-weight: 500; }
.ticker .label { background: var(--navy); color: #fff; text-decoration: none; padding: .55rem 1.1rem; font-family: var(--font-head); white-space: nowrap; display: flex; align-items: center; gap: .4rem; z-index: 1; }
.ticker .track a { color: #fff; text-decoration: none; }
.ticker .track a:hover { text-decoration: underline; }
.ticker .sep { font-style: normal; margin: 0 1.25rem; opacity: .8; }
.ticker .new { font-style: normal; font-size: .7rem; font-weight: 700; text-transform: uppercase; background: #c0392b; color: #fff; border-radius: .25rem; padding: .05rem .35rem; margin-right: .4rem; vertical-align: middle; }
.ticker .track { flex: 1; overflow: hidden; display: flex; align-items: center; }
.ticker .track span { flex: none; display: inline-block; white-space: nowrap; padding-left: 100%; animation: ticker var(--ticker-dur, 32s) linear infinite; }
.ticker:hover .track span { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-100%); } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero .carousel-item { height: clamp(460px, 78vh, 680px); }
.hero .carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.hero .carousel-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,42,70,.92) 0%, rgba(20,42,70,.72) 45%, rgba(20,42,70,.15) 100%); }
.hero .caption { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; }
.hero .stars { color: var(--gold); letter-spacing: .3em; font-size: 1.1rem; margin-bottom: .6rem; }
.hero .stars i { display: inline-block; animation: pop .6s cubic-bezier(.3,1.6,.5,1) both; }
.hero .stars i:nth-child(1) { animation-delay: .05s; } .hero .stars i:nth-child(2) { animation-delay: .15s; font-size: 1.35em; }
.hero .stars i:nth-child(3) { animation-delay: .25s; font-size: 1.7em; } .hero .stars i:nth-child(4) { animation-delay: .35s; font-size: 1.35em; }
.hero .stars i:nth-child(5) { animation-delay: .45s; }
@keyframes pop { from { transform: scale(0) rotate(-40deg); opacity: 0; } to { transform: none; opacity: 1; } }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5.2vw, 4rem); max-width: 18ch; margin-bottom: .8rem; }
.hero .lead { color: rgba(255,255,255,.85); max-width: 46ch; font-size: clamp(1rem, 1.6vw, 1.2rem); }
.hero .carousel-item.active h1, .hero .carousel-item.active .lead, .hero .carousel-item.active .hero-btns { animation: rise .8s ease both; }
.hero .carousel-item.active .lead { animation-delay: .15s; }
.hero .carousel-item.active .hero-btns { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero .carousel-indicators [data-bs-target] { width: 34px; height: 6px; border-radius: 6px; border: 0; background: #fff; opacity: .45; }
.hero .carousel-indicators .active { background: var(--gold); opacity: 1; }
.hero .carousel-control-prev, .hero .carousel-control-next { width: 6%; z-index: 3; }
.admission-stamp {
    position: absolute; right: 6%; bottom: 14%; z-index: 3; width: 150px; height: 150px; border-radius: 50%;
    background: var(--gold); color: var(--navy-deep); display: grid; place-items: center; text-align: center;
    font-family: var(--font-head); font-weight: 800; line-height: 1.05; text-decoration: none;
    box-shadow: 0 0 0 8px rgba(233,162,59,.3); transform: rotate(-10deg); animation: wobble 4s ease-in-out infinite;
}
.admission-stamp small { display: block; font-weight: 600; font-size: .78rem; }
.admission-stamp:hover { color: var(--navy-deep); }
@keyframes wobble { 0%,100% { transform: rotate(-10deg) scale(1); } 50% { transform: rotate(-4deg) scale(1.05); } }

/* ---------- Quick cards under the hero ---------- */
.quick-cards { margin-top: -64px; position: relative; z-index: 5; }
.quick-card {
    background: #fff; border-radius: var(--radius-lg); padding: 1.4rem 1.3rem; height: 100%; display: flex; gap: 1rem; align-items: flex-start;
    text-decoration: none; color: var(--ink); box-shadow: var(--shadow); border-bottom: 5px solid var(--khaki); transition: transform .25s ease, border-color .25s;
}
.quick-card:hover { transform: translateY(-6px); border-color: var(--navy); color: var(--ink); }
.quick-card .ic { flex: 0 0 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; background: var(--khaki-soft); color: var(--khaki-dark); }
.quick-card:nth-child(even) .ic, .col:nth-child(even) > .quick-card .ic { background: #e3eaf3; color: var(--navy); }
.quick-card h3 { font-size: 1.15rem; margin: 0 0 .15rem; }
.quick-card p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.5; }

/* ---------- Welcome ---------- */
.welcome-img { position: relative; }
.welcome-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.welcome-img .est {
    position: absolute; left: -14px; bottom: -18px; background: var(--navy); color: #fff; border-radius: 18px; padding: .9rem 1.2rem;
    font-family: var(--font-head); line-height: 1.1; box-shadow: var(--shadow); border: 4px solid #fff;
}
.welcome-img .est strong { font-size: 1.8rem; display: block; color: var(--gold); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .7rem; }
.check-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .05rem; color: var(--khaki-dark); font-size: 1.2rem; }
.info-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.info-chips span { background: var(--paper); border: 1px solid var(--khaki-soft); border-radius: 50px; padding: .3rem .9rem; font-size: .9rem; color: var(--navy); font-weight: 600; }

/* ---------- Class ladder: Play → Class 10 (a real sequence) ---------- */
.ladder { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.ladder .step {
    min-width: 92px; text-align: center; border-radius: 16px; padding: .7rem .8rem .6rem; background: #fff; color: var(--navy);
    font-family: var(--font-head); font-weight: 700; border: 2px solid var(--khaki-soft); position: relative; transition: transform .2s;
}
.ladder .step small { display: block; font-family: "Hind Siliguri"; font-weight: 500; color: var(--khaki-dark); font-size: .8rem; }
.ladder .step.secondary { background: var(--navy); color: #fff; border-color: var(--navy); }
.ladder .step.secondary small { color: #d9c8ad; }
.ladder .step:hover { transform: translateY(-4px) rotate(-2deg); }
.ladder-legend { display: flex; gap: 1.2rem; justify-content: center; margin-top: 1rem; font-size: .9rem; color: var(--muted); }
.ladder-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: .3rem; border: 2px solid var(--khaki-soft); }
.ladder-legend .s i { background: var(--navy); border-color: var(--navy); }

/* ---------- Stats ---------- */
.stats { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(255,255,255,.025) 22px 44px); }
.stat { text-align: center; position: relative; padding: .5rem; }
.stat .num { font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; color: var(--gold); line-height: 1; }
.stat .lbl { color: rgba(255,255,255,.82); margin-top: .4rem; font-size: .98rem; }

/* ---------- Feature cards ---------- */
.feature { background: #fff; border-radius: var(--radius-lg); padding: 1.6rem 1.4rem; height: 100%; border: 1px solid var(--khaki-soft); transition: transform .25s, box-shadow .25s; }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature .ic { width: 58px; height: 58px; border-radius: 50% 50% 50% 14px; display: grid; place-items: center; font-size: 1.6rem; color: #fff; background: var(--navy); margin-bottom: 1rem; }
.row > div:nth-child(3n+2) .feature .ic { background: var(--khaki); }
.row > div:nth-child(3n) .feature .ic { background: var(--khaki-dark); }
.feature h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; line-height: 1.6; }

/* ---------- Director ---------- */
.director-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.director-photo { background: var(--khaki); padding: 2rem 1.5rem 1.5rem; text-align: center; color: #fff; height: 100%; }
.director-photo img { width: 180px; height: 180px; object-fit: cover; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 10px 25px -10px rgba(0,0,0,.4); }
.director-photo h3 { color: #fff; font-size: 1.25rem; margin: 1rem 0 0; }
.director-photo p { margin: 0; color: rgba(255,255,255,.9); }
.director-msg { padding: 2.2rem; position: relative; }
.director-msg .q { font-size: 4rem; line-height: 1; color: var(--khaki-soft); position: absolute; top: .6rem; right: 1.4rem; font-family: Georgia, serif; }
.director-msg p { white-space: pre-line; }

/* ---------- Teacher cards ---------- */
.teacher-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; text-align: center; height: 100%; box-shadow: 0 4px 18px -10px rgba(30,58,95,.35); transition: transform .25s; display: flex; flex-direction: column; }
.teacher-card:hover { transform: translateY(-6px); }
.teacher-card .photo { aspect-ratio: 1/1; background: var(--khaki-soft); overflow: hidden; position: relative; }
.teacher-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.teacher-card:hover .photo img { transform: scale(1.05); }
.teacher-card .body { padding: 1rem .9rem 1.1rem; border-top: 5px solid var(--khaki); flex: 1; }
.teacher-card h3 { font-size: 1.08rem; margin: 0; }
.teacher-card .bn-name { font-size: .85rem; color: var(--khaki-dark); font-weight: 600; }
.teacher-card .des { font-size: .86rem; color: var(--navy); font-weight: 600; margin-top: .35rem; line-height: 1.4; }
.teacher-card .qual { font-size: .8rem; color: var(--muted); line-height: 1.4; margin-top: .3rem; }

/* ---------- Admission CTA ---------- */
.cta { background: var(--khaki); color: #fff; border-radius: 28px; padding: clamp(2rem, 5vw, 3.4rem); position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 36px solid rgba(255,255,255,.12); }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 1.1rem 2.4rem; }
.timeline li::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: 0; width: 2px; background: rgba(255,255,255,.4); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--khaki-dark); font-size: .78rem; font-weight: 700; display: grid; place-items: center; }
.timeline strong { display: block; font-family: var(--font-head); font-size: 1.2rem; line-height: 1.2; }
.timeline span { opacity: .9; font-size: .92rem; }

/* ---------- Notices ---------- */
.notice-item { display: flex; gap: 1rem; padding: 1rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--khaki-soft); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.notice-item:hover { border-color: var(--khaki); transform: translateX(4px); color: var(--ink); }
.notice-item .date { flex: 0 0 64px; text-align: center; background: var(--navy); color: #fff; border-radius: 12px; padding: .4rem 0; font-family: var(--font-head); line-height: 1.1; }
.notice-item .date b { font-size: 1.5rem; display: block; }
.notice-item .date small { font-size: .75rem; }
.notice-item h3 { font-size: 1.02rem; margin: 0 0 .2rem; }
.notice-item p { margin: 0; font-size: .88rem; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.gallery-grid a { display: block; border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4/3; background: var(--khaki-soft); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-grid a:hover img { transform: scale(1.06); }
.gallery-grid .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .9rem .6rem; color: #fff; font-weight: 600; background: linear-gradient(transparent, rgba(20,42,70,.85)); font-size: .92rem; }
.filter-btns .btn { padding: .35rem 1.1rem; border: 2px solid var(--khaki-soft); color: var(--navy); background: #fff; }
.filter-btns .btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.lightbox { position: fixed; inset: 0; background: rgba(10,20,35,.92); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 1rem; }
.lightbox.open { display: flex; animation: fade .2s ease; }
.lightbox img { max-height: 86vh; border-radius: 10px; }
.lightbox button { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 2.2rem; }
@keyframes fade { from { opacity: 0; } }

/* ---------- Quote band ---------- */
.quote-band { background: var(--paper); border-top: 1px solid var(--khaki-soft); border-bottom: 1px solid var(--khaki-soft); }
.quote-band blockquote { font-family: var(--font-head); font-size: clamp(1.3rem, 2.8vw, 2rem); color: var(--navy); margin: 0; text-align: center; }
.quote-band blockquote i { color: var(--khaki); }

/* ---------- Inner page header ---------- */
.page-head { background: var(--navy); color: #fff; padding: 56px 0 50px; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: 0; bottom: 0; width: 42%; height: 100%; background: linear-gradient(90deg, var(--navy), transparent 60%), var(--head-img, none) center/cover; opacity: .35; }
.page-head .container { position: relative; z-index: 1; }
.page-head h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin: .4rem 0 .3rem; }
.page-head .breadcrumb { margin: 0; }
.page-head .breadcrumb a { color: #d9c8ad; text-decoration: none; }
.page-head .breadcrumb-item.active, .page-head .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.7); }

/* ---------- Tables / forms ---------- */
.fee-table { border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 18px -10px rgba(30,58,95,.35); background: #fff; }
.fee-table table { margin: 0; }
.fee-table thead th { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; border: 0; white-space: nowrap; }
.fee-table tbody tr:nth-child(even) { background: var(--paper); }
.fee-table td, .fee-table th { padding: .75rem .9rem; vertical-align: middle; }
.fee-table td:last-child { font-weight: 700; color: var(--navy); }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.4rem, 4vw, 2.4rem); box-shadow: var(--shadow); border-top: 6px solid var(--khaki); }
.form-control, .form-select { border-radius: 12px; border: 1.5px solid #dcd3c4; padding: .65rem .9rem; }
.form-control:focus, .form-select:focus { border-color: var(--khaki); box-shadow: 0 0 0 .2rem rgba(166,139,102,.22); }
.form-label { font-weight: 600; color: var(--navy); font-size: .93rem; }
.rule-list { list-style: none; counter-reset: r; padding: 0; margin: 0; }
.rule-list li { position: relative; padding: .9rem 1rem .9rem 3.4rem; background: #fff; border-radius: var(--radius); margin-bottom: .7rem; border: 1px solid var(--khaki-soft); }
.rule-list li::before { counter-increment: r; content: counter(r); position: absolute; left: .9rem; top: .85rem; width: 30px; height: 30px; border-radius: 9px; background: var(--khaki); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--font-head); }
.rule-list.navy li::before { background: var(--navy); }
.uniform-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); height: 100%; }
.uniform-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: top; }
.uniform-card .body { padding: 1.5rem; }
.swatch { display: inline-flex; align-items: center; gap: .5rem; margin-right: 1rem; font-weight: 600; font-size: .92rem; }
.swatch i { width: 26px; height: 26px; border-radius: 8px; border: 1px solid #d8cdbb; display: inline-block; }
.contact-box { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--khaki-soft); margin-bottom: .9rem; }
.contact-box .ic { flex: 0 0 46px; height: 46px; border-radius: 14px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 1.2rem; }
.map-frame { border: 0; width: 100%; height: 340px; border-radius: var(--radius-lg); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.75); padding-top: 64px; }
.site-footer h4 { color: #fff; font-size: 1.15rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.1rem 0; margin-top: 2.5rem; font-size: .9rem; }
.site-footer .stripe { height: 8px; background: linear-gradient(90deg, var(--khaki) 0 70%, #fff 70% 82%, var(--khaki) 82%); }
.footer-logo { width: 64px; height: 64px; border-radius: 50%; background: #fff; padding: 4px; }

/* ---------- Floating buttons ---------- */
.float-btns { position: fixed; right: 16px; bottom: 18px; z-index: 1040; display: flex; flex-direction: column; gap: 10px; }
.float-btns a, .float-btns button { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 1.35rem; border: 0; box-shadow: 0 8px 20px -6px rgba(0,0,0,.35); text-decoration: none; }
.float-btns .wa { background: #25D366; color: #fff; }
.float-btns .top { background: var(--navy); color: #fff; opacity: 0; pointer-events: none; transition: opacity .25s; }
.float-btns .top.show { opacity: 1; pointer-events: auto; }

/* ---------- Reveal on scroll (kept gentle) ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .section { padding: 64px 0; }
    .admission-stamp { width: 112px; height: 112px; font-size: .9rem; right: 4%; bottom: 10%; }
    .page-head::after { width: 100%; opacity: .15; }
}
@media (max-width: 575.98px) {
    .brand img { width: 46px; height: 46px; }
    .brand .name { font-size: .92rem; }
    .brand .name-bn { font-size: .74rem; }
    .hero h1 { font-size: 2rem; }
    .hero .carousel-item { height: 560px; }
    .hero .carousel-item::after { background: linear-gradient(180deg, rgba(20,42,70,.55), rgba(20,42,70,.92) 70%); }
    .hero .caption { align-items: flex-end; padding-bottom: 5.5rem; }
    .admission-stamp { top: 18px; bottom: auto; right: 14px; width: 92px; height: 92px; font-size: .78rem; }
    .admission-stamp small { font-size: .62rem; }
    .quick-cards { margin-top: -40px; }
    .director-msg { padding: 1.5rem; }
    .welcome-img .est { left: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
    /* Keep the news ticker moving (it pauses on hover). */
    .ticker .track span { animation: ticker var(--ticker-dur, 32s) linear infinite !important; }
}
