/* 
   Rashtrakavi Kuvempu Law College - Premium Design System
   Vanilla CSS Styling with Rich Aesthetics, Transitions, and Dual-Theme Support
*/

/* -------------------------------------------------------------
   1. VARIABLES & DESIGN TOKENS
   ------------------------------------------------------------- */
:root {
    /* Color Palette - Premium Corporate Deep Navy & Royal Blue */
    --primary-h: 222;
    --primary-s: 53%;
    --primary-l: 8%;
    --primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l)); /* Deep Navy Base */
    
    --accent-gold-rgb: 37, 99, 235; /* Premium Royal Blue Decimals */
    --accent-gold: #2563eb; /* Advanced Royal Blue */
    --accent-gold-hover: #1d4ed8; /* Sleek Deep Blue */
    
    --accent-cyan: #0ea5e9; /* Vibrant Electric Cyan highlight */
    --accent-cyan-rgb: 14, 165, 233;
    
    --bg-dark: #050914; /* Deep Space Midnight Navy */
    --bg-card-dark: rgba(13, 20, 42, 0.7);
    --border-dark: rgba(37, 99, 235, 0.16); /* Translucent blue border */
    --text-dark-primary: #f8fafc;
    --text-dark-secondary: #94a3b8;

    --bg-light: #f8fafc; /* Platinum Mist */
    --bg-card-light: rgba(255, 255, 255, 0.85);
    --border-light: rgba(37, 99, 235, 0.12);
    --text-light-primary: #0f172a;
    --text-light-secondary: #475569;

    /* Theme-dependent tokens (Defaults to Dark Mode for supreme premium look) */
    --bg-main: var(--bg-dark);
    --bg-card: var(--bg-card-dark);
    --border-color: var(--border-dark);
    --text-primary: var(--text-dark-primary);
    --text-secondary: var(--text-dark-secondary);
    
    --glass-blur: blur(20px);
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.18); /* Advanced sapphire glow */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    /* Severity Colors */
    --color-success: #10b981;
    --color-error: #ef4444;
    --color-warning: #f59e0b;
    --color-info: #3b82f6; /* Info elements mapped to Blue for consistency */

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Light Theme overrides */
[data-theme="light"] {
    --bg-main: var(--bg-light);
    --bg-card: var(--bg-card-light);
    --border-color: var(--border-light);
    --text-primary: var(--text-light-primary);
    --text-secondary: var(--text-light-secondary);
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 25px rgba(197, 168, 128, 0.1);
}

/* -------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold-hover);
}

/* -------------------------------------------------------------
   3. TYPOGRAPHY & BUTTONS
   ------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.highlight-text {
    color: var(--accent-gold);
    background: linear-gradient(135deg, var(--accent-gold) 0%, #e2d1b9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.badge-warning {
    background-color: rgba(245, 158, 11, 0.15);
    color: var(--color-warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}
.badge-error {
    background-color: rgba(239, 68, 68, 0.15);
    color: var(--color-error);
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.badge-success {
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--color-success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.badge-info {
    background-color: rgba(var(--accent-gold-rgb), 0.15);
    color: var(--accent-gold);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-size: 0.95rem;
}
.btn-primary {
    background-color: var(--accent-gold);
    color: #0a0f1d;
    box-shadow: 0 4px 14px rgba(var(--accent-gold-rgb), 0.3);
}
.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--accent-gold-rgb), 0.5);
}
.btn-secondary {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}
.btn-outline {
    background-color: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
}
.btn-outline:hover {
    background-color: var(--accent-gold);
    color: #0a0f1d;
    box-shadow: var(--shadow-glow);
}
.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}
.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
}

/* Glass Card styling */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: var(--transition-smooth);
}
.glass-card:hover {
    border-color: rgba(var(--accent-gold-rgb), 0.4);
    box-shadow: var(--shadow-glow), var(--shadow-soft);
    transform: translateY(-4px);
}

/* Section Common Headers */
.section-header {
    margin-bottom: 50px;
    position: relative;
}
.section-header.center-align {
    text-align: center;
}
.section-tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-gold);
    letter-spacing: 0.15em;
    display: inline-block;
    margin-bottom: 8px;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 12px auto 0;
}
.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, rgba(var(--accent-gold-rgb), 0.2) 100%);
    border-radius: 2px;
    margin-top: 16px;
}
.section-divider.center {
    margin: 16px auto 0;
}

/* Scrolling Ticker Notification */
.scrolling-ticker {
    background: linear-gradient(90deg, #05080e 0%, #0a0f1d 50%, #05080e 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 990;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.ticker-content {
    display: inline-flex;
    animation: ticker-scroll 70s linear infinite;
    gap: 60px;
    padding-left: 100%;
}
.scrolling-ticker:hover .ticker-content {
    animation-play-state: paused;
}
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}
.ticker-item i {
    color: var(--accent-gold);
}
@keyframes ticker-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* -------------------------------------------------------------
   4. TOP BANNER & HEADER NAVIGATION
   ------------------------------------------------------------- */
.top-banner {
    background: linear-gradient(90deg, #0c111d 0%, #17253f 100%);
    border-bottom: 1px solid rgba(var(--accent-gold-rgb), 0.2);
    padding: 8px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #cbd5e1;
    z-index: 1000;
    position: relative;
    transition: var(--transition-smooth);
}
.banner-content {
    display: flex;
    align-items: center;
    gap: 16px;
}
.close-banner-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s ease;
}
.close-banner-btn:hover {
    color: #ffffff;
}

.header {
    background-color: rgba(var(--primary-h), var(--primary-s), var(--primary-l), 0.96);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 0;
    transition: var(--transition-smooth);
}

.header-top {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
[data-theme="light"] .header-top {
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}
.header-top-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.header-top .logo-area {
    gap: 16px;
}
.header-top .college-logo {
    width: 150px;
    height: 150px;
    background: #ffffff;
    padding: 12px;
    border: 5px solid var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 45px rgba(212, 175, 55, 0.8), 0 0 20px rgba(255, 255, 255, 0.3);
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.header-top .college-name-full {
    font-size: 1.8rem;
    letter-spacing: 0.04em;
    font-weight: 800;
    text-transform: uppercase;
}
.header-top .trust-name {
    font-size: 0.78rem;
    margin-top: 3px;
}

.header-bottom {
    padding: 10px 0;
}
.header-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-mobile {
    display: none;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}
.college-logo {
    width: 85px;
    height: 85px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.6), 0 0 10px rgba(255, 255, 255, 0.2);
    border: 3.5px solid var(--accent-gold);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: #ffffff;
    padding: 6px;
}
.logo-area:hover .college-logo {
    transform: rotate(15deg) scale(1.05);
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.college-name-abbr {
    display: none;
}
.college-name-full {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    text-transform: uppercase;
}
.trust-name {
    font-size: 0.72rem;
    color: var(--accent-gold);
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    gap: 16px;
}
.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}
.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}
.nav-link.active::after, .nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.theme-toggle, .mobile-menu-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}
.theme-toggle:hover, .mobile-menu-toggle:hover {
    background: var(--accent-gold);
    color: #0c111d;
    border-color: var(--accent-gold);
}
.mobile-menu-toggle {
    display: none;
}

/* -------------------------------------------------------------
   5. HERO SECTION
   ------------------------------------------------------------- */
.hero-section {
    position: relative;
    padding: 140px 0 100px;
    background-image: url('assets/library/images/law_library_hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    min-height: 85vh;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 14, 23, 0.95) 30%, rgba(20, 26, 38, 0.7) 100%);
    z-index: 1;
}

[data-theme="light"] .hero-overlay {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 30%, rgba(255, 255, 255, 0.75) 100%);
}

/* Force dark overlay on president image card inside light theme so name overlay stays highly visible */
[data-theme="light"] .president-card-frame .hero-overlay {
    background: linear-gradient(180deg, transparent 50%, rgba(7, 11, 19, 0.95) 95%) !important;
}


.hero-container {
    position: relative;
    z-index: 2;
}
.hero-content {
    max-width: 800px;
}
.hero-tag {
    background: rgba(var(--accent-gold-rgb), 0.12);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.25);
    color: var(--accent-gold);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
    max-width: 600px;
}
.stat-card {
    display: flex;
    flex-direction: column;
}
.stat-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
}
.stat-lbl {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* -------------------------------------------------------------
   6. LEADERSHIP (PRESIDENT'S MESSAGE)
   ------------------------------------------------------------- */
.president-section {
    padding: 100px 0;
    position: relative;
}
.president-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 60px;
    align-items: center;
}
.president-image-wrapper {
    position: relative;
}
.president-card-frame {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(20, 26, 38, 0.4) 0%, rgba(10, 14, 23, 0.8) 100%);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.2);
}

.avatar-placeholder {
    font-size: 7rem;
    color: rgba(var(--accent-gold-rgb), 0.25);
    margin-top: 40px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 4s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

.president-title-badge {
    width: 100%;
    background: rgba(12, 17, 29, 0.8);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.2);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}
.president-title-badge h3 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    font-size: 1.3rem;
    margin-bottom: 4px;
}
.president-title-badge p {
    color: var(--accent-cyan) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.president-message-content {
    position: relative;
}
.quote-icon {
    font-size: 3.5rem;
    color: rgba(var(--accent-gold-rgb), 0.15);
    position: absolute;
    top: -24px;
    left: -20px;
    z-index: 0;
}
.message-headline {
    font-size: 1.8rem;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}
.message-para {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}
.president-signature {
    margin-top: 36px;
}
.sig-line {
    width: 100px;
    height: 1px;
    background-color: var(--accent-gold);
    margin-bottom: 12px;
}
.sig-name {
    font-size: 1.2rem;
    color: var(--text-primary);
}
.sig-title {
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-weight: 500;
}

/* -------------------------------------------------------------
   7. GOVERNING COUNCIL
   ------------------------------------------------------------- */
.council-section {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(12, 17, 29, 0.3) 0%, rgba(20, 26, 38, 0.5) 100%);
    border-top: 1px solid var(--border-color);
}
.council-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.council-card {
    padding: 32px 24px;
    text-align: center;
    position: relative;
}

.council-card.premium {
    border: 1px solid rgba(var(--accent-gold-rgb), 0.4);
}
.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(var(--accent-gold-rgb), 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.council-card:hover .card-glow {
    opacity: 1;
}

.council-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(var(--accent-gold-rgb), 0.12);
    padding: 2px 10px;
    border-radius: 12px;
    border: 1px solid rgba(var(--accent-gold-rgb), 0.25);
}

.council-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 24px;
    font-size: 1.8rem;
    color: var(--accent-gold);
    transition: var(--transition-smooth);
}
.council-card:hover .council-icon-wrap {
    background: var(--accent-gold);
    color: #0c111d;
    transform: scale(1.05);
}

.council-name {
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.council-role {
    font-size: 0.9rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 20px;
}
.council-meta {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}
.uni-name, .location, .court, .address {
    font-size: 0.82rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}
.council-contact {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.council-contact:hover {
    color: var(--accent-gold);
}
.contact-na {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* -------------------------------------------------------------
   8. FACULTY DIRECTORY
   ------------------------------------------------------------- */
.faculties-section {
    padding: 100px 0;
}
.faculty-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}
.tab-btn {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 24px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.tab-btn:hover, .tab-btn.active {
    background-color: var(--accent-gold);
    color: #0c111d;
    border-color: var(--accent-gold);
}

.search-box-container {
    max-width: 600px;
    margin: 0 auto 50px;
    position: relative;
}
.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.1rem;
}
#faculty-search, #conduct-search {
    width: 100%;
    padding: 16px 20px 16px 50px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}
#faculty-search:focus, #conduct-search:focus {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-glow), var(--shadow-soft);
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.faculty-card {
    padding: 40px 30px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.principal-highlight {
    border-color: rgba(var(--accent-gold-rgb), 0.45);
    background: linear-gradient(135deg, rgba(20, 26, 38, 0.7) 0%, rgba(12, 17, 29, 0.9) 100%);
}
.card-premium-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(var(--accent-gold-rgb), 0.18) 0%, transparent 70%);
}

.badge-role {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.badge-principal {
    background: rgba(var(--accent-gold-rgb), 0.15);
    color: var(--accent-gold);
    border-color: rgba(var(--accent-gold-rgb), 0.3);
}
.badge-admin {
    background: rgba(var(--accent-gold-rgb), 0.1);
    color: var(--accent-gold);
    border-color: rgba(var(--accent-gold-rgb), 0.2);
}

.faculty-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(var(--accent-gold-rgb), 0.12);
    border: 1.5px dashed var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}
.faculty-card:hover .faculty-avatar {
    transform: scale(1.05) rotate(5deg);
    background: var(--accent-gold);
    color: #0c111d;
    border-style: solid;
}

.fac-name {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.fac-qual {
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.fac-sep {
    width: 40px;
    border: 0;
    height: 1px;
    background-color: var(--border-color);
    margin: 16px auto;
}
.faculty-info {
    width: 100%;
}
.fac-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    font-size: 0.88rem;
}
.fac-meta p {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.fac-meta i {
    width: 16px;
    color: var(--accent-gold);
}
.fac-meta a {
    color: var(--text-primary);
    font-weight: 500;
}
.fac-meta a:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

.info-missing {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 12px;
    border-radius: 6px;
    width: 100%;
    margin-top: 12px;
}

/* -------------------------------------------------------------
   9. STATUTORY COMMITTEES
   ------------------------------------------------------------- */
.committees-section {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(20, 26, 38, 0.5) 0%, rgba(12, 17, 29, 0.3) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.committees-container {
    display: grid;
    grid-template-columns: 1fr 2.4fr;
    gap: 40px;
}

.committees-sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.committee-btn {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 16px 20px;
    border-radius: 12px;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
}
.committee-btn i {
    font-size: 1.1rem;
    width: 20px;
    transition: transform 0.3s ease;
}
.committee-btn:hover {
    color: var(--text-primary);
    border-color: rgba(var(--accent-gold-rgb), 0.3);
    padding-left: 24px;
}
.committee-btn:hover i {
    transform: scale(1.1);
}
.committee-btn.active {
    background-color: var(--accent-gold);
    color: #0a0f1d;
    border-color: var(--accent-gold);
    padding-left: 24px;
    box-shadow: 0 4px 14px rgba(var(--accent-gold-rgb), 0.2);
}

.committees-display-panel {
    padding: 48px;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.committee-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}
.committee-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 28px;
}
.panel-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(var(--accent-gold-rgb), 0.15);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.3);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}
.panel-header h2 {
    font-size: 2rem;
    color: var(--text-primary);
}
.panel-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
}
.panel-highlights {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}
.panel-highlights h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}
.panel-highlights ul {
    list-style: none;
    display: grid;
    gap: 12px;
}
.panel-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.panel-highlights li i {
    margin-top: 4px;
    font-size: 0.9rem;
}

.text-error { color: var(--color-error); }
.text-success { color: var(--color-success); }
.text-gold { color: var(--accent-gold); }
.text-info { color: var(--color-info); }

/* -------------------------------------------------------------
   10. STUDENT CODE OF CONDUCT
   ------------------------------------------------------------- */
.conduct-section {
    padding: 100px 0;
}

.rules-search-container {
    max-width: 600px;
    margin: 0 auto 40px;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.rule-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 20px;
    transition: var(--transition-smooth);
}
.rule-card:hover {
    border-color: rgba(var(--accent-gold-rgb), 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.rule-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-gold);
    opacity: 0.5;
    line-height: 1;
}

.rule-content h3 {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.rule-content p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.warning-card {
    border-left: 4px solid var(--color-error);
}
.warning-card:hover {
    border-left-color: var(--color-error);
}
.warning-card .badge {
    font-size: 0.6rem;
    padding: 1px 6px;
}

/* -------------------------------------------------------------
   11. FOOTER
   ------------------------------------------------------------- */
.footer {
    background-color: #05080e;
    color: #94a3b8;
    border-top: 1px solid rgba(var(--accent-gold-rgb), 0.2);
    padding: 80px 0 0;
    font-size: 0.9rem;
}

[data-theme="light"] .footer {
    background-color: #0f172a;
    color: #cbd5e1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-emblem {
    width: 96px;
    height: 96px;
    object-fit: contain;
    border-radius: 50%;
    border: 3.5px solid var(--accent-gold);
    background: #ffffff;
    padding: 6px;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
}
.footer-logo h3 {
    font-size: 1.3rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.footer-desc {
    color: #64748b;
    line-height: 1.6;
}
.social-links {
    display: flex;
    gap: 12px;
}
.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition-smooth);
}
.social-links a:hover {
    background-color: var(--accent-gold);
    color: #0c111d;
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 4px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.footer-contact i {
    color: var(--accent-gold);
    margin-top: 4px;
}
.footer-contact a:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}
.working-hours {
    font-size: 0.8rem;
    color: #64748b;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 24px 0;
    color: #64748b;
    font-size: 0.8rem;
}
.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* -------------------------------------------------------------
   12. RESPONSIVENESS
   ------------------------------------------------------------- */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    .president-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .president-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
    .committees-container {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 1200px) {
    .mobile-menu-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 104px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 104px);
        background-color: var(--bg-main);
        flex-direction: column;
        padding: 40px;
        gap: 30px;
        transition: var(--transition-smooth);
        z-index: 998;
        border-top: 1px solid var(--border-color);
        overflow-y: auto;
    }
    .nav-menu.active {
        left: 0;
    }
    .header-top {
        display: none;
    }
    .logo-mobile {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .logo-mobile .college-logo {
        width: 76px;
        height: 76px;
        padding: 5px;
        border: 3px solid var(--accent-gold);
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    }
    .college-name-full {
        display: none;
    }
    .college-name-abbr {
        display: block;
        font-family: var(--font-heading);
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--text-primary);
        text-transform: uppercase;
    }
    .banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .committees-display-panel {
        padding: 24px;
    }
}

/* -------------------------------------------------------------
   13. ADMISSIONS ENQUIRY FORM & COURSE PAGE STYLES
   ------------------------------------------------------------- */
.enquiry-section {
    padding: 100px 0;
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.05) 0%, transparent 40%);
}

.enquiry-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .enquiry-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.enquiry-info-card {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-soft);
}

.enquiry-info-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
[data-theme="light"] .enquiry-info-title {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.enquiry-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.enquiry-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.enquiry-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.enquiry-feature-text h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.enquiry-feature-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.enquiry-form-card {
    padding: 40px;
    border-radius: 24px;
    position: relative;
    border: 1px solid var(--border-color);
    background: rgba(13, 20, 42, 0.4);
}
[data-theme="light"] .enquiry-form-card {
    background: rgba(255, 255, 255, 0.65);
}

.form-group-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 576px) {
    .form-group-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(5, 9, 20, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}
[data-theme="light"] .form-input, [data-theme="light"] .form-select, [data-theme="light"] .form-textarea {
    background: rgba(255, 255, 255, 0.9);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit-btn {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

/* CSV Download Link in Footer */
.admin-download-btn {
    font-size: 0.8rem;
    color: var(--accent-gold);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    transition: var(--transition-smooth);
    padding: 0;
}
.admin-download-btn:hover {
    color: var(--accent-cyan);
}

/* Course Page Details styling */
.course-hero {
    padding: 120px 0 80px;
    background: linear-gradient(180deg, rgba(5, 9, 20, 0.85) 0%, var(--bg-main) 100%), 
                url('assets/library/images/law_library_hero.png') no-repeat center center / cover;
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.eligibility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
@media (max-width: 768px) {
    .eligibility-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.eligibility-card {
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
    transition: var(--transition-smooth);
}
.eligibility-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.eligibility-pct {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin: 15px 0;
    line-height: 1;
}

.checklist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}
@media (max-width: 768px) {
    .checklist-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.checklist-card {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

.checklist-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.checklist-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checklist-item i {
    color: var(--color-success);
    margin-top: 4px;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
@media (max-width: 992px) {
    .curriculum-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.semester-card {
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.semester-title {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--accent-gold);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.semester-subjects {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.semester-subjects li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.semester-subjects li i {
    color: var(--accent-cyan);
    margin-top: 5px;
    font-size: 0.75rem;
}

/* -------------------------------------------------------------
   14. DOWNLOADS PAGE STYLES
   ------------------------------------------------------------- */
.downloads-section {
    padding: 80px 0 120px;
    background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.05) 0%, transparent 60%);
}
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.download-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.download-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.download-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
    transition: var(--transition-smooth);
}
.download-card:hover .download-icon {
    background: var(--accent-gold);
    color: #0c111d;
    transform: scale(1.05) rotate(5deg);
}
.download-info h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.download-meta {
    font-size: 0.8rem;
    color: var(--accent-cyan);
    font-weight: 600;
}
.download-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
    line-height: 1.6;
}
.download-action-btn {
    width: 100%;
    margin-top: auto;
}

/* -------------------------------------------------------------
   15. NOTIFICATIONS TIMELINE STYLES
   ------------------------------------------------------------- */
.notifications-section {
    padding: 80px 0 120px;
}
.timeline-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}
.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 30px;
}
.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 7px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-gold) 0%, rgba(37, 99, 235, 0.1) 100%);
}
.timeline-item {
    position: relative;
    margin-bottom: 40px;
    animation: fadeIn 0.5s ease forwards;
}
.timeline-dot {
    position: absolute;
    left: -30px;
    top: 24px;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 3px solid var(--accent-gold);
    z-index: 2;
    transition: var(--transition-smooth);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}
.timeline-item:hover .timeline-dot {
    background: var(--accent-cyan);
    border-color: #ffffff;
    box-shadow: 0 0 15px var(--accent-cyan);
}
.timeline-card {
    cursor: pointer;
    padding: 24px;
}
.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}
.timeline-title-area {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.timeline-title {
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 700;
}
.timeline-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}
.timeline-summary {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}
.timeline-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), margin-top 0.4s ease, padding-top 0.4s ease;
    border-top: 0px solid var(--border-color);
}
.timeline-card.active .timeline-details {
    max-height: 500px;
    margin-top: 16px;
    padding-top: 16px;
    border-top-width: 1px;
}
.timeline-details p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}
.timeline-details ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    padding-left: 8px;
}
.timeline-details li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.timeline-details li i {
    color: var(--accent-cyan);
    margin-top: 5px;
    font-size: 0.75rem;
}
.timeline-expand-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--accent-cyan);
    font-weight: 600;
    margin-top: 16px;
    transition: var(--transition-smooth);
}
.timeline-card.active .timeline-expand-btn i {
    transform: rotate(180deg);
}

/* -------------------------------------------------------------
   16. ADMIN CONSOLE LEDGER STYLES
   ------------------------------------------------------------- */
.admin-section {
    padding: 80px 0 120px;
    background: radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.04) 0%, transparent 45%),
                radial-gradient(circle at 90% 90%, rgba(14, 165, 233, 0.04) 0%, transparent 45%);
}
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}
.admin-stat-card {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.admin-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}
.admin-stat-info h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
}
.admin-stat-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.admin-controls-card {
    padding: 30px;
    margin-bottom: 30px;
}
.admin-controls-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    align-items: flex-end;
}
@media (max-width: 768px) {
    .admin-controls-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
.admin-table-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    overflow-x: auto;
    margin-bottom: 30px;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
    min-width: 900px;
}
.admin-table th {
    background: rgba(5, 9, 20, 0.8);
    padding: 16px 20px;
    color: var(--text-primary);
    font-weight: 700;
    font-family: var(--font-heading);
    border-bottom: 1.5px solid var(--border-color);
}
[data-theme="light"] .admin-table th {
    background: rgba(255, 255, 255, 0.9);
}
.admin-table td {
    padding: 16px 20px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
    line-height: 1.5;
}
.admin-table tr:last-child td {
    border-bottom: none;
}
.admin-table tr {
    transition: var(--transition-smooth);
}
.admin-table tr:hover td {
    background: rgba(37, 99, 235, 0.04);
    color: var(--text-primary);
}
.admin-table-empty {
    padding: 50px;
    text-align: center;
    color: var(--text-secondary);
}
.admin-table-empty i {
    font-size: 3rem;
    color: rgba(37, 99, 235, 0.2);
    margin-bottom: 16px;
}
.btn-danger {
    background-color: rgba(239, 68, 68, 0.15);
    color: var(--color-error);
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.btn-danger:hover {
    background-color: var(--color-error);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3);
    transform: translateY(-2px);
}

/* -------------------------------------------------------------
   13. SCROLL-DRIVEN ENTRANCE ANIMATIONS (PREMIUM HIGH-CONTRAST)
   ------------------------------------------------------------- */
.animate-on-scroll {
    opacity: 0 !important;
    transform: translateY(30px) scale(0.98);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: transform, opacity;
}

.animate-on-scroll.animated {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* Stagger delay helpers for grids */
.delay-50  { transition-delay: 50ms !important; }
.delay-100 { transition-delay: 100ms !important; }
.delay-150 { transition-delay: 150ms !important; }
.delay-200 { transition-delay: 200ms !important; }
.delay-250 { transition-delay: 250ms !important; }
.delay-300 { transition-delay: 300ms !important; }
.delay-350 { transition-delay: 350ms !important; }
.delay-400 { transition-delay: 400ms !important; }
.delay-450 { transition-delay: 450ms !important; }
.delay-500 { transition-delay: 500ms !important; }

/* Prevent delays if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Administrative Login Shake Animation */
.login-card.shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

/* Mobile responsiveness overrides for Administrative Dashboard and Login Gate */
@media (max-width: 576px) {
    #admin-login-section {
        padding: 60px 16px 100px !important;
        min-height: 50vh !important;
    }
    
    .login-card {
        padding: 24px 20px !important;
        border-radius: 16px !important;
    }
    
    .login-card h2 {
        font-size: 1.35rem !important;
    }
    
    .admin-controls-card {
        padding: 20px !important;
    }
    
    .admin-utilities {
        flex-direction: column;
        gap: 10px !important;
    }
    
    .admin-utilities button {
        width: 100% !important;
    }
}



/* -------------------------------------------------------------
   16. ADDITIONAL ENHANCEMENTS (MEDIUM SCREEN WRAP, MOBILE PORTAL, HERO SLIDER)
   ------------------------------------------------------------- */

/* Prevent Navigation links overlap on medium-large desktop viewports */
@media (min-width: 1201px) and (max-width: 1400px) {
    .nav-menu {
        gap: 8px;
    }
    .nav-link {
        font-size: 0.82rem;
    }
    .header-actions {
        gap: 8px;
    }
}

/* Hide desktop portal button in header on mobile and tablet viewports */
@media (max-width: 1200px) {
    .header-actions a[href="conduct.html"] {
        display: none !important;
    }
}

/* Dynamic Mobile Portal Drawer Button */
.mobile-portal-wrapper {
    margin-top: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

@media (min-width: 1201px) {
    .mobile-portal-wrapper {
        display: none !important;
    }
}
.mobile-portal-btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 12px 24px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 8px;
    background: var(--accent-gold) !important;
    color: #050914 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3) !important;
    transition: all 0.3s ease !important;
}
.mobile-portal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5) !important;
}

/* Home Page Hero Immersive Image Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.06);
}
.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}
.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 4;
    pointer-events: none;
}
.slider-arrow {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
}
.slider-arrow:hover {
    background: var(--accent-gold);
    color: #050914;
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 4;
}
.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}
.slider-dot.active {
    background: var(--accent-gold);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.2);
}

/* Footer Map Visualizer Styling */
.footer-map-wrapper {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 120px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}
.footer-map-wrapper:hover {
    border-color: var(--accent-gold);
}
[data-theme="light"] .footer-map-wrapper {
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .slider-controls {
        padding: 0 15px;
    }
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
}

/* -------------------------------------------------------------
   17. SPLIT HERO GRID LAYOUT & DYNAMIC GLOWING PAGE TITLES
   ------------------------------------------------------------- */

/* Split Hero Layout */
.hero-section.split-hero {
    background-image: none !important;
    background-color: var(--bg-main) !important;
    background-attachment: scroll !important;
    min-height: 80vh;
    padding: 150px 0 90px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
[data-theme="light"] .hero-section.split-hero {
    background-color: #f8fafc !important;
}
.hero-section.split-hero .hero-overlay {
    display: none !important;
}

.hero-split-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-split-left {
    position: relative;
    width: 100%;
}

.hero-slider-wrapper {
    border: 3px solid var(--accent-gold);
    box-shadow: 0 0 35px rgba(37, 99, 235, 0.25);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/11;
    width: 100%;
    background-color: #000;
}

.hero-slider-wrapper .hero-slider {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-slider-wrapper .slider-controls {
    padding: 0 20px;
}

.hero-slider-wrapper .slider-dots {
    bottom: 15px;
}

.hero-split-right {
    width: 100%;
}

/* Subpage Banners and Center-Aligned Titles */
.hero-section.subpage-hero {
    min-height: 30vh !important;
    padding: 130px 0 60px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-title-wrap {
    display: inline-block;
    position: relative;
    padding-bottom: 12px;
    cursor: default;
    margin-bottom: 8px;
    transition: var(--transition-smooth);
}

.page-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .page-title {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-title-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-cyan) 100%);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Interactive Color-Varying & Glowing Cursor Hover Effects */
.page-title-wrap:hover .page-title {
    transform: scale(1.04) translateY(-2px);
    background: linear-gradient(135deg, #ffd700 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.6));
}

.page-title-wrap:hover::after {
    width: 150px;
    background: linear-gradient(90deg, #ffd700 0%, #00f2fe 100%);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.8);
}

/* Responsiveness for Split Hero Grid */
@media (max-width: 992px) {
    .hero-section.split-hero {
        padding: 120px 0 60px;
    }
    .hero-split-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-split-left {
        order: 1;
    }
    .hero-split-right {
        order: 2;
    }
    .hero-split-right .hero-title {
        font-size: 2.6rem !important;
    }
}

@media (max-width: 576px) {
    .hero-section.split-hero {
        padding: 100px 0 40px;
    }
    .hero-split-right .hero-title {
        font-size: 2rem !important;
    }
    .hero-split-right .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .hero-split-right .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    .page-title {
        font-size: 1.8rem !important;
    }
    .page-title-wrap:hover .page-title {
        transform: scale(1.02);
    }
}
