:root {
    /* ── Professional Dark Palette ── */
    --primary-dark:      #ffffff;           /* text colour ON gradient elements */
    --secondary-dark:    #070e1e;           /* legacy compat */

    /* Accent colours */
    --accent-neon-green: #60a5fa;           /* sky-blue  – main accent   */
    --accent-neon-blue:  #a78bfa;           /* violet    – secondary     */
    --accent-light-blue: #34d399;           /* emerald   – tertiary      */

    /* Gradient */
    --gradient-neon: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);

    /* Typography */
    --text-primary:   #f0f4ff;
    --text-secondary: #94a3b8;

    /* Borders */
    --border-color: rgba(96, 165, 250, 0.18);

    /* Cards / surfaces */
    --card-bg: rgba(9, 18, 40, 0.88);

    /* Semantic bg vars */
    --bg-body:    #070e1e;
    --bg-surface: #0e1931;
    --header-bg:        rgba(5, 11, 28, 0.96);
    --header-bg-scrolled: rgba(5, 11, 28, 0.99);
    --shape-opacity: 0.22;
    --card-shadow:   rgba(0, 0, 0, 0.4);
}

/* ===== LIGHT THEME ===== */
html[data-theme="light"] {
    /* Backgrounds */
    --bg-body: #f5f8ff;
    --bg-surface: #eef2ff;
    --header-bg: rgba(255, 255, 255, 0.97);
    --header-bg-scrolled: rgba(255, 255, 255, 0.99);
    --card-bg: rgba(255, 255, 255, 0.96);

    /* Typography */
    --text-primary: #0f172a;
    --text-secondary: #475569;

    /* Borders */
    --border-color: rgba(99, 102, 241, 0.18);

    /* Accents — vibrant minimalist palette */
    --accent-neon-green: #10b981;
    --accent-neon-blue:  #4f46e5;
    --accent-light-blue: #7c3aed;

    /* Gradient — indigo → violet → cyan */
    --gradient-neon: linear-gradient(135deg, #4f46e5, #7c3aed, #06b6d4);

    /* Misc */
    --primary-dark: #ffffff;
    --shape-opacity: 0.07;
    --card-shadow: rgba(79, 70, 229, 0.08);
}

/* ─── Light: remove neon glow ─── */
html[data-theme="light"] .text-neon { text-shadow: none; }

/* ─── Light: header ─── */
html[data-theme="light"] .main-header {
    box-shadow: 0 1px 0 rgba(99,102,241,0.1), 0 4px 24px rgba(79,70,229,0.07);
}
html[data-theme="light"] .main-header.scrolled {
    box-shadow: 0 1px 0 rgba(99,102,241,0.15), 0 8px 32px rgba(79,70,229,0.12);
}
html[data-theme="light"] .header-top {
    background: #ffffff;
    border-bottom: 1px solid rgba(99,102,241,0.1);
}
html[data-theme="light"] .contact-info span { color: #475569; }
html[data-theme="light"] .contact-info i { color: #4f46e5; }

/* ─── Light: nav ─── */
html[data-theme="light"] .nav-link { color: #1e293b; }
html[data-theme="light"] .nav-link i { color: #4f46e5; }
html[data-theme="light"] .nav-link:hover {
    background: rgba(79,70,229,0.07);
    color: #4f46e5;
}
html[data-theme="light"] .nav-item.active .nav-link {
    background: rgba(79,70,229,0.1);
    color: #4f46e5;
}
html[data-theme="light"] .nav-menu {
    background: #ffffff;
    box-shadow: 0 8px 32px rgba(79,70,229,0.12);
}

/* ─── Light: cards ─── */
html[data-theme="light"] .stat-card,
html[data-theme="light"] .course-card,
html[data-theme="light"] .quick-link-card,
html[data-theme="light"] .direction-card,
html[data-theme="light"] .structure-card,
html[data-theme="light"] .module-card,
html[data-theme="light"] .speciality-card,
html[data-theme="light"] .hierarchy-card,
html[data-theme="light"] .leader-card,
html[data-theme="light"] .department-card,
html[data-theme="light"] .class-item,
html[data-theme="light"] .program-item,
html[data-theme="light"] .news-card {
    box-shadow: 0 2px 16px rgba(79,70,229,0.06);
    border-color: rgba(99,102,241,0.13);
}
html[data-theme="light"] .stat-card:hover,
html[data-theme="light"] .course-card:hover,
html[data-theme="light"] .quick-link-card:hover,
html[data-theme="light"] .module-card:hover,
html[data-theme="light"] .speciality-card:hover,
html[data-theme="light"] .news-card:hover {
    box-shadow: 0 8px 36px rgba(79,70,229,0.14);
    border-color: rgba(79,70,229,0.32);
}

/* ─── Light: footer (keep dark for contrast) ─── */
html[data-theme="light"] .main-footer { background: #1e1b4b; border-top: none; }
html[data-theme="light"] .footer-bottom { background: #13103a; }
html[data-theme="light"] .main-footer .footer-desc,
html[data-theme="light"] .main-footer .footer-links a,
html[data-theme="light"] .main-footer .footer-contact li,
html[data-theme="light"] .main-footer .copyright,
html[data-theme="light"] .main-footer .footer-bottom-links a { color: #a5b4fc; }
html[data-theme="light"] .main-footer .footer-title { color: #818cf8; }
html[data-theme="light"] .main-footer .footer-links a:hover,
html[data-theme="light"] .main-footer .footer-bottom-links a:hover { color: #fff; }
html[data-theme="light"] .main-footer .social-link {
    background: rgba(129,140,248,0.15);
    border-color: rgba(129,140,248,0.25);
    color: #a5b4fc;
}
html[data-theme="light"] .main-footer .social-link:hover { background: #4f46e5; color: #fff; }

/* ─── Light: tabs ─── */
html[data-theme="light"] .tabs-container { box-shadow: 0 8px 40px rgba(79,70,229,0.1); }
html[data-theme="light"] .tab-btn { color: #64748b; }
html[data-theme="light"] .tab-btn:hover,
html[data-theme="light"] .tab-btn.active { color: #4f46e5; background: rgba(79,70,229,0.06); }

/* ─── Light: form inputs ─── */
html[data-theme="light"] .form-input {
    background: #f8faff;
    border-color: rgba(99,102,241,0.25);
    color: #0f172a;
}
html[data-theme="light"] .form-input:focus {
    border-color: #4f46e5;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(79,70,229,0.12);
}
html[data-theme="light"] .form-input::placeholder { color: #94a3b8; }

/* ─── Light: login ─── */
html[data-theme="light"] .login-container { box-shadow: 0 20px 60px rgba(79,70,229,0.12); }
html[data-theme="light"] .login-side {
    background: linear-gradient(135deg, rgba(79,70,229,0.08), rgba(124,58,237,0.08));
}

/* ─── Light: page header banner ─── */
html[data-theme="light"] .page-header {
    background: linear-gradient(135deg, #eef2ff, #f5f8ff);
}

/* ─── Light: info block ─── */
html[data-theme="light"] .info-block {
    background: rgba(79,70,229,0.03);
    border-left-color: #4f46e5;
}

/* ─── Light: mobile toggle bar ─── */
html[data-theme="light"] .mobile-toggle span { background: #4f46e5; }

/* ─── Light: theme toggle button ─── */
html[data-theme="light"] .theme-toggle-btn {
    background: rgba(79,70,229,0.08);
    border-color: rgba(79,70,229,0.22);
    color: #4f46e5;
}
html[data-theme="light"] .theme-toggle-btn:hover {
    background: rgba(79,70,229,0.16);
    box-shadow: 0 0 12px rgba(79,70,229,0.2);
    transform: rotate(20deg) scale(1.08);
}

/* ─── Light: remove old card shadow blocks ─── */
html[data-theme="light"] .stat-card:hover { border-color: var(--accent-neon-blue); }
html[data-theme="light"] .quick-link-card:hover { border-color: var(--accent-neon-blue); }

/* ─── Light: section backgrounds alt ─── */
html[data-theme="light"] .stats-section { background: linear-gradient(135deg, #f5f8ff, #eef2ff); }
html[data-theme="light"] .courses-section { background: linear-gradient(135deg, #eef2ff, #f5f8ff); }
html[data-theme="light"] .about-tabs-section { background: #f5f8ff; }
html[data-theme="light"] .quick-links-section { background: #ffffff; }
html[data-theme="light"] .library-section { background: #f5f8ff; }

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

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    transition: background 0.35s ease, color 0.35s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(96, 165, 250, 0.12), 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

.main-header.scrolled {
    box-shadow: 0 1px 0 rgba(96, 165, 250, 0.18), 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Hide top panel on scroll */
.main-header.scrolled .header-top {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    pointer-events: none;
}

/* Thin nav on scroll */
.main-header.scrolled .main-nav {
    padding: 7px 0;
}

.main-header.scrolled .logo-icon img,
.main-header.scrolled .logo-icon svg {
    height: 38px !important;
    width: auto !important;
}

html[data-theme="light"] .main-header {
    box-shadow: 0 2px 20px rgba(0, 80, 200, 0.1);
}

html[data-theme="light"] .main-header.scrolled {
    box-shadow: 0 2px 30px rgba(0, 80, 200, 0.15);
}

.header-top {
    background: var(--bg-body);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    max-height: 60px;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease;
}

.top-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
}

.contact-info span {
    margin-right: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.contact-info i {
    color: var(--accent-neon-green);
    margin-right: 5px;
}

/* ── Date / Time / Weather widget ── */
.header-datetime {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    white-space: nowrap;
}

.hdt-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--text-secondary);
}

.hdt-icon {
    font-size: 13px;
    opacity: 0.9;
}

/* calendar icon — violet */
.hdt-item:nth-child(1) .hdt-icon  { color: var(--accent-neon-blue); }
/* clock icon — sky blue */
.hdt-item:nth-child(3) .hdt-icon  { color: var(--accent-neon-green); }
/* weather icon — amber */
.hdt-item:nth-child(5) .hdt-icon  { color: #f59e0b; }

.hdt-item:nth-child(1) span       { color: var(--text-primary); font-weight: 500; }

.hdt-time {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: var(--accent-neon-green);
    letter-spacing: 0.06em;
    min-width: 64px;
}

.hdt-temp {
    font-weight: 600;
    color: var(--text-primary);
}

.hdt-divider {
    width: 1px;
    height: 16px;
    background: var(--border-color);
    opacity: 0.55;
    flex-shrink: 0;
}

html[data-theme="light"] .hdt-time                        { color: #4f46e5; }
html[data-theme="light"] .hdt-item:nth-child(3) .hdt-icon { color: #4f46e5; }
html[data-theme="light"] .hdt-item:nth-child(1) .hdt-icon { color: #7c3aed; }
html[data-theme="light"] .hdt-item:nth-child(5) .hdt-icon { color: #d97706; }

@media (max-width: 960px) {
    .header-datetime { display: none; }
}

/* ── Search trigger button ── */
.search-trigger-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(96, 165, 250, 0.08);
    border: 1px solid rgba(96, 165, 250, 0.22);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 13px;
    font-family: inherit;
    padding: 5px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.search-trigger-btn i { color: var(--accent-neon-blue); font-size: 13px; }
.search-trigger-btn:hover {
    background: rgba(96, 165, 250, 0.16);
    border-color: rgba(96, 165, 250, 0.4);
    color: var(--text-primary);
}
html[data-theme="light"] .search-trigger-btn {
    background: rgba(99, 102, 241, 0.07);
    border-color: rgba(99, 102, 241, 0.22);
}
html[data-theme="light"] .search-trigger-btn:hover {
    background: rgba(99, 102, 241, 0.14);
}

/* ── Search Overlay ── */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(4, 8, 22, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.search-overlay.active {
    opacity: 1;
    visibility: visible;
}
html[data-theme="light"] .search-overlay {
    background: rgba(15, 23, 42, 0.6);
}

.search-overlay-inner {
    width: 100%;
    max-width: 660px;
    padding: 0 20px;
    transform: translateY(-16px);
    transition: transform 0.25s ease;
}
.search-overlay.active .search-overlay-inner {
    transform: translateY(0);
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid rgba(96, 165, 250, 0.35);
    border-radius: 14px;
    padding: 0 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}
html[data-theme="light"] .search-box {
    background: #ffffff;
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 8px 40px rgba(0, 0, 50, 0.15);
}

.search-box-icon {
    color: var(--accent-neon-blue);
    font-size: 16px;
    margin-right: 12px;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 17px;
    font-family: inherit;
    padding: 16px 0;
}
.search-input::placeholder { color: var(--text-secondary); opacity: 0.6; }

.search-close-btn {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
    font-size: 13px;
}
.search-close-btn:hover { color: var(--text-primary); background: rgba(255,255,255,0.1); }

.search-hint {
    text-align: center;
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 18px;
    opacity: 0.65;
}

.search-results {
    margin-top: 10px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    max-height: 420px;
    overflow-y: auto;
}
.search-results:empty { display: none; }
html[data-theme="light"] .search-results {
    background: #ffffff;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    text-decoration: none;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.15s ease;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: rgba(96, 165, 250, 0.07); }
html[data-theme="light"] .search-result-item:hover { background: rgba(99, 102, 241, 0.05); }

.sr-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}
.sr-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(96, 165, 250, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-neon-blue);
    font-size: 16px;
}

.sr-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}
.sr-label {
    font-size: 11px;
    color: var(--accent-neon-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
.sr-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sr-excerpt {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sr-arrow {
    color: var(--text-secondary);
    font-size: 12px;
    opacity: 0.5;
    flex-shrink: 0;
}

.search-empty, .search-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 36px 20px;
    color: var(--text-secondary);
    font-size: 14px;
}
.search-empty i, .search-loading i { font-size: 28px; opacity: 0.4; }

.top-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-neon-green);
    transform: translateY(-2px);
}

.login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--gradient-neon);
    color: var(--primary-dark);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(96, 165, 250, 0.3);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(96, 165, 250, 0.45);
    opacity: 0.92;
}

.login-btn i {
    font-size: 14px;
}

.main-nav {
    padding: 15px 0;
    transition: padding 0.35s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    margin-right: 15px;
    animation: pulse 2s infinite;
}

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

.logo-title {
    font-size: 15px;
    font-weight: bold;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
    flex-wrap: nowrap;
    align-items: center;
}

.nav-item {
    position: relative;
    white-space: nowrap;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-primary);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 0.88rem;
}

.nav-link i {
    font-size: 14px;
    color: var(--accent-neon-green);
    display: none;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-neon);
    transition: width 0.3s ease;
}

.nav-link:hover::before,
.nav-item.active .nav-link::before {
    width: 100%;
}

.nav-link:hover {
    background: rgba(0, 255, 204, 0.1);
    transform: translateY(-2px);
}

.nav-item.active .nav-link {
    background: rgba(0, 255, 204, 0.15);
    color: var(--accent-neon-green);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--accent-neon-green);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    margin-top: 120px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.animated-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: var(--shape-opacity);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-neon-green);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-neon-blue);
    top: 50%;
    right: -50px;
    animation-delay: 5s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: var(--accent-light-blue);
    bottom: -100px;
    left: 30%;
    animation-delay: 10s;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    animation: fadeInUp 1s ease;
}

.hero-frame {
    display: inline-block;
    position: relative;
    padding: 48px 64px;
    background: rgba(7, 14, 30, 0.4);
    border: 1px solid var(--accent-neon-green);
    border-radius: 4px;
    box-shadow:
        0 0 18px rgba(0, 255, 204, 0.35),
        0 0 40px rgba(0, 255, 204, 0.12),
        inset 0 0 30px rgba(0, 255, 204, 0.04);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* to'rt burchak neon kornerlari */
.hero-frame::before,
.hero-frame::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--accent-neon-green);
    border-style: solid;
    box-shadow: 0 0 8px rgba(0, 255, 204, 0.8);
}
.hero-frame::before {
    top: -2px;
    left: -2px;
    border-width: 2px 0 0 2px;
}
.hero-frame::after {
    bottom: -2px;
    right: -2px;
    border-width: 0 2px 2px 0;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.text-gradient {
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-neon {
    color: var(--accent-neon-green);
    text-shadow: 0 0 30px rgba(96, 165, 250, 0.35);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-neon);
    color: var(--primary-dark);
    box-shadow: 0 4px 16px rgba(96, 165, 250, 0.32);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(96, 165, 250, 0.45);
    opacity: 0.93;
}

.btn-outline {
    border: 1.5px solid var(--accent-neon-green);
    color: var(--accent-neon-green);
    background: transparent;
    font-weight: 600;
}

.btn-outline:hover {
    background: rgba(96, 165, 250, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(96, 165, 250, 0.25);
}

/* Statistics Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-body), var(--bg-surface));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--card-bg);
    border-radius: 18px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(8px);
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-neon-green);
    box-shadow: 0 12px 40px rgba(96, 165, 250, 0.18);
}

.stat-icon {
    font-size: 3rem;
    color: var(--accent-neon-green);
    margin-bottom: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.stat-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-neon-green);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 8px 20px;
    border: 1px solid var(--accent-neon-green);
    border-radius: 25px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.stat-link:hover {
    background: var(--accent-neon-green);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 204, 0.3);
}

/* Stat Link Cards */
.stat-link-card {
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.stat-link-card .stat-icon {
    transition: all 0.3s ease;
}

.stat-link-card:hover .stat-icon {
    transform: scale(1.15);
    color: var(--accent-neon-blue);
}

.stat-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.stat-link-card:hover .stat-title {
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Quick Links Section */
.quick-links-section {
    padding: 80px 0;
    background: var(--bg-body);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.quick-link-card {
    display: block;
    padding: 35px 30px;
    background: var(--card-bg);
    border-radius: 18px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.quick-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 204, 0.1), transparent);
    transition: left 0.5s ease;
}

.quick-link-card:hover::before {
    left: 100%;
}

.quick-link-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-neon-green);
    box-shadow: 0 12px 40px rgba(96, 165, 250, 0.18);
}

.quick-link-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.1), rgba(0, 153, 255, 0.1));
    border-radius: 15px;
    margin-bottom: 20px;
    font-size: 2rem;
    color: var(--accent-neon-green);
    transition: all 0.3s ease;
}

.quick-link-card:hover .quick-link-icon {
    background: var(--gradient-neon);
    color: var(--primary-dark);
    transform: scale(1.1);
}

.quick-link-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.quick-link-card:hover .quick-link-title {
    color: var(--accent-neon-green);
}

.quick-link-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.quick-link-arrow {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 204, 0.1);
    border-radius: 50%;
    color: var(--accent-neon-green);
    transition: all 0.3s ease;
}

.quick-link-card:hover .quick-link-arrow {
    background: var(--accent-neon-green);
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    color: var(--accent-neon-green);
    font-size: 20px;
}

.about-image .image-wrapper {
    position: relative;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 15px;
    border: 2px solid var(--border-color);
}

.image-placeholder {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.1), rgba(0, 153, 255, 0.1));
    border-radius: 10px;
}

.image-placeholder i {
    font-size: 5rem;
    color: var(--accent-neon-green);
    opacity: 0.5;
}

/* Courses Section */
.courses-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-surface), var(--bg-body));
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.course-card {
    padding: 40px 30px;
    background: var(--card-bg);
    border-radius: 18px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.course-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-neon-green);
    box-shadow: 0 12px 40px rgba(96, 165, 250, 0.18);
}

.course-icon {
    font-size: 3rem;
    color: var(--accent-neon-green);
    margin-bottom: 20px;
}

.course-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.course-desc {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.course-link {
    color: var(--accent-neon-green);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.course-link:hover {
    gap: 10px;
}

/* News Section */
.news-section {
    padding: 80px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.news-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(96, 165, 250, 0.16);
}

.news-image {
    position: relative;
    height: 160px;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.1), rgba(0, 153, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-date {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gradient-neon);
    padding: 6px 10px;
    border-radius: 8px;
    text-align: center;
}

.news-date .day {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-dark);
}

.news-date .month {
    display: block;
    font-size: 0.78rem;
    color: var(--primary-dark);
}

.news-content {
    padding: 14px 16px;
}

.news-title {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
    font-size: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    color: var(--accent-neon-green);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.news-link:hover {
    gap: 10px;
}

/* Footer */
.main-footer {
    background: var(--bg-body);
    border-top: 1px solid var(--border-color);
    margin-top: 80px;
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 204, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--accent-neon-green);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-neon-green);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--accent-neon-green);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-neon-green);
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.footer-contact i {
    color: var(--accent-neon-green);
    margin-top: 3px;
}

.footer-bottom {
    background: var(--bg-surface);
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright {
    color: var(--text-secondary);
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent-neon-green);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--bg-surface), var(--bg-body));
    padding: 150px 0 80px;
    margin-top: 120px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2300ffcc" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,138.7C672,149,768,203,864,213.3C960,224,1056,192,1152,165.3C1248,139,1344,117,1392,106.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 20px;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.breadcrumb {
    font-size: 1rem;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--accent-neon-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--accent-neon-blue);
}

.breadcrumb .separator {
    margin: 0 10px;
    color: var(--text-secondary);
}

/* About Tabs Section */
.about-tabs-section {
    padding: 80px 0;
    background: var(--bg-body);
}

.tabs-container {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Tab Navigation */
.tab-nav {
    display: flex;
    background: var(--bg-surface);
    border-bottom: 2px solid var(--border-color);
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    padding: 20px 30px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    white-space: nowrap;
}

.tab-btn i {
    font-size: 1.2rem;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-neon);
    transition: width 0.3s ease;
}

.tab-btn:hover {
    color: var(--accent-neon-green);
    background: rgba(0, 255, 204, 0.05);
}

.tab-btn.active {
    color: var(--accent-neon-green);
    background: rgba(0, 255, 204, 0.1);
}

.tab-btn.active::after {
    width: 100%;
}

/* Tab Content */
.tab-content {
    padding: 40px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.content-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--accent-neon-green);
    text-align: center;
}

/* Info Blocks */
.info-block {
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(0, 255, 204, 0.03);
    border-radius: 15px;
    border-left: 4px solid var(--accent-neon-green);
}

.block-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.block-title i {
    color: var(--accent-neon-green);
}

.lead-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.styled-list {
    list-style: none;
    padding: 0;
}

.styled-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.styled-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-neon-green);
    font-size: 1.2rem;
}

/* Directions Grid */
.directions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.direction-card {
    padding: 25px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.direction-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-neon-green);
    box-shadow: 0 10px 25px rgba(0, 255, 204, 0.1);
}

.direction-card i {
    font-size: 2.5rem;
    color: var(--accent-neon-green);
    margin-bottom: 15px;
}

.direction-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.direction-card p {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Classes Grid */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.class-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.class-item:hover {
    transform: translateX(5px);
    border-color: var(--accent-neon-green);
}

.class-item i {
    font-size: 1.5rem;
    color: var(--accent-neon-green);
}

.class-item span {
    color: var(--text-secondary);
}

/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.program-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.program-item:hover {
    transform: translateY(-3px);
    border-color: var(--accent-neon-green);
    box-shadow: 0 5px 15px rgba(0, 255, 204, 0.1);
}

.program-item i {
    font-size: 1.3rem;
    color: var(--accent-neon-green);
}

.program-item span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Leadership Grid */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.leader-card {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: rgba(0, 255, 204, 0.03);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-neon-green);
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.1);
}

.leader-photo {
    width: 100px;
    height: 100px;
    background: var(--gradient-neon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.leader-photo i {
    font-size: 3rem;
    color: var(--primary-dark);
}

.leader-info {
    flex: 1;
}

.leader-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.leader-position {
    font-size: 1rem;
    color: var(--accent-neon-green);
    margin-bottom: 5px;
}

.leader-degree {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-style: italic;
}

.leader-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-item i {
    color: var(--accent-neon-green);
    width: 20px;
}

/* Structure Section */
.structure-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--accent-neon-green);
}

.structure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.structure-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.structure-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-neon-green);
}

.structure-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 204, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.structure-icon i {
    font-size: 1.8rem;
    color: var(--accent-neon-green);
}

.structure-info {
    flex: 1;
}

.staff-name {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.staff-position {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Structure Hierarchy */
.structure-hierarchy {
    padding: 20px 0;
}

.hierarchy-level {
    margin-bottom: 50px;
}

.hierarchy-title {
    font-size: 1.5rem;
    color: var(--accent-neon-green);
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.main-leaders {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.hierarchy-card {
    padding: 25px 35px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.hierarchy-card.director {
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.1), rgba(0, 153, 255, 0.1));
    border-color: var(--accent-neon-green);
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.15);
}

.hierarchy-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-neon-green);
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.2);
}

.hierarchy-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: var(--gradient-neon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hierarchy-icon i {
    font-size: 1.8rem;
    color: var(--primary-dark);
}

.hierarchy-card h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.hierarchy-card p {
    color: var(--accent-neon-green);
    font-size: 0.95rem;
}

.hierarchy-connector {
    width: 2px;
    height: 40px;
    background: var(--accent-neon-green);
    margin: 0 auto;
    position: relative;
}

.hierarchy-connector::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--accent-neon-green);
}

.sub-leaders {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 800px;
}

/* Department Heads */
.department-heads {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

.department-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: rgba(0, 255, 204, 0.03);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.department-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-neon-green);
    box-shadow: 0 10px 25px rgba(0, 255, 204, 0.1);
}

.department-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 204, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.department-icon i {
    font-size: 1.8rem;
    color: var(--accent-neon-green);
}

.department-info {
    flex: 1;
}

.department-info h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.department-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Library Section */
.library-section {
    padding: 80px 0;
    background: var(--bg-body);
}

.section-header {
    font-size: 2rem;
    color: var(--accent-neon-green);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.section-header i {
    font-size: 2.2rem;
}

/* Modules Section */
.modules-section {
    margin-bottom: 80px;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
}

.module-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.module-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-neon-green);
    box-shadow: 0 15px 40px rgba(0, 255, 204, 0.15);
}

.module-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.1), rgba(0, 153, 255, 0.1));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.module-icon i {
    font-size: 2rem;
    color: var(--accent-neon-green);
}

.module-content {
    flex: 1;
}

.module-title {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.module-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.module-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--gradient-neon);
    color: var(--primary-dark);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.module-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 255, 204, 0.3);
}

.module-btn i {
    font-size: 1rem;
}

/* Speciality Section */
.speciality-section {
    margin-bottom: 60px;
}

.speciality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.speciality-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.speciality-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-neon-green);
    box-shadow: 0 10px 25px rgba(0, 255, 204, 0.1);
}

.spec-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.spec-icon i {
    font-size: 1.8rem;
    color: var(--accent-neon-green);
}

.speciality-card h4 {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spec-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-neon-green);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 8px 16px;
    border: 1px solid var(--accent-neon-green);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.spec-link:hover {
    background: var(--accent-neon-green);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.spec-link i {
    font-size: 1rem;
}

/* Login Page Styles */
.login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 40px;
    background: linear-gradient(135deg, var(--bg-body) 0%, var(--bg-surface) 100%);
}

.login-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.login-box {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.login-title {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Form Styles */
.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.form-label i {
    color: var(--accent-neon-green);
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 255, 204, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-neon-green);
    background: rgba(0, 255, 204, 0.08);
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.2);
}

.form-input::placeholder {
    color: rgba(184, 184, 200, 0.5);
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--accent-neon-green);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--accent-neon-green);
    border-color: var(--accent-neon-green);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-dark);
    font-weight: bold;
}

.forgot-link {
    color: var(--accent-neon-green);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Login Button */
.login-button {
    width: 100%;
    padding: 14px 30px;
    background: var(--gradient-neon);
    color: var(--primary-dark);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 204, 0.3);
}

.login-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 255, 204, 0.5);
}

/* Divider */
.login-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.login-divider span {
    background: var(--card-bg);
    padding: 0 15px;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

/* Alternative Login */
.alternative-login {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.alt-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.alt-login-btn:hover {
    border-color: var(--accent-neon-green);
    background: rgba(0, 255, 204, 0.05);
    transform: translateY(-2px);
}

.alt-login-btn i {
    font-size: 1.2rem;
}

.alt-login-btn.google i {
    color: #ea4335;
}

.alt-login-btn.hemis i {
    color: var(--accent-neon-blue);
}

/* Login Footer */
.login-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.login-footer p {
    color: var(--text-secondary);
}

.login-footer a {
    color: var(--accent-neon-green);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

/* Side Panel */
.login-side {
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.1), rgba(0, 153, 255, 0.1));
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.side-content {
    position: relative;
    z-index: 1;
}

.side-content h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.side-content p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature i {
    font-size: 1.5rem;
    color: var(--accent-neon-green);
}

.feature span {
    color: var(--text-primary);
}

/* Background Shapes */
.side-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.bg-shape-1 {
    width: 300px;
    height: 300px;
    background: var(--accent-neon-green);
    top: -100px;
    right: -100px;
    animation: float 15s infinite ease-in-out;
}

.bg-shape-2 {
    width: 250px;
    height: 250px;
    background: var(--accent-neon-blue);
    bottom: -50px;
    left: -50px;
    animation: float 20s infinite ease-in-out reverse;
}

.bg-shape-3 {
    width: 200px;
    height: 200px;
    background: var(--accent-light-blue);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 18s infinite ease-in-out;
}

/* Responsive */
@media (max-width: 968px) {
    .login-container {
        grid-template-columns: 1fr;
    }
    
    .login-side {
        display: none;
    }
    
    .login-box {
        padding: 40px;
    }
}

@media (max-width: 480px) {
    .login-box {
        padding: 30px 20px;
    }
    
    .login-title {
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) translateX(30px) rotate(120deg);
    }
    66% {
        transform: translateY(30px) translateX(-30px) rotate(240deg);
    }
}

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

/* News Section Styles */
.news-section {
    padding: 80px 0;
    background: var(--bg-body);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-neon-green);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.view-all-link:hover {
    gap: 12px;
    color: var(--accent-neon-blue);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.news-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-neon-green);
    box-shadow: 0 8px 24px rgba(0, 255, 204, 0.15);
}

.news-image-link {
    position: relative;
    display: block;
    overflow: hidden;
    height: 160px;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image {
    transform: scale(1.06);
}

.news-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.1), rgba(0, 204, 255, 0.1));
    color: var(--accent-neon-green);
    font-size: 2.5rem;
}

.news-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--gradient-neon);
    color: var(--primary-dark);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-content {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-meta i {
    color: var(--accent-neon-green);
}

.news-title {
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title a:hover {
    color: var(--accent-neon-green);
}

.news-excerpt {
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.5;
    font-size: 0.85rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-neon-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.news-read-more:hover {
    gap: 10px;
    color: var(--accent-neon-blue);
}

.no-news {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.no-news i {
    font-size: 4rem;
    color: var(--accent-neon-green);
    opacity: 0.3;
    margin-bottom: 20px;
    display: block;
}

.no-news p {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 100px;
        flex-direction: column;
        background: var(--bg-surface);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .news-section {
        padding: 60px 0;
    }
}

/* News Content Images (from shortcodes) */
.news-content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 255, 204, 0.2);
    display: block;
}

.news-content img {
    max-width: 100%;
    height: auto;
}

/* Announcements Section on Home Page - New Modern Design */
.announcements-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.03), rgba(0, 153, 255, 0.03));
}

.announcements-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.announcement-block {
    position: relative;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.announcement-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-neon);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.announcement-block:hover::before {
    transform: scaleX(1);
}

.announcement-block:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-neon-green);
    box-shadow: 0 20px 60px rgba(0, 255, 204, 0.3);
}

/* Background with Image */
.announcement-block-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.announcement-block-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.announcement-block:hover .announcement-block-bg img {
    transform: scale(1.1);
}

.announcement-block-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 46, 0.85) 0%,
        rgba(26, 26, 46, 0.92) 50%,
        rgba(26, 26, 46, 0.97) 100%
    );
}

/* Content */
.announcement-block-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 30px;
}

/* Header with Icon and Badges */
.announcement-block-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.announcement-block-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-neon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-dark);
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.4);
    animation: pulse-icon 3s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 255, 204, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(0, 255, 204, 0.6);
    }
}

.announcement-block-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.badge-new {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    animation: badge-float 2s ease-in-out infinite;
}

@keyframes badge-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.badge-featured {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.9), rgba(255, 152, 0, 0.9));
    color: #000;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

.badge-urgent {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.9), rgba(255, 0, 0, 0.9));
    color: #fff;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

.badge-event {
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.9), rgba(0, 123, 255, 0.9));
    color: #fff;
    box-shadow: 0 5px 15px rgba(23, 162, 184, 0.4);
}

/* Title and Text */
.announcement-block-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.announcement-block-text {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    flex: 1;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer */
.announcement-block-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-block-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.meta-item i {
    color: var(--accent-neon-green);
    font-size: 1rem;
}

.meta-deadline {
    color: #ffc107;
}

.meta-deadline i {
    color: #ffc107;
}

.announcement-block-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--gradient-neon);
    color: var(--primary-dark);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 255, 204, 0.3);
}

.announcement-block-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 30px rgba(0, 255, 204, 0.5);
}

.announcement-block-btn i {
    transition: transform 0.3s ease;
}

.announcement-block-btn:hover i {
    transform: translateX(5px);
}

/* Different styles for announcement types */
.announcement-block[data-type="urgent"] {
    border-color: rgba(220, 53, 69, 0.3);
}

.announcement-block[data-type="urgent"]:hover {
    border-color: #dc3545;
    box-shadow: 0 20px 60px rgba(220, 53, 69, 0.3);
}

.announcement-block[data-type="event"] {
    border-color: rgba(23, 162, 184, 0.3);
}

.announcement-block[data-type="event"]:hover {
    border-color: #17a2b8;
    box-shadow: 0 20px 60px rgba(23, 162, 184, 0.3);
}

.no-announcements-home {
    text-align: center;
    padding: 80px 20px;
}

.no-announcements-home i {
    font-size: 5rem;
    color: var(--accent-neon-green);
    opacity: 0.3;
    margin-bottom: 25px;
    animation: pulse-icon 2s ease-in-out infinite;
}

.no-announcements-home p {
    color: var(--text-secondary);
    font-size: 1.3rem;
}

/* Responsive for Announcements */
@media (max-width: 1024px) {
    .announcements-grid-new {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }

    .announcement-block {
        height: 420px;
    }
}

@media (max-width: 768px) {
    .announcements-section {
        padding: 60px 0;
    }

    .announcements-grid-new {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .announcement-block {
        height: auto;
        min-height: 400px;
    }

    .announcement-block-content {
        padding: 25px;
    }

    .announcement-block-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }

    .announcement-block-title {
        font-size: 1.3rem;
    }

    .announcement-block-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .announcement-block-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== THEME TOGGLE BUTTON ===== */
.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(0, 255, 204, 0.08);
    border: 1px solid rgba(0, 255, 204, 0.25);
    border-radius: 50%;
    cursor: pointer;
    color: var(--accent-neon-green);
    font-size: 15px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.theme-toggle-btn:hover {
    background: rgba(96, 165, 250, 0.18);
    transform: rotate(20deg) scale(1.08);
    box-shadow: 0 0 14px rgba(96, 165, 250, 0.3);
}

/* ═══════════════════════════════════════════
   PROFESSIONAL POLISH — Dark mode refinements
   ═══════════════════════════════════════════ */

/* Better section title */
.section-title {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Hero title tighter */
.hero-title {
    letter-spacing: -0.03em;
    font-weight: 800;
}

/* Card backdrop on dark */
.module-card,
.structure-card,
.leader-card,
.hierarchy-card {
    backdrop-filter: blur(8px);
    border-radius: 16px;
}

/* Nav link refinement */
.nav-link {
    font-weight: 500;
    font-size: 0.93rem;
    letter-spacing: 0.01em;
}

/* Smoother card transitions */
.stat-card, .course-card, .quick-link-card,
.news-card, .module-card, .direction-card,
.speciality-card, .structure-card {
    transition: transform 0.28s cubic-bezier(.22,.68,0,1.2),
                box-shadow 0.28s ease,
                border-color 0.22s ease;
}

/* Footer refinement — dark stays dark */
.main-footer {
    background: #060c1a;
    border-top: 1px solid rgba(96, 165, 250, 0.1);
}
.footer-bottom {
    background: #030a15;
    border-top: 1px solid rgba(96, 165, 250, 0.08);
}
.footer-title { color: var(--accent-neon-green); }
.footer-links a:hover { color: var(--accent-neon-green); }

/* Login page polish */
.login-button {
    box-shadow: 0 4px 16px rgba(96, 165, 250, 0.35);
}
.login-button:hover {
    box-shadow: 0 8px 28px rgba(96, 165, 250, 0.5);
}
.form-input:focus {
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15);
    border-color: var(--accent-neon-green);
}

/* Stat link refinement */
.stat-link {
    border-color: var(--accent-neon-green);
    color: var(--accent-neon-green);
    font-weight: 500;
}
.stat-link:hover {
    background: var(--accent-neon-green);
    color: var(--primary-dark);
}

/* Social links */
.social-link {
    background: rgba(96, 165, 250, 0.08);
    border-color: rgba(96, 165, 250, 0.2);
}
.social-link:hover {
    background: var(--gradient-neon);
    border-color: transparent;
}

/* Section separators via alternating bg */
.stats-section     { background: var(--bg-surface); }
.courses-section   { background: var(--bg-body);    }
.quick-links-section{ background: var(--bg-surface); }
.about-tabs-section { background: var(--bg-body);   }
.library-section   { background: var(--bg-surface); }
.news-section      { background: var(--bg-body);    }



/* Logo dark/light switching */
.logo-dark-img  { display: block; }
.logo-light-img { display: none;  }
html[data-theme="light"] .logo-dark-img  { display: none;  }
html[data-theme="light"] .logo-light-img { display: block; }

/* ── Quick-links minimalist row (home page) ── */
.quick-links-section {
    padding: 0 0 36px;
    background: var(--bg-surface);
}
.ql-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.ql-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.025);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent-neon-green);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    line-height: 1.3;
}
.ql-item:hover {
    background: rgba(96,165,250,0.07);
    border-left-color: var(--accent-neon-blue);
    color: var(--accent-neon-blue);
}
.ql-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(96,165,250,0.08);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--accent-neon-green);
    transition: background 0.2s, color 0.2s;
}
.ql-item:hover .ql-icon {
    background: rgba(167,139,250,0.12);
    color: var(--accent-neon-blue);
}
.ql-text { flex: 1; }
.ql-arrow {
    flex-shrink: 0;
    font-size: 0.7rem;
    opacity: 0.35;
    transition: opacity 0.2s, transform 0.2s;
}
.ql-item:hover .ql-arrow {
    opacity: 0.7;
    transform: translateX(3px);
}
html[data-theme="light"] .ql-item {
    background: rgba(79,70,229,0.04);
    border-color: rgba(99,102,241,0.18);
    border-left-color: var(--accent-neon-blue);
}
html[data-theme="light"] .ql-item:hover {
    background: rgba(79,70,229,0.08);
}
@media (max-width: 600px) {
    .ql-grid { grid-template-columns: 1fr; gap: 6px; }
}
