/* ==========================================================================
   Sanskar The Smart School - main stylesheet
   Loads after Bootstrap + utilities.
   ========================================================================== */

/* 1. Tokens  */
:root {
    --green: #00A550;
    --green-deep: #15803D;  /* new meadow*/
    --green-dark: #14532D; /* new meadow*/
    --leaf: #ECFDF3;       /* new meadow*/
    --sun: #FFD60A;
    --lemon: #FFF100;
    --red: #ED1B23;
    --pink: #F17CB1;
    --ink: #14231B;
    --muted: #55655C;
    --paper: #FBFDF8;
    --line: #DCE8DF;

    --topbar-h: 0px;

    --font-display: 'Poppins', system-ui, sans-serif;
    --font-body: 'Nunito Sans', system-ui, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);

    /* Bootstrap variables we steer */
    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--ink);
    --bs-body-bg: var(--paper);
    --bs-link-color: var(--green-deep);
    --bs-link-hover-color: var(--green-dark);
    --bs-border-color: var(--line);
}
@media (min-width: 992px) {
    :root { --topbar-h: 42px; }
}

/* 2. Base */
body { -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 600; color: var(--green-dark); line-height: 1.15; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.eyebrow {
    display: inline-block; font-family: var(--font-display); font-weight: 500;
    color: var(--green-deep); background: var(--leaf);
    padding: .25rem .9rem; border-radius: 50px; font-size: 14px; margin-bottom: 1rem;
}

/* 3. Top bar */
.topbar { background: var(--green-dark); color: #fff; font-size: 13px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--sun); }
.topbar-badge { background: var(--sun); color: var(--ink); font-weight: 800; padding: .15rem .7rem; border-radius: 50px; }

/* 4. Header + nav */
.site-header { background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .25s var(--ease); z-index: 1040; }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(20, 83, 45, .10); }
.site-header .navbar {
    --bs-navbar-padding-y: .5rem;
    --bs-navbar-nav-link-padding-x: .8rem;
    --bs-navbar-color: var(--ink);
    --bs-navbar-hover-color: var(--green-deep);
    --bs-navbar-active-color: var(--green-deep);
    background:white;
}
.brand-logo { height: 68px; width: auto; transition: height .25s var(--ease); }
.site-header.is-scrolled .brand-logo { height: 54px; }
.site-header .nav-link { font-family: var(--font-display); font-weight: 500; font-size: 16px; position: relative; }
.site-header .nav-link::after {
    content: ""; position: absolute; left: .8rem; right: .8rem; bottom: 2px; height: 3px;
    background: var(--sun); border-radius: 3px; transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
}
.site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }
.site-header .dropdown-toggle::after {
    border: 0; font-family: "bootstrap-icons"; content: "\f282"; font-size: 11px; vertical-align: 0;
    margin-left: .35rem; background: none; height: auto; position: static; transform: none;
}
.site-header .dropdown-menu {
    --bs-dropdown-border-width: 0;
    --bs-dropdown-border-radius: 16px;
    --bs-dropdown-padding-y: .6rem;
    --bs-dropdown-link-hover-bg: var(--leaf);
    --bs-dropdown-link-active-bg: var(--green-deep);
    box-shadow: 0 16px 40px rgba(20, 83, 45, .14);
}
.site-header .dropdown-item { font-weight: 600; padding: .45rem 1.2rem; }
@media (min-width: 1200px) {
    .site-header .dropdown:hover > .dropdown-menu { display: block; }
}
@media (max-width: 1199.98px) {
    .site-header .navbar-collapse { padding: 1rem 0 1.25rem; }
    .site-header .nav-link::after { display: none; }
}

/* 5. Buttons (our own classes, driven by Bootstrap's button variables) */
.btn-apply {
    --bs-btn-font-family: var(--font-display); --bs-btn-font-weight: 600;
    --bs-btn-color: var(--ink); --bs-btn-bg: var(--sun); --bs-btn-border-color: var(--sun);
    --bs-btn-hover-color: var(--ink); --bs-btn-hover-bg: #FFC700; --bs-btn-hover-border-color: #FFC700;
    --bs-btn-active-color: var(--ink); --bs-btn-active-bg: #FFC700; --bs-btn-active-border-color: #FFC700;
}
.btn-erp {
    --bs-btn-font-family: var(--font-display); --bs-btn-font-weight: 500;
    --bs-btn-color: var(--green-deep); --bs-btn-bg: transparent; --bs-btn-border-color: var(--green-deep);
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--green-deep); --bs-btn-hover-border-color: var(--green-deep);
    --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--green-dark); --bs-btn-active-border-color: var(--green-dark);
}

/* 6. Footer (every footer style lives here) */

/* 6a. Base + columns */
.site-footer { background: var(--green-dark); color: #D7E8DC; }
.footer-main { padding-top: 72px; padding-bottom: 48px; }
.footer-logo { height: 84px; width: auto; background: #fff; padding: 8px 14px; border-radius: 16px; }
.footer-tag { color: #CFE5D6; max-width: 340px; }
.footer-title { color: #fff; font-weight: 600; margin-bottom: 1.25rem; }
.footer-title::after { content: ""; display: block; width: 36px; height: 3px; margin-top: .55rem; border-radius: 3px; background: var(--sun); }
.footer-links li { margin-bottom: .6rem; font-size: 15px; }
.footer-links a { display: inline-block; color: #D7E8DC; text-decoration: none; transition: color .2s var(--ease), transform .2s var(--ease); }
.footer-links a:hover { color: var(--sun); transform: translateX(4px); }

/* 6b. Social icons + contact list */
.footer-social a {
    width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
    background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none;
    transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.footer-social a:hover { background: var(--sun); color: var(--ink); transform: translateY(-3px); }
.footer-contact li { display: flex; align-items: center; gap: .75rem; margin-bottom: .85rem; font-size: 15px; line-height: 1.45; }
.footer-contact a { color: #D7E8DC; text-decoration: none; }
.footer-contact a:hover { color: var(--sun); }
.fc-ic { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--sun); font-size: 15px; }

/* 6c. Map */
.footer-map { overflow: hidden; border: 3px solid rgba(255, 255, 255, .15); }
.footer-map-lg { height: 230px; border-radius: 20px; }
.footer-map-lg iframe { display: block; width: 100%; height: 100%; border: 0; }

/* 6d. Mandatory Disclosure panel */
.footer-docs-panel { margin-top: 56px; padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: 28px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.fd-lead p { color: #CFE5D6; font-size: 15px; }
.fd-lead-ic { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; background: var(--sun); color: var(--ink); font-size: 28px; margin-bottom: 1rem; }
.fd-size { font-size: 13px; font-weight: 700; color: #CFE5D6; }
.fd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; padding: 0; }
@media (max-width: 991.98px) { .fd-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .fd-grid { grid-template-columns: 1fr; } }
.fd-link { display: flex; align-items: center; gap: .7rem; height: 100%; padding: .65rem .8rem; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid transparent; color: #E4F0E8; text-decoration: none; font-size: 14.5px; line-height: 1.25; transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
a.fd-link:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .2); color: #fff; transform: translateY(-2px); }
.fd-ic { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #FFE1E1; color: #B3141B; font-size: 17px; }
.fd-name { flex: 1 1 auto; }
.fd-end { flex: none; font-size: 15px; opacity: .7; }
a.fd-link:hover .fd-end { color: var(--sun); opacity: 1; }
.fd-link.is-soon { opacity: .65; cursor: default; }
.fd-tag { font-size: 11px; font-weight: 800; padding: .1rem .55rem; border-radius: 50px; background: rgba(255, 255, 255, .14); opacity: 1; }

/* 6e. Bottom bar (lines up with the panel above; keeps clear of the floating buttons on narrower screens) */
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
@media (max-width: 1399.98px) { .footer-bottom .container-xl { padding-right: 76px; } }

/* 7. Floating WhatsApp + call */
.float-actions { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 12px; z-index: 1030; }
.float-btn {
    width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
    color: #fff; font-size: 26px; text-decoration: none; box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
    transition: transform .2s var(--ease);
}
.float-btn:hover { color: #fff; transform: scale(1.08); }
.float-wa { background: #25D366; }
.float-call { background: var(--green-deep); }

/* 8. Motion safety */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; animation-iteration-count: 1 !important; }
}

/* Fixes: no wrapping in the header */
.site-header .nav-link,
.site-header .btn { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .site-header .navbar { --bs-navbar-nav-link-padding-x: .5rem; }
    .site-header .nav-link { font-size: 15px; }
    .brand-logo { height: 58px; }
}

/* 9. Floating header over the hero (adjust 40px if your top bar is taller or shorter) */
.site-header {
    position: fixed;
    left: 0;
    right: 0;
    top: 36px;
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
    transition:
        top .35s ease,
        left .35s ease,
        right .35s ease,
        transform .4s cubic-bezier(.22, 1, .36, 1);
}

.site-header.is-scrolled {
    top: 10px;
    left: 20px;
    right: 20px;
    width: auto;
    padding-top: 0;
    box-shadow: none;
}

@media (max-width: 991.98px) {
    .site-header {
        top: 0;
    }

    .site-header.is-scrolled {
        top: 10px;
        left: 10px;
        right: 10px;
    }
}

.site-header .navbar > .container-fluid {
    background: #fff;
    padding: .35rem 1.25rem;
    box-shadow: 0 12px 34px rgba(20, 83, 45, .18);
    border-radius: 0;
    transition:
        border-radius .35s ease,
        box-shadow .35s ease;
}

.site-header.is-scrolled .navbar{
    border-radius: 20px;
    background:white;
    box-shadow: 0 10px 28px rgba(20, 83, 45, .18);
}
/* 10. Hero */
.hero { position: relative; background: var(--green-dark); }
.hero-slide { position: relative; display: flex; align-items: center; min-height: max(560px, calc(100vh - var(--topbar-h))); min-height: max(560px, calc(100svh - var(--topbar-h))); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-color: var(--green-deep); background-size: cover; background-position: center; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 83, 45, .9) 0%, rgba(20, 83, 45, .55) 48%, rgba(20, 83, 45, .08) 100%); }
.hero-copy { position: relative; z-index: 1; padding-top: 130px; padding-bottom: 110px; }
.hero-inner { max-width: 660px; }
.hero-kicker { display: inline-block; background: color-mix(in srgb, var(--green-deep) 50%, transparent); color:#ffffff66; font-weight: 800; font-size: 14px; padding: .3rem 1rem; border-radius: 50px; margin-bottom: 1.25rem; }
.hero-title { color: #fff; margin-bottom: 1rem; }
.hero-title span { color: var(--sun); }
.hero-text { color: #E8F6EC; max-width: 520px; margin-bottom: 2rem; }
.btn-ghost {
    --bs-btn-font-family: var(--font-display); --bs-btn-font-weight: 500;
    --bs-btn-color: #fff; --bs-btn-bg: transparent; --bs-btn-border-color: rgba(255, 255, 255, .7);
    --bs-btn-hover-color: var(--ink); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff;
    --bs-btn-active-color: var(--ink); --bs-btn-active-bg: #fff; --bs-btn-active-border-color: #fff;
}

/* Load-in: copy rises in, background slowly settles */
.owl-loaded .hero-slide .hero-inner > * { opacity: 0; transform: translateY(24px); }
.owl-item.active .hero-inner > * { animation: heroUp .8s var(--ease) forwards; }
.owl-item.active .hero-inner > :nth-child(2) { animation-delay: .12s; }
.owl-item.active .hero-inner > :nth-child(3) { animation-delay: .24s; }
.owl-item.active .hero-inner > :nth-child(4) { animation-delay: .36s; }
.owl-item.active .hero-bg { animation: heroSettle 8s ease-out forwards; }
@keyframes heroUp { to { opacity: 1; transform: none; } }
@keyframes heroSettle { from { transform: scale(1.1); } to { transform: scale(1); } }

/* Owl arrows + dots for the hero */
.hero .owl-nav { position: absolute; right: max(24px, calc((100vw - 1320px) / 2 + 12px)); bottom: 36px; display: flex; gap: 10px; margin: 0; }
.hero .owl-theme .owl-nav button { width: 48px; height: 48px; margin: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 20px; line-height: 1; display: grid; place-items: center; backdrop-filter: blur(6px); }
.hero .owl-theme .owl-nav button:hover { background: var(--sun); color: var(--ink); }
.hero .owl-dots { position: absolute; left: 0; right: 0; bottom: 44px; }
.hero .owl-theme .owl-dots .owl-dot span { width: 10px; height: 10px; margin: 0 5px; background: rgba(255, 255, 255, .5); transition: width .25s var(--ease), background .25s var(--ease); }
.hero .owl-theme .owl-dots .owl-dot.active span, .hero .owl-theme .owl-dots .owl-dot:hover span { background: var(--sun); }
.hero .owl-theme .owl-dots .owl-dot.active span { width: 28px; }
@media (max-width: 767.98px) {
    .hero .owl-nav { display: none; }
    .hero-copy { padding-top: 120px; padding-bottom: 90px; }
}

/* Fixes: wider header pill, lighter photo overlay, hero controls clear of the enquiry card */
@media (min-width: 1200px) { .site-header .navbar > .container-xl { max-width: 1440px; } }
.hero-bg::after { background: linear-gradient(90deg, rgba(20, 83, 45, .84) 0%, rgba(20, 83, 45, .5) 48%, rgba(20, 83, 45, .05) 100%); }
.hero-copy { padding-bottom: 150px; }
.hero .owl-dots { bottom: 92px; }
.hero .owl-nav { bottom: 84px; }

/* 11. Admission enquiry card (overlaps the bottom of the hero) */

/* Initially hide the enquiry form */
.enquiry-card {
    opacity: 0;
    transform: translateY(20px);
    animation: showEnquiry linear both;
    animation-timeline: scroll(root block);
    animation-range: 0px 300px;
}

@keyframes showEnquiry {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.enquiry { position: relative; z-index: 2; margin-top: -64px; padding-bottom: 24px; }
.enquiry-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 1.5rem 1.75rem; box-shadow: 0 24px 60px rgba(20, 83, 45, .18); }
.enquiry-card .form-control, .enquiry-card .form-select { border-radius: 14px; border-color: var(--line); }
.enquiry-card .form-control:focus, .enquiry-card .form-select:focus { border-color: var(--green); box-shadow: 0 0 0 .25rem rgba(0, 165, 80, .18); }
@media (max-width: 767.98px) {
    .enquiry { margin-top: -40px; }
    .enquiry-card { padding: 1.25rem; border-radius: 22px; }
    .hero-copy { padding-bottom: 130px; }
    .hero .owl-dots { bottom: 70px; }
}

/* 12. Shared helpers */
.accent { color: var(--green); }
.btn-green {
    --bs-btn-font-family: var(--font-display); --bs-btn-font-weight: 600;
    --bs-btn-color: #fff; --bs-btn-bg: var(--green-deep); --bs-btn-border-color: var(--green-deep);
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--green-dark); --bs-btn-hover-border-color: var(--green-dark);
    --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--green-dark); --bs-btn-active-border-color: var(--green-dark);
}

/* 13. Welcome */
.welcome-photo { position: relative; aspect-ratio: 4 / 5; background-color: var(--green-deep); background-size: cover; background-position: center; }
.welcome-badge { position: absolute; left: 16px; bottom: 16px; right: 16px; width: fit-content; background: #fff; color: var(--ink); padding: .6rem 1.1rem; border-radius: 50px; font-size: 14px; box-shadow: 0 10px 24px rgba(20, 83, 45, .2); }
.welcome-badge strong { color: var(--green-deep); font-family: var(--font-display); }
@media (min-width: 992px) {
    .welcome-photo::before { content: ""; position: absolute; inset: 20px -20px -20px 20px; border: 3px solid var(--sun); border-radius: 30px; z-index: -1; }
}
.welcome-points li { display: flex; align-items: center; gap: .75rem; font-weight: 700; }
.welcome-points .bi { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--leaf); color: var(--green-deep); font-size: 20px; }

/* 14. News */
.news { background: var(--leaf); }
.news-arrows button { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--green-deep); background: transparent; color: var(--green-deep); font-size: 20px; display: grid; place-items: center; transition: background .2s var(--ease), color .2s var(--ease); }
.news-arrows button:hover { background: var(--green-deep); color: #fff; }
.news-carousel .owl-stage-outer { padding: 8px 0 50px; margin: 0 0 -42px; }
.news-carousel .owl-stage { display: flex; }
.news-carousel .owl-item { display: flex; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 1.5rem; width: 100%; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.news-card:hover { transform: translateY(-6px); box-shadow: 0 22px 28px -26px rgba(20, 83, 45, .35); }
.news-tag { background: var(--leaf); color: var(--green-deep); font-weight: 800; font-size: 13px; padding: .2rem .8rem; border-radius: 50px; }
.news-date { font-size: 13px; color: var(--muted); font-weight: 600; }
.news-more { color: var(--green-deep); font-weight: 800; text-decoration: none; }
.news-more:hover { color: var(--green-dark); }
.news-more .bi { transition: transform .2s var(--ease); display: inline-block; }
.news-more:hover .bi { transform: translateX(4px); }

/* Fix: eyebrow pill on the pale green news section */
.news .eyebrow { background: #fff; }

/* 15. Leader messages */
.messages { background: var(--green-dark); color: #D7E8DC; }
.messages h2, .messages h3 { color: #fff; }
.messages .eyebrow { background: var(--sun); color: var(--ink); }
.leader-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 30px; padding: 1.5rem; }
.leader-photo { aspect-ratio: 4 / 5; border-radius: 200px 200px 24px 24px; background: var(--green-deep) center / cover no-repeat; border: 4px solid var(--sun); }
.leader-quote { display: block; font-size: 44px; line-height: 1; color: var(--sun); margin-bottom: .25rem; }
.leader-text { font-size: 16px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 1.25rem; }
.leader-role { color: var(--sun); font-weight: 800; font-size: 14px; }

/* 16. Why choose us */
.why-intro { position: sticky; top: 120px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 1.75rem; height: 100%; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.why-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(20, 83, 45, .12); }
.why-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; margin-bottom: 1.1rem; }
.tone-green { background: var(--leaf); color: var(--green-deep); }
.tone-yellow { background: #FFF3B0; color: #7A5B00; }
.tone-red { background: #FFE1E1; color: #B3141B; }
.tone-pink { background: #FDE2EF; color: #B03578; }

/* 17. Stats band */
.stats { background: var(--sun); color: var(--ink); padding: clamp(48px, 6vw, 80px) 0; }
.stat-num { font-family: var(--font-display); font-weight: 700; line-height: 1; color: var(--green-dark); }
.stat-label { font-weight: 800; font-size: 16px; margin-top: .5rem; }
@media (min-width: 992px) {
    .stats .col-lg-3 + .col-lg-3 .stat-item { border-left: 2px solid rgba(20, 83, 45, .18); }
}

/* 18. Academic framework */
.academic { background: #fff; }
.academic-photo { aspect-ratio: 4 / 5; border-radius: 30px 150px 30px 30px; background: var(--green-deep) center / cover no-repeat; box-shadow: 0 24px 60px rgba(20, 83, 45, .16); }
.academic-acc {
    --bs-accordion-border-radius: 18px;
    --bs-accordion-inner-border-radius: 17px;
    --bs-accordion-border-color: var(--line);
    --bs-accordion-btn-bg: #fff;
    --bs-accordion-active-bg: var(--leaf);
    --bs-accordion-active-color: var(--green-dark);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(0, 165, 80, .18);
    --bs-accordion-btn-padding-y: 1.1rem;
    --bs-accordion-btn-padding-x: 1.25rem;
    --bs-accordion-body-padding-x: 1.25rem;
}
.academic-acc .accordion-item { border-radius: var(--bs-accordion-border-radius); overflow: hidden; margin-bottom: .75rem; }
.academic-acc .accordion-item:not(:first-of-type) { border-top: 1px solid var(--line); }
.academic-acc .accordion-button { font-family: var(--font-display); font-weight: 600; font-size: 19px; gap: .9rem; }
.acad-num { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--sun); color: var(--ink); font-size: 14px; font-weight: 700; }

/* 19. Events carousel */
.event-card { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; color: #fff; text-decoration: none; background: var(--green-deep); }
.event-card:hover { color: #fff; }
.event-bg { position: absolute; inset: 0; background: center / cover no-repeat; transition: transform .6s var(--ease); }
.event-card:hover .event-bg { transform: scale(1.07); }
.event-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 83, 45, 0) 45%, rgba(20, 83, 45, .9) 100%); }
.event-cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 1.25rem; font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.2; }
.event-cap::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 4px; background: var(--sun); margin-bottom: .7rem; transition: width .3s var(--ease); }
.event-card:hover .event-cap::before { width: 64px; }

/* 20. Gallery + campus video (bento grid) */
.gallery { background: var(--green-dark); color: #D7E8DC; }
.gallery h2 { color: #fff; }
.gallery .eyebrow { background: var(--sun); color: var(--ink); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 16px; }
.bento-item { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 24px; overflow: hidden; background: var(--green-deep); color: #fff; text-align: left; }
button.bento-item { cursor: pointer; }
.bento-video { grid-column: span 2; grid-row: span 2; }
.bento-wide { grid-column: span 2; }
.bento-bg { position: absolute; inset: 0; background: center / cover no-repeat; transition: transform .6s var(--ease); }
.bento-item:hover .bento-bg { transform: scale(1.06); }
.bento-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 83, 45, .1) 30%, rgba(20, 83, 45, .85) 100%); }
.bento-label { position: absolute; z-index: 1; left: 1.5rem; right: 1.5rem; bottom: 1.25rem; font-family: var(--font-display); font-weight: 600; font-size: 24px; }
.bento-play { position: absolute; z-index: 1; top: 50%; left: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; font-size: 38px; animation: bentoPulse 2.2s infinite; }
@keyframes bentoPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 214, 10, .6); } 70% { box-shadow: 0 0 0 22px rgba(255, 214, 10, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 214, 10, 0); } }
.media-stage img, .media-stage iframe { object-fit: contain; border: 0; }
@media (max-width: 991.98px) { .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; } }
@media (max-width: 575.98px) {
    .bento { gap: 10px; grid-auto-rows: 140px; }
    .bento-label { font-size: 18px; left: 1rem; bottom: 1rem; }
    .bento-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; font-size: 30px; }
}

/* 21. Testimonials */
.testi { background: #FFF7D1; }
.testi .eyebrow { background: #fff; }
.testi-item { max-width: 820px; margin: 0 auto; padding: 0 1rem 1rem; }
.testi-mark { display: block; font-size: 84px; line-height: .7; color: var(--green); margin-bottom: 1rem; }
.testi-quote { font-family: var(--font-display); font-weight: 500; color: var(--green-dark); line-height: 1.4; margin-bottom: 1.75rem; }
.testi-avatar { overflow: hidden; padding: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--green-deep); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 22px; border: 3px solid var(--sun); }
.testi .owl-dots { margin-top: 1.5rem; }
.testi .owl-theme .owl-dots .owl-dot span { width: 10px; height: 10px; margin: 0 5px; background: rgba(20, 83, 45, .25); transition: width .25s var(--ease), background .25s var(--ease); }
.testi .owl-theme .owl-dots .owl-dot.active span, .testi .owl-theme .owl-dots .owl-dot:hover span { background: var(--green-deep); }
.testi .owl-theme .owl-dots .owl-dot.active span { width: 28px; }
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 50%; display: block; }  
.testi-avatar { width: 84px; height: 84px; box-shadow: 0 8px 20px rgba(20, 83, 45, .18); }

/* 22. Downloads */
.downloads { background: #fff; }
.doc-card { display: flex; align-items: center; gap: 1rem; height: 100%; padding: 1rem 1.25rem; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; color: var(--ink); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
a.doc-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20, 83, 45, .12); border-color: var(--green); color: var(--ink); }
.doc-icon { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: #FFE1E1; color: #B3141B; font-size: 26px; }
.doc-title { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.2; }
.doc-meta { font-size: 13px; font-weight: 600; color: var(--muted); }
.doc-action { flex: none; margin-left: auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--green-deep); color: #fff; transition: background .2s var(--ease), color .2s var(--ease); }
a.doc-card:hover .doc-action { background: var(--sun); color: var(--ink); }
.doc-card.is-soon { opacity: .6; }
.doc-card.is-soon .doc-action { width: auto; padding: 0 .8rem; border-radius: 50px; background: var(--line); color: var(--muted); font-size: 12px; font-weight: 800; white-space: nowrap; }
.doc-card.is-feature { background: var(--sun); border-color: var(--sun); }
.doc-card.is-feature .doc-icon { background: #fff; }
.doc-card.is-feature .doc-meta { color: var(--ink); }

/* 23. Closing admission banner */
.cta { position: relative; overflow: hidden; text-align: center; color: #fff; background: var(--green-deep); padding: clamp(56px, 8vw, 96px) 0; }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; }
.cta::before { width: 320px; height: 320px; top: -120px; left: -80px; background: var(--sun); opacity: .16; }
.cta::after { width: 260px; height: 260px; bottom: -110px; right: -60px; background: var(--pink); opacity: .22; }
.cta .container-xl { position: relative; z-index: 1; }
.cta .eyebrow { background: var(--sun); color: var(--ink); }
.cta h2 { color: #fff; }
.cta p { max-width: 560px; margin: 0 auto 2rem; color: #D7E8DC; }

/* 24. Responsive hardening (from code review) */
html { scroll-padding-top: 110px; scroll-behavior: smooth;}
@media (max-width: 1199.98px) {
    .site-header .navbar-collapse { max-height: calc(100vh - 110px); overflow-y: auto; }
}
@media (max-width: 575.98px) {
    .leader-photo { max-width: 240px; margin-inline: auto; }
}

/* 25. bug fix */
.hero .owl-nav { z-index: 3; } .hero .owl-dots { pointer-events: none; } .hero .owl-dots .owl-dot { pointer-events: auto; }
.site-header.is-hidden {
    transform: translateY(-130%);
    pointer-events: none;
}
.bento-play { top: 50%; left: 50%; margin: 0; transform: translate(-50%, -50%); transition: opacity .3s var(--ease); }
.bento-play .bi { padding-left: 6px; }
.bento-preview { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
.bento-preview iframe { position: absolute; top: 50%; left: 50%; height: 100%; width: auto; aspect-ratio: 16 / 9; min-width: 100%; transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.is-previewing .bento-preview { opacity: 1; }
.is-previewing .bento-play { opacity: 0; }

/* About us Section START */

/* 26. Inner pages*/
.page-banner { background: var(--green-dark); padding: calc(var(--topbar-h) + 120px) 0 56px; }
.page-banner-title { color: #fff; font-size: clamp(2rem, 5vw, 3.25rem); }
.page-banner-crumbs { --bs-breadcrumb-divider-color: rgba(255, 255, 255, .6); --bs-breadcrumb-item-active-color: var(--sun); font-weight: 700; }
.page-banner-link { color: #fff; text-decoration: none; }
.page-banner-link:hover { color: var(--sun); }
.page-banner-parent { color: #D7E8DC; }

.band-leaf { background: var(--leaf); }
.band-dark { background: var(--green-dark); color: #D7E8DC; }
.about-title { font-size: clamp(1.75rem, 3.6vw, 2.5rem); margin-bottom: 1rem; }
.about-text { max-width: 62ch; }
.about-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 30px; box-shadow: 0 24px 60px rgba(20, 83, 45, .16); }
.about-portrait { display: block; width: 100%; max-width: 300px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 200px 200px 24px 24px; border: 4px solid var(--sun); background: var(--green-deep); }
.about-panel { height: 100%; padding: 2rem; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.about-panel-mission { border-top: 6px solid var(--green-deep); }
.about-panel-vision { border-top: 6px solid var(--sun); }
.about-statement { margin-bottom: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.1rem, 2.2vw, 1.4rem); line-height: 1.4; color: var(--green-dark); }
.about-name { color: var(--green-dark); font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.about-role { color: var(--green-deep); font-weight: 800; font-size: 14px; }
.about-role-light { color: var(--sun); font-weight: 800; font-size: 14px; }
.about-point-icon { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--leaf); color: var(--green-deep); font-size: 20px; }

/* SANSKAR values: the seven first letters spell the school's name */
.sanskar-item { width: 120px; }
.sanskar-letter { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto .6rem; border-radius: 24px; background: var(--green-dark); color: var(--sun); font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 1; }
.sanskar-word { font-weight: 800; color: var(--green-dark); }

/* About us Section END */