:root {
    --primary-navy: #0a2540;
    --accent-maroon: #8b0000;
    --accent-gold: #d4af37;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.text-justify {
    text-align: justify;
}

/* Top Utility Bar */
.top-bar {
    background-color: var(--primary-navy);
    color: #fff;
    font-size: 0.85rem;
    padding: 6px 0;
}

.school-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 50%;
    background-color: #ffffff;
    padding: 3px;
}

.top-bar a {
    color: #ffd700;
    text-decoration: none;
    margin-left: 15px;
    font-weight: 600;
}

/* Header & Navigation */
.school-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.school-logo-lg {
    width: 85px;
    height: 85px;
    object-fit: contain;
}

.school-title-main {
    font-size: 2rem;
    font-weight: 800;
    color: #2b3990;
    letter-spacing: 0.4px;
    line-height: 1.15;
}

.school-subtitle {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
}

.header-action-row {
    width: 100%;
    max-width: 820px;
}

.enquiry-logo {
    width: 76px;
    height: 76px;
    object-fit: contain;
    background-color: #ffffff;
    border-radius: 50%;
    padding: 4px;
}

.btn-enquiry {
    background-color: #f38b2b;
    color: #ffffff;
    border: none;
    border-radius: 4px;
}

.btn-enquiry:hover {
    background-color: #dc7719;
    color: #ffffff;
}

.btn-login {
    background-color: #c2275b;
    color: #ffffff;
    border: none;
    border-radius: 6px;
}

.btn-login:hover,
.btn-login:focus {
    background-color: #a31d4a;
    color: #ffffff;
}

.btn-registration {
    background-color: #467aa7;
    color: #ffffff;
    border: none;
    border-radius: 4px;
}

.btn-registration:hover {
    background-color: #36638a;
    color: #ffffff;
}

@media (max-width: 767.98px) {
    .school-title-main {
        font-size: 1.45rem;
    }
}

.school-title {
    color: var(--primary-navy);
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.5px;
}

.navbar-custom {
    background-color: var(--accent-maroon);
}

.navbar-custom .nav-link {
    color: #fff !important;
    font-weight: 500;
    padding: 10px 18px !important;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.navbar-custom .nav-link:hover {
    background-color: var(--primary-navy);
}

.navbar-custom {
    background-color: var(--accent-maroon);
    z-index: 1020; /* Lower than dropdown */
}

.dropdown-menu {
    z-index: 1060; /* Appears on top of the red navbar */
}

/* Hero Banner *//* Hero Auto-Sliding Carousel */
.hero-slide {
    height: 460px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 37, 64, 0.72); /* Dark overlay for clear text contrast */
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

.slide-1 { background-image: url('/static/images/slide1.jpeg'); }
.slide-2 { background-image: url('/static/images/slide2.jpeg'); }
.slide-3 { background-image: url('/static/images/slide3.jpeg'); }


.patron-section {
    background-color: #ffffff;
    padding: 55px 0;
}

.patron-label {
    color: #e67e22;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    margin-bottom: 14px;
}

.patron-label::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45px;
    height: 3px;
    background-color: #e67e22;
}

.patron-heading {
    color: #2c478b;
    font-weight: 600;
    margin-bottom: 14px;
}

.patron-photo-box {
    border: 2px solid #333;
    padding: 4px;
    background: #fff;
}

.patron-photo-box img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.patron-name-tag {
    background-color: #f4f5f7;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    padding: 8px 6px;
    font-size: 0.92rem;
}

.patron-caption {
    color: #2c478b;
    font-style: italic;
    font-size: 0.82rem;
    text-align: center;
    margin-top: 10px;
}

.patron-photo-box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: top center; /* Keeps head & face nicely framed */
    display: block;
}

.patron-section {
    background-color: #ffffff;
    padding: 55px 0;
    overflow-x: clip;
}

.patron-section .col-md-9 {
    min-width: 0;
}

/* News Ticker */
.news-ticker {
    background-color: var(--primary-navy);
    color: white;
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.ticker-label {
    background-color: var(--accent-gold);
    color: #000;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 3px;
    margin-right: 15px;
    white-space: nowrap;
}

.initiative-detail-section {
    background-color: #ffffff;
    padding: 35px 0 50px;
}

.initiative-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 28px;
}

.initiative-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 110px;
    height: 4px;
    background-color: #1d6fd6;
}

.initiative-banner-card {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 14px;
    height: 100%;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.initiative-banner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.initiative-banner-card img {
    width: 100%;
    height: 135px;
    object-fit: contain;
    display: block;
}

.highlight-card.active-card {
    background-color: #eef5ff;
    box-shadow: 0 8px 20px rgba(29, 111, 214, 0.22);
}

.highlight-card {
    cursor: pointer;
}

.highlight-card.active-card {
    background-color: #eef5ff;
    box-shadow: 0 8px 20px rgba(29, 111, 214, 0.22);
}

.initiative-banner-card {
    border: none;
    border-radius: 6px;
    padding: 12px;
    height: 100%;
    background: #ffffff;
    transition: transform 0.2s ease;
}

.initiative-banner-card:hover {
    transform: translateY(-3px);
}

.initiative-banner-card img {
    width: 100%;
    height: 135px;
    object-fit: contain;
    display: block;
}

.highlights-section {
    background-color: #ffffff;
    padding: 25px 0 35px;
}

.highlight-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
    padding: 18px 12px;
    border: 2.5px solid #1d6fd6;
    border-radius: 16px;
    background-color: #ffffff;
    text-decoration: none;
    color: #2b2f36;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(29, 111, 214, 0.16);
    border-color: #0d52a8;
    color: #1d6fd6;
}

.highlight-card.active-card {
    background-color: #eef5ff;
    border-color: #0d52a8;
    color: #0d52a8;
    box-shadow: 0 8px 22px rgba(29, 111, 214, 0.24);
}

.highlight-card img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: 10px;
    display: block;
}

.highlight-title {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
    word-break: break-word;
}

.initiative-panel {
    animation: panelFadeIn 0.25s ease;
}

@keyframes panelFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* News Updates And Latest Events Section */
.news-events-section {
    background-color: #ffffff;
    padding: 50px 0 60px;
}

.news-section-heading {
    color: #2b4593;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 42px;
}

.news-box-wrapper {
    position: relative;
    padding-top: 20px;
}

.news-box-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 500;
    padding: 8px 28px;
    border-radius: 8px;
    z-index: 2;
    white-space: nowrap;
}

.badge-happenings {
    background-color: #e67e22;
}

.badge-updates {
    background-color: #c22d6b;
}

.news-scroll-box {
    height: 330px;
    overflow: auto;
    border-radius: 10px;
    padding: 36px 20px 20px;
    background-color: #ffffff;
}

.box-happenings {
    border: 1.5px dashed #f0a868;
}

.box-updates {
    border: 1.5px dashed #e28ab0;
}

/* Custom Scrollbars */
.news-scroll-box::-webkit-scrollbar {
    width: 8px;
    height: 12px;
}

.news-scroll-box::-webkit-scrollbar-track {
    background: #f1f3f5;
    border-radius: 10px;
}

.box-happenings::-webkit-scrollbar-thumb {
    background: #d97724;
    border-radius: 10px;
}

.box-updates::-webkit-scrollbar-thumb {
    background: #b82964;
    border-radius: 10px;
}

/* Happenings Content */
.happening-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.happening-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #e67e22;
    margin-top: 8px;
    flex-shrink: 0;
}

.happening-title {
    color: #d97724;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.happening-text {
    color: #c26a22;
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 0;
}

/* News & Updates Multi-Column Event Strip */
.updates-grid {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    min-width: max-content;
}

.update-intro {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 145px;
    font-size: 0.88rem;
    line-height: 1.45;
    color: #2b2f36;
}

.update-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #7cc47f;
    margin-top: 6px;
    flex-shrink: 0;
}

.event-card-col {
    min-width: 155px;
    font-size: 0.86rem;
    line-height: 1.45;
    color: #1f2937;
}

.event-card-title {
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

/* Vision & Mission Section */
.vision-mission-section {
    background-color: #ffffff;
    padding: 65px 0 75px;
    position: relative;
}

.vision-mission-wrapper {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    z-index: 1;
}

/* Soft peach circular watermark behind the heading */
.vision-mission-wrapper::before {
    content: "";
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    width: 245px;
    height: 245px;
    border-radius: 50%;
    background-color: rgba(243, 139, 43, 0.06);
    z-index: -1;
    pointer-events: none;
}

.vision-mission-heading {
    color: #f37021;
    font-size: 1.55rem;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 28px;
}

.vision-mission-heading::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 82px;
    height: 2.5px;
    background-color: #f37021;
}

.vision-mission-text {
    color: #111827;
    font-size: 0.96rem;
    line-height: 1.75;
    margin-bottom: 26px;
}

.vision-mission-quote {
    color: #111827;
    font-size: 0.96rem;
    line-height: 1.7;
    margin-bottom: 26px;
}

/* Section Headings */
.section-heading {
    color: var(--primary-navy);
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.section-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-maroon);
}

/* Cards */
.wing-card .card-body {
    display: flex;
    flex-direction: column;
}

.wing-card .card-text {
    min-height: 24px;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background-color: var(--primary-navy);
    color: #ddd;
    padding: 40px 0 20px;
}

footer h5 {
    color: var(--accent-gold);
    margin-bottom: 15px;
}

footer a {
    color: #ddd;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}

.dropdown-menu .login-parent {
    background-color: #0d6efd; /* Blue */
    color: #fff;
}
.dropdown-menu .login-parent:hover {
    background-color: #0b5ed7;
    color: #fff;
}

.dropdown-menu .login-teacher {
    background-color: #198754; /* Green */
    color: #fff;
}
.dropdown-menu .login-teacher:hover {
    background-color: #157347;
    color: #fff;
}

.dropdown-menu .login-admin {
    background-color: #8b0000; /* Maroon / Red */
    color: #fff;
}
.dropdown-menu .login-admin:hover {
    background-color: #6b0000;
    color: #fff;
}

.enquiry-modal-dialog {
    max-width: 1080px;
}

.enquiry-sidebar {
    background-color: #0d6efd;
    color: #ffffff;
    padding: 30px 22px;
}

.enquiry-sidebar a {
    color: #ffffff;
    text-decoration: none;
}

.enquiry-form-panel {
    background-color: #ffffff;
    padding: 28px 32px;
}

.student-details-bar {
    background-color: #e9f2ff;
    color: #0d6efd;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 3px;
    margin-bottom: 22px;
}

.underline-input,
.underline-select {
    border: none;
    border-bottom: 1px solid #ced4da;
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
    background-color: transparent;
    box-shadow: none !important;
}

.underline-input:focus,
.underline-select:focus {
    border-bottom-color: #0d6efd;
}

.req-star {
    color: #dc3545;
}

/* Transfer Certificate Page */
.tc-hero-banner {
    width: 100%;
    max-height: 290px;
    object-fit: cover;
    display: block;
}

.tc-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2b4593;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 18px;
}

.tc-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 115px;
    height: 3px;
    background-color: #f37021;
}

.tc-procedure-title {
    color: #c22d6b;
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.tc-procedure-list {
    padding-left: 18px;
    color: #1f2937;
    font-size: 0.94rem;
    line-height: 1.65;
}

.tc-procedure-list li {
    margin-bottom: 8px;
}

.tc-table thead th {
    background-color: #b82964;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 12px 16px;
    border: none;
}

.tc-table tbody td {
    padding: 12px 16px;
    vertical-align: middle;
    font-size: 0.9rem;
    color: #1f2937;
}

.tc-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.tc-table tbody tr:nth-child(even) {
    background-color: #f4f5f7;
}

.tc-pdf-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background-color: #ffe8e8;
    color: #c81e1e;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.72rem;
    border: 1px solid #f5b5b5;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.tc-pdf-link:hover {
    background-color: #c81e1e;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Compact Footer Section */
.school-footer {
    background-color: #2f4391;
    color: #ffffff;
    padding: 36px 0 20px;
}

.footer-brand-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 225px;
    margin: 0 auto;
}

.footer-logo {
    width: 82px;
    height: 82px;
    object-fit: contain;
    background-color: #ffffff;
    padding: 4px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.footer-school-name {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    line-height: 1.15;
    margin-bottom: 5px;
    color: #ffffff;
}

.footer-school-sub {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 4px;
    color: #ffffff;
}

.footer-affiliation {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 0;
}

.footer-heading {
    font-size: 1.3rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-about-text {
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0;
}

.footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.35;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-links a::before {
    content: "\25B8";
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.85);
}

.footer-links a:hover {
    opacity: 0.85;
    transform: translateX(3px);
}

.footer-contact-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 14px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.86rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.95);
}

.footer-contact-item:last-child {
    margin-bottom: 0;
}

.footer-contact-icon {
    width: 16px;
    text-align: center;
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.footer-social-heading {
    font-size: 1.2rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 10px;
}

.social-circle-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-circle-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-circle-btn.social-fb {
    color: #1877f2;
}

.social-circle-btn.social-yt {
    color: #ff0000;
}

.social-circle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
}

/* CBSE Mandatory Disclosure Grid */
.disclosure-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2b4593;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 28px;
}

.disclosure-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 110px;
    height: 3px;
    background-color: #f37021;
}

.disclosure-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 16px 18px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.disclosure-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.disclosure-file-icon {
    width: 44px;
    height: 54px;
    border-radius: 5px;
    background: linear-gradient(180deg, #b8e6ff 0%, #69c2f5 100%);
    border: 1px solid #57b5ec;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 5px;
    flex-shrink: 0;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.disclosure-file-icon::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background-color: #dff3ff;
    border-bottom-left-radius: 4px;
}

.disclosure-card-body {
    flex: 1;
    min-width: 0;
}

.disclosure-doc-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.35;
    margin-bottom: 10px;
    word-wrap: break-word;
}

.btn-disclosure-download {
    background-color: #00b8ff;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: background-color 0.18s ease;
}

.btn-disclosure-download:hover {
    background-color: #0099d6;
    color: #ffffff;
}

/* FAQs Page Styling */
.faq-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2b4593;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 26px;
}

.faq-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 65px;
    height: 3px;
    background-color: #f37021;
}

.faq-accordion .accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 4px !important;
    margin-bottom: 0;
    border-bottom: none;
}

.faq-accordion .accordion-item:last-child {
    border-bottom: 1px solid #e5e7eb;
}

.faq-accordion .accordion-button {
    background-color: #f8f9fa;
    color: #4b5563;
    font-weight: 700;
    font-size: 0.94rem;
    padding: 14px 18px;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-accordion .accordion-button::after {
    display: none;
}

.faq-toggle-symbol {
    font-size: 1.15rem;
    font-weight: 700;
    color: #6b7280;
    width: 16px;
    text-align: center;
    line-height: 1;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background-color: #f1f3f5;
    color: #2b4593;
}

.faq-accordion .accordion-body {
    background-color: #ffffff;
    color: #374151;
    font-size: 0.9rem;
    line-height: 1.65;
    padding: 15px 20px;
}

/* Alumni Membership Page */
.alumni-heading {
    font-size: 1.55rem;
    font-weight: 700;
    color: #2b4593;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 28px;
}

.alumni-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 155px;
    height: 3px;
    background-color: #f37021;
}

.alumni-form-wrap {
    max-width: 780px;
}

.alumni-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 5px;
}

.alumni-label .req-star {
    color: #dc2626;
    margin-left: 2px;
}

.alumni-input {
    border: 1px solid #d1d5db;
    border-radius: 3px;
    padding: 7px 10px;
    font-size: 0.9rem;
}

.alumni-input:focus {
    border-color: #2b4593;
    box-shadow: 0 0 0 0.15rem rgba(43, 69, 147, 0.15);
}

.btn-alumni-submit {
    background-color: #2b4593;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    padding: 8px 22px;
    border-radius: 2px;
    border: none;
    text-transform: uppercase;
}

.btn-alumni-submit:hover {
    background-color: #213675;
    color: #ffffff;
}

.btn-alumni-reset {
    background-color: #2f4896;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    padding: 8px 22px;
    border-radius: 2px;
    border: none;
    text-transform: uppercase;
}

.btn-alumni-reset:hover {
    background-color: #223570;
    color: #ffffff;
}

/* About Us Navbar Dropdown */
.navbar .nav-item.dropdown {
    position: relative;
}

.navbar .dropdown-menu {
    border: 1px solid #e5e7eb;
    border-radius: 0;
    padding: 0;
    margin-top: 0;
    min-width: 240px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    background-color: #ffffff;
}

.navbar .dropdown-item {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #1f2937;
    padding: 13px 18px;
    border-bottom: 1px solid #eceff3;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.navbar .dropdown-item:last-child {
    border-bottom: none;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background-color: #f4f6fb;
    color: #2b4593;
}

/* Open dropdown on hover for pointer devices while keeping click support */
@media (hover: hover) and (pointer: fine) {
    .navbar .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
    }
}

/* Remove down arrow next to dropdown nav links */
.navbar .nav-item.dropdown > .dropdown-toggle::after {
    display: none !important;
    content: none !important;
}

/* Director's Message & About Us Sidebar Layout */
.about-heading {
    font-size: 1.65rem;
    font-weight: 700;
    color: #2b4593;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 24px;
}

.about-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 110px;
    height: 3px;
    background-color: #f37021;
}

.about-sidebar {
    border: 1px solid #d1d5db;
    background-color: #ffffff;
}

.about-sidebar .list-group-item {
    border: none;
    border-bottom: 1px solid #d1d5db;
    border-radius: 0 !important;
    padding: 13px 16px;
    font-size: 0.86rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    background-color: #ffffff;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.about-sidebar .list-group-item:last-child {
    border-bottom: none;
}

.about-sidebar .list-group-item:hover:not(.active-about-tab) {
    background-color: #f4f6fb;
    color: #2b4593;
}

.about-sidebar .list-group-item.active-about-tab {
    background: linear-gradient(180deg, #f99b45 0%, #ef6c00 100%);
    color: #ffffff;
}

.director-card-box {
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    padding: 8px;
    max-width: 220px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.director-photo {
    width: 100%;
    height: 215px;
    object-fit: cover;
    display: block;
}

.director-name-bar {
    background-color: #f3f4f6;
    color: #dc2626;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    padding: 6px 8px;
    margin-top: 6px;
}

.principal-photo {
    width: 100%;
    height: 215px;
    object-fit: cover;
    display: block;
}

.principal-name-bar {
    background-color: #f3f4f6;
    color: #dc2626;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    padding: 6px 8px;
    margin-top: 6px;
}

.director-message-body p {
    font-size: 0.94rem;
    line-height: 1.72;
    color: #1f2937;
    margin-bottom: 14px;
}

/* School Curriculum Page & Subject Matrices */
.curriculum-heading {
    font-size: 1.65rem;
    font-weight: 700;
    color: #2b4593;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 18px;
}

.curriculum-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 85px;
    height: 3px;
    background-color: #f37021;
}

.curriculum-sidebar {
    border: 1px solid #d1d5db;
    background-color: #ffffff;
}

.curriculum-sidebar .list-group-item {
    border: none;
    border-bottom: 1px solid #d1d5db;
    border-radius: 0 !important;
    padding: 12px 14px;
    font-size: 0.84rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    background-color: #ffffff;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.curriculum-sidebar .list-group-item:last-child {
    border-bottom: none;
}

.curriculum-sidebar .list-group-item:hover:not(.active-curriculum-tab) {
    background-color: #f4f6fb;
    color: #2b4593;
}

.curriculum-sidebar .list-group-item.active-curriculum-tab {
    background: linear-gradient(180deg, #f99b45 0%, #ef6c00 100%);
    color: #ffffff;
}

.curriculum-subhead {
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
    margin-top: 24px;
    margin-bottom: 14px;
}

.subject-col-card {
    border: 1px solid #d8dde6;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.subject-col-header {
    background-color: #b8335a;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 9px 10px;
}

.subject-col-subbanner {
    background-color: #c73e65;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 7px 10px;
}

.subject-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.subject-list li {
    font-size: 0.78rem;
    color: #374151;
    padding: 7px 10px;
    border-bottom: 1px solid #eceff3;
    min-height: 31px;
}

.subject-list li:nth-child(odd) {
    background-color: #f8f9fb;
}

.subject-list li:nth-child(even) {
    background-color: #ffffff;
}

.subject-list li:last-child {
    border-bottom: none;
}

/* Evaluation System Page */
.eval-heading {
    font-size: 1.55rem;
    font-weight: 700;
    color: #2b4593;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 16px;
}

.eval-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 110px;
    height: 3px;
    background-color: #f37021;
}

.eval-subhead {
    font-size: 0.92rem;
    font-weight: 700;
    color: #2b4593;
    margin-top: 22px;
    margin-bottom: 10px;
}

.eval-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.74rem;
    border: 1px solid #d1d5db;
}

.eval-table th {
    background-color: #b8335a;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    padding: 7px 8px;
    border: 1px solid #c94a70;
    text-align: left;
}

.eval-table td {
    padding: 6px 8px;
    border: 1px solid #e5e7eb;
    color: #374151;
    vertical-align: middle;
}

.eval-table tbody tr:nth-child(odd) td {
    background-color: #f9fafb;
}

.eval-table tbody tr:nth-child(even) td {
    background-color: #ffffff;
}

.eval-policy-note {
    font-size: 0.72rem;
    color: #4b5563;
    margin-top: 8px;
    margin-bottom: 0;
    line-height: 1.55;
}

/* Promotion Policy Page */
.policy-heading {
    font-size: 1.55rem;
    font-weight: 700;
    color: #2b4593;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 18px;
}

.policy-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 120px;
    height: 3px;
    background-color: #f37021;
}

.policy-stage-title {
    background-color: #2b4593;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    margin-top: 24px;
    margin-bottom: 12px;
    border-left: 4px solid #f37021;
}

.policy-subhead {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 14px;
    margin-bottom: 8px;
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.76rem;
    border: 1px solid #d1d5db;
    margin-bottom: 12px;
}

.policy-table th {
    background-color: #b8335a;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    padding: 7px 9px;
    border: 1px solid #c94a70;
    text-align: left;
}

.policy-table td {
    padding: 6px 9px;
    border: 1px solid #e5e7eb;
    color: #374151;
    vertical-align: top;
}

.policy-table tbody tr:nth-child(odd) td {
    background-color: #f9fafb;
}

.policy-table tbody tr:nth-child(even) td {
    background-color: #ffffff;
}

.policy-list {
    font-size: 0.82rem;
    color: #374151;
    line-height: 1.65;
    padding-left: 18px;
    margin-bottom: 12px;
}

.policy-formula-box {
    background-color: #f4f6fb;
    border: 1px solid #d8e0f0;
    border-left: 4px solid #2b4593;
    padding: 10px 14px;
    font-size: 0.84rem;
    font-weight: 700;
    color: #1f2937;
    margin: 12px 0;
}

.policy-quote {
    background-color: #fff8f2;
    border-left: 4px solid #f37021;
    padding: 12px 16px;
    font-size: 0.86rem;
    color: #374151;
    margin: 14px 0;
}

/* Syllabus Download Cards */
.syllabus-heading {
    font-size: 1.65rem;
    font-weight: 700;
    color: #2b4593;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 22px;
}

.syllabus-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 85px;
    height: 3px;
    background-color: #f37021;
}

.syllabus-row-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 14px 18px;
    margin-bottom: 14px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.syllabus-row-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.syllabus-pdf-badge {
    width: 34px;
    height: 40px;
    border: 1.5px solid #3b82f6;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #2563eb;
    background-color: #eff6ff;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1.1;
}

.syllabus-pdf-badge i {
    font-size: 1.05rem;
    margin-bottom: 1px;
}

.syllabus-row-title {
    font-size: 0.84rem;
    font-weight: 700;
    color: #1f2937;
    word-break: break-word;
}

.btn-syllabus-download {
    background-color: #1da1f2;
    border: none;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 5px;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-syllabus-download:hover {
    background-color: #0d8ddb;
    color: #ffffff;
}

/* House System & Co-Curricular Activities */
.house-heading {
    font-size: 1.55rem;
    font-weight: 700;
    color: #2b4593;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 18px;
}

.house-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 110px;
    height: 3px;
    background-color: #f37021;
}

.house-copy p {
    font-size: 0.84rem;
    line-height: 1.65;
    color: #1f2937;
    margin-bottom: 14px;
}

.houses-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #c73e65;
    margin-top: 8px;
    margin-bottom: 10px;
}

.house-strip-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.house-pill-col {
    flex: 1 1 120px;
    min-width: 110px;
}

.house-banner-box {
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 9px 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.35);
    text-align: left;
}

.house-pill-col:last-child .house-banner-box {
    border-right: none;
}

.house-ahimsa {
    background-color: #4a6bb0;
}

.house-ekta {
    background-color: #e61919;
}

.house-jyoti {
    background-color: #e66b19;
}

.house-pragati {
    background-color: #3b63a8;
}

.house-shanti {
    background-color: #e60000;
}

.house-event-photo {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    border: 1px solid #e5e7eb;
    display: block;
}

/* Newsletter Archive Grid */
.newsletter-year-heading {
    font-size: 1.55rem;
    font-weight: 400;
    color: #555555;
    margin-top: 22px;
    margin-bottom: 16px;
}

.newsletter-year-heading:first-child {
    margin-top: 0;
}

.newsletter-btn-card {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 175px;
    min-height: 92px;
    padding: 12px 14px;
    background-color: #1789e0;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.38;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 6px 6px 0px #0d5494;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}

.newsletter-btn-card:hover {
    background-color: #1274c0;
    color: #ffffff;
    transform: translate(1px, 1px);
    box-shadow: 5px 5px 0px #0d5494;
}

.newsletter-btn-card.newsletter-featured-red {
    background-color: #e60000;
    box-shadow: 6px 6px 0px #800000;
}

.newsletter-btn-card.newsletter-featured-red:hover {
    background-color: #c70000;
    color: #ffffff;
    box-shadow: 5px 5px 0px #800000;
}

/* Counselling & Orientation Page */
.counselling-heading {
    font-size: 1.55rem;
    font-weight: 700;
    color: #2b4593;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 18px;
}

.counselling-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 110px;
    height: 3px;
    background-color: #f37021;
}

.counselling-copy p {
    font-size: 0.85rem;
    line-height: 1.65;
    color: #1f2937;
    margin-bottom: 14px;
}

.counselling-modes-list {
    list-style: none;
    padding-left: 0;
    margin-top: 4px;
    margin-bottom: 16px;
}

.counselling-modes-list li {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.7;
}

.counselling-photo {
    width: 100%;
    max-height: 430px;
    object-fit: cover;
    border: 1px solid #e5e7eb;
    display: block;
}

/* Procedure Requirements Page */
.admission-heading {
    font-size: 1.55rem;
    font-weight: 700;
    color: #2b4593;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 16px;
}

.admission-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 110px;
    height: 3px;
    background-color: #f37021;
}

.admission-subhead {
    font-size: 0.92rem;
    font-weight: 600;
    color: #c73e65;
    margin-bottom: 12px;
}

.admission-copy p {
    font-size: 0.84rem;
    line-height: 1.65;
    color: #1f2937;
    margin-bottom: 12px;
}

.admission-doc-list {
    list-style: none;
    padding-left: 6px;
    margin-bottom: 14px;
}

.admission-doc-list li {
    position: relative;
    padding-left: 16px;
    font-size: 0.83rem;
    line-height: 1.65;
    color: #1f2937;
    margin-bottom: 4px;
}

.admission-doc-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #f37021;
    font-weight: 700;
}

/* Admission Flowchart */
.admission-flowchart {
    margin-top: 28px;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: #111827;
    text-transform: uppercase;
}

.flow-box {
    border: 1.5px solid #1f2937;
    background-color: #ffffff;
    padding: 5px 10px;
    text-align: center;
    line-height: 1.25;
}

.flow-box-enquiry {
    min-width: 95px;
}

.flow-line-v {
    width: 1.5px;
    height: 12px;
    background-color: #1f2937;
}

.flow-branch-bar {
    position: relative;
    width: 170px;
    height: 14px;
    border-top: 1.5px solid #1f2937;
    display: flex;
    justify-content: space-between;
}

.flow-branch-bar::before,
.flow-branch-bar::after {
    content: "";
    width: 1.5px;
    height: 14px;
    background-color: #1f2937;
}

.flow-branches {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    max-width: 250px;
}

.flow-branch-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.flow-branch-col .flow-box {
    width: 100%;
}

/* Prospectus & Admission Forms Page */
.prospectus-heading {
    font-size: 1.55rem;
    font-weight: 700;
    color: #2b4593;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.prospectus-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 90px;
    height: 3px;
    background-color: #f37021;
}

.prospectus-subhead {
    font-size: 1.55rem;
    font-weight: 700;
    color: #2b4593;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-top: 26px;
    margin-bottom: 20px;
}

.prospectus-subhead::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 90px;
    height: 3px;
    background-color: #f37021;
}

.btn-prospectus-orange {
    background: linear-gradient(180deg, #f99b45 0%, #ef6c00 100%);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    padding: 11px 22px;
    border: none;
    border-radius: 2px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 155px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: filter 0.15s ease, transform 0.12s ease;
}

.btn-prospectus-orange:hover {
    color: #ffffff;
    filter: brightness(1.04);
    transform: translateY(-1px);
}

/* Fee Rule Page */
.fee-section-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: #c73e65;
    margin-top: 14px;
    margin-bottom: 8px;
}

.fee-copy p {
    font-size: 0.84rem;
    line-height: 1.65;
    color: #1f2937;
    margin-bottom: 12px;
}

.btn-fee-pill {
    background: linear-gradient(180deg, #f99b45 0%, #ef6c00 100%);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 10px 24px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0 18px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: filter 0.15s ease, transform 0.12s ease;
}

.btn-fee-pill:hover {
    color: #ffffff;
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.withdrawal-heading {
    font-size: 1.55rem;
    font-weight: 700;
    color: #2b4593;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-top: 8px;
    margin-bottom: 14px;
}

.withdrawal-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 90px;
    height: 3px;
    background-color: #f37021;
}

/* Fee Structure Page */
.fee-structure-title-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 18px;
}

.fee-structure-title-wrap::before,
.fee-structure-title-wrap::after {
    content: "";
    height: 1px;
    width: 70px;
    background-color: #2b4593;
}

.fee-structure-main-title {
    font-size: 1.55rem;
    font-weight: 700;
    color: #2b4593;
    margin: 0;
}

.fee-session-heading {
    font-size: 0.78rem;
    font-weight: 700;
    color: #2b4593;
    margin-bottom: 22px;
}

.fee-group-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #111827;
    margin-top: 20px;
    margin-bottom: 10px;
}

.fee-structure-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #d1d5db;
    margin-bottom: 24px;
}

.fee-structure-table td {
    width: 50%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    font-size: 0.76rem;
    color: #374151;
    background-color: #ffffff;
    vertical-align: middle;
}