/* ==========================================================================
   RTS VIDYAPEETH - DESIGN SYSTEM & MASTER STYLESHEET
   A School of Excellence | Begusarai (CBSE Pattern, Estd. 2009)
   ========================================================================== */

:root {
    /* Color Palette - Crimson Maroon, Imperial Navy & Heritage Gold */
    --maroon-950: #4A0808;
    --maroon-900: #6B0E0E;
    --maroon-800: #881313;
    --maroon-700: #A31616;
    --maroon-600: #C11B1B;
    --maroon-500: #DC2626;
    --maroon-100: #FEE2E2;
    --maroon-50: #FFF1F2;

    --navy-950: #061528;
    --navy-900: #0A223E;
    --navy-800: #11345D;
    --navy-700: #1B4B82;
    --navy-600: #2563EB;
    --navy-50: #EFF6FF;

    --gold-600: #B45309;
    --gold-500: #D97706;
    --gold-400: #F59E0B;
    --gold-300: #FCD34D;
    --gold-100: #FEF3C7;
    --gold-50: #FFFBEB;

    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-50: #ECFDF5;

    /* Neutrals */
    --bg-page: #F8FAFC;
    --bg-white: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-alt: #F1F5F9;
    --border-color: #E2E8F0;
    --border-light: #F1F5F9;
    --text-primary: #0F172A;
    --text-secondary: #334155;
    --text-muted: #64748B;
    --text-white: #FFFFFF;

    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-sanskrit: 'Yatra One', cursive;

    /* Shadows & Elevation */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.06), 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -2px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.15), 0 10px 15px -5px rgba(15, 23, 42, 0.04);
    --shadow-crimson: 0 10px 25px -5px rgba(136, 19, 19, 0.3);

    /* Radii */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base & Resets
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-page);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.site-container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.font-mono {
    font-family: monospace;
    letter-spacing: 0.5px;
}

/* Utility Spacing */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
    line-height: 1.2;
}

.btn-primary {
    background: linear-gradient(135deg, var(--maroon-800), var(--maroon-700));
    color: var(--text-white);
    box-shadow: 0 4px 14px rgba(136, 19, 19, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--maroon-700), var(--maroon-600));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(136, 19, 19, 0.45);
    color: var(--text-white);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
    color: var(--text-white);
    box-shadow: 0 4px 14px rgba(10, 34, 62, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 34, 62, 0.4);
    color: var(--text-white);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: #451A03;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45);
    color: #451A03;
}

.btn-outline {
    background: transparent;
    color: var(--maroon-800);
    border: 2px solid var(--maroon-800);
}

.btn-outline:hover {
    background: var(--maroon-800);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
    background: var(--text-white);
    color: var(--navy-900);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 1rem 2.2rem;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-block {
    display: flex;
    width: 100%;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-full);
    background-color: var(--gold-400);
    color: #451A03;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-bar {
    background: linear-gradient(90deg, var(--navy-950) 0%, var(--navy-900) 100%);
    color: #CBD5E1;
    font-size: 0.8125rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1001;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.top-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #E2E8F0;
    transition: var(--transition);
}

.top-item:hover {
    color: var(--gold-400);
}

.top-item i {
    color: var(--gold-400);
}

.btn-top-admission {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--maroon-700);
    color: #FFF;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.btn-top-admission:hover {
    background: var(--maroon-600);
    color: #FFF;
    transform: translateY(-1px);
}

/* Main Navigation Bar */
.main-header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

/* Brand Identity */
.brand-link {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-crest {
    width: 60px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12));
    transition: transform 0.3s ease;
}

.brand-link:hover .brand-crest {
    transform: scale(1.05);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: var(--maroon-800);
    line-height: 1.1;
}

.brand-tagline {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--navy-800);
    text-transform: uppercase;
}

.brand-foundation {
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text-muted);
}

.brand-foundation i {
    color: var(--gold-500);
}

/* Navigation List */
.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--maroon-800);
    background-color: var(--maroon-50);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 15%;
    width: 70%;
    height: 3px;
    background: var(--maroon-700);
    border-radius: var(--radius-full);
}

.nav-item-dropdown {
    position: relative;
}

.drop-icon {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.nav-item-dropdown:hover .drop-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #FFFFFF;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background-color: var(--maroon-50);
    color: var(--maroon-800);
}

.dropdown-menu li a i {
    color: var(--maroon-700);
    width: 16px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 38px;
    height: 38px;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px;
    cursor: pointer;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--maroon-800);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Drawer */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    z-index: 2000;
    transition: var(--transition);
}

.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background: #FFFFFF;
    box-shadow: var(--shadow-xl);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.mobile-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-alt);
}

.drawer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.drawer-crest {
    width: 44px;
    height: auto;
}

.drawer-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--maroon-800);
    display: block;
}

.drawer-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
}

.drawer-close {
    background: transparent;
    border: none;
    font-size: 1.75rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
}

.drawer-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.drawer-menu li a {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 0.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.drawer-menu li a i {
    color: var(--maroon-700);
    width: 20px;
}

.drawer-menu li a:hover, .drawer-menu li a.active {
    color: var(--maroon-800);
    padding-left: 0.85rem;
}

.drawer-contact-card {
    background: var(--navy-50);
    border: 1px solid #BFDBFE;
    border-radius: var(--radius-md);
    padding: 1rem;
    font-size: 0.85rem;
}

.drawer-contact-card h4 {
    color: var(--navy-900);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.drawer-contact-card p {
    margin-bottom: 0.35rem;
    color: var(--navy-800);
}

.drawer-contact-card i {
    color: var(--maroon-700);
    width: 16px;
}

/* ==========================================================================
   Notice Ticker
   ========================================================================== */
.notice-ticker-wrapper {
    background: linear-gradient(90deg, #FEF2F2 0%, #FFFBEB 100%);
    border-bottom: 1px solid #FECACA;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.ticker-label {
    background: var(--maroon-800);
    color: var(--text-white);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.55rem 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
    z-index: 2;
    box-shadow: 2px 0 8px rgba(0,0,0,0.1);
}

.ticker-content {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 0.45rem 0;
}

.ticker-marquee {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 28s linear infinite;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--maroon-900);
}

.ticker-item {
    margin-right: 3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.ticker-item i {
    color: var(--maroon-700);
}

@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 34, 62, 0.92) 0%, rgba(74, 8, 8, 0.88) 100%),
                url('../images/campus_building.jpg') center/cover no-repeat;
    color: var(--text-white);
    padding: 5rem 0 5.5rem;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 40%, rgba(217, 119, 6, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--gold-300);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.1rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-title span {
    color: var(--gold-400);
    display: block;
}

.hero-description {
    font-size: 1.125rem;
    color: #E2E8F0;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.5rem;
}

.trust-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #F1F5F9;
}

.trust-chip i {
    color: var(--gold-400);
}

/* Hero Right Side - Admission Card */
.hero-card {
    background: rgba(255, 255, 255, 0.98);
    color: var(--text-primary);
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
}

.hero-card-header {
    background: linear-gradient(135deg, var(--maroon-800), var(--maroon-700));
    color: var(--text-white);
    padding: 1.5rem;
    text-align: center;
}

.hero-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.hero-card-subtitle {
    font-size: 0.85rem;
    color: var(--gold-300);
}

.hero-card-body {
    padding: 1.75rem;
}

/* ==========================================================================
   Quick Stats Counters
   ========================================================================== */
.stats-section {
    position: relative;
    margin-top: -2.5rem;
    z-index: 10;
    margin-bottom: 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.stat-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.35rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--maroon-600);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--maroon-50);
    color: var(--maroon-800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.stat-card:hover .stat-icon {
    background: var(--maroon-800);
    color: var(--text-white);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--navy-900);
    line-height: 1.1;
    margin-bottom: 0.25rem;
    white-space: nowrap;
}

.stat-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.35;
}

/* ==========================================================================
   Section Header Standard
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 3.5rem auto;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--maroon-50);
    color: var(--maroon-800);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.35rem 0.95rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.85rem;
    border: 1px solid #FECACA;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.35rem;
    font-weight: 800;
    color: var(--navy-950);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.section-title span {
    color: var(--maroon-700);
}

.section-lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==========================================================================
   Founder & Leadership Spotlight Section
   ========================================================================== */
.leadership-spotlight-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    position: relative;
}

.leadership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
}

/* Founder Tribute Card */
.founder-card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.founder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold-500), var(--maroon-700));
}

.founder-header {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.founder-photo-wrap {
    position: relative;
    width: 130px;
    height: 155px;
    flex-shrink: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--gold-400);
}

.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-meta h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--maroon-800);
    margin-bottom: 0.25rem;
}

.founder-designation {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gold-600);
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

.founder-tribute-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--maroon-50);
    color: var(--maroon-800);
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.founder-quote {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    margin-bottom: 1.5rem;
}

.founder-quote i {
    color: var(--gold-400);
    font-size: 1.25rem;
    margin-right: 0.35rem;
}

.founder-footer {
    border-top: 1px solid var(--border-light);
    padding-top: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Principal's Message Card */
.principal-card {
    background: linear-gradient(135deg, #091E3A 0%, #11345D 100%);
    color: var(--text-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.principal-card::after {
    content: '\f10e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: -20px;
    right: 20px;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.principal-badge-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.principal-badge {
    background: rgba(217, 119, 6, 0.2);
    border: 1px solid var(--gold-400);
    color: var(--gold-300);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.principal-motto-tag {
    font-family: var(--font-sanskrit);
    color: var(--gold-300);
    font-size: 1.05rem;
}

.principal-message-text {
    font-size: 1.025rem;
    line-height: 1.75;
    color: #E2E8F0;
    margin-bottom: 1.75rem;
}

.principal-message-text p {
    margin-bottom: 0.85rem;
}

.principal-signature-block {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.25rem;
}

.principal-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--gold-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold-400);
}

.principal-sign-info strong {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: #FFFFFF;
    display: block;
}

.principal-sign-info span {
    font-size: 0.85rem;
    color: var(--gold-300);
}

/* ==========================================================================
   Why Choose Us (Pillars of Excellence)
   ========================================================================== */
.features-section {
    padding: 5rem 0;
    background: #FFFFFF;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-box {
    background: var(--bg-page);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    transition: var(--transition);
    position: relative;
}

.feature-box:hover {
    background: #FFFFFF;
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--maroon-700);
}

.feature-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--maroon-50);
    color: var(--maroon-800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-box:hover .feature-icon-wrap {
    background: linear-gradient(135deg, var(--maroon-800), var(--maroon-700));
    color: #FFFFFF;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-950);
    margin-bottom: 0.75rem;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ==========================================================================
   Campus Highlights Showcase
   ========================================================================== */
.campus-showcase-section {
    padding: 5rem 0;
    background: var(--bg-page);
}

.campus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.campus-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.campus-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.campus-img-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.campus-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.campus-card:hover .campus-img {
    transform: scale(1.08);
}

.campus-chip {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
}

.campus-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.campus-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 0.5rem;
}

.campus-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.campus-link {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--maroon-700);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.campus-link:hover {
    color: var(--maroon-900);
    gap: 0.65rem;
}

/* ==========================================================================
   Admission CTA Banner
   ========================================================================== */
.admission-cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--maroon-900) 0%, var(--navy-950) 100%);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.admission-cta-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.cta-content h2 span {
    color: var(--gold-400);
}

.cta-content p {
    font-size: 1.1rem;
    color: #E2E8F0;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-point {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #F8FAFC;
}

.cta-point i {
    color: var(--gold-400);
}

/* Admission Quick Form */
.quick-form-card {
    background: #FFFFFF;
    color: var(--text-primary);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.quick-form-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy-950);
    margin-bottom: 0.25rem;
}

.quick-form-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.15rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-primary);
    background-color: #FFFFFF;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--maroon-700);
    box-shadow: 0 0 0 3px rgba(163, 22, 22, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* ==========================================================================
   Inner Page Hero Banner
   ========================================================================== */
.page-hero {
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--maroon-900) 100%);
    color: #FFFFFF;
    padding: 3.75rem 0;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(217, 119, 6, 0.18) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #CBD5E1;
    margin-bottom: 1rem;
}

.breadcrumb-nav a {
    color: var(--gold-300);
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.page-hero-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.85rem;
}

.page-hero-subtitle {
    font-size: 1.1rem;
    color: #E2E8F0;
    line-height: 1.6;
}

/* ==========================================================================
   Inner Content Styling
   ========================================================================== */
.content-section {
    padding: 4.5rem 0;
}

.article-card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    padding: 3rem;
    margin-bottom: 2.5rem;
}

.article-card h2 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    color: var(--navy-950);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.article-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--maroon-700);
    border-radius: var(--radius-full);
}

.article-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.article-card.principal-desk-card,
.article-card.dark-card {
    background: linear-gradient(135deg, #0A223E 0%, #11345D 100%) !important;
    color: #FFFFFF !important;
}

.article-card.principal-desk-card p,
.article-card.dark-card p {
    color: #E2E8F0 !important;
    font-size: 1.05rem;
    line-height: 1.85;
}

.article-card.principal-desk-card strong,
.article-card.dark-card strong {
    color: #FFFFFF !important;
}

/* Crest Symbolism Showcase */
.crest-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    margin-top: 2rem;
}

.crest-quadrant-card {
    background: var(--bg-page);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border-left: 5px solid var(--maroon-700);
    box-shadow: var(--shadow-sm);
}

.crest-quadrant-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--navy-900);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.crest-quadrant-card h4 i {
    color: var(--gold-600);
}

/* ==========================================================================
   Gallery Section & Filters
   ========================================================================== */
.gallery-filter-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.filter-btn {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--maroon-800);
    color: #FFFFFF;
    border-color: var(--maroon-800);
    box-shadow: 0 4px 12px rgba(136, 19, 19, 0.25);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 280px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.gallery-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-thumb {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 34, 62, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    color: #FFFFFF;
    opacity: 0.9;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.gallery-tag {
    font-size: 0.75rem;
    color: var(--gold-300);
    font-weight: 600;
    text-transform: uppercase;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-md);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-caption {
    color: #FFFFFF;
    font-family: var(--font-heading);
    text-align: center;
    margin-top: 1rem;
    font-size: 1.15rem;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #FFFFFF;
    font-size: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

/* ==========================================================================
   Mandatory Disclosure Table
   ========================================================================== */
.table-responsive {
    overflow-x: auto;
    margin: 1.5rem 0 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.compliance-table {
    width: 100%;
    border-collapse: collapse;
    background: #FFFFFF;
    text-align: left;
    font-size: 0.95rem;
}

.compliance-table th {
    background: var(--navy-900);
    color: #FFFFFF;
    font-family: var(--font-sans);
    font-weight: 700;
    padding: 1rem 1.25rem;
}

.compliance-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
}

.compliance-table tr:nth-child(even) td {
    background-color: var(--bg-page);
}

.compliance-table tr:hover td {
    background-color: var(--maroon-50);
}

/* ==========================================================================
   Contact Page Layout
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
}

.contact-card-box {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-tile {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.contact-tile-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: var(--maroon-50);
    color: var(--maroon-800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.contact-tile-info strong {
    display: block;
    font-size: 1rem;
    color: var(--navy-950);
    margin-bottom: 0.2rem;
}

.contact-tile-info p, .contact-tile-info a {
    font-size: 0.925rem;
    color: var(--text-muted);
}

.contact-tile-info a:hover {
    color: var(--maroon-700);
}

.map-container {
    width: 100%;
    height: 380px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    margin-top: 2.5rem;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
    background: linear-gradient(180deg, var(--navy-950) 0%, #040D18 100%);
    color: #CBD5E1;
    position: relative;
    padding-top: 4.5rem;
    border-top: 4px solid var(--maroon-700);
}

.footer-motto-banner {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.motto-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.motto-sanskrit {
    font-family: var(--font-sanskrit);
    color: var(--gold-300);
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

.motto-divider {
    color: rgba(255, 255, 255, 0.4);
}

.motto-translation {
    font-size: 0.85rem;
    color: #94A3B8;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.footer-crest {
    width: 58px;
    height: auto;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: #FFFFFF;
    font-weight: 800;
}

.footer-subtitle {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: var(--gold-400);
    font-weight: 700;
    text-transform: uppercase;
}

.footer-text {
    font-size: 0.9rem;
    color: #94A3B8;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.footer-founder-chip, .footer-mgmt-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #E2E8F0;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
}

.footer-founder-chip i {
    color: var(--gold-400);
}

.footer-mgmt-chip i {
    color: #60A5FA;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: #FFFFFF;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--gold-500);
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    color: #94A3B8;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold-300);
    transform: translateX(4px);
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--gold-500);
}

.compliance-badge-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1rem;
    font-size: 0.85rem;
}

.comp-item {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.comp-item:last-child {
    border-bottom: none;
}

.comp-label {
    color: #94A3B8;
}

.comp-val {
    color: #FFFFFF;
    font-weight: 600;
}

.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.f-contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.875rem;
}

.f-contact-item i {
    color: var(--gold-400);
    margin-top: 0.25rem;
}

.f-contact-item strong {
    display: block;
    color: #FFFFFF;
    font-size: 0.85rem;
}

.f-contact-item span, .f-contact-item a {
    color: #94A3B8;
}

.f-contact-item a:hover {
    color: var(--gold-300);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.75rem 0 1.25rem;
    font-size: 0.85rem;
    color: #94A3B8;
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
}

.footer-legal-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    margin-left: auto;
}

.footer-legal-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal-links a:hover {
    color: var(--gold-300);
}

.footer-legal-links span {
    color: rgba(255, 255, 255, 0.25);
}

.footer-dev-credit {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0.85rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    font-size: 0.825rem;
    color: #94A3B8;
    text-align: center;
    width: 100%;
}

.footer-dev-credit a {
    color: var(--gold-400);
    font-weight: 600;
    text-decoration: none;
    margin-left: 0.25rem;
    transition: var(--transition);
}

.footer-dev-credit a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* Floating Connect Buttons */
.floating-quick-actions {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1500;
}

.btn-float {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    color: #FFFFFF;
}

.btn-float:hover {
    transform: scale(1.1);
}

.btn-float.whatsapp {
    background: #25D366;
}

.btn-float.phone {
    background: var(--maroon-700);
}

.btn-float.top {
    background: var(--navy-900);
    display: none;
}

.btn-float.top.visible {
    display: flex;
}

/* ==========================================================================
   Responsive Grid Utilities
   ========================================================================== */
.grid-2col-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: center;
}

.grid-2col-founder {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 3rem;
    align-items: flex-start;
}

.grid-2col-equal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: flex-start;
}

.grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.grid-crest-symbolism {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.grid-form-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ==========================================================================
   Mandatory Disclosure Page (md-*)
   ========================================================================== */

/* Quick nav bar */
.md-quick-nav-wrapper {
    background: var(--navy-950);
    border-bottom: 3px solid var(--gold-500);
    position: sticky;
    top: 0;
    z-index: 100;
}

.md-quick-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    flex-wrap: wrap;
}

.md-quick-nav-label {
    color: var(--gold-400);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.md-quick-nav-link {
    color: #94A3B8;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.md-quick-nav-link:hover {
    background: var(--gold-500);
    color: var(--navy-950);
    border-color: var(--gold-500);
}

/* Main container */
.md-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Section block */
.md-section-block {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 2.5rem;
    overflow: hidden;
    scroll-margin-top: 4rem;
}

/* Section heading bar */
.md-section-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.75rem;
    background: var(--navy-950);
    border-bottom: 3px solid var(--gold-500);
}

.md-section-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--gold-500);
    color: var(--navy-950);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 900;
    border-radius: 50%;
    flex-shrink: 0;
}

.md-section-title-text {
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Table */
.md-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.md-table thead tr {
    background: #1E293B;
}

.md-table thead th {
    padding: 0.85rem 1rem;
    text-align: left;
    color: var(--gold-400);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.md-table tbody tr {
    border-bottom: 1px solid #F1F5F9;
    transition: background 0.15s ease;
}

.md-table tbody tr:nth-child(even) {
    background: #F8FAFC;
}

.md-table tbody tr:last-child {
    border-bottom: none;
}

.md-table tbody tr:hover {
    background: #FFF8ED;
}

.md-table tbody td {
    padding: 0.9rem 1rem;
    color: var(--text-dark);
    vertical-align: middle;
    line-height: 1.5;
}

.md-table tbody td:first-child {
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
    width: 60px;
}

/* Column widths */
.md-col-no   { width: 7%; }
.md-col-info { width: 48%; }
.md-col-details { width: 45%; }
.md-col-doc  { width: 63%; }
.md-col-link { width: 30%; }

/* Cell content elements */
.md-na {
    color: #94A3B8;
    font-size: 0.85rem;
    font-weight: 600;
    font-style: italic;
}

.md-placeholder {
    color: #CBD5E1;
    font-size: 0.85rem;
    font-style: italic;
}

.md-yes {
    color: #16A34A;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* Stylish View Button */
.md-btn-view,
.md-link-pdf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    padding: 0.32rem 1.15rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: #FFFFFF !important;
    background: linear-gradient(135deg, var(--maroon-800) 0%, var(--maroon-700) 50%, var(--maroon-600) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-full);
    box-shadow: 0 2px 6px rgba(136, 19, 19, 0.28);
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    cursor: pointer;
}

.md-btn-view:hover,
.md-link-pdf:hover {
    background: linear-gradient(135deg, var(--maroon-700) 0%, var(--maroon-600) 50%, var(--maroon-500) 100%);
    color: #FFFFFF !important;
    transform: translateY(-1.5px);
    box-shadow: 0 5px 14px rgba(136, 19, 19, 0.4);
    text-decoration: none !important;
}

.md-btn-view:active,
.md-link-pdf:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(136, 19, 19, 0.25);
}

.md-email-link {
    color: var(--maroon-700);
    font-weight: 600;
    text-decoration: none;
}

.md-email-link:hover {
    text-decoration: underline;
}

.md-code {
    background: var(--navy-50);
    color: var(--navy-900);
    font-family: monospace;
    font-size: 0.88rem;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    border: 1px solid var(--navy-200);
}

/* Note below table */
.md-note {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.9rem 1.75rem 1rem;
    font-size: 0.83rem;
    color: #64748B;
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
}

.md-note i {
    color: var(--gold-500);
    margin-top: 0.1rem;
    flex-shrink: 0;
}

/* Compliance footer note */
.md-footer-note {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--navy-950);
    color: #94A3B8;
    font-size: 0.875rem;
    padding: 1.25rem 1.75rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.md-footer-note i {
    color: var(--gold-400);
    font-size: 1.35rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.md-footer-note strong {
    color: #FFFFFF;
}

.md-footer-note a {
    color: var(--gold-400);
    text-decoration: none;
}

.md-footer-note a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .campus-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .admission-cta-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .grid-3col {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .grid-crest-symbolism {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 820px) {
    .main-nav {
        display: none;
    }
    .mobile-toggle {
        display: flex;
    }
    .hide-mobile {
        display: none !important;
    }
    .hide-tablet {
        display: none !important;
    }
    .hero-title {
        font-size: 2.3rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-2col-split,
    .grid-2col-founder,
    .grid-2col-equal {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .stats-section {
        margin-top: 1.5rem;
        margin-bottom: 2.5rem;
    }
    .article-card {
        padding: 2rem 1.5rem;
    }
    .page-hero {
        padding: 3.5rem 0 2.5rem;
    }
}

@media (max-width: 640px) {
    .brand-foundation {
        display: none;
    }
}

@media (max-width: 600px) {
    /* Mandatory Disclosure quick nav on mobile */
    .md-quick-nav {
        gap: 0.35rem;
        padding: 0.5rem 0;
    }
    .md-quick-nav-label {
        display: none;
    }
    .md-quick-nav-link {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }
    .md-section-heading {
        padding: 0.85rem 1rem;
    }
    .md-section-title-text {
        font-size: 0.95rem;
    }
    .md-table {
        font-size: 0.82rem;
    }
    .md-table thead th,
    .md-table tbody td {
        padding: 0.7rem 0.6rem;
    }
    .md-footer-note {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }

    .site-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Top Bar */
    .top-bar-inner {
        flex-direction: column;
        gap: 0.35rem;
        text-align: center;
        padding: 0.4rem 0.5rem;
    }
    .top-bar-left, .top-bar-right {
        justify-content: center;
        gap: 0.6rem;
        font-size: 0.75rem;
    }
    .btn-top-admission {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }

    /* Header */
    .header-inner {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
    .brand-crest {
        width: 46px;
    }
    .brand-name {
        font-size: 1.15rem;
        letter-spacing: 0.8px;
    }
    .brand-tagline {
        font-size: 0.62rem;
        letter-spacing: 1px;
    }
    .mobile-toggle {
        width: 36px;
        height: 36px;
        padding: 7px;
    }

    /* Ticker */
    .ticker-label {
        font-size: 0.72rem;
        padding: 0.45rem 0.75rem;
    }
    .ticker-marquee {
        font-size: 0.8rem;
    }

    /* Hero */
    .hero-section {
        padding: 2.5rem 0 3rem;
    }
    .hero-title {
        font-size: 1.85rem;
        line-height: 1.2;
    }
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        margin-bottom: 1.75rem;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 0.8rem 1.25rem;
        font-size: 0.95rem;
    }
    .hero-trust-chips {
        flex-direction: column;
        gap: 0.5rem;
        padding-top: 1rem;
    }
    .hero-card {
        border-radius: var(--radius-lg);
    }
    .hero-card-header {
        padding: 1.1rem 1rem;
    }
    .hero-card-title {
        font-size: 1.2rem;
    }
    .hero-card-body {
        padding: 1.25rem 1rem;
    }

    /* Stats Grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
    }
    .stat-card {
        padding: 1.1rem 0.85rem;
        gap: 0.75rem;
    }
    .stat-icon {
        width: 42px;
        height: 42px;
        font-size: 1.25rem;
    }
    .stat-number {
        font-size: 1.35rem;
    }
    .stat-label {
        font-size: 0.72rem;
        line-height: 1.3;
    }

    /* Section Headers */
    .section-title {
        font-size: 1.75rem;
    }
    .section-lead {
        font-size: 0.95rem;
    }

    /* Leadership Cards */
    .founder-card, .principal-card {
        padding: 1.5rem 1.15rem;
    }
    .founder-header {
        flex-direction: column;
        text-align: center;
    }
    .founder-photo-wrap {
        margin: 0 auto 0.75rem;
    }
    .founder-quote {
        font-size: 0.9rem;
        padding-left: 0.75rem;
        margin: 1rem 0;
    }
    .founder-footer {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    .founder-footer a {
        width: 100%;
        justify-content: center;
    }
    .principal-badge-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    .principal-message-text {
        font-size: 0.95rem;
        line-height: 1.65;
    }
    .principal-signature-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .principal-signature-block div:last-child {
        margin-left: 0 !important;
        width: 100%;
    }
    .principal-signature-block a {
        width: 100%;
        justify-content: center;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .feature-box {
        padding: 1.5rem 1.15rem;
    }

    /* Campus Grid */
    .campus-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .campus-img {
        height: 210px;
    }
    .campus-content {
        padding: 1.25rem;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-filter-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.4rem;
    }
    .filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    /* Forms */
    .grid-form-2col {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    /* Article Cards & Content */
    .article-card {
        padding: 1.5rem 1rem;
        border-radius: var(--radius-lg);
        margin-bottom: 1.5rem;
    }
    .article-card h2 {
        font-size: 1.4rem;
        padding-bottom: 0.5rem;
    }
    .article-card p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    .principal-desk-card {
        padding: 1.5rem 1rem !important;
    }
    .principal-desk-card p {
        font-size: 0.95rem !important;
        line-height: 1.75 !important;
    }

    /* Page Hero */
    .page-hero {
        padding: 2.5rem 0 2rem;
    }
    .page-hero-title {
        font-size: 1.85rem;
    }
    .page-hero-subtitle {
        font-size: 0.925rem;
    }

    /* CTA Section */
    .admission-cta-section {
        padding: 3rem 0;
    }
    .admission-cta-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .cta-points {
        grid-template-columns: 1fr;
    }
    .admission-cta-grid a.btn {
        width: 100%;
        justify-content: center;
    }

    /* Footer */
    .footer-motto-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem 1rem;
        gap: 1rem;
    }
    .motto-box {
        flex-direction: column;
        gap: 0.35rem;
        align-items: center;
    }
    .motto-sanskrit {
        font-size: 1.1rem;
    }
    .motto-divider {
        display: none;
    }
    .footer-cta-action {
        width: 100%;
    }
    .footer-cta-action .btn {
        width: 100%;
        justify-content: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 2rem;
    }
    .footer-bottom-row {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    .footer-legal-links {
        margin-left: 0;
        justify-content: center;
    }

    /* Floating Quick Actions */
    .floating-quick-actions {
        bottom: 1rem;
        right: 1rem;
        gap: 8px;
    }
    .btn-float {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    /* Compliance Table Mobile */
    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 1rem 0 1.5rem;
    }
    .compliance-table {
        min-width: 500px;
        font-size: 0.825rem;
    }
    .compliance-table th, .compliance-table td {
        padding: 0.65rem 0.75rem;
    }
}

@media (max-width: 380px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 1.65rem;
    }
    .brand-name {
        font-size: 1rem;
    }
    .brand-crest {
        width: 38px;
    }
}
