/* ============================================================
   One School — Modern Frontend Design System
   Indigo / Violet Coaching Style
   ============================================================ */

:root {
    --brand-500: #4f46e5;
    --brand-600: #4338ca;
    --brand-700: #3730a3;
    --violet-500: #7c3aed;
    --violet-600: #6d28d9;
    --grad-brand: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --grad-brand-soft: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);
    --grad-hero: linear-gradient(135deg, #312e81 0%, #4f46e5 45%, #7c3aed 100%);
    --dark: #0f172a;
    --dark-soft: #1e293b;
    --body: #202630;
    --muted: #94a3b8;
    --bg-soft: #f6f7fe;
    --bg-alt: #ffffff;
    --border: #e2e8f0;
    --white: #ffffff;
    --danger: #e11d48;
    --success: #059669;
    --warning: #d97706;

    --font-heading: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 22px;
    --radius-pill: 50rem;

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.14);
    --shadow-brand: 0 12px 30px rgba(79, 70, 229, 0.35);

    --section-gap: 3.5rem;
}

@media (max-width: 768px) {
    :root { --section-gap: 3.5rem; }
}

/* ============================
   Base
   ============================ */
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }

body {
    font-family: var(--font-body);
    color: var(--body);
    font-size: 1rem;
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
    letter-spacing: -0.01em;
}

::selection { background: var(--brand-500); color: #fff; }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #4f46e5, #7c3aed); border-radius: 10px; }

a { color: var(--brand-500); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-700); }

/* ============================
   Utilities
   ============================ */
.text-gradient {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-soft { background: var(--bg-soft); }

.section-spacing { padding: var(--section-gap) 0; }

.section-header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-header.left { text-align: left; margin-left: 0; }

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand-600);
    background: #eef2ff;
    border: 1px solid #e0e7ff;
    padding: .4rem 1rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1rem;
}
.section-eyebrow i { font-size: .9rem; }

.section-header h2 {
    font-size: clamp(1.75rem, 3.4vw, 2.5rem);
    margin-bottom: .9rem;
    line-height: 1.2;
}

.section-header p {
    color: var(--body);
    font-size: 1.05rem;
    margin-bottom: 0;
}

.section-line {
    width: 64px;
    height: 4px;
    border-radius: 4px;
    background: var(--grad-brand);
    margin: 1rem auto 0;
}
.section-header.left .section-line { margin-left: 0; }

/* ============================
   Buttons
   ============================ */
.btn { font-family: var(--font-heading); font-weight: 600; border-radius: var(--radius-pill); }
.btn:focus, .btn:active { box-shadow: none !important; }

.btn-brand {
    background: var(--grad-brand);
    color: #fff;
    border: none;
    padding: .72rem 1.6rem;
    box-shadow: var(--shadow-brand);
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.btn-brand:hover, .btn-brand:focus {
    color: #fff;
    transform: translateY(-2px);
    filter: brightness(1.07);
    box-shadow: 0 16px 38px rgba(79, 70, 229, .42);
}

.btn-outline-brand {
    background: transparent;
    color: var(--brand-600);
    border: 2px solid #c7d2fe;
    padding: .62rem 1.5rem;
    transition: all .25s ease;
}
.btn-outline-brand:hover {
    background: var(--grad-brand);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-brand);
}

.btn-ghost-white {
    background: rgba(255,255,255,.14);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.45);
    padding: .68rem 1.6rem;
    backdrop-filter: blur(6px);
    transition: all .25s ease;
}
.btn-ghost-white:hover { background: #fff; color: var(--brand-600); transform: translateY(-2px); }

.btn-white {
    background: #fff;
    color: var(--brand-600);
    padding: .72rem 1.6rem;
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
    transition: transform .25s ease, box-shadow .25s ease;
}
.btn-white:hover { background: var(--grad-brand); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-brand); }

.btn-sm-brand {
    background: var(--grad-brand);
    color: #fff;
    border: none;
    font-size: .85rem;
    padding: .45rem 1.1rem;
    transition: transform .2s ease, filter .2s ease;
}
.btn-sm-brand:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.08); }

/* ============================
   Navbar
   ============================ */
.main-navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1030;
    padding: 1.1rem 0;
    transition: all .35s ease;
}
.main-navbar .navbar-brand img { max-height: 52px; transition: max-height .3s ease; }

.main-navbar .nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: .95rem;
    color: #fff !important;
    padding: .55rem .95rem !important;
    border-radius: var(--radius-pill);
    transition: all .25s ease;
    position: relative;
}
.main-navbar .nav-link:hover { color: #fff !important; background: rgba(255,255,255,.14); }

.main-navbar .nav-link.dropdown-toggle::after {
    border-top-color: rgba(255,255,255,.8);
    vertical-align: middle;
    margin-left: .45em;
}

/* Dropdown menu — glass light */
.main-navbar .dropdown-menu {
    border: 1px solid rgba(226,232,240,.9);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: .5rem;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    margin-top: .6rem;
}
.main-navbar .dropdown-menu .dropdown-item {
    font-family: var(--font-heading);
    font-size: .9rem;
    font-weight: 600;
    color: var(--dark-soft);
    border-radius: 9px;
    padding: .55rem .9rem;
    display: flex;
    align-items: center;
    gap: .55rem;
}
.main-navbar .dropdown-menu .dropdown-item i { color: var(--brand-500); font-size: .9rem; }
.main-navbar .dropdown-menu .dropdown-item:hover { background: var(--grad-brand-soft); color: var(--brand-700); }

/* scrolled state */
.main-navbar.scrolled,
.main-navbar.navbar-inner {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(14px);
    box-shadow: 0 6px 24px rgba(15,23,42,.08);
    padding: .55rem 0;
}
.main-navbar.scrolled .nav-link,
.main-navbar.navbar-inner .nav-link {
    color: var(--dark-soft) !important;
}
.main-navbar.scrolled .nav-link:hover,
.main-navbar.navbar-inner .nav-link:hover { background: var(--grad-brand-soft); color: var(--brand-700) !important; }
.main-navbar.scrolled .nav-link.dropdown-toggle::after,
.main-navbar.navbar-inner .nav-link.dropdown-toggle::after { border-top-color: var(--brand-500); }
.main-navbar.scrolled .navbar-brand img,
.main-navbar.navbar-inner .navbar-brand img { max-height: 44px; }
.main-navbar.scrolled .navbar-brand,
.main-navbar.scrolled .navbar-brand span,
.main-navbar.scrolled .brand-text,
.main-navbar.navbar-inner .navbar-brand,
.main-navbar.navbar-inner .navbar-brand span,
.main-navbar.navbar-inner .brand-text { color: var(--dark-soft) !important; }

/* CTA buttons inside navbar */
.navbar-cta { gap: .6rem; }

.btn-nav-admission,
.btn-nav-login {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .95rem;
    padding: .68rem 1.5rem;
    border-radius: var(--radius-pill);
    letter-spacing: .01em;
    transition: all .3s ease;
}

/* Admission — vibrant gradient, always pops */
.btn-nav-admission {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: #fff;
    border: 2px solid #f59e0b;
    box-shadow: 0 8px 22px rgba(249, 115, 22, .45);
}
.btn-nav-admission:hover {
    color: #fff;
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 12px 30px rgba(249, 115, 22, .55);
}

/* Login — solid white pill, visible on both dark hero & light navbar */
.btn-nav-login {
    background: #fff;
    color: var(--brand-600);
    border: 2px solid #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .18);
}
.btn-nav-login:hover {
    background: var(--grad-brand);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-brand);
}
.main-navbar.scrolled .btn-nav-login,
.main-navbar.navbar-inner .btn-nav-login {
    border-color: var(--brand-500);
    box-shadow: 0 6px 18px rgba(79, 70, 229, .18);
}

/* Navbar toggler — visible on both dark hero & light navbar */
.main-navbar .navbar-toggler {
    border: 1.5px solid rgba(255,255,255,.5);
    border-radius: 10px;
    padding: .4rem .55rem;
    transition: border-color .3s ease;
    min-width: auto;
    min-height: auto;
}
.main-navbar .navbar-toggler:focus { box-shadow: none; }
.main-navbar .navbar-toggler-icon {
    width: 1.4em; height: 1.4em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 8h22M4 15h22M4 22h22'/%3e%3c/svg%3e");
}
.main-navbar.scrolled .navbar-toggler,
.main-navbar.navbar-inner .navbar-toggler {
    border-color: rgba(15,23,42,.22);
}
.main-navbar.scrolled .navbar-toggler-icon,
.main-navbar.navbar-inner .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(15,23,42,.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 8h22M4 15h22M4 22h22'/%3e%3c/svg%3e");
}

/* Mobile offcanvas-style collapse — always light glass navbar (no black bar) */
@media (max-width: 991.98px) {
    .main-navbar,
    .main-navbar.scrolled,
    .main-navbar.navbar-inner {
        padding: .7rem 0;
        background: rgba(255,255,255,.96);
        backdrop-filter: blur(14px);
        box-shadow: 0 6px 24px rgba(15,23,42,.08);
        border-bottom: 1px solid rgba(226,232,240,.7);
    }

    /* Dark links on the light mobile bar */
    .main-navbar .nav-link,
    .main-navbar .navbar-collapse .nav-link { color: var(--dark-soft) !important; }
    .main-navbar .nav-link:hover,
    .main-navbar .navbar-collapse .nav-link:hover { background: var(--grad-brand-soft); color: var(--brand-700) !important; }
    .main-navbar .nav-link.dropdown-toggle::after,
    .main-navbar .navbar-collapse .nav-link.dropdown-toggle::after { border-top-color: var(--brand-500); }

    /* Brand text must be dark on the light bar */
    .main-navbar .navbar-brand,
    .main-navbar .navbar-brand span,
    .main-navbar .brand-text { color: var(--dark-soft) !important; background: transparent !important; }

    /* Brand must never push the toggler off-screen */
    .main-navbar .navbar-brand {
        max-width: calc(100% - 64px);
        min-width: 0;
        flex-shrink: 1;
    }
    .main-navbar .navbar-brand img {
        max-width: 100%;
        height: auto;
        max-height: 44px;
    }

    /* Toggler — dark icon on the light bar, comfortable tap target */
    .main-navbar .navbar-toggler {
        border: 1.5px solid rgba(15,23,42,.22);
        border-radius: 10px;
        padding: .45rem .6rem;
        min-width: 46px;
        min-height: 46px;
    }
    .main-navbar .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(15,23,42,.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 8h22M4 15h22M4 22h22'/%3e%3c/svg%3e");
    }

    /* Collapse card */
    .main-navbar .navbar-collapse {
        background: #fff;
        border-radius: 16px;
        margin-top: .8rem;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        width: 100%;
    }
    .main-navbar .navbar-collapse .dropdown-menu { box-shadow: none; background: #f8fafc; }

    /* CTA buttons stack full-width inside the menu */
    .navbar-cta {
        margin-top: .5rem;
        flex-direction: column;
        align-items: stretch;
        gap: .5rem;
        width: 100%;
    }
    .navbar-cta .btn {
        width: 100%;
        margin-bottom: 0;
        padding: .62rem 1.2rem;
    }
    .btn-nav-login { border-color: var(--brand-500); }
}

/* ============================
   Hero
   ============================ */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: var(--grad-hero);
    padding: 9rem 0 0;
    overflow: hidden;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 400px at 85% 15%, rgba(255,255,255,.14), transparent 60%),
        radial-gradient(700px 500px at 10% 90%, rgba(124,58,237,.45), transparent 65%),
        radial-gradient(500px 400px at 70% 80%, rgba(79,70,229,.5), transparent 60%);
    pointer-events: none;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(6px);
    opacity: .5;
    animation: float 9s ease-in-out infinite;
}
.hero-blob.b1 { width: 320px; height: 320px; background: rgba(255,255,255,.08); top: -80px; right: 0; }
.hero-blob.b2 { width: 220px; height: 220px; background: rgba(196,181,253,.22); bottom: -60px; left: 8%; animation-delay: -3s; }
.hero-blob.b3 { width: 140px; height: 140px; background: rgba(255,255,255,.1); bottom: 22%; left: 42%; animation-delay: -5s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-24px) rotate(6deg); }
}

.hero .hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    color: #e0e7ff;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .45rem 1.1rem;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(6px);
    margin-bottom: 1.4rem;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.2rem;
}

.hero .lead {
    color: rgba(255,255,255,.88);
    font-size: 1.12rem;
    max-width: 540px;
    margin-bottom: 2rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; }

/* hero image frame */
.hero-visual { position: relative; overflow: hidden; max-width: 100%; }
.hero-frame {
    position: relative;
    border-radius: 26px;
    padding: 12px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.3);
    backdrop-filter: blur(10px);
    
    transform: rotate(1.5deg);
    animation: heroFloat 7s ease-in-out infinite;
    overflow: hidden;
    max-width: 100%;
}
.hero-frame img {
    width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: contain;
    border-radius: 18px;
    display: block;
}
@keyframes heroFloat {
    0%, 100% { transform: rotate(1.5deg) translateY(0); }
    50% { transform: rotate(1.5deg) translateY(-10px); }
}
.hero .carousel-inner { overflow: hidden; }
.hero .carousel-item { padding: 1.5rem 0; }
.hero .carousel-indicators { bottom: -3.2rem; z-index: 30; }
.hero .carousel-indicators button {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,.45);
    border: 0;
    opacity: 1;
    margin: 0 5px;
}
.hero .carousel-indicators button.active {
    width: 30px;
    border-radius: 20px;
    background: #fff;
}

/* ============================
   Emergency Ticker
   ============================ */
.emergency-notice {
    background: var(--grad-brand);
    padding: .7rem 0;
    overflow: hidden;
    color: #fff;
}
.emergency-scroll {
    display: inline-block;
    white-space: nowrap;
    font-weight: 600;
    letter-spacing: .02em;
    padding-left: 100%;
    animation: scrollLeft 26s linear infinite;
}
.emergency-notice:hover .emergency-scroll { animation-play-state: paused; }
@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ============================
   Stats strip
   ============================ */
.stats-strip { position: relative; z-index: 5; }
.stats-strip.stats-overlap { margin-top: -70px; }
.stat-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.7rem 1.2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(226,232,240,.6);
    transition: transform .3s ease, box-shadow .3s ease;
    height: 100%;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: 0 26px 54px rgba(15,23,42,.16); }
.stat-card .stat-icon {
    width: 58px; height: 58px;
    margin: 0 auto 1rem;
    border-radius: 16px;
    background: var(--grad-brand);
    color: #fff;
    font-size: 1.5rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-brand);
}
.stat-card h3 { font-size: 2rem; font-weight: 800; margin-bottom: .1rem; }
.stat-card p { font-size: .9rem; color: var(--muted); font-weight: 600; margin: 0; text-transform: uppercase; letter-spacing: .05em; }

/* ============================
   About preview
   ============================ */
.about-preview-img {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-preview-img img { width: 100%; height: 460px; object-fit: cover; display: block; }
.exp-badge {
    position: absolute;
    bottom: 24px; left: 12px;
    background: var(--grad-brand);
    color: #fff;
    border-radius: 16px;
    padding: 1.1rem 1.4rem;
    box-shadow: var(--shadow-brand);
    text-align: center;
    z-index: 2;
}
.exp-badge .num { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 800; line-height: 1; }
.exp-badge .txt { font-size: .78rem; font-weight: 600; opacity: .92; }

.about-bullets { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.6rem; }
.about-bullet { display: flex; gap: 1rem; align-items: flex-start; }
.about-bullet .ab-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--grad-brand-soft);
    color: var(--brand-600);
    font-size: 1.15rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.about-bullet h6 { margin-bottom: .15rem; font-size: 1rem; }
.about-bullet p { font-size: .92rem; color: var(--body); margin: 0; }

/* ============================
   Facilities
   ============================ */
.facility-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.4rem;
    text-align: center;
    transition: all .3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.facility-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--grad-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.facility-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: transparent; }
.facility-card:hover::before { transform: scaleX(1); }

.facility-card .facility-icon {
    width: 76px; height: 76px;
    margin: 0 auto 1.1rem;
    border-radius: 20px;
    font-size: 2rem;
    display: flex; align-items: center; justify-content: center;
    transition: all .3s ease;
    background: var(--grad-brand) !important;
    box-shadow: var(--shadow-brand);
    color: #fff;
}
.facility-card:hover .facility-icon { border-radius: 50%; }
.facility-card h5 { font-size: 1rem; margin-bottom: .4rem; }
.facility-card p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ============================
   Speech section
   ============================ */
.speech-section { position: relative; overflow: hidden; }
.speech-section::before {
    content: '';
    position: absolute;
    top: -140px; right: -140px;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(124,58,237,.12), transparent 65%);
    pointer-events: none;
}
.speech-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.6rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(226,232,240,.7);
    position: relative;
}
.speech-card .quote-mark {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1;
    color: #c7d2fe;
    position: absolute;
    top: 14px; left: 24px;
}
.speech-quote {
    background: var(--grad-brand-soft);
    border-left: 4px solid var(--brand-500);
    border-radius: 0 12px 12px 0;
    padding: .9rem 1.2rem;
    font-style: italic;
    color: var(--dark-soft);
    margin: 1.4rem 0;
}
.speech-author { display: flex; align-items: center; gap: .9rem; margin-top: 1.2rem; }
.speech-author .sa-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--grad-brand);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
}
.speech-author h5 { margin: 0; font-size: 1.05rem; }
.speech-author small { color: var(--muted); }

.speech-photo {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 8px solid #fff;
    transform: rotate(2deg);
    transition: transform .35s ease;
    max-width: 400px;
    margin: 0 auto;
}
.speech-photo:hover { transform: rotate(0) scale(1.01); }
.speech-photo img { width: 100%; height: 480px; object-fit: cover; display: block; }
.speech-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(79,70,229,.35), transparent 40%);
    pointer-events: none;
}

/* ============================
   Steps (Admission info)
   ============================ */
.step-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    position: relative;
    transition: all .3s ease;
    height: 100%;
    overflow: hidden;
}
.step-card::after {
    content: '';
    position: absolute;
    width: 120px; height: 120px;
    border-radius: 50%;
    background: var(--grad-brand-soft);
    top: -46px; right: -46px;
    transition: all .35s ease;
}
.step-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: transparent; }
.step-card:hover::after { transform: scale(1.5); }

.step-num {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--grad-brand);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-brand);
    margin-bottom: 1.1rem;
    position: relative;
    z-index: 1;
}
.step-card h5 { font-size: 1.05rem; margin-bottom: .5rem; position: relative; z-index: 1; }
.step-card p { font-size: .9rem; margin: 0; position: relative; z-index: 1; }

/* ============================
   Notice board
   ============================ */
.notice-board {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-height: 460px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--brand-500) #eef2f7;
}
.notice-board::-webkit-scrollbar { width: 5px; }
.notice-board::-webkit-scrollbar-track { background: #eef2f7; border-radius: 4px; }
.notice-board::-webkit-scrollbar-thumb { background: var(--brand-500); border-radius: 4px; }

.notice-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    transition: all .25s ease;
}
.notice-item:last-child { border-bottom: none; }
.notice-item:hover { background: var(--grad-brand-soft); }

.notice-date-box {
    min-width: 58px;
    text-align: center;
    border-radius: 12px;
    background: var(--grad-brand-soft);
    border: 1px solid #e0e7ff;
    padding: .45rem .3rem;
    flex-shrink: 0;
}
.notice-date-box .day {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--brand-600);
    line-height: 1;
}
.notice-date-box .month {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
}
.notice-item .notice-title { font-weight: 600; color: var(--dark-soft); font-size: .95rem; }
.notice-item:hover .notice-title { color: var(--brand-700); }
.notice-pdf {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: #fff1f2;
    color: var(--danger);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: all .25s ease;
}
.notice-pdf:hover { background: var(--danger); color: #fff; }

/* ============================
   Event cards
   ============================ */
.event-card {
    background: #fff;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    transition: all .3s ease;
    height: 100%;
}
.event-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.event-card .event-thumb { position: relative; overflow: hidden; }
.event-card .event-thumb img { height: 210px; width: 100%; object-fit: cover; transition: transform .5s ease; }
.event-card:hover .event-thumb img { transform: scale(1.08); }
.event-thumb .event-date-chip {
    position: absolute;
    top: 12px; left: 12px;
    background: rgba(255,255,255,.94);
    border-radius: 12px;
    padding: .35rem .7rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: .78rem;
    color: var(--brand-600);
    box-shadow: var(--shadow);
    display: flex; align-items: center; gap: .4rem;
}
.event-card .event-body { padding: 1.3rem 1.3rem 1.5rem; }
.event-card h5 a { color: var(--dark); }
.event-card h5 a:hover { color: var(--brand-600); }
.event-card .event-desc { font-size: .9rem; color: var(--body); margin-bottom: 1rem; }

/* ============================
   Gallery
   ============================ */
.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(49,46,129,.82), rgba(79,70,229,.25) 60%, transparent);
    opacity: 0;
    transition: opacity .35s ease;
    display: flex; flex-direction: column;
    align-items: center; justify-content: flex-end;
    padding: 1.2rem;
    text-align: center;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .gallery-overlay .go-icon {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    margin-bottom: .6rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,.4);
    transform: translateY(10px);
    transition: transform .3s ease;
}
.gallery-item:hover .gallery-overlay .go-icon { transform: translateY(0); }
.gallery-item .gallery-overlay h6 { color: #fff; font-size: .95rem; margin: 0; }

/* ============================
   Teacher cards
   ============================ */
.teacher-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3.4rem 1.4rem 1.6rem;
    text-align: center;
    transition: all .3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.teacher-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 96px;
    background:
        radial-gradient(rgba(255,255,255,.22) 1.4px, transparent 1.6px) 0 0 / 16px 16px,
        linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 0 0 50% 50% / 0 0 26px 26px;
    transition: filter .3s ease;
}
.teacher-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 96px;
    background: radial-gradient(180px 70px at 15% 0%, rgba(255,255,255,.3), transparent 70%),
                radial-gradient(160px 60px at 90% 0%, rgba(255,255,255,.2), transparent 70%);
    pointer-events: none;
    border-radius: 0 0 50% 50% / 0 0 26px 26px;
}
.teacher-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: transparent; }
.teacher-card:hover::before { filter: brightness(1.12); }
.teacher-card .tc-ring {
    display: inline-flex;
    padding: 5px;
    border-radius: 50%;
    background: var(--grad-brand);
    box-shadow: 0 10px 24px rgba(79,70,229,.35);
    margin-top: -52px;
    margin-bottom: 1rem;
}
.teacher-card .tc-photo {
    width: 108px; height: 108px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    margin: 0;
    position: relative;
    display: block;
    background: var(--grad-brand-soft);
    box-shadow: none;
}
.teacher-card .tc-photo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    color: var(--brand-600);
    background: linear-gradient(160deg, #eef2ff, #dbe3ff);
}
.teacher-card h5 { font-size: 1.05rem; margin-bottom: .3rem; }
.teacher-card .designation {
    display: inline-block;
    background: var(--grad-brand-soft);
    color: var(--brand-700);
    padding: .35rem .95rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: 0;
}
.teacher-card .tc-socials { display: flex; justify-content: center; gap: .5rem; margin-top: 1rem; opacity: .55; transition: opacity .3s ease; }
.teacher-card:hover .tc-socials { opacity: 1; }
.teacher-card .tc-socials a {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--grad-brand-soft);
    color: var(--brand-600);
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem;
    transition: all .3s ease;
}
.teacher-card .tc-socials a:hover { background: var(--grad-brand); color: #fff; transform: translateY(-3px); }

/* Homepage teacher carousel: compact cards, 4 per row */
#teacherCarousel .teacher-card { padding: 2.9rem 1rem 1.2rem; }
#teacherCarousel .teacher-card::before,
#teacherCarousel .teacher-card::after { height: 84px; border-radius: 0 0 50% 50% / 0 0 22px 22px; }
#teacherCarousel .teacher-card .tc-ring { margin-top: -46px; margin-bottom: .8rem; padding: 4px; }
#teacherCarousel .teacher-card .tc-photo { width: 92px; height: 92px; border-width: 3px; }
#teacherCarousel .teacher-card .tc-photo-icon { font-size: 2.2rem; }
#teacherCarousel .teacher-card h5 { font-size: .95rem; }
#teacherCarousel .teacher-card .designation { font-size: .72rem; padding: .28rem .8rem; }
#teacherCarousel .teacher-card .tc-socials { margin-top: .8rem; }
#teacherCarousel .teacher-card .tc-socials a { width: 30px; height: 30px; font-size: .82rem; }
#teacherCarousel .carousel-inner { overflow: hidden; }

/* Teacher carousel nav (outside the slide area) */
.tc-nav { display: flex; justify-content: center; gap: .9rem; margin-top: 2.2rem; }
.tc-nav-btn {
    width: 46px; height: 46px;
    border-radius: 50%;
    border: none;
    background: var(--grad-brand);
    color: #fff;
    font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-brand);
    transition: all .3s ease;
}
.tc-nav-btn:hover { transform: translateY(-3px); filter: brightness(1.08); }
.tc-nav-btn:active { transform: translateY(0); }

/* ============================
   Testimonials
   ============================ */
.testimonial-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.6rem;
    height: 100%;
    position: relative;
    transition: all .3s ease;
}
.testimonial-card::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 5.5rem;
    line-height: 1;
    color: #e0e7ff;
    position: absolute;
    top: 6px; right: 22px;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.testimonial-card .stars { color: #f59e0b; font-size: .9rem; margin-bottom: .9rem; }
.testimonial-card .t-text { font-size: .95rem; color: var(--body); font-style: italic; margin-bottom: 1.2rem; position: relative; z-index: 1; }
.testimonial-card .t-author { display: flex; align-items: center; gap: .8rem; }
.testimonial-card .t-author .ta-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--grad-brand);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
    flex-shrink: 0;
}
.testimonial-card .t-author h6 { margin: 0; font-size: .95rem; }
.testimonial-card .t-author small { color: var(--muted); }

/* ============================
   CTA band
   ============================ */
.cta-band {
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--grad-hero);
    padding: 3.4rem 2.6rem;
    overflow: hidden;
    color: #fff;
    box-shadow: var(--shadow-lg);
}
.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(500px 260px at 90% 10%, rgba(255,255,255,.16), transparent 60%);
}
.cta-band h3 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: .6rem; }
.cta-band p { color: rgba(255,255,255,.85); margin-bottom: 0; max-width: 520px; }
.cta-band .cta-actions { position: relative; z-index: 2; }

/* ============================
   Page hero (inner pages)
   ============================ */
.page-hero {
    position: relative;
    background: var(--grad-hero);
    padding: 8.2rem 0 4.6rem;
    overflow: hidden;
    text-align: center;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(500px 300px at 12% 20%, rgba(255,255,255,.12), transparent 60%),
        radial-gradient(600px 360px at 88% 90%, rgba(124,58,237,.5), transparent 65%);
}
.page-hero .ph-blob { position: absolute; border-radius: 50%; background: rgba(255,255,255,.07); animation: float 10s ease-in-out infinite; }
.page-hero .ph-blob.a { width: 240px; height: 240px; top: -70px; left: -50px; }
.page-hero .ph-blob.b { width: 160px; height: 160px; bottom: -50px; right: 10%; animation-delay: -4s; }

.page-hero h1 {
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: .8rem;
    position: relative;
}
.page-hero p { color: rgba(255,255,255,.88); max-width: 560px; margin: 0 auto 1.2rem; position: relative; }
.page-hero .breadcrumb { justify-content: center; margin: 0; position: relative; }
.page-hero .breadcrumb-item a { color: rgba(255,255,255,.8); }
.page-hero .breadcrumb-item a:hover { color: #fff; }
.page-hero .breadcrumb-item.active { color: #e0e7ff; font-weight: 600; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.55); }

/* ============================
   Document cards (syllabus/routines)
   ============================ */
.doc-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.8rem 1.4rem;
    text-align: center;
    transition: all .3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.doc-card::before {
    content: '';
    position: absolute;
    top: -70px; right: -70px;
    width: 150px; height: 150px;
    border-radius: 50%;
    background: var(--grad-brand-soft);
    transition: transform .35s ease;
}
.doc-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: transparent; }
.doc-card:hover::before { transform: scale(1.45); }

.doc-card .doc-icon {
    width: 74px; height: 74px;
    margin: 0 auto 1.2rem;
    border-radius: 20px;
    background: var(--grad-brand);
    color: #fff;
    font-size: 2rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-brand);
    position: relative;
    z-index: 1;
}
.doc-card h5 { font-size: 1.05rem; margin-bottom: .4rem; position: relative; z-index: 1; }
.doc-card .doc-meta {
    display: flex; flex-direction: column; gap: .3rem;
    font-size: .88rem;
    color: var(--body);
    margin: .9rem 0 1.2rem;
    position: relative; z-index: 1;
}
.doc-card .doc-meta span { display: flex; align-items: center; justify-content: center; gap: .45rem; }
.doc-card .doc-meta i { color: var(--brand-500); }
.doc-card .doc-updated { font-size: .78rem; color: var(--muted); margin-top: .9rem; position: relative; z-index: 1; }

/* ============================
   Forms
   ============================ */
.form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2.4rem;
}
.form-card .form-section-title {
    display: flex;
    align-items: center;
    gap: .8rem;
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--dark);
    padding-bottom: .9rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--grad-brand-soft);
}
.form-card .form-section-title .fst-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: var(--grad-brand);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.form-label { font-weight: 600; font-size: .9rem; color: var(--dark-soft); }
.form-control, .form-select {
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: .62rem 1rem;
    font-size: .95rem;
    color: var(--dark-soft);
    background-color: #fbfcff;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-control:focus, .form-select:focus {
    border-color: var(--brand-500);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(79,70,229,.12);
}
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--danger); }
.form-control::placeholder { color: #b6c2d4; }
.form-check-input:checked { background-color: var(--brand-500); border-color: var(--brand-500); }

/* ============================
   Contact cards
   ============================ */
.contact-info-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.8rem 1.3rem;
    text-align: center;
    height: 100%;
    transition: all .3s ease;
}
.contact-info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.contact-info-card .ci-icon {
    width: 60px; height: 60px;
    margin: 0 auto 1rem;
    border-radius: 16px;
    background: var(--grad-brand);
    color: #fff;
    font-size: 1.5rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-brand);
}
.contact-info-card h5 { font-size: 1rem; margin-bottom: .4rem; }
.contact-info-card p { font-size: .9rem; color: var(--body); margin: 0; word-break: break-word; }
.contact-info-card .ci-socials { display: flex; justify-content: center; gap: .6rem; margin-top: .6rem; }
.contact-info-card .ci-socials a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--grad-brand-soft);
    color: var(--brand-600);
    display: flex; align-items: center; justify-content: center;
    transition: all .25s ease;
}
.contact-info-card .ci-socials a:hover { background: var(--grad-brand); color: #fff; transform: translateY(-3px); }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 4px solid #fff; }
.map-frame iframe { display: block; width: 100%; }

/* ============================
   Mission / Vision cards
   ============================ */
.mv-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    transition: all .3s ease;
}
.mv-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.mv-card .mv-img { position: relative; overflow: hidden; }
.mv-card .mv-img img { height: 240px; width: 100%; object-fit: cover; transition: transform .5s ease; }
.mv-card:hover .mv-img img { transform: scale(1.07); }
.mv-card .mv-img .mv-icon {
    position: absolute;
    bottom: -24px; left: 24px;
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--grad-brand);
    color: #fff;
    font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-brand);
    border: 3px solid #fff;
}
.mv-card .mv-body { padding: 2.4rem 1.6rem 1.8rem; }

/* ============================
   Content typography (WYSIWYG safe)
   ============================ */
.content-body {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--body);
    word-break: break-word;
}
.content-body h1, .content-body h2, .content-body h3, .content-body h4 {
    margin-top: 1.4rem;
    margin-bottom: .8rem;
}
.content-body h2 { font-size: 1.5rem; }
.content-body h3 { font-size: 1.25rem; }
.content-body p { margin-bottom: 1rem; }
.content-body ul, .content-body ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.content-body li { margin-bottom: .45rem; }
.content-body img { max-width: 100%; border-radius: var(--radius); }
.content-body a { text-decoration: underline; }
.content-body table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.content-body table th, .content-body table td { border: 1px solid var(--border); padding: .6rem .8rem; }
.content-body blockquote {
    border-left: 4px solid var(--brand-500);
    background: var(--grad-brand-soft);
    border-radius: 0 12px 12px 0;
    padding: 1rem 1.2rem;
    font-style: italic;
    margin: 1.2rem 0;
}

/* ============================
   Event detail page
   ============================ */
.event-hero-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-height: 440px;
}
.event-hero-img img { width: 100%; height: 440px; object-fit: cover; display: block; }
.event-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--grad-brand-soft);
    color: var(--brand-700);
    border: 1px solid #e0e7ff;
    border-radius: var(--radius-pill);
    padding: .45rem 1.1rem;
    font-size: .88rem;
    font-weight: 600;
}
.event-detail-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.4rem;
    box-shadow: var(--shadow);
}
.event-gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    height: 220px;
}
.event-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.event-gallery-item:hover img { transform: scale(1.08); }

/* ============================
   Pagination
   ============================ */
.pagination { --bs-pagination-border-radius: 12px; --bs-pagination-color: var(--dark-soft); --bs-pagination-active-bg: var(--brand-500); --bs-pagination-active-border-color: var(--brand-500); --bs-pagination-focus-box-shadow: 0 0 0 4px rgba(79,70,229,.12); --bs-pagination-hover-bg: var(--grad-brand-soft); --bs-pagination-hover-color: var(--brand-700); }
.pagination .page-link { font-weight: 600; border: 1px solid var(--border); margin: 0 3px; border-radius: 10px; }

/* ============================
   Footer
   ============================ */
.footer-main {
    background: var(--dark);
    color: #94a3b8;
    position: relative;
    overflow: hidden;
}
.footer-main::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad-brand);
}
.footer-main::after {
    content: '';
    position: absolute;
    bottom: -160px; right: -120px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124,58,237,.18), transparent 65%);
    pointer-events: none;
}
.footer-main .footer-logo img { max-height: 56px; }
.footer-main h5 {
    color: #fff;
    font-size: 1rem;
    letter-spacing: .02em;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: .6rem;
}
.footer-main h5::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 34px; height: 3px;
    border-radius: 3px;
    background: var(--grad-brand);
}
.footer-main .footer-links { list-style: none; padding: 0; margin: 0; }
.footer-main .footer-links li { margin-bottom: .55rem; }
.footer-main .footer-links a {
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: all .2s ease;
}
.footer-main .footer-links a i { font-size: .8rem; color: var(--brand-500); transition: all .2s ease; }
.footer-main .footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-main .footer-links a:hover i { color: #a5b4fc; }

.footer-main .footer-contact-item { display: flex; gap: .7rem; margin-bottom: .8rem; align-items: flex-start; }
.footer-main .footer-contact-item i {
    width: 32px; height: 32px;
    border-radius: 10px;
    background: rgba(79,70,229,.2);
    color: #a5b4fc;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: .9rem;
}
.footer-main .footer-socials { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-main .footer-socials a {
    width: 38px; height: 38px;
    border-radius: 12px;
    background: rgba(255,255,255,.06);
    color: #cbd5e1;
    display: flex; align-items: center; justify-content: center;
    transition: all .25s ease;
}
.footer-main .footer-socials a:hover { background: var(--grad-brand); color: #fff; transform: translateY(-3px); }

.footer-bottom {
    border-top: 1px solid rgba(148,163,184,.15);
    padding: 1.2rem 0;
    font-size: .86rem;
    color: #64748b;
    position: relative;
    z-index: 1;
}
.footer-bottom a { color: #a5b4fc; }
.footer-bottom a:hover { color: #fff; }

/* ============================
   WhatsApp FAB polish
   ============================ */
.whatsapp-fab__btn {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 24px rgba(37,211,102,.45);
    transition: transform .25s ease, box-shadow .25s ease;
    position: relative;
}
.whatsapp-fab__btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    animation: wa-pulse 1.9s ease-out infinite;
    z-index: -1;
}
.whatsapp-fab:hover .whatsapp-fab__btn { transform: scale(1.1) rotate(8deg); }

/* ============================
   Reveal animations
   ============================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.active { opacity: 1; transform: translateY(0); }

[data-aos] { pointer-events: auto; }

/* ============================
   Responsive
   ============================ */
@media (max-width: 991.98px) {
    .hero { min-height: auto; padding: 7.5rem 0 3.5rem; overflow: hidden; }
    .hero-frame { transform: none !important; animation: none !important; }
    .hero-frame img { height: auto; max-height: 320px; }
    .hero-visual { margin-top: 2rem; max-width: 100%; }
    .exp-badge { left: 12px; bottom: 12px; }
    .stats-strip.stats-overlap { margin-top: 0; }
    .speech-photo { transform: none !important; }
    .speech-photo img { height: 400px; }
}

@media (max-width: 767.98px) {
    .cta-band { padding: 2.4rem 1.6rem; }
    .form-card { padding: 1.6rem 1.2rem; }
    .speech-card { padding: 1.8rem 1.4rem; }
    .page-hero { padding: 7rem 0 3.6rem; }
    .about-preview-img img { height: 320px; }
}

/* ============================
   Responsive polish (tablet)
   ============================ */
@media (max-width: 767.98px) {
    .content-body table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border: 0;
    }
    .content-body table th,
    .content-body table td { white-space: nowrap; }
    .event-hero-img img { height: 300px; }
    .event-gallery-item { height: 180px; }
    .notice-board { max-height: 420px; }
    .gallery-item iframe,
    .content-body img { max-width: 100%; }
}

/* ============================
   Responsive polish (phones)
   ============================ */
@media (max-width: 575.98px) {
    :root { --section-gap: 3rem; }
    html, body { overflow-x: hidden; width: 100%; }
    .container {
        padding-right: 1rem;
        padding-left: 1rem;
        max-width: 100%;
    }

    /* Hero */
    .hero { padding: 6.2rem 0 2.8rem; overflow: hidden; }
    .hero h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
    .hero .lead { font-size: .95rem; }
    .hero .hero-kicker { font-size: .74rem; padding: .38rem .9rem; }
    .hero .hero-frame { padding: 8px; border-radius: 18px; max-width: 100%; }
    .hero .carousel-indicators { bottom: -2.2rem; }
    .hero-cta { flex-direction: column; width: 100%; gap: .6rem; }
    .hero-cta .btn { width: 100%; text-align: center; justify-content: center; }

    /* Section headers */
    .section-header { margin-bottom: 2.2rem; }
    .section-header p { font-size: .95rem; }
    .section-eyebrow { font-size: .72rem; padding: .35rem .85rem; }
    .btn-lg { padding: .62rem 1.3rem; font-size: .95rem; }

    /* Stats */
    .stats-strip { padding: 1.2rem !important; }
    .stats-strip.stats-overlap { margin-top: 0; }
    .stat-card { padding: 1.25rem .75rem; }
    .stat-icon { width: 44px; height: 44px; font-size: 1.1rem; border-radius: 12px; }
    .stat-card h3 { font-size: 1.3rem; }
    .stat-card p { font-size: .68rem; letter-spacing: .03em; }

    /* About preview */
    .about-preview-img img { height: 240px; }
    .exp-badge { left: 8px; bottom: 10px; padding: .7rem .9rem; border-radius: 12px; }
    .exp-badge .num { font-size: 1.1rem; }
    .exp-badge .txt { font-size: .65rem; }

    /* Facilities / steps */
    .facility-icon { width: 62px; height: 62px; font-size: 1.6rem; border-radius: 16px; }
    .step-card { padding: 1.6rem 1.2rem; }

    /* Notice board */
    .notice-date-box { min-width: 50px; }
    .notice-date-box .day { font-size: 1.1rem; }

    /* Events */
    .event-card .event-thumb img { height: 190px; }

    /* Speech */
    .speech-photo { border-width: 5px; }
    .speech-photo img { height: 300px; }

    /* Teachers */
    .teacher-card { padding: 3rem 1rem 1.3rem; }
    .tc-photo { width: 92px; height: 92px; }

    /* Content pages */
    .event-detail-card { padding: 1.5rem 1.2rem; }
    .mv-card .mv-body { padding: 1.9rem 1.2rem 1.4rem; }
    .form-card { padding: 1.4rem 1rem; }
    .page-hero { padding: 6.4rem 0 3rem; }
    .map-frame { border-width: 3px; }

    /* CTA band — stack buttons */
    .cta-band { padding: 2.1rem 1.4rem; }
    .cta-band .cta-actions .btn { width: 100%; margin-right: 0 !important; margin-bottom: .65rem; }
    .cta-band .cta-actions .btn:last-child { margin-bottom: 0; }

    /* Gallery modal */
    .gallery-nav-btn { width: 38px; height: 38px; font-size: 1rem; }

    /* Pagination */
    .pagination .page-link { padding: .4rem .65rem; margin: 0 3px; font-size: .85rem; }
}
