/* ═══════════════════════════════════════════════════════════
   HOMEPAGE STYLES — Modern Assam School Theme
   Palette: Forest #0d3b2e, Gold #c9a227, Tea #2d6a4f,
            Gamosa #d62828, Ivory #fefae0, Slate #1e293b
   ═══════════════════════════════════════════════════════════ */

/* ── GLOBAL ── */
* { box-sizing: border-box; font-family: 'Inter', sans-serif; }
html { scroll-behavior: smooth; scroll-padding-top: 160px; }
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-weight: 400; color: #1e293b; background: #fff;
}
.sec-heading {
    font-weight: 800; margin-bottom: 8px; position: relative;
    padding-bottom: 16px; font-size: 2rem; color: #0d3b2e;
    letter-spacing: -0.3px;
}
.sec-heading::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 50px; height: 4px; background: #c9a227; border-radius: 4px;
}
.sec-sub { color: #64748b; font-size: 1rem; font-weight: 400; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.btn-primary-theme {
    background: linear-gradient(135deg, #0d3b2e, #2d6a4f); color: #fff; border: none;
    padding: 11px 28px; border-radius: 10px; font-weight: 700; transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(13,59,46,0.25);
}
.btn-primary-theme:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,59,46,0.35); color: #fff; }
.btn-gold {
    background: linear-gradient(135deg, #c9a227, #dab83a); color: #0d3b2e; border: none;
    padding: 11px 28px; border-radius: 10px; font-weight: 700; transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(201,162,39,0.3);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,162,39,0.45); color: #0d3b2e; }
.btn-outline-gold { border: 2px solid #c9a227; color: #c9a227; background: transparent; padding: 10px 26px; border-radius: 10px; font-weight: 700; transition: all 0.3s; }
.btn-outline-gold:hover { background: #c9a227; color: #0d3b2e; }

/* ═══════════════════════════════════════
   HERO BANNER
   ═══════════════════════════════════════ */
.hero-section { position: relative; overflow: hidden; }
.hero-section .carousel-item img { height: 520px; object-fit: cover; }
.hero-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(13,59,46,0.82) 0%, rgba(30,100,70,0.55) 50%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}
.hero-section .carousel-caption {
    z-index: 2; bottom: 0; top: 0; left: 0; right: 0;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
    padding: 60px 8%; text-align: left;
}
.hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(201,162,39,0.15); backdrop-filter: blur(10px);
    color: #c9a227; padding: 8px 20px; border: 1px solid rgba(201,162,39,0.4);
    border-radius: 50px; font-weight: 700; font-size: 0.82rem; margin-bottom: 18px;
    letter-spacing: 0.5px; text-transform: uppercase;
}
.hero-section .carousel-caption h1 {
    font-size: 2.8rem; font-weight: 900; color: #fff; line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3); margin-bottom: 14px; max-width: 680px;
    letter-spacing: -0.5px;
}
.hero-sub {
    font-size: 1.05rem; color: rgba(255,255,255,0.85); max-width: 560px;
    line-height: 1.7; font-weight: 400;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.btn-hero-primary {
    background: #c9a227; color: #0d3b2e; border: none;
    padding: 13px 32px; border-radius: 12px; font-weight: 800; font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(201,162,39,0.4); transition: all 0.3s;
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(201,162,39,0.55); color: #0d3b2e; background: #dab83a; }
.btn-hero-outline {
    background: rgba(255,255,255,0.08); backdrop-filter: blur(6px);
    color: #fff; border: 2px solid rgba(255,255,255,0.4);
    padding: 12px 28px; border-radius: 12px; font-weight: 700; font-size: 0.9rem; transition: all 0.3s;
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.18); border-color: #fff; color: #fff; transform: translateY(-3px); }
.hero-section .carousel-indicators { z-index: 3; margin-bottom: 26px; }
.hero-section .carousel-indicators button {
    width: 10px; height: 10px; border-radius: 50%; opacity: 0.4;
    border: 2px solid #fff; background: transparent; transition: all 0.3s;
}
.hero-section .carousel-indicators button.active { opacity: 1; background: #c9a227; border-color: #c9a227; width: 32px; border-radius: 5px; }
.hero-section .carousel-control-prev,
.hero-section .carousel-control-next { z-index: 3; width: 50px; }
.hero-fallback {
    position: relative;
    background: linear-gradient(135deg, #0d3b2e 0%, #164a38 40%, #2d6a4f 100%);
    color: #fff; height: 520px; display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-fallback-inner { position: relative; z-index: 2; padding: 40px; }
.hero-fallback h1 { font-size: 2.6rem; font-weight: 900; letter-spacing: -0.5px; }

/* ── Achievements Sidebar ── */
.achievements-sidebar {
    height: 520px; display: flex; flex-direction: column;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-left: 3px solid #c9a227;
}
.achievements-sidebar-header {
    padding: 14px 18px; font-size: 0.9rem; font-weight: 700; color: #0d3b2e;
    background: linear-gradient(135deg, #c9a227, #dab83a);
    text-align: center; letter-spacing: 0.5px; flex-shrink: 0; text-transform: uppercase;
}
.achievements-marquee-wrap { flex: 1; overflow: hidden; position: relative; }
.achievements-marquee {
    display: flex; flex-direction: column;
    animation: ach-scroll-up 22s linear infinite;
}
.achievements-marquee:hover { animation-play-state: paused; }
@keyframes ach-scroll-up { 0%{transform:translateY(0)} 100%{transform:translateY(-50%)} }
.ach-marquee-item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 16px; border-bottom: 1px solid rgba(255,255,255,0.06); transition: background 0.2s;
}
.ach-marquee-item:hover { background: rgba(201,162,39,0.06); }
.ach-marquee-icon {
    width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 0.85rem;
}
.ach-marquee-text { flex: 1; min-width: 0; }
.ach-marquee-text strong { display: block; color: #fff; font-size: 0.84rem; font-weight: 600; line-height: 1.3; margin-bottom: 3px; }
.ach-marquee-text p { margin: 0; font-size: 0.74rem; color: rgba(255,255,255,0.5); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ach-marquee-cat { font-size: 0.65rem; color: #c9a227; font-weight: 600; }
.ach-marquee-file { font-size: 0.7rem; color: rgba(255,255,255,0.5); margin-left: 6px; }

@media (max-width: 767.98px) {
    .hero-section .carousel-item img, .hero-fallback { height: 280px !important; }
    .achievements-sidebar { height: 220px !important; border-left: none; border-top: 3px solid #c9a227; }
    .hero-section .carousel-caption {
        padding: 16px 5%; justify-content: center; align-items: center; text-align: center;
    }
    .hero-section .carousel-caption h1 { font-size: 1.15rem; max-width: 100%; line-height: 1.25; margin-bottom: 8px; }
    .hero-sub { font-size: 0.78rem; max-width: 100%; line-height: 1.5; margin-bottom: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .hero-tag { font-size: 0.65rem; padding: 5px 12px; margin-bottom: 10px; }
    .hero-btns { margin-top: 12px; gap: 8px; justify-content: center; }
    .btn-hero-primary, .btn-hero-outline { padding: 8px 16px; font-size: 0.78rem; border-radius: 8px; }
    .hero-fallback { height: 280px !important; }
    .hero-fallback h1 { font-size: 1.15rem; }
    .hero-fallback-inner { padding: 20px 16px; }
    .hero-section .carousel-indicators { margin-bottom: 10px; }
    .hero-section .carousel-indicators button { width: 8px; height: 8px; }
    .hero-section .carousel-indicators button.active { width: 22px; }
    .hero-section .carousel-control-prev, .hero-section .carousel-control-next { width: 30px; }
    .ach-marquee-item { padding: 10px 14px; }
    .ach-marquee-icon { width: 32px; height: 32px; font-size: 0.75rem; border-radius: 8px; }
    .ach-marquee-text strong { font-size: 0.78rem; }
    .ach-marquee-text p { font-size: 0.7rem; }
}

/* ═══════════════════════════════════════
   NOTIFICATION TICKER
   ═══════════════════════════════════════ */
.ticker-bar {
    display: flex; align-items: stretch; background: #fff;
    border-bottom: 1px solid #e2e8f0; overflow: hidden; height: 46px;
}
.ticker-label {
    background: linear-gradient(135deg, #0d3b2e, #2d6a4f); color: #fff;
    display: flex; align-items: center; gap: 8px; padding: 0 22px;
    font-weight: 700; font-size: 0.82rem; white-space: nowrap; flex-shrink: 0;
    position: relative; z-index: 2;
}
.ticker-label i { animation: bell-ring 1.5s ease-in-out infinite; color: #c9a227; }
@keyframes bell-ring { 0%,100%{transform:rotate(0)}15%{transform:rotate(14deg)}30%{transform:rotate(-12deg)}45%{transform:rotate(8deg)}60%{transform:rotate(0)} }
.ticker-label::after {
    content: ''; position: absolute; right: -14px; top: 0; bottom: 0;
    border-left: 14px solid #2d6a4f; border-top: 23px solid transparent; border-bottom: 23px solid transparent;
}
.ticker-track { flex: 1; overflow: hidden; display: flex; align-items: center; padding-left: 20px; }
.ticker-scroll { display: flex; align-items: center; white-space: nowrap; animation: ticker-slide 40s linear infinite; }
.ticker-scroll:hover { animation-play-state: paused; }
@keyframes ticker-slide { 0%{transform:translateX(0)}100%{transform:translateX(-50%)} }
.ticker-item {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 24px 6px 14px;
    text-decoration: none; color: #1e293b; font-size: 0.85rem; font-weight: 600;
    border-right: 1px solid #e2e8f0; transition: color 0.2s; flex-shrink: 0;
}
.ticker-item:hover { color: #0d3b2e; }
.tbadge { font-size: 0.58rem; font-weight: 700; padding: 3px 10px; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.8px; }
.tbadge-news { background: #ecfdf5; color: #0d3b2e; }
.tbadge-notice { background: #fef3c7; color: #92400e; }
.ticker-date { font-size: 0.7rem; color: #94a3b8; font-weight: 500; }

/* ═══════════════════════════════════════
   STATS COUNTER
   ═══════════════════════════════════════ */
.stats-bar {
    background: linear-gradient(135deg, #0d3b2e 0%, #164a38 50%, #2d6a4f 100%);
    padding: 40px 0; color: #fff; position: relative; overflow: hidden;
}
.stats-bar::before {
    content: ''; position: absolute; top: -60%; right: -10%;
    width: 400px; height: 400px; background: rgba(201,162,39,0.06);
    border-radius: 50%;
}
.stat-box { text-align: center; padding: 20px; }
.stat-box i { font-size: 1.6rem; margin-bottom: 10px; color: #c9a227; }
.stat-box h2 { font-weight: 900; font-size: 2.6rem; margin: 0; letter-spacing: -1px; }
.stat-box p { margin: 0; font-size: 0.85rem; opacity: 0.7; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }

/* ═══════════════════════════════════════
   ABOUT SCHOOL
   ═══════════════════════════════════════ */
.sec-about { background: #fff; }
.about-card {
    background: #f8fafc; border-radius: 16px; padding: 30px; height: 100%;
    border: 1px solid #e2e8f0; transition: all 0.4s; position: relative; overflow: hidden;
}
.about-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, #0d3b2e, #c9a227); opacity: 0; transition: opacity 0.3s;
}
.about-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); border-color: transparent; }
.about-card:hover::before { opacity: 1; }
.about-card i { color: #0d3b2e; }
.about-card h5 { font-weight: 700; color: #0d3b2e; margin-bottom: 12px; }
.about-card p { color: #475569; font-size: 0.9rem; line-height: 1.7; }
.person-photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid #c9a227; margin-bottom: 10px; }
.person-ph {
    width: 80px; height: 80px; border-radius: 50%;
    background: linear-gradient(135deg, #0d3b2e, #2d6a4f);
    display: flex; align-items: center; justify-content: center; color: #c9a227; font-size: 1.8rem; margin-bottom: 10px;
}

/* ═══════════════════════════════════════
   ACHIEVEMENTS
   ═══════════════════════════════════════ */
.sec-achievements { background: #f8fafc; }
.achievement-card {
    background: #fff; border-radius: 16px; padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04); transition: all 0.3s;
    height: 100%; display: flex; flex-direction: column;
    border: 1px solid #e2e8f0; position: relative; overflow: hidden;
}
.achievement-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, #0d3b2e, #c9a227);
}
.achievement-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(0,0,0,0.1); }
.achievement-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px; font-size: 1.3rem; color: #0d3b2e;
}
.achievement-content h5 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: #0f172a; line-height: 1.3; }
.achievement-content p { font-size: 0.88rem; color: #64748b; margin-bottom: 12px; line-height: 1.6; flex: 1; }
.achievement-meta { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.achievement-meta .badge { font-size: 0.68rem; padding: 4px 10px; border-radius: 6px; }
.achievement-meta small { font-size: 0.75rem; color: #94a3b8; }

/* ═══════════════════════════════════════
   ACADEMIC STRUCTURE (Assam Pattern)
   ═══════════════════════════════════════ */
.sec-academics { background: #f8fafc; }
.class-card {
    background: #fff; border-radius: 14px; padding: 22px 16px; text-align: center;
    border: 1px solid #e2e8f0; transition: all 0.3s; position: relative; overflow: hidden;
}
.class-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: #c9a227; transform: scaleX(0); transition: transform 0.3s;
}
.class-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.class-card:hover::after { transform: scaleX(1); }
.class-card i { font-size: 1.6rem; color: #2d6a4f; margin-bottom: 8px; display: block; }
.class-card h6 { font-weight: 700; color: #0f172a; margin: 0; font-size: 0.88rem; }
.stream-badge {
    display: inline-block; background: linear-gradient(135deg, #0d3b2e, #2d6a4f); color: #fff;
    padding: 12px 30px; border-radius: 12px; font-weight: 700; font-size: 0.95rem; margin: 5px;
    transition: all 0.3s; box-shadow: 0 3px 12px rgba(13,59,46,0.2);
}
.stream-badge:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(13,59,46,0.3); }
.level-label {
    display: inline-block; background: #ecfdf5; color: #0d3b2e;
    padding: 6px 16px; border-radius: 8px; font-weight: 700; font-size: 0.78rem;
    margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px;
    border: 1px solid #d1fae5;
}

/* ═══════════════════════════════════════
   ADMISSION OPEN
   ═══════════════════════════════════════ */
.sec-admission {
    background: linear-gradient(135deg, #0d3b2e 0%, #164a38 50%, #0f172a 100%); color: #fff;
    position: relative; overflow: hidden;
}
.sec-admission::before {
    content: ''; position: absolute; top: -30%; right: -15%; width: 500px; height: 500px;
    background: rgba(201,162,39,0.08); border-radius: 50%;
}
.sec-admission::after {
    content: ''; position: absolute; bottom: -40%; left: -10%; width: 400px; height: 400px;
    background: rgba(201,162,39,0.05); border-radius: 50%;
}
.adm-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(201,162,39,0.15); backdrop-filter: blur(8px);
    color: #c9a227; padding: 8px 20px; border: 1px solid rgba(201,162,39,0.3);
    border-radius: 50px; font-weight: 700; font-size: 0.82rem; margin-bottom: 16px;
    text-transform: uppercase; letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════
   FACILITIES
   ═══════════════════════════════════════ */
.sec-facilities { background: #fff; }
.facility-card {
    text-align: center; padding: 30px 20px; background: #f8fafc; border-radius: 16px;
    transition: all 0.4s; height: 100%; border: 1px solid #e2e8f0;
}
.facility-card:hover {
    background: linear-gradient(135deg, #0d3b2e, #2d6a4f); color: #fff;
    transform: translateY(-8px); box-shadow: 0 16px 40px rgba(13,59,46,0.25);
    border-color: transparent;
}
.facility-card:hover i, .facility-card:hover h6, .facility-card:hover p { color: #fff !important; }
.facility-card:hover i { color: #c9a227 !important; }
.facility-card i { font-size: 2.2rem; color: #2d6a4f; margin-bottom: 14px; display: block; transition: color 0.4s; }
.facility-card h6 { font-weight: 700; color: #0f172a; transition: color 0.4s; }
.facility-card p { font-size: 0.82rem; color: #64748b; margin: 0; transition: color 0.4s; }

/* ═══════════════════════════════════════
   HOSTEL
   ═══════════════════════════════════════ */
.sec-hostel { background: #f8fafc; }
.hostel-card {
    background: #fff; border-radius: 16px; padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04); height: 100%;
    transition: all 0.3s; border: 1px solid #e2e8f0;
}
.hostel-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.hicon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 16px; }

/* ═══════════════════════════════════════
   TRANSPORT
   ═══════════════════════════════════════ */
.sec-transport { background: #fff; }
.route-card {
    background: #f8fafc; border-radius: 14px; padding: 18px 22px;
    border-left: 4px solid #c9a227; margin-bottom: 12px; transition: all 0.3s;
}
.route-card:hover { transform: translateX(5px); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.transport-feat { text-align: center; padding: 20px; background: #f8fafc; border-radius: 14px; }
.transport-feat i { font-size: 1.8rem; color: #c9a227; margin-bottom: 10px; display: block; }
.transport-feat h6 { font-weight: 700; font-size: 0.86rem; color: #0f172a; }
.transport-feat p { font-size: 0.78rem; color: #64748b; margin: 0; }

/* ═══════════════════════════════════════
   STAFF
   ═══════════════════════════════════════ */
.sec-staff { background: #f8fafc; }
.staff-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04); transition: all 0.3s; text-align: center;
    border: 1px solid #e2e8f0;
}
.staff-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.staff-photo { width: 100%; height: 200px; object-fit: cover; }
.staff-ph {
    width: 100%; height: 200px;
    background: linear-gradient(135deg, #0d3b2e, #2d6a4f);
    display: flex; align-items: center; justify-content: center; color: #c9a227; font-size: 2.5rem; font-weight: 700;
}
.staff-info { padding: 16px; }
.sname { font-weight: 700; color: #0f172a; font-size: 0.92rem; }
.sdesig { font-size: 0.78rem; color: #0d3b2e; font-weight: 600; }
.squal { font-size: 0.74rem; color: #94a3b8; }

/* ═══════════════════════════════════════
   NOTICE BOARD
   ═══════════════════════════════════════ */
.sec-notices { background: #fff; }
.notice-card {
    background: #f8fafc; border-radius: 14px; padding: 18px 22px; margin-bottom: 12px;
    border-left: 4px solid #0d3b2e; transition: all 0.3s;
}
.notice-card:hover { transform: translateX(5px); box-shadow: 0 6px 20px rgba(0,0,0,0.06); }
.ndate { font-size: 0.74rem; color: #94a3b8; font-weight: 600; }
.ntitle { font-weight: 700; color: #0f172a; font-size: 0.92rem; }
.ndesc { font-size: 0.84rem; color: #64748b; margin-top: 4px; }

/* ═══════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════ */
.sec-gallery { background: #f8fafc; }
.gallery-card { border-radius: 14px; overflow: hidden; position: relative; height: 220px; cursor: pointer; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.gallery-card:hover img { transform: scale(1.08); }
.gallery-ov {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(13,59,46,0.9)); color: #fff;
    padding: 16px; transform: translateY(100%); transition: transform 0.3s;
}
.gallery-card:hover .gallery-ov { transform: translateY(0); }
.gallery-ov h6 { font-weight: 700; font-size: 0.85rem; margin: 0; }
.gallery-ov small { opacity: 0.8; }

/* ═══════════════════════════════════════
   RESULTS (SEBA / AHSEC)
   ═══════════════════════════════════════ */
.sec-results { background: #fff; }
.result-card {
    background: #f8fafc; border-radius: 16px; padding: 28px;
    text-align: center; border: 1px solid #e2e8f0; transition: all 0.3s; height: 100%;
}
.result-card:hover { border-color: #0d3b2e; box-shadow: 0 8px 28px rgba(13,59,46,0.1); transform: translateY(-4px); }
.result-card i { font-size: 2.2rem; color: #0d3b2e; margin-bottom: 12px; }
.result-card h6 { font-weight: 700; color: #0f172a; }
.result-card p { font-size: 0.82rem; color: #64748b; margin: 0 0 10px; }
.btn-sm.btn-primary-theme { padding: 8px 20px; font-size: 0.78rem; }

/* ═══════════════════════════════════════
   DOWNLOADS
   ═══════════════════════════════════════ */
.sec-downloads { background: #f8fafc; }
.dl-item {
    background: #fff; border-radius: 12px; padding: 16px 22px;
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px; border: 1px solid #e2e8f0; transition: all 0.3s;
}
.dl-item:hover { transform: translateX(5px); box-shadow: 0 4px 16px rgba(0,0,0,0.05); }
.dl-item i { font-size: 1.3rem; color: #0d3b2e; margin-right: 14px; }
.btn-outline-maroon { border: 2px solid #0d3b2e; color: #0d3b2e; padding: 8px 22px; border-radius: 10px; font-weight: 700; transition: all 0.3s; background: transparent; font-size: 0.82rem; }
.btn-outline-maroon:hover { background: #0d3b2e; color: #fff; }
.btn-maroon { background: linear-gradient(135deg, #0d3b2e, #2d6a4f); color: #fff; border: none; padding: 10px 24px; border-radius: 10px; font-weight: 700; transition: all 0.3s; }
.btn-maroon:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13,59,46,0.3); color: #fff; }

/* ═══════════════════════════════════════
   LOGIN PORTALS
   ═══════════════════════════════════════ */
.sec-login {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #fff;
}
.login-card {
    background: rgba(255,255,255,0.06); backdrop-filter: blur(12px); border-radius: 16px;
    padding: 30px; text-align: center; transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.1); height: 100%;
}
.login-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-5px); border-color: #c9a227; }
.login-card i { font-size: 2.2rem; margin-bottom: 14px; }
.login-card h5 { font-weight: 700; font-size: 1.1rem; }
.login-card p { font-size: 0.82rem; opacity: 0.65; }
.login-card a { color: #c9a227; font-weight: 700; text-decoration: none; transition: color 0.2s; }
.login-card a:hover { color: #fff; }

/* ═══════════════════════════════════════
   DISCLOSURE
   ═══════════════════════════════════════ */
.sec-disclosure { background: #fff; }
.disc-card {
    background: #f8fafc; border-radius: 14px; padding: 22px; text-align: center;
    height: 100%; transition: all 0.3s; border: 1px solid #e2e8f0;
}
.disc-card:hover { border-color: #0d3b2e; box-shadow: 0 6px 20px rgba(0,0,0,0.06); transform: translateY(-3px); }
.disc-card i { font-size: 1.8rem; color: #0d3b2e; margin-bottom: 10px; display: block; }
.disc-card h6 { font-weight: 700; font-size: 0.88rem; color: #0f172a; }

/* ═══════════════════════════════════════
   DISE INFO
   ═══════════════════════════════════════ */
.sec-dise { background: #f8fafc; }
.dise-card {
    background: #fff; border-radius: 16px; padding: 28px; text-align: center;
    border: 1px solid #e2e8f0; transition: all 0.3s;
}
.dise-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.dise-card i { font-size: 1.8rem; color: #c9a227; margin-bottom: 12px; }
.dise-card h6 { font-size: 0.78rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px; font-weight: 600; }
.dise-card h4 { font-weight: 800; color: #0f172a; margin: 0; }

/* ═══════════════════════════════════════
   ASSAM INFO BAR (New Section)
   ═══════════════════════════════════════ */
.assam-boards-bar {
    background: #fefae0; padding: 28px 0; border-top: 1px solid #fde68a; border-bottom: 1px solid #fde68a;
}
.board-chip {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 10px;
    padding: 10px 20px; font-weight: 600; font-size: 0.85rem; color: #0d3b2e;
    transition: all 0.3s; margin: 4px;
}
.board-chip:hover { border-color: #c9a227; box-shadow: 0 4px 12px rgba(201,162,39,0.15); transform: translateY(-2px); }
.board-chip i { color: #c9a227; }

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.site-footer { background: #0f172a; color: #fff; padding: 56px 0 0; }
.site-footer h5 {
    font-weight: 700; margin-bottom: 20px; font-size: 1.05rem;
    position: relative; padding-bottom: 12px;
}
.site-footer h5::after { content: ''; position: absolute; bottom: 0; left: 0; width: 36px; height: 3px; background: #c9a227; border-radius: 3px; }
.site-footer p, .site-footer li, .site-footer a { color: rgba(255,255,255,0.7); font-size: 0.88rem; font-weight: 400; }
.site-footer a:hover { color: #c9a227; text-decoration: none; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { padding: 5px 0; }
.footer-links li::before { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; margin-right: 8px; color: #c9a227; font-size: 0.75rem; }
.fci { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.fci i { color: #c9a227; margin-top: 3px; font-size: 0.85rem; }
.footer-map iframe { width: 100%; height: 200px; border-radius: 12px; border: none; filter: brightness(0.85) contrast(1.1); }
.footer-bottom {
    background: rgba(0,0,0,0.3); padding: 16px 0; margin-top: 44px; text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-bottom p { margin: 0; font-size: 0.82rem; opacity: 0.6; }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media(max-width:991px) {
    .hero-section .carousel-item img, .hero-fallback { height: 400px !important; }
    .achievements-sidebar { height: 400px !important; }
    .hero-section .carousel-caption { padding: 30px 5%; }
    .hero-section .carousel-caption h1 { font-size: 1.8rem; }
    .hero-sub { font-size: 0.92rem; }
    .btn-hero-primary, .btn-hero-outline { padding: 10px 22px; font-size: 0.85rem; }
    .ticker-label span { display: none; }
    .ticker-label { padding: 0 14px; }
    .about-card { padding: 22px; }
    .sec-heading { font-size: 1.6rem; }
    .sec-sub { font-size: 0.9rem; margin-bottom: 28px; }
}
@media(max-width:767px) {
    .hero-section .carousel-item img, .hero-fallback { height: 280px !important; }
    .achievements-sidebar { height: 220px !important; }
    .ticker-bar { height: 38px; }
    .ticker-item { font-size: 0.78rem; padding: 4px 16px 4px 10px; }
    .tbadge { font-size: 0.52rem; padding: 2px 7px; }
    .ticker-date { font-size: 0.62rem; }
    .stats-bar { padding: 24px 0; }
    .stat-box { padding: 12px 8px; }
    .stat-box i { font-size: 1.2rem; margin-bottom: 6px; }
    .stat-box h2 { font-size: 1.8rem; }
    .stat-box p { font-size: 0.68rem; letter-spacing: 0.5px; }
    .sec-heading { font-size: 1.3rem; padding-bottom: 12px; }
    .sec-sub { font-size: 0.85rem; margin-bottom: 24px; }
    .about-card { padding: 20px; border-radius: 12px; }
    .about-card h5 { font-size: 0.95rem; }
    .about-card p { font-size: 0.82rem; }
    .about-card i { font-size: 1.4rem !important; margin-bottom: 10px !important; }
    .person-photo, .person-ph { width: 64px; height: 64px; }
    .achievement-card { padding: 20px; border-radius: 12px; }
    .achievement-icon { width: 44px; height: 44px; font-size: 1.1rem; border-radius: 10px; margin-bottom: 12px; }
    .achievement-content h5 { font-size: 0.92rem; }
    .achievement-content p { font-size: 0.82rem; }
    .class-card { padding: 16px 12px; border-radius: 10px; }
    .class-card i { font-size: 1.3rem; }
    .class-card h6 { font-size: 0.8rem; }
    .stream-badge { padding: 8px 18px; font-size: 0.82rem; border-radius: 8px; }
    .level-label { font-size: 0.7rem; padding: 4px 12px; }
    .facility-card { padding: 20px 14px; border-radius: 12px; }
    .facility-card i { font-size: 1.8rem; }
    .facility-card h6 { font-size: 0.88rem; }
    .facility-card p { font-size: 0.78rem; }
    .sec-admission .container { padding-left: 16px; padding-right: 16px; }
    .adm-badge { font-size: 0.72rem; padding: 6px 14px; }
    /* Tighter section spacing on mobile (override Bootstrap py-5) */
    .py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
    .hostel-card { padding: 20px; border-radius: 12px; }
    .hicon { width: 44px; height: 44px; font-size: 1.1rem; border-radius: 10px; margin-bottom: 12px; }
    .route-card { padding: 14px 16px; }
    .staff-photo, .staff-ph { height: 160px; }
    .staff-info { padding: 12px; }
    .sname { font-size: 0.85rem; }
}
@media(max-width:480px) {
    .hero-section .carousel-item img, .hero-fallback { height: 240px !important; }
    .achievements-sidebar { height: 200px !important; }
    .hero-section .carousel-caption h1 { font-size: 1rem; }
    .hero-sub { font-size: 0.72rem; -webkit-line-clamp: 1; }
    .hero-tag { font-size: 0.6rem; padding: 4px 10px; margin-bottom: 8px; }
    .hero-btns { margin-top: 8px; gap: 6px; }
    .btn-hero-primary, .btn-hero-outline { padding: 6px 12px; font-size: 0.72rem; }
    .hero-fallback h1 { font-size: 1rem; }
    .sec-heading { font-size: 1.15rem; }
    .stat-box h2 { font-size: 1.5rem; }
    .stat-box p { font-size: 0.62rem; }
    .about-card { padding: 16px; }
    .class-card { padding: 12px 8px; }
    .stream-badge { padding: 6px 14px; font-size: 0.75rem; }
    .py-5 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
}

/* ═══════════════════════════════════════
   ALUMNI SECTION (MARQUEE)
   ═══════════════════════════════════════ */
.sec-alumni { background: linear-gradient(135deg, #f5f0e6 0%, #eee8d5 100%); overflow: hidden; }
.alumni-marquee-wrap { overflow: hidden; width: 100%; padding: 10px 0; }
.alumni-marquee-track { display: flex; gap: 24px; animation: alumniScroll 30s linear infinite; width: max-content; }
.alumni-marquee-wrap:hover .alumni-marquee-track { animation-play-state: paused; }
@keyframes alumniScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.alumni-card-link { text-decoration: none; color: inherit; display: block; flex-shrink: 0; width: 280px; }
.alumni-card-link:hover { color: inherit; }
.alumni-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.3s ease; height: 100%; }
.alumni-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(45,106,79,0.15); }
.alumni-photo-wrap { width: 100%; height: 180px; overflow: hidden; background: linear-gradient(135deg,#e8f5e9,#c8e6c9); display: flex; align-items: center; justify-content: center; }
.alumni-photo { width: 100%; height: 100%; object-fit: cover; }
.alumni-photo-placeholder { width: 70px; height: 70px; border-radius: 50%; background: rgba(45,106,79,0.12); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #2d6a4f; }
.alumni-info { padding: 16px; }
.alumni-name { font-size: 1.02rem; font-weight: 700; color: #0d3b2e; margin-bottom: 4px; }
.alumni-profession { font-size: 0.82rem; color: #2d6a4f; font-weight: 600; margin-bottom: 3px; }
.alumni-org { font-size: 0.78rem; color: #666; margin-bottom: 6px; }
.alumni-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.74rem; color: #999; }
.alumni-meta span { display: inline-flex; align-items: center; gap: 3px; }
@media(max-width:767px) { .alumni-card-link { width: 240px; } .alumni-photo-wrap { height: 150px; } }

/* ═══════════════════════════════════════
   EXPERT TEACHERS SECTION
   ═══════════════════════════════════════ */
.sec-teachers { background: linear-gradient(135deg, #f5f7f0 0%, #e8ede0 100%); }
.teacher-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 18px rgba(0,0,0,0.05); transition: all 0.3s ease; text-align: center; height: 100%; }
.teacher-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(45,106,79,0.14); }
.teacher-photo-wrap { width: 100%; height: 200px; overflow: hidden; background: linear-gradient(135deg,#e8f5e9,#c8e6c9); display: flex; align-items: center; justify-content: center; }
.teacher-photo { width: 100%; height: 100%; object-fit: cover; }
.teacher-photo-placeholder { width: 80px; height: 80px; border-radius: 50%; background: rgba(45,106,79,0.1); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #2d6a4f; }
.teacher-info { padding: 18px 16px 20px; }
.teacher-name { font-size: 1.05rem; font-weight: 700; color: #0d3b2e; margin-bottom: 4px; }
.teacher-designation { font-size: 0.85rem; color: #2d6a4f; font-weight: 600; margin-bottom: 2px; }
.teacher-qualification { font-size: 0.78rem; color: #888; margin-bottom: 0; }
@media(max-width:575px) { .teacher-photo-wrap { height: 160px; } }

/* ═══════════════════════════════════════
   MANAGEMENT TEAM SECTION
   ═══════════════════════════════════════ */
.sec-mgmt { background: linear-gradient(135deg, #f8f4e8 0%, #f0ead6 100%); }
.mgmt-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 18px rgba(0,0,0,0.05); transition: all 0.3s ease; text-align: center; height: 100%; border-top: 3px solid #c9a227; }
.mgmt-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(139,0,0,0.12); }
.mgmt-photo-wrap { width: 100%; height: 200px; overflow: hidden; background: linear-gradient(135deg,#fff8e1,#ffe082); display: flex; align-items: center; justify-content: center; }
.mgmt-photo { width: 100%; height: 100%; object-fit: cover; }
.mgmt-photo-placeholder { width: 80px; height: 80px; border-radius: 50%; background: rgba(139,0,0,0.1); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #8b0000; }
.mgmt-info { padding: 18px 16px 20px; }
.mgmt-name { font-size: 1.05rem; font-weight: 700; color: #3e2723; margin-bottom: 4px; }
.mgmt-designation { font-size: 0.85rem; color: #c9a227; font-weight: 600; margin-bottom: 2px; }
.mgmt-qualification { font-size: 0.78rem; color: #888; margin-bottom: 0; }
@media(max-width:575px) { .mgmt-photo-wrap { height: 160px; } }

/* ═══════════════════════════════════════
   S.E.D.O. ENTRANCE TEST SECTION
   ═══════════════════════════════════════ */
.sec-entrance-test { background: linear-gradient(135deg, #1a237e 0%, #283593 40%, #0d47a1 100%); position: relative; overflow: hidden; }
.sec-entrance-test::before { content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,213,79,0.1) 0%, transparent 70%); border-radius: 50%; }
.et-hero-badge { background: linear-gradient(135deg, #ff6f00, #ff8f00); color: #fff; padding: 6px 18px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; display: inline-block; }
.sec-entrance-test .btn-warning { background: linear-gradient(135deg, #ffd54f, #ffb300); border: none; color: #1a237e; }
.sec-entrance-test .btn-warning:hover { background: linear-gradient(135deg, #ffb300, #ff8f00); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(255,179,0,0.4); }
