/**
 * SNU - Saraswati National University
 * Main Stylesheet - Government University Theme
 */

:root {
    --snu-navy: #1a237e;
    --snu-navy-dark: #0d1642;
    --snu-saffron: #ff6f00;
    --snu-saffron-light: #ffa040;
    --snu-green: #2e7d32;
    --snu-white: #ffffff;
    --snu-light: #f5f7fa;
    --snu-gray: #6c757d;
    --snu-border: #dee2e6;
    --snu-shadow: 0 2px 12px rgba(26, 35, 126, 0.08);
    --font-heading: 'Merriweather', Georgia, serif;
    --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
    --header-height: 140px;
    --nav-height: 48px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: var(--snu-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--snu-navy);
}

a {
    color: var(--snu-navy);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--snu-saffron);
}

img {
    max-width: 100%;
    height: auto;
}

/* Skip Link */
.skip-link {
    font-size: 0.875rem;
}

/* Top Bar */
.top-bar {
    background: var(--snu-navy-dark);
    color: rgba(255,255,255,0.9);
    font-size: 0.8125rem;
    padding: 6px 0;
}

.top-bar a {
    color: rgba(255,255,255,0.9);
}

.top-bar a:hover {
    color: var(--snu-saffron-light);
}

/* Header */
.site-header {
    background: var(--snu-white);
    box-shadow: var(--snu-shadow);
    z-index: 1030;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 16px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex: 1;
    min-width: 0;
}

.logo-img {
    width: auto;
    max-width: 200px;
    height: 70px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.logo-hindi {
    font-size: 0.875rem;
    color: var(--snu-saffron);
    font-weight: 600;
    line-height: 1.3;
}

.logo-english {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--snu-navy);
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--snu-gray);
    margin-top: 2px;
}

.header-actions {
    gap: 10px;
    flex-shrink: 0;
}

.navbar-toggler {
    background: var(--snu-navy);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Buttons */
.btn-snu-primary {
    background: var(--snu-saffron);
    border-color: var(--snu-saffron);
    color: white;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 4px;
}

.btn-snu-primary:hover {
    background: var(--snu-saffron-light);
    border-color: var(--snu-saffron-light);
    color: white;
}

.btn-outline-snu {
    border: 2px solid var(--snu-navy);
    color: var(--snu-navy);
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 4px;
}

.btn-outline-snu:hover {
    background: var(--snu-navy);
    color: white;
}

/* Main Navigation */
.main-nav {
    background: linear-gradient(135deg, var(--snu-navy) 0%, var(--snu-navy-dark) 100%);
    border-top: 3px solid var(--snu-saffron);
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 12px 16px;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li:hover > a {
    background: rgba(255, 111, 0, 0.9);
    color: white;
}

.nav-menu > li.has-dropdown .dropdown-menu-custom {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    z-index: 1050;
    border-top: 3px solid var(--snu-saffron);
}

.nav-menu > li.has-dropdown:hover .dropdown-menu-custom {
    display: block;
}

.dropdown-menu-custom li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-size: 0.875rem;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu-custom li:last-child a {
    border-bottom: none;
}

.dropdown-menu-custom li a:hover {
    background: var(--snu-light);
    color: var(--snu-saffron);
    padding-left: 24px;
}

/* Mobile Nav */
.mobile-nav-link {
    display: block;
    padding: 12px 16px;
    color: #333;
    border-bottom: 1px solid #eee;
    font-weight: 500;
}

.mobile-nav-link:hover {
    background: var(--snu-light);
    color: var(--snu-saffron);
}

.mobile-nav-link i {
    margin-right: 8px;
    color: var(--snu-navy);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slider .carousel-item {
    height: 500px;
}

.hero-slider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(13, 22, 66, 0.85));
    padding: 60px 40px 30px;
    color: white;
}

.hero-caption h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-caption p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin: 0;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
}

.carousel-indicators .active {
    background-color: var(--snu-saffron);
}

/* Section Styles */
.section-padding {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--snu-saffron), var(--snu-navy));
    border-radius: 2px;
}

.section-title p {
    color: var(--snu-gray);
    margin-top: 10px;
}

.bg-light-section {
    background: var(--snu-light);
}

.bg-navy-section {
    background: linear-gradient(135deg, var(--snu-navy) 0%, var(--snu-navy-dark) 100%);
    color: white;
}

.bg-navy-section .section-title h2 {
    color: white;
}

.bg-navy-section .section-title p {
    color: rgba(255, 255, 255, 0.85);
}

.bg-navy-section .section-title h2::after {
    background: linear-gradient(90deg, var(--snu-saffron), rgba(255, 255, 255, 0.65));
}

.bg-navy-section .portal-card {
    color: var(--snu-dark);
}

.bg-navy-section .portal-card h3 {
    color: var(--snu-navy);
}

.bg-navy-section .portal-card p {
    color: var(--snu-gray);
}

/* Welcome Stats */
.welcome-section .stat-card {
    background: white;
    border-radius: 8px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: var(--snu-shadow);
    border-left: 4px solid var(--snu-saffron);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.welcome-section .stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(26, 35, 126, 0.12);
}

.stat-card .stat-icon {
    font-size: 2rem;
    color: var(--snu-navy);
    margin-bottom: 8px;
}

.stat-card .stat-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--snu-saffron);
    display: block;
}

.stat-card .stat-label {
    font-size: 0.875rem;
    color: var(--snu-gray);
    font-weight: 600;
}

.welcome-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.welcome-intro .highlight {
    color: var(--snu-navy);
    font-weight: 700;
}

/* Quick Links */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.quick-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 12px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--snu-shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 130px;
}

.quick-link-card:hover {
    border-color: var(--snu-saffron);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 111, 0, 0.15);
}

.quick-link-card i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.quick-link-card span {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.quick-link-card.ql-primary i { color: #1a237e; }
.quick-link-card.ql-success i { color: #2e7d32; }
.quick-link-card.ql-warning i { color: #f57c00; }
.quick-link-card.ql-info i { color: #0277bd; }
.quick-link-card.ql-danger i { color: #c62828; }
.quick-link-card.ql-secondary i { color: #546e7a; }

/* Announcements */
.announcements-panel {
    background: white;
    border-radius: 8px;
    box-shadow: var(--snu-shadow);
    overflow: hidden;
    height: 100%;
}

.announcements-header {
    background: var(--snu-navy);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.announcements-header h3 {
    color: white;
    font-size: 1.125rem;
    margin: 0;
}

.announcements-header .badge-new {
    background: var(--snu-saffron);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.announcements-list {
    max-height: 420px;
    overflow-y: auto;
}

.announcement-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.announcement-item:hover {
    background: #fafbfc;
}

.announcement-item:last-child {
    border-bottom: none;
}

.announcement-date {
    flex-shrink: 0;
    width: 52px;
    text-align: center;
    background: var(--snu-light);
    border-radius: 6px;
    padding: 6px 4px;
}

.announcement-date .day {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--snu-navy);
    line-height: 1;
}

.announcement-date .month {
    display: block;
    font-size: 0.6875rem;
    text-transform: uppercase;
    color: var(--snu-gray);
    font-weight: 600;
}

.announcement-content a {
    font-weight: 600;
    font-size: 0.9375rem;
    color: #333;
    display: block;
    margin-bottom: 4px;
}

.announcement-content a:hover {
    color: var(--snu-saffron);
}

.announcement-category {
    font-size: 0.75rem;
    color: var(--snu-gray);
}

.announcement-category .cat-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 0.6875rem;
    text-transform: uppercase;
}

.cat-admission { background: #e3f2fd; color: #1565c0; }
.cat-examination { background: #fff3e0; color: #e65100; }
.cat-academic { background: #e8f5e9; color: #2e7d32; }
.cat-scholarship { background: #fce4ec; color: #c2185b; }
.cat-placement { background: #f3e5f5; color: #7b1fa2; }
.cat-research { background: #e0f7fa; color: #00838f; }
.cat-default { background: #f5f5f5; color: #616161; }

/* Schools Grid */
.school-card {
    background: white;
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--snu-shadow);
    height: 100%;
    border-top: 4px solid var(--snu-navy);
    transition: all 0.3s ease;
}

.school-card:hover {
    border-top-color: var(--snu-saffron);
    transform: translateY(-3px);
}

.school-card h4 {
    font-size: 1rem;
    margin-bottom: 12px;
}

.school-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.school-card ul li {
    padding: 4px 0;
    font-size: 0.875rem;
    color: #555;
}

.school-card ul li::before {
    content: '▸';
    color: var(--snu-saffron);
    margin-right: 6px;
}

.school-card-with-image {
    padding: 0;
    overflow: hidden;
}

.school-card-with-image .school-card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.school-card-with-image .school-card-body {
    padding: 20px 24px 24px;
}

@media (min-width: 992px) {
    .school-card-with-image .school-card-img {
        height: 180px;
    }
}

/* Accreditation Strip */
.accreditation-strip {
    background: white;
    padding: 30px 0;
    border-top: 1px solid var(--snu-border);
    border-bottom: 1px solid var(--snu-border);
}

.accred-item {
    text-align: center;
    padding: 16px;
}

.accred-item .accred-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--snu-saffron);
    display: block;
}

.accred-item .accred-label {
    font-size: 0.875rem;
    color: var(--snu-gray);
    font-weight: 600;
}

/* Placement Recruiters */
.recruiter-logo {
    background: white;
    border: 1px solid var(--snu-border);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    font-weight: 700;
    color: var(--snu-navy);
    font-size: 0.9375rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.recruiter-logo:hover {
    border-color: var(--snu-saffron);
    box-shadow: var(--snu-shadow);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 35, 126, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

/* Leadership Cards */
.leader-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--snu-shadow);
    text-align: center;
}

.leader-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top;
}

.leader-card .leader-info {
    padding: 16px;
}

.leader-card h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.leader-card p {
    font-size: 0.8125rem;
    color: var(--snu-gray);
    margin: 0;
}

/* Gov Links Strip */
.gov-links-strip {
    background: #f8f9fa;
    padding: 20px 0;
    border-top: 1px solid var(--snu-border);
}

.gov-links-scroll {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.gov-link-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--snu-border);
    transition: all 0.3s;
    padding: 8px;
}

.gov-link-item:hover {
    border-color: var(--snu-saffron);
    box-shadow: var(--snu-shadow);
    transform: translateY(-2px);
}

.gov-link-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gov-link-fallback {
    font-size: 0.625rem;
    font-weight: 700;
    text-align: center;
    color: var(--snu-navy);
}

/* Footer */
.site-footer {
    background: var(--snu-navy-dark);
    color: rgba(255,255,255,0.85);
}

.footer-top {
    padding: 50px 0 30px;
}

.footer-top h3, .footer-top h4 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 16px;
}

.footer-hindi {
    color: var(--snu-saffron-light);
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255,255,255,0.75);
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--snu-saffron-light);
}

.footer-badges .badge {
    margin-right: 6px;
    margin-bottom: 6px;
}

.site-footer address {
    font-style: normal;
    font-size: 0.875rem;
}

.site-footer address p {
    margin-bottom: 8px;
}

.site-footer address i {
    color: var(--snu-saffron);
    margin-right: 8px;
}

.social-links {
    margin-top: 16px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    margin-right: 8px;
    font-size: 1.125rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--snu-saffron);
    color: white;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 16px 0;
    font-size: 0.8125rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.75);
}

.footer-bottom a:hover {
    color: var(--snu-saffron-light);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--snu-saffron);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1020;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--snu-navy);
}

/* Breadcrumb */
.breadcrumb {
    background: var(--snu-light);
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 24px;
}

.breadcrumb-item a {
    color: var(--snu-navy);
}

.breadcrumb-item.active {
    color: var(--snu-gray);
}

/* Page Header Banner */
.page-banner {
    background: linear-gradient(135deg, var(--snu-navy) 0%, var(--snu-navy-dark) 100%);
    color: white;
    padding: 40px 0;
    margin-bottom: 0;
}

.page-banner h1 {
    color: white;
    font-size: 2rem;
    margin-bottom: 8px;
}

.page-banner p {
    opacity: 0.9;
    margin: 0;
}

/* Portal Cards */
.portal-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--snu-shadow);
    text-align: center;
    height: 100%;
}

.portal-card i {
    font-size: 3rem;
    color: var(--snu-navy);
    margin-bottom: 16px;
}

.portal-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

/* Forms */
.form-control:focus, .form-select:focus {
    border-color: var(--snu-navy);
    box-shadow: 0 0 0 0.2rem rgba(26, 35, 126, 0.15);
}

.form-label {
    font-weight: 600;
    font-size: 0.875rem;
}

/* Tables */
.table-snu thead {
    background: var(--snu-navy);
    color: white;
}

.table-snu thead th {
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    padding: 12px 16px;
}

.table-snu tbody tr:hover {
    background: var(--snu-light);
}

/* Notice Ticker */
.notice-ticker {
    background: var(--snu-saffron);
    color: white;
    padding: 8px 0;
    overflow: hidden;
}

.notice-ticker-inner {
    display: flex;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

.notice-ticker-inner span {
    padding: 0 40px;
    font-size: 0.875rem;
    font-weight: 600;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.notice-ticker:hover .notice-ticker-inner {
    animation-play-state: paused;
}

/* Admin Styles */
.admin-sidebar {
    background: var(--snu-navy-dark);
    min-height: 100vh;
    color: white;
    width: 260px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1040;
}

.admin-content {
    margin-left: 260px;
    padding: 24px;
    background: var(--snu-light);
    min-height: 100vh;
}

.stat-widget {
    background: white;
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--snu-shadow);
}

.stat-widget .widget-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--snu-navy);
}

.stat-widget .widget-label {
    color: var(--snu-gray);
    font-size: 0.875rem;
}

/* National Education Ecosystem Mega Section */
.ecosystem-mega {
    background: linear-gradient(180deg, #0d1642 0%, #1a237e 50%, #0d1642 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.ecosystem-mega::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.ecosystem-mega .section-title h2 { color: white; }
.ecosystem-mega .section-title p { color: rgba(255,255,255,0.8); }

.eco-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    position: relative;
    z-index: 1;
}

.eco-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: all 0.35s ease;
    min-height: 130px;
    backdrop-filter: blur(4px);
}

.eco-card:hover {
    background: rgba(255,255,255,0.18);
    border-color: var(--snu-saffron);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
    color: white;
}

.eco-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 10px;
    color: white;
}

.eco-card-title {
    font-size: 0.8125rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}

.eco-card-stat {
    font-size: 0.6875rem;
    opacity: 0.75;
    margin-top: 4px;
    font-weight: 600;
}

/* Live Stats Counter Strip */
.live-stats-strip {
    background: var(--snu-saffron);
    padding: 20px 0;
    color: white;
}

.live-stat-item {
    text-align: center;
    padding: 8px;
}

.live-stat-item .live-value {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

.live-stat-item .live-label {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Affiliations Strip */
.affiliation-strip {
    background: white;
    border-top: 1px solid var(--snu-border);
    border-bottom: 1px solid var(--snu-border);
    padding: 40px 0;
}

.affiliation-item {
    text-align: center;
    padding: 16px 8px;
}

.affiliation-item .aff-value {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--snu-navy);
    display: block;
}

.affiliation-item .aff-label {
    font-size: 0.8125rem;
    color: var(--snu-gray);
    font-weight: 600;
}

/* Rankings Cards */
.ranking-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--snu-shadow);
    border-top: 4px solid var(--snu-saffron);
    height: 100%;
}

.ranking-card .rank-name {
    font-size: 0.875rem;
    color: var(--snu-gray);
    font-weight: 600;
}

.ranking-card .rank-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--snu-navy);
    margin: 8px 0;
}

.ranking-card .rank-cat {
    font-size: 0.75rem;
    color: var(--snu-saffron);
}

/* Virtual Tour Viewer */
.tour-viewer {
    background: #000;
    border-radius: 12px;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.tour-viewer-placeholder {
    text-align: center;
    color: white;
    padding: 40px;
}

.tour-viewer-placeholder i {
    font-size: 4rem;
    opacity: 0.5;
    margin-bottom: 16px;
}

.tour-nav-btn {
    position: absolute;
    bottom: 20px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 24px;
    cursor: pointer;
    backdrop-filter: blur(4px);
}

.tour-nav-btn:hover { background: var(--snu-saffron); }

/* TV / Radio Player */
.media-player-box {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    color: white;
}

.media-player-box .play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--snu-saffron);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-badge {
    display: inline-block;
    background: #e53935;
    color: white;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    animation: pulse 1.5s infinite;
}

@media (max-width: 1199.98px) {
    .eco-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 991.98px) {
    .eco-grid { grid-template-columns: repeat(3, 1fr); }
    .live-stat-item .live-value { font-size: 1.375rem; }
}

@media (max-width: 767.98px) {
    .eco-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .eco-card { min-height: 100px; padding: 16px 8px; }
    .eco-card-icon { width: 44px; height: 44px; font-size: 1.25rem; }
    .eco-card-title { font-size: 0.6875rem; }
    .affiliation-item .aff-value { font-size: 1.5rem; }
}

@media (max-width: 575.98px) {
    .eco-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Leadership & Faculty Cards */
.leader-card-full {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--snu-shadow);
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.leader-card-full:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(26, 35, 126, 0.12);
}

.leader-photo-wrap {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--snu-light);
}

.leader-photo-wrap img, .dean-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.leader-card-full .leader-info {
    padding: 16px;
}

.leader-role {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--snu-saffron);
    margin-bottom: 4px;
}

.leader-card-full h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    line-height: 1.3;
}

.leader-qual, .leader-exp, .leader-dept {
    font-size: 0.8125rem;
    color: var(--snu-gray);
    margin-bottom: 4px;
    line-height: 1.4;
}

.leader-tenure {
    font-size: 0.75rem;
    color: var(--snu-navy);
    margin: 0;
}

.leader-card-compact .leader-photo-wrap {
    aspect-ratio: 4/3;
}

.dean-school-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--snu-shadow);
    height: 100%;
    border-left: 4px solid var(--snu-navy);
    transition: border-color 0.3s;
}

.dean-school-card:hover {
    border-left-color: var(--snu-saffron);
}

.dean-school-body {
    padding: 16px;
}

.school-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    background: var(--snu-light);
    color: var(--snu-navy);
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.section-heading {
    position: relative;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--snu-saffron);
    display: inline-block;
}

.lead-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.message-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #333;
}

.message-content .lead {
    font-size: 1.15rem;
    color: var(--snu-navy);
    font-weight: 600;
}

.faculty-grid-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--snu-shadow);
    text-align: center;
    height: 100%;
}

.faculty-grid-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top;
}

.faculty-grid-card .faculty-body {
    padding: 14px;
}

.faculty-grid-card h4 {
    font-size: 0.9375rem;
    margin-bottom: 4px;
}

.faculty-papers {
    font-size: 0.75rem;
    color: var(--snu-saffron);
    font-weight: 600;
}

.org-chart-box {
    background: white;
    border: 2px solid var(--snu-navy);
    border-radius: 8px;
    padding: 12px 16px;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 8px auto;
    max-width: 280px;
}

.org-chart-box.highlight {
    background: var(--snu-navy);
    color: white;
}

.org-connector {
    width: 2px;
    height: 24px;
    background: var(--snu-saffron);
    margin: 0 auto;
}

/* Contact page */
.contact-quick-strip {
    background: linear-gradient(135deg, var(--snu-navy), #283593);
    padding: 1.25rem 0;
}

.contact-quick-item {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.contact-quick-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.contact-quick-item i {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.35rem;
    color: var(--snu-saffron);
}

.contact-quick-label {
    display: block;
    font-size: 0.75rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-quick-static {
    cursor: default;
}

.contact-form-card {
    border-top: 4px solid var(--snu-saffron);
}

.contact-dept-card {
    background: #fff;
    border: 1px solid #e0e4ef;
    border-radius: 10px;
    padding: 1.25rem;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.contact-dept-card:hover {
    box-shadow: 0 4px 16px rgba(26, 35, 126, 0.1);
    border-color: var(--snu-navy);
}

.contact-dept-icon {
    font-size: 1.75rem;
    color: var(--snu-navy);
    margin-bottom: 0.5rem;
    display: block;
}

.contact-faq .accordion-button:not(.collapsed) {
    background: #eef1fa;
    color: var(--snu-navy);
}

.contact-mobile-call {
    position: fixed;
    bottom: 80px;
    right: 16px;
    z-index: 1040;
    background: var(--snu-saffron);
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.contact-mobile-call:hover {
    color: #fff;
    background: #e65100;
}

@media (min-width: 992px) {
    .contact-enquiry-form .w-md-auto {
        width: auto !important;
    }
}
