/* ============================================================
   Lexicon International School — Custom CSS
   Colors: Blue #1a3a6b | Maroon #8b0000 | Gold #d4a017
   ============================================================ */

/* ─── Variables ─────────────────────────────────────────── */
:root {
    --primary:  #1a3a6b;
    --maroon:   #8b0000;
    --gold:     #d4a017;
    --light-bg: #f8f9fc;
    --card-shadow: 0 4px 24px rgba(26,58,107,.08);
}

/* ─── Global ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: #2d3748; background: #fff;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; color: #1a2a50; }
img { max-width: 100%; }
a { text-decoration: none; }

/* ─── Announcement Ticker ────────────────────────────────── */
.announcement-ticker {
    background: var(--maroon);
    color: #fff;
    display: flex; align-items: center;
    height: 38px; overflow: hidden;
    font-size: 13px;
    box-shadow: 0 1px 10px rgba(0,0,0,0.1);
    position: relative; z-index: 1060;
}
.ticker-label {
    background: var(--gold);
    color: #000;
    padding: 0 20px;
    white-space: nowrap;
    height: 100%;
    display: flex; align-items: center;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .8px;
    text-transform: uppercase;
    flex-shrink: 0;
}
.ticker-wrap { flex: 1; overflow: hidden; }
.ticker-content {
    display: flex; align-items: center;
    animation: tickerScroll 30s linear infinite;
    white-space: nowrap;
}
.ticker-item {
    display: inline-block;
    padding: 0 48px;
    color: rgba(255,255,255,.9);
    font-size: 13px;
}
a.ticker-item:hover { color: var(--gold); }
@keyframes tickerScroll {
    0%   { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

/* ─── Navbar ─────────────────────────────────────────────── */
.school-navbar {
    background: var(--primary);
    transition: background .3s, box-shadow .3s;
    padding: 10px 0;
}
.school-navbar.scrolled {
    background: rgba(15,35,71,.97);
    box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.school-navbar .navbar-brand { gap: 10px; }
.school-logo-icon {
    width: 46px; height: 46px; border-radius: 10px;
    background: linear-gradient(135deg, var(--gold), #b8860b);
    color: var(--primary); font-family: 'Poppins', sans-serif;
    font-weight: 800; font-size: 22px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.navbar-school-name {
    color: #fff; font-family: 'Poppins', sans-serif;
    font-weight: 700; font-size: 15px; line-height: 1.2;
}
.navbar-affiliation {
    color: rgba(255,255,255,.6); font-size: 10px; font-weight: 400;
}
.school-navbar .nav-link {
    color: rgba(255,255,255,.85) !important;
    font-size: 13.5px; font-weight: 500;
    padding: 6px 12px !important;
    border-radius: 6px;
    transition: all .2s;
}
.school-navbar .nav-link:hover,
.school-navbar .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,.12);
}
.btn-admission-cta {
    background: var(--gold);
    color: var(--primary) !important;
    font-weight: 700; font-size: 13px;
    padding: 8px 18px; border-radius: 8px;
    transition: all .2s;
    border: none;
}
.btn-admission-cta:hover {
    background: #c49515; color: #fff !important;
    transform: translateY(-1px);
}

/* ─── Hero Section ───────────────────────────────────────── */
.hero-section {
    min-height: 88vh;
    background: linear-gradient(135deg, var(--primary) 0%, #0f2347 60%, var(--maroon) 100%);
    position: relative; overflow: hidden;
    display: flex; align-items: center;
}
.hero-section::before {
    content: '';
    position: absolute; inset: 0;
    background: url('/public/img/school-pattern.png') repeat;
    opacity: .04;
}
.hero-particles { position: absolute; inset: 0; overflow: hidden; }
.hero-content { position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(212,160,23,.15);
    border: 1px solid rgba(212,160,23,.4);
    color: var(--gold); border-radius: 50px;
    padding: 6px 16px; font-size: 13px; font-weight: 600;
    margin-bottom: 20px;
}
.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800; color: #fff; line-height: 1.15;
    margin-bottom: 16px;
}
.hero-title span { color: var(--gold); }
.hero-subtitle {
    font-size: 18px; color: rgba(255,255,255,.75);
    font-weight: 400; margin-bottom: 36px; max-width: 600px;
}
.hero-cta-group { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero-primary {
    background: var(--gold); color: var(--primary);
    font-weight: 700; padding: 14px 32px;
    border-radius: 10px; font-size: 15px;
    transition: all .2s; border: none;
}
.btn-hero-primary:hover { background: #c49515; color: var(--primary); transform: translateY(-2px); }
.btn-hero-outline {
    border: 2px solid rgba(255,255,255,.4); color: #fff;
    font-weight: 600; padding: 12px 28px;
    border-radius: 10px; font-size: 15px;
    transition: all .2s;
}
.btn-hero-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }

/* Hero Stats */
.hero-stats { display: flex; gap: 32px; margin-top: 48px; }
.hero-stat-item { text-align: center; }
.hero-stat-number { font-size: 2rem; font-weight: 800; color: var(--gold); font-family: 'Poppins', sans-serif; }
.hero-stat-label  { font-size: 12px; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .5px; }

/* Hero Image Card */
.hero-image-wrap {
    position: relative;
}
.hero-school-card {
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 20px; padding: 32px;
    text-align: center; color: #fff;
}
.hero-quick-links { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.hero-quick-link {
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
    color: #fff; border-radius: 10px; padding: 12px 20px;
    display: flex; align-items: center; gap: 12px;
    transition: all .2s; font-size: 14px; font-weight: 500;
}
.hero-quick-link:hover {
    background: rgba(255,255,255,.2); color: #fff;
    transform: translateX(4px);
}
.hero-quick-link i { font-size: 18px; color: var(--gold); }

/* Hero Quick-Actions Card (fallback hero right column) */
.hero-quick-actions {
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    padding: 32px 28px;
}
.hero-quick-link .hql-icon {
    width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
    background: rgba(212,160,23,.18);
    display: flex; align-items: center; justify-content: center;
}
.hero-quick-link .hql-icon i { font-size: 17px; color: var(--gold); }
.hero-quick-link .hql-text { display: flex; flex-direction: column; }
.hero-quick-link .hql-text strong { font-size: 14px; color: #fff; font-weight: 600; }
.hero-quick-link .hql-text small  { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 1px; }


/* ─── Section Titles ─────────────────────────────────────── */
.section-title { font-size: 2rem; font-weight: 700; color: var(--primary); }
.section-subtitle { color: #6b7280; font-size: 16px; max-width: 600px; margin: 0 auto; }
.section-label {
    display: inline-block;
    background: rgba(26,58,107,.08);
    color: var(--primary); font-weight: 600;
    font-size: 12px; letter-spacing: 1px;
    text-transform: uppercase; padding: 6px 16px;
    border-radius: 50px; margin-bottom: 12px;
}
.divider-line {
    width: 60px; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    border-radius: 2px; margin: 12px auto 0;
}

/* ─── Announcement Card ──────────────────────────────────── */
.announcement-card {
    background: #fff; border-radius: 14px; padding: 20px;
    border-left: 5px solid var(--primary);
    box-shadow: var(--card-shadow);
    transition: transform .2s, box-shadow .2s;
}
.announcement-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(26,58,107,.14); }
.announcement-card.pinned { border-left-color: var(--maroon); }
.notice-date { font-size: 11px; color: #9ca3af; text-transform: uppercase; letter-spacing: .5px; }

/* ─── Facility Cards ─────────────────────────────────────── */
.facility-card {
    background: #fff; border-radius: 16px; padding: 32px 24px;
    text-align: center; box-shadow: var(--card-shadow);
    transition: all .3s; border-top: 3px solid transparent;
    height: 100%;
}
.facility-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(26,58,107,.15);
    border-top-color: var(--primary);
}
.facility-icon {
    width: 68px; height: 68px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(26,58,107,.08), rgba(26,58,107,.15));
    color: var(--primary);
}

/* ─── Principal Card ─────────────────────────────────────── */
.principal-card {
    background: linear-gradient(135deg, var(--primary), #0f2347);
    border-radius: 20px; padding: 40px;
    color: #fff; position: relative; overflow: hidden;
}
.principal-card::after {
    content: '"'; font-size: 200px; font-family: 'Poppins', sans-serif;
    position: absolute; top: -40px; right: 20px;
    color: rgba(255,255,255,.05); line-height: 1;
}
.principal-quote { font-size: 17px; line-height: 1.7; font-style: italic; color: rgba(255,255,255,.9); }
.principal-sig { font-weight: 700; font-size: 16px; color: var(--gold); }

/* ─── Faculty Cards ──────────────────────────────────────── */
.faculty-card {
    background: #fff; border-radius: 16px;
    overflow: hidden; box-shadow: var(--card-shadow);
    transition: all .3s; text-align: center;
}
.faculty-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.faculty-photo-wrap { position: relative; overflow: hidden; height: 220px; background: #e8edf5; }
.faculty-photo-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.faculty-card:hover .faculty-photo-wrap img { transform: scale(1.05); }
.faculty-placeholder {
    width: 100%; height: 100%; display: flex;
    align-items: center; justify-content: center;
    font-size: 64px; color: var(--primary); opacity: .25;
}
.faculty-info { padding: 20px; }
.faculty-name { font-weight: 600; font-size: 16px; color: var(--primary); }
.faculty-designation { font-size: 13px; color: var(--maroon); font-weight: 500; }
.faculty-dept { font-size: 12px; color: #9ca3af; margin-top: 4px; }

/* ─── Page Banner ────────────────────────────────────────── */
.page-banner {
    background: linear-gradient(135deg, var(--primary), #0f2347);
    padding: 80px 0 60px;
    position: relative; overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute; inset: 0;
    background: url('/public/img/school-pattern.png') repeat;
    opacity: .04;
}
.page-banner-title {
    font-size: 2.5rem; font-weight: 800; color: #fff;
    position: relative; z-index: 1;
}
.breadcrumb-custom { position: relative; z-index: 1; }
.breadcrumb-custom .breadcrumb-item { color: rgba(255,255,255,.7); font-size: 13px; }
.breadcrumb-custom .breadcrumb-item a { color: var(--gold); }
.breadcrumb-custom .breadcrumb-item.active { color: rgba(255,255,255,.6); }
.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ─── Info Boxes ─────────────────────────────────────────── */
.info-box {
    background: var(--light-bg); border-radius: 14px; padding: 28px;
    border-left: 4px solid var(--primary);
}
.info-box.maroon { border-left-color: var(--maroon); }
.info-box.gold   { border-left-color: var(--gold); }

/* ─── Form Styles ────────────────────────────────────────── */
.school-form .form-control,
.school-form .form-select {
    border-color: #d1d5db; border-radius: 12px;
    padding: 14px 18px; font-size: 14.5px;
    transition: border-color .2s, box-shadow .2s;
    background-color: #fcfdfe;
}
.school-form .form-control::placeholder {
    color: #a0aec0 !important;
    font-weight: 400;
    opacity: 0.8;
}
.school-form .form-control:focus,
.school-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26,58,107,.1);
    background-color: #fff;
}
.school-form .form-group { margin-bottom: 28px; }
.school-form label { 
    font-weight: 600; font-size: 14px; 
    margin-bottom: 10px; color: #374151;
    display: block;
}
.btn-submit-school {
    background: var(--primary); color: #fff;
    border: none; border-radius: 12px; padding: 14px 40px;
    font-weight: 600; font-size: 16px; font-family: 'Poppins', sans-serif;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(26,58,107,0.15);
}
.btn-submit-school:hover { 
    background: #0f2347; 
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26,58,107,0.25);
}

/* ─── Contact Info Box ───────────────────────────────────── */
.contact-item {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 20px; background: #fff; border-radius: 14px;
    box-shadow: var(--card-shadow); margin-bottom: 16px;
}
.contact-item-icon {
    width: 50px; height: 50px; border-radius: 12px;
    background: rgba(26,58,107,.08);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: var(--primary); flex-shrink: 0;
}
.contact-item-icon.maroon { background: rgba(139,0,0,.08); color: var(--maroon); }

/* ─── Gallery ────────────────────────────────────────────── */
.gallery-item {
    border-radius: 12px; overflow: hidden;
    position: relative; aspect-ratio: 4/3;
    box-shadow: var(--card-shadow);
    cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(26,58,107,.6);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { font-size: 32px; color: #fff; }

/* ─── Notice Board ───────────────────────────────────────── */
.notice-item {
    background: #fff; border-radius: 12px; padding: 20px 24px;
    border-left: 4px solid var(--primary);
    box-shadow: var(--card-shadow); margin-bottom: 16px;
    transition: transform .2s;
}
.notice-item:hover { transform: translateX(4px); }
.notice-item.pinned { border-left-color: var(--maroon); }
.notice-tag { font-size: 11px; background: rgba(26,58,107,.08); color: var(--primary); padding: 3px 10px; border-radius: 50px; font-weight: 600; }
.notice-tag.pinned { background: rgba(139,0,0,.08); color: var(--maroon); }

/* ─── Footer ─────────────────────────────────────────────── */
.school-footer { background: #0a1628; color: #cfd8e3; }
.footer-main { padding: 64px 0; }
.footer-school-name { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 16px; color: #fff; }
.footer-affiliation { font-size: 11px; color: rgba(255,255,255,.5); }
.footer-tagline { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.6); }
.footer-heading { font-family: 'Poppins', sans-serif; font-weight: 600; color: #fff; letter-spacing: .5px; margin-bottom: 18px; font-size: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.65); font-size: 13.5px; transition: all .2s; display: flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-links a i { font-size: 10px; color: var(--gold); }
.footer-notices { list-style: none; padding: 0; margin: 0; }
.footer-notice-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; color: rgba(255,255,255,.65); font-size: 13px; }
.footer-notice-item i { color: var(--gold); margin-top: 2px; flex-shrink: 0; font-size: 14px; }
.footer-notice-title { line-height: 1.4; }
.footer-notice-date { color: rgba(255,255,255,.4); font-size: 11px; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 13.5px; color: rgba(255,255,255,.7); }
.footer-contact i { color: var(--gold); font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,.7); transition: color .2s; }
.footer-contact a:hover { color: var(--gold); }
.footer-social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-icon {
    width: 38px; height: 38px; border-radius: 8px;
    background: rgba(255,255,255,.1); color: rgba(255,255,255,.7);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; transition: all .2s;
}
.social-icon:hover { background: var(--gold); color: var(--primary); }
.footer-bottom {
    background: #060e1c; padding: 16px 0;
    font-size: 13px; color: rgba(255,255,255,.5);
}

/* ─── Scroll to Top ──────────────────────────────────────── */
.scroll-top-btn {
    position: fixed; bottom: 28px; right: 28px;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--primary); color: #fff; border: none;
    font-size: 18px; cursor: pointer; z-index: 1000;
    opacity: 0; pointer-events: none;
    transition: opacity .3s, transform .2s;
    box-shadow: 0 4px 16px rgba(26,58,107,.35);
    display: flex; align-items: center; justify-content: center;
}
.scroll-top-btn:hover { transform: translateY(-3px); }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-section { min-height: 100vh; padding: 60px 0; }
    .hero-title { font-size: 1.8rem; }
    .hero-stats { gap: 20px; flex-wrap: wrap; }
    .page-banner-title { font-size: 1.75rem; }
}

/* ─── School History Snippet ─────────────────────────────── */
.history-snippet-section {
    background: linear-gradient(135deg, #f8f9fc 0%, #eef2fa 100%);
    position: relative;
    overflow: hidden;
}
.history-snippet-section::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 340px; height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26,58,107,.06) 0%, transparent 70%);
    pointer-events: none;
}
.history-snippet-card {
    background: #fff;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 8px 40px rgba(26,58,107,.10);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(26,58,107,.08);
}
.history-snippet-card::after {
    content: '1995';
    position: absolute;
    bottom: -20px; right: 24px;
    font-size: 100px; font-weight: 800;
    font-family: 'Poppins', sans-serif;
    color: rgba(26,58,107,.04);
    line-height: 1;
    pointer-events: none;
}
.history-year-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, var(--primary), #0f2347);
    color: #fff; border-radius: 50px;
    padding: 8px 22px; font-weight: 700;
    font-family: 'Poppins', sans-serif;
    font-size: 14px; margin-bottom: 20px;
}
.history-year-badge i { color: var(--gold); }
.history-stat-strip {
    display: flex; gap: 0;
    border-radius: 16px; overflow: hidden;
    margin-top: 32px;
    box-shadow: 0 4px 20px rgba(26,58,107,.10);
}
.history-stat-cell {
    flex: 1; text-align: center;
    padding: 20px 16px;
    background: var(--primary); color: #fff;
    border-right: 1px solid rgba(255,255,255,.12);
    transition: background .2s;
}
.history-stat-cell:last-child { border-right: none; }
.history-stat-cell:nth-child(2) { background: var(--maroon); }
.history-stat-cell:nth-child(3) { background: #0f2347; }
.history-stat-cell:hover { filter: brightness(1.1); }
.history-stat-cell .num {
    font-size: 1.75rem; font-weight: 800;
    font-family: 'Poppins', sans-serif; color: var(--gold);
    line-height: 1;
}
.history-stat-cell .lbl {
    font-size: 11px; color: rgba(255,255,255,.7);
    text-transform: uppercase; letter-spacing: .5px; margin-top: 4px;
}
.history-img-wrap {
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 12px 40px rgba(26,58,107,.18);
    position: relative;
}
.history-img-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(0deg, rgba(26,58,107,.85) 0%, transparent 100%);
    padding: 28px 24px 20px;
    color: #fff;
}
.history-img-overlay strong { font-family: 'Poppins', sans-serif; font-size: 16px; }
.history-img-overlay small { font-size: 12px; opacity: .75; display: block; margin-top: 4px; }
.read-more-link {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--primary); font-weight: 700; font-size: 15px;
    transition: gap .2s, color .2s;
    margin-top: 24px;
}
.read-more-link:hover { color: var(--maroon); gap: 14px; }
.read-more-link .rm-icon {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(26,58,107,.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; transition: background .2s, color .2s;
}
.read-more-link:hover .rm-icon { background: var(--primary); color: #fff; }

/* Premium Read More Button */
.btn-history-readmore {
    display: inline-flex; align-items: center; gap: 14px;
    background: linear-gradient(135deg, var(--primary), #0f2347);
    color: #fff; font-weight: 700; font-size: 15px;
    font-family: 'Poppins', sans-serif;
    padding: 14px 28px; border-radius: 12px;
    margin-top: 28px;
    transition: all .3s;
    box-shadow: 0 6px 24px rgba(26,58,107,.25);
    text-decoration: none;
}
.btn-history-readmore:hover {
    background: linear-gradient(135deg, #0f2347, var(--maroon));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(26,58,107,.35);
}
.btn-history-arrow {
    width: 34px; height: 34px; border-radius: 8px;
    background: rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
    transition: background .2s, transform .3s;
}
.btn-history-readmore:hover .btn-history-arrow {
    background: var(--gold);
    color: var(--primary);
    transform: translateX(4px);
}

/* Premium Counters Row */
.history-counters-row {
    display: flex; align-items: center;
    background: #fff;
    border-radius: 18px;
    margin-top: 20px;
    padding: 24px 12px;
    box-shadow: 0 6px 32px rgba(26,58,107,.12);
    border: 1px solid rgba(26,58,107,.07);
}
.history-counter-item {
    flex: 1; text-align: center; padding: 4px 8px;
}
.hc-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem; font-weight: 800;
    color: var(--primary); line-height: 1;
    margin-bottom: 6px;
}
.hc-number span {
    font-size: 1.4rem; color: var(--gold);
}
.hc-icon {
    font-size: 18px; color: var(--gold);
    margin-bottom: 6px;
}
.hc-label {
    font-size: 12px; color: #6b7280;
    text-transform: uppercase; letter-spacing: .5px;
    font-weight: 600;
}
.hc-divider {
    width: 1px; align-self: stretch;
    background: linear-gradient(180deg, transparent, rgba(26,58,107,.15), transparent);
    flex-shrink: 0; margin: 8px 0;
}


/* ─── Milestones Timeline ────────────────────────────────── */
.timeline-section { background: #fff; }
.timeline-wrap { position: relative; padding: 20px 0; }
.timeline-wrap::before {
    content: '';
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--maroon) 100%);
    transform: translateX(-50%);
    border-radius: 2px;
}
.timeline-item {
    display: flex; align-items: flex-start;
    gap: 32px; margin-bottom: 48px;
    position: relative;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item.right { flex-direction: row-reverse; }
.timeline-content {
    flex: 1; background: #fff;
    border-radius: 18px; padding: 28px 32px;
    box-shadow: 0 4px 24px rgba(26,58,107,.09);
    border: 1px solid rgba(26,58,107,.07);
    transition: box-shadow .3s, transform .3s;
    position: relative;
}
.timeline-content:hover {
    box-shadow: 0 12px 40px rgba(26,58,107,.14);
    transform: translateY(-3px);
}
.timeline-content::before {
    content: '';
    position: absolute; top: 28px;
    width: 0; height: 0;
    border-style: solid;
}
.timeline-item:not(.right) .timeline-content::before {
    right: -14px;
    border-width: 10px 0 10px 14px;
    border-color: transparent transparent transparent #fff;
    filter: drop-shadow(3px 0 3px rgba(26,58,107,.05));
}
.timeline-item.right .timeline-content::before {
    left: -14px;
    border-width: 10px 14px 10px 0;
    border-color: transparent #fff transparent transparent;
    filter: drop-shadow(-3px 0 3px rgba(26,58,107,.05));
}
.timeline-dot {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #0f2347);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold); font-size: 20px;
    box-shadow: 0 0 0 6px rgba(26,58,107,.12), 0 4px 16px rgba(26,58,107,.3);
    flex-shrink: 0; position: relative; z-index: 2;
    align-self: flex-start; margin-top: 14px;
}
.timeline-item.right .timeline-dot {
    background: linear-gradient(135deg, var(--maroon), #660000);
    box-shadow: 0 0 0 6px rgba(139,0,0,.12), 0 4px 16px rgba(139,0,0,.3);
    color: var(--gold);
}
.timeline-year {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary), #0f2347);
    color: var(--gold);
    font-weight: 800; font-family: 'Poppins', sans-serif;
    font-size: 13px; padding: 4px 14px; border-radius: 50px;
    margin-bottom: 10px;
}
.timeline-item.right .timeline-year {
    background: linear-gradient(90deg, var(--maroon), #660000);
}
.timeline-content h5 {
    font-family: 'Poppins', sans-serif; font-weight: 700;
    color: var(--primary); margin-bottom: 8px; font-size: 17px;
}
.timeline-content p {
    color: #6b7280; font-size: 14.5px; line-height: 1.7; margin: 0;
}

/* ─── Testimonials ───────────────────────────────────────── */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary) 0%, #0f2347 60%, #1a1040 100%);
    position: relative; overflow: hidden;
}
.testimonials-section::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(212,160,23,.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139,0,0,.1) 0%, transparent 50%);
    pointer-events: none;
}
.testimonials-section .section-title { color: #fff; }
.testimonials-section .section-subtitle { color: rgba(255,255,255,.65); }
.testimonials-section .divider-line { background: linear-gradient(90deg, var(--gold), rgba(212,160,23,.3)); }
.testimonial-card {
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px; padding: 32px;
    height: 100%;
    transition: background .3s, transform .3s, box-shadow .3s;
    position: relative;
}
.testimonial-card:hover {
    background: rgba(255,255,255,.11);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.testimonial-card .quote-mark {
    font-size: 72px; line-height: 1;
    color: var(--gold); font-family: 'Poppins', sans-serif;
    font-weight: 900; opacity: .3;
    position: absolute; top: 16px; left: 24px;
}
.testimonial-stars { color: var(--gold); font-size: 14px; margin-bottom: 16px; }
.testimonial-text {
    color: rgba(255,255,255,.85); font-size: 15px;
    line-height: 1.75; font-style: italic; margin-bottom: 24px;
    position: relative; z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
    width: 50px; height: 50px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #b8860b);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 18px; color: var(--primary);
    font-family: 'Poppins', sans-serif; flex-shrink: 0;
}
.testimonial-author-info strong {
    display: block; color: #fff; font-size: 15px;
    font-weight: 600; font-family: 'Poppins', sans-serif;
}
.testimonial-author-info span {
    font-size: 12.5px; color: rgba(255,255,255,.55);
}

/* ─── Value Propositions ─────────────────────────────────── */
.value-prop-section { background: #f8f9fc; }
.value-card {
    background: #fff; border-radius: 20px;
    padding: 36px 28px; text-align: center;
    box-shadow: 0 4px 24px rgba(26,58,107,.07);
    border: 1px solid rgba(26,58,107,.06);
    height: 100%;
    transition: all .3s;
    position: relative; overflow: hidden;
}
.value-card::before {
    content: ''; position: absolute;
    bottom: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0); transform-origin: left;
    transition: transform .3s;
}
.value-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(26,58,107,.13); }
.value-card:hover::before { transform: scaleX(1); }
.value-icon-wrap {
    width: 76px; height: 76px; border-radius: 20px;
    margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px;
    transition: transform .3s;
}
.value-card:hover .value-icon-wrap { transform: scale(1.1) rotate(-5deg); }
.value-icon-wrap.blue { background: linear-gradient(135deg, rgba(26,58,107,.1), rgba(26,58,107,.18)); color: var(--primary); }
.value-icon-wrap.red  { background: linear-gradient(135deg, rgba(139,0,0,.08), rgba(139,0,0,.16)); color: var(--maroon); }
.value-icon-wrap.gold { background: linear-gradient(135deg, rgba(212,160,23,.12), rgba(212,160,23,.22)); color: #b8860b; }
.value-icon-wrap.teal { background: linear-gradient(135deg, rgba(0,128,128,.08), rgba(0,128,128,.16)); color: #007070; }
.value-card h5 {
    font-family: 'Poppins', sans-serif; font-weight: 700;
    color: var(--primary); margin-bottom: 10px; font-size: 17px;
}
.value-card p { color: #6b7280; font-size: 14px; line-height: 1.7; margin: 0; }

/* ─── Events Strip ───────────────────────────────────────── */
.events-strip-section { background: #fff; }
.event-card {
    background: #fff; border-radius: 18px;
    box-shadow: 0 4px 24px rgba(26,58,107,.08);
    border: 1px solid rgba(26,58,107,.07);
    overflow: hidden; height: 100%;
    transition: all .3s;
    display: flex; flex-direction: column;
}
.event-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(26,58,107,.13); }
.event-date-badge {
    background: linear-gradient(135deg, var(--primary), #0f2347);
    color: #fff; padding: 18px 20px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    min-width: 80px;
}
.event-date-badge .day {
    font-size: 2rem; font-weight: 800;
    font-family: 'Poppins', sans-serif;
    color: var(--gold); line-height: 1;
}
.event-date-badge .month {
    font-size: 12px; text-transform: uppercase;
    letter-spacing: 1px; color: rgba(255,255,255,.75);
    margin-top: 2px;
}
.event-body { padding: 20px 24px; flex: 1; display: flex; align-items: center; gap: 20px; }
.event-info h6 {
    font-family: 'Poppins', sans-serif; font-weight: 700;
    color: var(--primary); margin-bottom: 6px; font-size: 15px;
}
.event-info p { color: #9ca3af; font-size: 13px; margin: 0; line-height: 1.5; }
.event-tag {
    font-size: 11px; font-weight: 600;
    padding: 3px 10px; border-radius: 50px;
    display: inline-block; margin-bottom: 6px;
}
.event-tag.cultural { background: rgba(139,0,0,.08); color: var(--maroon); }
.event-tag.academic { background: rgba(26,58,107,.08); color: var(--primary); }
.event-tag.sports   { background: rgba(0,128,0,.08); color: #276327; }
.event-tag.annual   { background: rgba(212,160,23,.12); color: #92700a; }

/* ─── Responsive for new sections ───────────────────────── */
@media (max-width: 768px) {
    .timeline-wrap::before { left: 24px; }
    .timeline-item, .timeline-item.right { flex-direction: column; padding-left: 60px; }
    .timeline-dot { position: absolute; left: 0; top: 14px; width: 44px; height: 44px; font-size: 16px; }
    .timeline-item:not(.right) .timeline-content::before,
    .timeline-item.right .timeline-content::before { display: none; }
    .history-snippet-card { padding: 28px 20px; }
    .history-stat-strip { flex-wrap: wrap; }
    .history-stat-cell { flex: 0 0 50%; }
}


/* ─── Mobile Offcanvas Drawer (Premium Glassmorphism) ─── */
.offcanvas-backdrop.show {
    opacity: 0.8;
    background-color: #000;
}
.school-offcanvas {
    background: rgba(10, 10, 10, 0.85) !important; /* Premium dark black transparent */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #fff;
    width: 320px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 4px 0 40px rgba(0,0,0,0.5);
    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.school-offcanvas .offcanvas-header {
    padding: 24px 24px 16px 24px;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.school-offcanvas .offcanvas-body {
    padding: 20px 0;
}
.school-offcanvas .nav-item {
    border: none !important;
    margin-bottom: 6px;
}
.school-offcanvas .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 15.5px;
    font-weight: 500;
    padding: 12px 24px !important;
    margin: 0 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.school-offcanvas .nav-link.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12) !important; /* Transparent light black/white overlay */
}
.school-offcanvas .nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    transform: translateX(4px);
}
.school-offcanvas .nav-link i {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.5);
}
.school-offcanvas .nav-link.active i,
.school-offcanvas .nav-link:hover i {
    opacity: 1;
    transform: translateX(0);
}
.social-icon-mobile {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
}
.social-icon-mobile:hover {
    background: #fff;
    border-color: #fff;
    color: #000;
    transform: translateY(-3px) scale(1.05);
}
.school-offcanvas .btn-close-white {
    opacity: 0.6;
    transition: opacity 0.3s;
}
.school-offcanvas .btn-close-white:hover {
    opacity: 1;
}
.school-offcanvas .btn-admission-cta {
    background: linear-gradient(135deg, var(--gold), #b8860b);
    color: var(--primary) !important;
    border: none;
    font-weight: 700;
    margin: 0 16px;
    width: calc(100% - 32px) !important;
    border-radius: 12px;
}
.school-offcanvas .btn-admission-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 160, 23, 0.3) !important;
}
.navbar-toggler:focus {
    box-shadow: none;
}

@media (max-width: 991.98px) {
    .school-navbar {
        padding: 5px 0;
    }
    .navbar-school-name {
        font-size: 13px;
    }
    .navbar-affiliation {
        font-size: 9px;
    }
}
