:root {
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Theme Accents (Default Classic Blue & Gold) */
    --primary: #1e3a8a;
    --primary-light: #2563eb;
    --accent: #f59e0b; /* Exact Gold */
    --accent-hover: #d97706;

    /* Default Dark Mode colors */
    --bg-dark: #090d16;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(15, 23, 42, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glow-blue: rgba(37, 99, 235, 0.15);
}

/* Light Theme Variables Override */
body.light-theme {
    --bg-dark: #f8fafc;
    --text-light: #0f172a;
    --text-muted: #475569;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(15, 23, 42, 0.08);
    --glow-blue: rgba(30, 41, 59, 0.05);
}

/* 5 Dynamic Color Palette Themes */
body.theme-classic {
    --primary: #1e3a8a;
    --primary-light: #2563eb;
    --accent: #f59e0b;
    --accent-hover: #d97706;
}
body.theme-emerald {
    --primary: #047857;
    --primary-light: #059669;
    --accent: #10b981;
    --accent-hover: #059669;
}
body.theme-crimson {
    --primary: #991b1b;
    --primary-light: #b91c1c;
    --accent: #eab308;
    --accent-hover: #ca8a04;
}
body.theme-teal {
    --primary: #0f766e;
    --primary-light: #0d9488;
    --accent: #06b6d4;
    --accent-hover: #0891b2;
}
body.theme-purple {
    --primary: #6d28d9;
    --primary-light: #7c3aed;
    --accent: #a78bfa;
    --accent-hover: #8b5cf6;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 0.4s, color 0.4s;
}

body.light-theme #webgl-bg-container {
    opacity: 0.15;
}

/* Background 3D WebGL Canvas placeholder container */
#webgl-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none; /* Let clicks pass through */
}

#webgl-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Main Layout content wrapper */
.app-container {
    position: relative;
    z-index: 10; /* Keep content above canvas */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* News Alerts Bar */
.alerts-ticker {
    background-color: #991b1b;
    color: white;
    height: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    font-size: 0.85rem;
    font-weight: 600;
}

.ticker-title {
    background-color: #7f1d1d;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 20;
    position: relative;
    text-transform: uppercase;
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
}

.ticker-content {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: ticker 25s linear infinite;
}

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

/* Glassmorphic Navbar */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 16px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 6px;
    transition: all 0.2s;
    display: block;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.05);
}

/* Multi-level Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    list-style: none;
    padding: 8px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

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

.dropdown-link {
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.dropdown-link:hover {
    color: var(--text-light);
    background-color: rgba(255,255,255,0.05);
    padding-left: 24px;
}

.btn-admission {
    background-color: var(--accent);
    color: #0f172a !important;
    font-weight: 600;
    border-radius: 6px;
}

.btn-admission:hover {
    background-color: var(--accent-hover);
}

/* Hero Section Slider Overlay */
.hero-slider {
    position: relative;
    height: calc(80vh - 40px);
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.slide-container {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide-container.active {
    opacity: 1;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}

.slide-content {
    max-width: 800px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-light);
}

.slide-caption {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* Page Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin: 0 auto 24px auto;
    position: relative;
    padding-bottom: 16px;
    color: white;
    display: table;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, var(--accent), #fb7185);
    background-size: 200% auto;
    animation: shimmer-line 3s linear infinite;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
    z-index: 2;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -2.5px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 8px;
    background: radial-gradient(circle, var(--accent) 35%, transparent 75%) no-repeat left center,
                radial-gradient(circle, #fb7185 35%, transparent 75%) no-repeat right center;
    background-size: 8px 8px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
    filter: drop-shadow(0 0 4px var(--accent)) drop-shadow(0 0 8px #fb7185);
}

@keyframes shimmer-line {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

section:hover .section-title::after {
    width: 100%;
}

section:hover .section-title::before {
    width: 100%;
}

.section-subtitle {
    color: var(--text-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

/* Bento Stats Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.bento-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card:hover {
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.col-4 { grid-column: span 4; }
.col-8 { grid-column: span 8; }
.col-6 { grid-column: span 6; }
.col-12 { grid-column: span 12; }

.bento-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
}

.bento-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 12px;
}

/* Department tilt cards */
.department-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.dept-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 32px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.dept-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--glow-blue);
    transform: scale(1.02);
}

.dept-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

/* Forms */
.form-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.btn-primary {
    background-color: var(--accent);
    color: #0f172a;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

/* Layout Specific CSS definitions */

/* Faculty profile layout */
.faculty-profile-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: start;
}

.faculty-photo {
    width: 240px;
    height: 300px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--glass-border);
}

.faculty-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 8px;
}

/* Accreditation list layout */
.accreditation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.accreditation-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 32px;
    border-radius: 12px;
}

.pdf-download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    margin-top: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.pdf-download-item:hover {
    background: rgba(255,255,255,0.07);
    border-color: var(--accent);
}

/* Page sidebars */
.page-with-sidebar {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
}

.sidebar-nav {
    list-style: none;
}

.sidebar-link {
    display: block;
    padding: 12px 16px;
    color: var(--text-muted);
    text-decoration: none;
    border-left: 2px solid var(--glass-border);
    font-weight: 500;
}

.sidebar-link:hover, .sidebar-link.active {
    color: var(--text-light);
    border-left-color: var(--accent);
    background-color: rgba(255,255,255,0.02);
}

/* Top Mini Bar */
.top-minibar {
    background-color: var(--accent);
    color: #0f172a;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 24px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.top-minibar a {
    color: #0f172a;
    text-decoration: none;
    transition: opacity 0.2s;
}

.top-minibar a:hover {
    opacity: 0.8;
}

/* Header Brand Layout */
.header-brand-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

.accreditation-shield-badges {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shield-badge {
    height: 50px;
    object-fit: contain;
}

/* Header Actions Pills Row */
.header-actions-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    margin-bottom: 8px;
}

.pill-btn {
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: white;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Stagger different British colors */
.pill-btn:nth-child(3n+1) {
    border-color: #0b2265; /* Royal Navy */
    color: #93c5fd;
}
.pill-btn:nth-child(3n+2) {
    border-color: #c8102e; /* British Crimson */
    color: #fca5a5;
}
.pill-btn:nth-child(3n+3) {
    border-color: #d4af37; /* Royal Gold */
    color: #fde047;
}

/* Hover dynamic colors and shadows */
.pill-btn:hover {
    transform: scale(1.12) translateY(-2px);
    color: white !important;
}

.pill-btn:nth-child(3n+1):hover {
    background: #0b2265;
    box-shadow: 0 8px 20px rgba(11, 34, 101, 0.45);
}
.pill-btn:nth-child(3n+2):hover {
    background: #c8102e;
    box-shadow: 0 8px 20px rgba(200, 16, 46, 0.45);
}
.pill-btn:nth-child(3n+3):hover {
    background: #d4af37;
    color: #0f172a !important;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.45);
}

/* Black Marquee Alert Bar */
.ticker-black {
    background-color: #000;
    color: #fff;
    height: 36px;
    display: flex;
    align-items: center;
    overflow: hidden;
    font-size: 0.8rem;
    font-weight: 500;
    border-bottom: 1px solid #222;
}

.ticker-black-marquee {
    display: inline-block;
    white-space: nowrap;
    animation: marquee-scroll-left 30s linear infinite;
    padding-left: 50px;
}

.ticker-star {
    color: var(--accent);
    margin: 0 16px;
    font-size: 0.95rem;
}

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

/* Placement logos marquee */
.placement-marquee-container {
    background: rgba(15, 23, 42, 0.4);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 24px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.placement-marquee-inner {
    display: flex;
    width: max-content;
    animation: marquee-infinite 20s linear infinite;
    gap: 60px;
    align-items: center;
}

.placement-marquee-inner:hover {
    animation-play-state: paused;
}

.placement-logo-item {
    background: white;
    padding: 10px 20px;
    border-radius: 6px;
    height: 50px;
    min-width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.placement-logo-item img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.placement-logo-item span {
    color: #1e293b;
    font-weight: 700;
    font-size: 0.9rem;
}

@keyframes marquee-infinite {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); } /* Uses duplicate logos for continuous cycle */
}

/* Highlights division with animated photo frames */
.highlights-photo-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.highlight-photo-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    background: #090d16;
}

/* Animated Border Glow Frame */
.highlight-photo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 3px; /* border thickness */
    background: linear-gradient(135deg, var(--accent), #3b82f6, var(--accent), #3b82f6);
    background-size: 400% 400%;
    -webkit-mask: 
       linear-gradient(#fff 0 0) content-box, 
       linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    z-index: 5;
    animation: border-gradient-anim 6s ease infinite;
    pointer-events: none;
}

@keyframes border-gradient-anim {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.highlight-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s;
    filter: brightness(0.7) contrast(1.1);
}

.highlight-photo-card:hover .highlight-photo-img {
    transform: scale(1.08);
    filter: brightness(0.9) contrast(1.1);
}

.highlight-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(9,13,22,0.9) 0%, rgba(9,13,22,0) 100%);
    z-index: 10;
    transition: transform 0.3s;
}

.highlight-photo-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.highlight-photo-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer layout embeds grid */
.footer-social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 500px;
    width: 100%;
}

.footer-social-frame {
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: rgba(0,0,0,0.3);
    overflow: hidden;
    height: 180px;
}

/* Responsive */
@media(max-width: 900px) {
    .page-with-sidebar {
        grid-template-columns: 1fr;
    }
    .faculty-profile-card {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
    .col-4, .col-8, .col-6 {
        grid-column: span 12;
    }
    .footer-social-grid {
        grid-template-columns: 1fr;
    }
}

/* Academics tabbed portal division */
.academics-wrapper-bg {
    background: radial-gradient(circle at 10% 20%, rgba(15, 23, 42, 0.98) 0%, rgba(10, 15, 30, 0.98) 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 80px 0;
}

.academics-grid-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.academics-quote {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 32px;
}

.academics-quote strong {
    color: white;
}

.academics-tabs-header {
    display: flex;
    gap: 2px;
    border-bottom: 4px solid var(--accent);
}

.academics-tab-trigger {
    background-color: var(--accent);
    color: #0f172a;
    border: none;
    padding: 14px 24px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s;
    border-radius: 6px 6px 0 0;
    letter-spacing: 0.5px;
}

.academics-tab-trigger.active {
    background-color: white;
    color: #0f172a;
    padding-bottom: 16px;
    margin-bottom: -2px;
}

.academics-tab-pane {
    display: none;
    background: white;
    color: #1e293b;
    padding: 32px;
    border-radius: 0 0 8px 8px;
    min-height: 240px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    animation: fadeInTab 0.3s ease-out;
}

.academics-tab-pane.active {
    display: block;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.course-list-items {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.course-list-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}

.course-list-link:hover {
    transform: translateX(4px);
    color: #1d4ed8;
}

/* Right-side visual banner card */
.academics-right-banner {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    background: #000;
    height: 100%;
    min-height: 380px;
}

.academics-student-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    position: absolute;
    top: 0;
    left: 0;
}

.placement-badge-overlay {
    position: absolute;
    bottom: 80px;
    left: 0;
    background-color: var(--accent);
    color: #0f172a;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    max-width: 260px;
    z-index: 10;
}

.top-notch-placements-seal {
    position: absolute;
    top: 24px;
    right: 24px;
    background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
    border: 3px dashed var(--accent);
    color: white;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.55rem;
    font-weight: 800;
    text-transform: uppercase;
    transform: rotate(15deg);
    z-index: 15;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.top-notch-placements-seal strong {
    font-size: 0.65rem;
    color: var(--accent);
}

    .academics-admissions-bar {
        background-color: var(--accent);
        color: #0f172a;
        text-decoration: none;
        font-family: var(--font-heading);
        font-weight: 800;
        font-size: 0.95rem;
        text-transform: uppercase;
        text-align: center;
        padding: 16px;
        display: block;
        z-index: 10;
        border-top: 1px solid rgba(0,0,0,0.05);
        margin-top: auto;
    }

    .academics-admissions-bar:hover {
        background-color: var(--accent-hover);
    }
}

/* Placement Stories Section */
.placement-stories-wrapper {
    background: linear-gradient(135deg, #090d16 0%, #0f172a 40%, #1e1b4b 75%, #2e1065 100%);
    padding: 80px 0;
    color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.placement-stats-bar {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(88, 28, 135, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 32px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    margin-bottom: 48px;
    position: relative;
}

.placement-seal-left {
    background: linear-gradient(135deg, #fef08a, #f59e0b);
    border-radius: 50%;
    width: 90px;
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #0f172a;
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 0.55rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    border: 3px dashed white;
    animation: rotateSlow 20s linear infinite;
    flex-shrink: 0;
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.placement-seal-left strong {
    font-size: 0.8rem;
}

.placement-stats-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 16px;
    flex-grow: 1;
    text-align: center;
}

.placement-stat-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255,255,255,0.15);
}

.placement-stat-col:last-child {
    border-right: none;
}

.placement-stat-val {
    font-size: 2.1rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1.1;
    color: white;
}

.placement-stat-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    color: #93c5fd;
    margin-top: 4px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.placement-stat-limit {
    font-size: 1.6rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--accent);
    margin-top: 2px;
}

/* Testimonial cards grid */
.placement-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.placement-testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.07) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: start;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
}

.placement-testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.45);
}

.placement-testimonial-card::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.15;
    border-radius: 50%;
}

.placement-student-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.2);
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.placement-testimonial-body {
    flex-grow: 1;
}

.placement-student-quote {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #cbd5e1;
    font-style: italic;
    margin-bottom: 12px;
    position: relative;
}

.placement-student-meta {
    font-size: 0.8rem;
    color: #e2e8f0;
}

.placement-student-name {
    font-weight: 700;
    color: #0f172a;
}

.placement-student-comp {
    color: #2563eb;
    font-weight: 700;
    margin-top: 2px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

/* Partner Recruiters Grid */
.recruiters-display-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.recruiter-grid-box {
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    transition: transform 0.2s, box-shadow 0.2s;
}

.recruiter-grid-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.recruiter-grid-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.recruiter-grid-box span {
    font-family: var(--font-heading);
    font-weight: 800;
    color: #334155;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

@media(max-width: 1024px) {
    .placement-stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    .placement-stat-col {
        border-right: none;
    }
    .placement-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .recruiters-display-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media(max-width: 768px) {
    .placement-stats-bar {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    .placement-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .placement-cards-grid {
        grid-template-columns: 1fr;
    }
    .recruiters-display-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Department Profile Enhancements: Gradients, Hover effects and Animations */
.dept-main-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.dept-main-card:hover {
    border-color: rgba(245, 158, 11, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.05);
}

.dept-degree-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.06) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px;
    border-radius: 8px;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.dept-degree-card::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    width: 4px; 
    height: 100%;
    background: linear-gradient(to bottom, var(--accent), #3b82f6);
    opacity: 0.8;
}

.dept-degree-card:hover {
    border-color: rgba(245, 158, 11, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.1);
}

.dept-hod-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 24px;
    align-items: start;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.dept-hod-card:hover {
    border-color: rgba(245, 158, 11, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.05);
}

.dept-faculty-card {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.05) 100%);
    padding: 24px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.dept-faculty-card:hover {
    border-color: rgba(245, 158, 11, 0.45);
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.dept-faculty-card img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s, border-color 0.4s;
}

.dept-faculty-card:hover img {
    transform: scale(1.08) rotate(3deg);
    border-color: var(--accent);
}

/* Department image style */
.dept-banner-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    margin-top: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.dept-banner-image:hover {
    transform: scale(1.01);
}

/* Fullscreen Page Loader Overlay */
#page-loader {
    position: fixed;
    inset: 0;
    background-color: #090d16;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
    gap: 12px;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 25px rgba(255,255,255,0.15);
    }
    50% {
        transform: scale(1.04);
        box-shadow: 0 0 35px rgba(245, 158, 11, 0.4);
    }
}

.loader-letters {
    display: flex;
    gap: 12px;
}

.loader-letters span {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 0 10px rgba(255,255,255,0.15);
    display: inline-block;
    animation: letterBounce 1.4s infinite ease-in-out;
}

@keyframes letterBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
        color: white;
        text-shadow: 0 0 10px rgba(255,255,255,0.15);
    }
    50% {
        transform: translateY(-24px) scale(1.1);
        color: var(--accent);
        text-shadow: 0 0 25px var(--accent), 0 0 45px var(--accent);
    }
}

.loader-bar {
    width: 160px;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #3b82f6);
    animation: barFill 1.5s infinite linear;
    transform-origin: left;
}

@keyframes barFill {
    0% { transform: scaleX(0); }
    50% { transform: scaleX(1); }
    100% { transform: scaleX(0); transform-origin: right; }
}

#page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* Fancy dynamic underline animations for main navigation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background-color: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}

.nav-link:hover::after, .nav-item:hover > .nav-link::after {
    transform: scaleX(1);
}

/* Footer links interactive effects */
footer a {
    transition: color 0.25s, padding-left 0.25s;
    display: inline-block;
}

footer a:hover {
    color: var(--accent) !important;
    padding-left: 6px;
}

/* Floating Social Container Middle Left */
.floating-social-container {
    position: fixed;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Floating iOS springy icons styling */
.floating-social-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px; /* iOS squircle-like radius */
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
    text-decoration: none;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), 
                background-color 0.3s ease, 
                border-color 0.3s ease,
                box-shadow 0.3s ease, 
                color 0.3s ease;
    cursor: pointer;
    animation: floating-ios-breathe 4s ease-in-out infinite alternate;
}

/* Platform Specific Brand colors on Hover with glow */
.floating-social-icon:hover {
    transform: scale(1.28) rotate(4deg);
    color: white;
}

.facebook-icon:hover {
    background: #1877f2;
    border-color: #4267b2;
    box-shadow: 0 10px 24px rgba(24, 119, 242, 0.45);
}

.instagram-icon:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
    box-shadow: 0 10px 24px rgba(220, 39, 67, 0.45);
}

.linkedin-icon:hover {
    background: #0a66c2;
    border-color: #0077b5;
    box-shadow: 0 10px 24px rgba(10, 102, 194, 0.45);
}

.youtube-icon:hover {
    background: #ff0000;
    border-color: #cc0000;
    box-shadow: 0 10px 24px rgba(255, 0, 0, 0.45);
}

/* SVG icons height */
.floating-social-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    transition: fill 0.3s ease;
}

/* iOS Floating animation */
@keyframes floating-ios-breathe {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-8px);
    }
}
/* Stagger floating breathing slightly */
.floating-social-container a:nth-child(1) { animation-delay: 0s; }
.floating-social-container a:nth-child(2) { animation-delay: 0.4s; }
.floating-social-container a:nth-child(3) { animation-delay: 0.8s; }
.floating-social-container a:nth-child(4) { animation-delay: 1.2s; }

/* Scroll To Top Button */
#scroll-to-top-btn {
    position: fixed;
    right: 32px;
    bottom: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--accent);
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.4s ease, 
                transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-color 0.3s ease,
                background-color 0.3s ease;
}

#scroll-to-top-btn.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

#scroll-to-top-btn:hover {
    background-color: var(--accent);
    color: #0f172a;
    border-color: var(--accent);
    transform: scale(1.15) translateY(-4px);
    box-shadow: 0 10px 24px rgba(59, 130, 246, 0.35);
}

/* Incubation Springy Hover Card */
.coe-card-spring:hover {
    transform: translateY(-6px);
    border-color: var(--accent) !important;
    box-shadow: 0 12px 36px rgba(59, 130, 246, 0.2) !important;
}

.coe-card-spring:hover .know-more-glow-link {
    color: white !important;
}

.coe-card-spring:hover .arrow-trans {
    transform: translateX(6px);
}

/* CoE Partner Pills styles */
.coe-partner-pill {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
}

.coe-partner-pill:hover {
    transform: scale(1.16) rotate(2deg);
    color: white !important;
}

.re-pill:hover {
    background: #000000;
    border-color: #da291c;
    box-shadow: 0 8px 20px rgba(218, 41, 28, 0.45);
}

.idea-pill:hover {
    background: #ea580c;
    border-color: #f97316;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.45);
}

.oracle-pill:hover {
    background: #f00000;
    border-color: #f00000;
    box-shadow: 0 8px 20px rgba(240, 0, 0, 0.45);
}

.ibm-pill:hover {
    background: #054ada;
    border-color: #054ada;
    box-shadow: 0 8px 20px rgba(5, 74, 218, 0.45);
}

.eicher-pill:hover {
    background: #047857;
    border-color: #047857;
    box-shadow: 0 8px 20px rgba(4, 120, 87, 0.45);
}

.intel-pill:hover {
    background: #0066cc;
    border-color: #0066cc;
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.45);
}

.labview-pill:hover {
    background: #ea580c;
    border-color: #ea580c;
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.45);
}

.messer-pill:hover {
    background: #2563eb;
    border-color: #2563eb;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.45);
}

.honeywell-pill:hover {
    background: #de2d26;
    border-color: #de2d26;
    box-shadow: 0 8px 20px rgba(222, 45, 38, 0.45);
}

@media (max-width: 991px) {
    .innovation-grid-wrap {
        grid-template-columns: 1fr !important;
    }
}

/* Institutional Highlights Image Gallery Styling */
.highlights-image-grid {
    perspective: 1000px;
}

.highlight-image-card {
    border-radius: 16px;
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.3s ease, 
                border-color 0.3s ease;
    cursor: pointer;
}

.highlight-image-wrapper {
    height: 300px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

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

.highlight-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.4) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 28px;
    transition: background-color 0.4s ease;
}

.highlight-image-content {
    transform: translateY(12px);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.highlight-image-content h3 {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.highlight-image-content p {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    opacity: 0.85;
}

/* Hover transitions */
.highlight-image-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.25);
}

.highlight-image-card:hover .highlight-image-wrapper img {
    transform: scale(1.08);
}

.highlight-image-card:hover .highlight-image-overlay {
    background-color: rgba(15, 23, 42, 0.5);
}

.highlight-image-card:hover .highlight-image-content {
    transform: translateY(0);
}

/* Alternating CoE Block Transitions */
.coe-row-alternating:hover .coe-image-frame img {
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .coe-row-alternating {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .flex-reverse-mobile {
        display: flex !important;
        flex-direction: column-reverse !important;
    }
    .coe-image-frame {
        height: 280px !important;
    }
    .accreditation-grid-top {
        grid-template-columns: 1fr !important;
    }
}

/* NAAC Dynamic Accordion Page Redesign Styles */
.accreditation-card-spring {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease;
}

.accreditation-card-spring:hover {
    transform: translateY(-4px);
    border-color: var(--accent) !important;
}

.naac-accordion-header:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.naac-accordion-header:hover .folder-icon-wrap {
    transform: scale(1.15) rotate(-5deg);
}

.naac-doc-link-card:hover {
    transform: scale(1.03) translateY(-3px);
    background-color: #0f172a !important;
    border-color: var(--accent) !important;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.22);
}

.naac-doc-link-card:hover .doc-title-hover {
    color: white !important;
}

.naac-doc-link-card:hover .download-text {
    color: white !important;
    text-shadow: 0 0 8px var(--accent);
}

/* Light Theme Color Fixes & 3D Elements Adaptability */
body.light-theme {
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(15, 23, 42, 0.12);
}

/* Form Inputs & Labels Override */
.form-card label {
    color: var(--text-light) !important;
    font-weight: 600;
    transition: color 0.4s;
}

.form-card input,
.form-card textarea {
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-light) !important;
    transition: all 0.3s ease;
}

body.light-theme .form-card input,
body.light-theme .form-card textarea {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(15, 23, 42, 0.15);
}

.form-card input::placeholder,
.form-card textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

/* CoE and Incubation Card overrides */
.coe-card-spring {
    background: var(--glass-bg) !important;
}

.coe-card-spring h2,
.coe-card-spring h4,
.accreditation-card-spring h3,
.accreditation-card-spring h4,
.naac-accordion-header h4 {
    color: var(--text-light) !important;
    transition: color 0.4s;
}

/* Alliance Pills overrides for Light Theme */
body.light-theme .coe-partner-pill {
    background: rgba(15, 23, 42, 0.06);
    border-color: rgba(15, 23, 42, 0.08);
    color: var(--text-muted);
}

body.light-theme .coe-partner-pill:hover {
    color: white !important;
}

/* NAAC document lists light mode fixes */
body.light-theme .naac-doc-link-card {
    background: rgba(255, 255, 255, 0.9) !important;
}

body.light-theme .naac-doc-link-card span.doc-title-hover {
    color: var(--text-light) !important;
}

body.light-theme .naac-doc-link-card:hover {
    background-color: var(--primary) !important;
}

body.light-theme .naac-doc-link-card:hover span.doc-title-hover {
    color: white !important;
}

/* Global Light Theme Contrast & Visibility Overrides */
body.light-theme h1,
body.light-theme h2,
body.light-theme h3,
body.light-theme h4,
body.light-theme h5,
body.light-theme h6,
body.light-theme strong,
body.light-theme label,
body.light-theme th,
body.light-theme td,
body.light-theme .faculty-title,
body.light-theme .details-title,
body.light-theme .bento-label,
body.light-theme .bulletin-title {
    color: var(--text-light) !important;
    transition: color 0.4s;
}

body.light-theme p,
body.light-theme li,
body.light-theme span:not(.pill-btn):not(.coe-partner-pill):not(.floating-social-container a) {
    color: var(--text-muted);
}

body.light-theme a:not(.btn):not(.btn-primary):not(.pill-btn):not(.coe-partner-pill):not(.pdf-download-item):not(.naac-doc-link-card):not(.floating-social-container a) {
    color: var(--primary-light) !important;
}

body.light-theme .btn-primary,
body.light-theme .btn {
    color: #ffffff !important;
}

body.light-theme .card,
body.light-theme .accreditation-card,
body.light-theme .department-card,
body.light-theme .details-card,
body.light-theme .sidebar-card,
body.light-theme .doc-card,
body.light-theme .lab-card,
body.light-theme .usp-card,
body.light-theme .spec-card,
body.light-theme .faculty-card,
body.light-theme .bento-card {
    background: var(--glass-bg) !important;
    border-color: var(--glass-border) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05) !important;
}

/* Glass panel overrides for light theme */
body.light-theme .glass-panel,
body.light-theme .coe-partners-wrap,
body.light-theme .naac-accordions-container {
    background: rgba(255, 255, 255, 0.7) !important;
    border-color: rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme .naac-accordion-item {
    background: rgba(255, 255, 255, 0.6) !important;
    border-color: rgba(15, 23, 42, 0.08) !important;
}

body.light-theme .naac-accordion-header:hover {
    background-color: rgba(15, 23, 42, 0.02) !important;
}

body.light-theme .spotlight-card {
    background: var(--glass-bg) !important;
    border-color: var(--glass-border) !important;
}

body.light-theme .spotlight-number {
    color: var(--primary-light) !important;
}

body.light-theme .spotlight-title {
    color: var(--text-light) !important;
}


