/* Neuroflight Lab - Modern Design System */
/* Claude AI inspired aesthetic */

/* ========== CSS VARIABLES ========== */
:root {
    /* ===== LIGHT THEME - Professional Blue ===== */

    --bg-primary: #ffffff;
    --bg-secondary: #f0f7ff;
    --bg-tertiary: #e0f0ff;
    --bg-glass: rgba(255, 255, 255, 0.9);

    --text-primary: #0a1628;
    --text-secondary: #3a5a7c;
    --text-muted: #6b8cae;

    --accent-blue: #0077b6;
    --accent-sky: #00b4d8;
    --accent-light: #90e0ef;
    --accent-cyan: #caf0f8;
    --accent-pink: #ff4d8d;

    --accent-gradient: linear-gradient(
        135deg,
        #0077b6 0%,
        #00b4d8 50%,
        #90e0ef 100%
    );

    --border-color: rgba(0, 119, 182, 0.15);

    --shadow-sm: 0 1px 3px rgba(0, 119, 182, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 119, 182, 0.12);
    --shadow-lg: 0 12px 48px rgba(0, 119, 182, 0.18);
    --shadow-glow: 0 0 60px rgba(0, 180, 216, 0.35);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-width: 1280px;
    --nav-height: 72px;
}

/* ===== DARK THEME - Professional Blue ===== */

[data-theme="dark"] {

    --bg-primary: #0a1628;
    --bg-secondary: #0d2137;
    --bg-tertiary: #123a5c;
    --bg-glass: rgba(13, 33, 55, 0.85);

    --text-primary: #e6f3ff;
    --text-secondary: #90e0ef;
    --text-muted: #6b8cae;

    --accent-blue: #005a8c;
    --accent-sky: #0077b6;
    --accent-light: #0096c7;
    --accent-cyan: #00b4d8;
    --accent-rainbow: linear-gradient(135deg, #005a8c 0%, #0077b6 50%, #0096c7 100%);

    --accent-gradient: linear-gradient(
        135deg,
        #005a8c 0%,
        #0077b6 50%,
        #0096c7 100%
    );
    
    --cta-gradient: linear-gradient(
        135deg,
        #0a1628 0%,
        #0d3a5c 50%,
        #1a5a7c 100%
    );

    --border-color: rgba(0, 119, 182, 0.3);

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(0, 119, 182, 0.4);
    --shadow-glow-dark: 0 0 40px rgba(10, 60, 100, 0.5);
}
/* ========== RESET & BASE ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    transition: background var(--transition-slow), color var(--transition-slow);
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* ========== ANIMATED BACKGROUND ========== */
.bg-mesh {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

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

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-blue);
    top: -200px;
    left: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-sky);
    top: 50%;
    right: -150px;
    animation-delay: -7s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: var(--accent-pink);
    bottom: -100px;
    left: 30%;
    animation-delay: -14s;
}

@keyframes blob-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.05); }
}

/* Particles */
.particles {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}

/* ========== CONTAINER ========== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== NAVIGATION ========== */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    position: relative;
    padding: 8px 16px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-blue);
    background: var(--bg-tertiary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: transform var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Theme Toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    background: var(--bg-secondary);
    color: var(--accent-blue);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ========== MAIN CONTENT ========== */
.main-content {
    padding-top: var(--nav-height);
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(0, 180, 216, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 119, 182, 0.08) 0%, transparent 50%),
        var(--bg-primary);
    position: relative;
    overflow: hidden;
}

/* Subtle center glow */
.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

/* Floating gradient orbs - rainbow sky blue effect */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #005a8c, #0077b6);
    top: 10%;
    left: 10%;
    animation: float-orb 30s ease-in-out infinite;
    opacity: 0.3;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #0077b6, #0096c7);
    top: 60%;
    right: 15%;
    animation: float-orb 35s ease-in-out infinite reverse;
    opacity: 0.25;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #023e8a, #005a8c);
    bottom: 20%;
    left: 30%;
    animation: float-orb 40s ease-in-out infinite;
    opacity: 0.2;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* FIX: missing flex */
.hero-brand{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
    text-align: center;
}

.hero-welcome {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-sky);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
    padding: 8px 16px;
    background: rgba(0, 180, 216, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(0, 180, 216, 0.2);
}

.hero-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
    text-align: center;
}

.hero-brand > div {
    text-align: center;
}

.hero-brand img {
    height: 200px;
    width: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 119, 182, 0.3));
}

/* FIX: keep ONLY one tagline style */
.hero-tagline {
    font-size: 0.95rem;
    color: var(--accent-sky);
    margin: 6px 0 0 0;
    font-style: italic;
}

/* (optional safety) if you still want big tagline somewhere else */
.hero-tagline.large {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 24px;
    animation: fade-up 0.6s ease-out 0.2s both;
}

.hero-subtitle {
    display: inline-block;
    padding: 8px 16px;
    background: var(--accent-gradient);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 24px;
    animation: fade-up 0.6s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    animation: fade-up 0.6s ease-out 0.1s both;
}

.hero-title span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 32px;
    animation: fade-up 0.6s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fade-up 0.6s ease-out 0.4s both;
}

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

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    cursor: pointer;
    position: relative;
    z-index: 5;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 119, 182, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent-sky);
}

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

.btn-ghost:hover {
    color: var(--accent-sky);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

/* ========== SECTIONS ========== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-tertiary);
    color: var(--accent-sky);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
}

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

/* ========== CARDS ========== */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.card {
    background: linear-gradient(135deg, rgba(13, 33, 55, 0.6) 0%, rgba(10, 22, 40, 0.8) 100%);
    border: 1px solid rgba(0, 180, 216, 0.25);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: border-color 1.5s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    border-color: rgba(0, 180, 216, 0.5);
}

.card::before {
    content: none;
}

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

/* Icon color variations */
.icon-blue { background: linear-gradient(135deg, #005a8c, #0077b6); }
.icon-indigo { background: linear-gradient(135deg, #4f46e5, #6366f1); }
.icon-purple { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.icon-green { background: linear-gradient(135deg, #059669, #10b981); }
.icon-orange { background: linear-gradient(135deg, #ea580c, #f97316); }
.icon-pink { background: linear-gradient(135deg, #db2777, #ec4899); }
.icon-navy { background: linear-gradient(135deg, #0d2137, #1a365d); }
.icon-cyan { background: linear-gradient(135deg, #0077b6, #0096c7); }
.icon-teal { background: linear-gradient(135deg, #006d77, #008891); }
.icon-ocean { background: linear-gradient(135deg, #023e8a, #0077b6); }

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 16px;
    color: var(--accent-sky);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    z-index: 10;
    cursor: pointer;
}

.card-link::after {
    content: '→';
    transition: transform var(--transition-fast);
}

.card-link:hover::after {
    transform: translateX(4px);
}

/* Glass Card Variant */
.card-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .card-glass {
    background: rgba(30, 30, 46, 0.6);
}

/* ========== MISSION & VISION ========== */
.mission-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .mission-cards {
        grid-template-columns: 1fr;
    }
}

/* ========== DEPARTMENTS ========== */
.dept-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 968px) {
    .dept-cards {
        grid-template-columns: 1fr;
    }
}

.dept-card {
    text-align: center;
    padding: 40px 32px;
}

.dept-card .card-icon {
    margin: 0 auto 20px;
}

/* ========== TEAM ========== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 28px;
}

.team-card {
    text-align: center;
    padding: 24px;
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 3px solid transparent;
    background: var(--accent-gradient);
    padding: 3px;
    transition: all var(--transition-normal);
}

.team-card:hover .team-avatar {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.team-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========== PUBLICATIONS ========== */
.pub-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pub-item {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition-normal);
}

.pub-item:hover {
    border-color: var(--accent-sky);
    transform: translateX(8px);
}

.pub-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.pub-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.pub-authors {
    color: var(--accent-sky);
}

.pub-abstract {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.pub-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-sky);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ========== NEWS ========== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 28px;
}

.news-card {
    overflow: hidden;
    padding: 0;
}

.news-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.news-content {
    padding: 24px;
    position: relative;
    z-index: 2;
}

.news-date {
    font-size: 0.8rem;
    color: var(--accent-sky);
    font-weight: 500;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.news-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

.news-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
}

/* ========== JOBS ========== */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.job-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
}

.job-info h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.job-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.job-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
}

/* ========== FORMS ========== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--accent-sky);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15);
}

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

.form-file {
    padding: 8px;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* Search Bar */
.search-bar {
    display: flex;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto 40px;
}

.search-input {
    flex: 1;
}

/* ========== ALERTS ========== */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* ========== ADMIN PANEL ========== */
.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    padding: 24px;
}

.admin-logo {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.admin-nav-item:hover,
.admin-nav-item.active {
    background: var(--bg-tertiary);
    color: var(--accent-blue);
}

.admin-main {
    padding: 32px;
    overflow-y: auto;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.admin-title {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

@media (max-width: 968px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    background: var(--bg-secondary);
}

.data-table tr:hover {
    background: var(--bg-secondary);
}

.data-table td {
    font-size: 0.9rem;
}

/* Action Buttons */
.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.btn-edit {
    background: var(--bg-tertiary);
    color: var(--accent-sky);
}

.btn-delete {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.btn-view {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

/* Login Page */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    padding: 40px;
    text-align: center;
}

.login-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.login-subtitle {
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    margin-top: 60px;
}

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

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 568px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-title {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--bg-glass);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 20px 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .cards {
        grid-template-columns: 1fr;
    }
    
    .admin-layout {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
    }
    
    .admin-sidebar.active {
        transform: translateX(0);
    }
    
    .sidebar-close {
        display: flex !important;
    }
    
    .sidebar-backdrop {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    .sidebar-backdrop.active {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .admin-main {
        padding: 16px;
    }
    
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.hidden { display: none !important; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ========== INNOVATIVE MODERN ELEMENTS ========== */

/* Floating animation for cards */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Glass morphism effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Shimmer effect for buttons */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.btn-shimmer {
    background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-sky) 50%, var(--accent-blue) 100%);
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

/* Card shine effect */
.card-shine {
    position: relative;
    overflow: hidden;
}

.card-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s;
    opacity: 0;
    pointer-events: none;
}

.card-shine:hover::after {
    opacity: 1;
    animation: shine 0.6s ease-out;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* Gradient border effect */
.gradient-border {
    position: relative;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--accent-gradient);
    border-radius: calc(var(--radius-lg) + 2px);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.gradient-border:hover::before {
    opacity: 1;
}

/* Pulse animation for icons */
@keyframes pulse-blue {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(0, 180, 216, 0); }
}

.icon-pulse {
    animation: pulse-blue 2s infinite;
}

/* Modern scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-sky);
}

/* Loading spinner */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--bg-tertiary);
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Text reveal animation */
@keyframes reveal-text {
    0% { clip-path: inset(0 100% 0 0); }
    100% { clip-path: inset(0 0 0 0); }
}

.text-reveal {
    animation: reveal-text 0.8s ease-out forwards;
}

/* Glow effect for featured cards */
.card-featured {
    position: relative;
    border: 1px solid transparent;
    background-clip: padding-box;
}

.card-featured::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.card-featured:hover::before {
    opacity: 0.15;
}

/* Modern grid pattern background */
.bg-grid {
    background-image: 
        linear-gradient(rgba(0, 119, 182, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 119, 182, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Wave animation for sections */
@keyframes wave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.wave-bg {
    animation: wave 8s ease-in-out infinite;
}

/* ========== CONTACT PAGE ========== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.contact-card {
    background: linear-gradient(135deg, rgba(13, 33, 55, 0.6) 0%, rgba(10, 22, 40, 0.8) 100%);
    border: 1px solid rgba(0, 180, 216, 0.25);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    transition: border-color 1.5s ease;
}

.contact-card:hover {
    border-color: rgba(0, 180, 216, 0.5);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    margin: 0 auto 16px;
}

.contact-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.contact-card a {
    color: var(--accent-sky);
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-note {
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
    margin-top: 4px !important;
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-sky);
}

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

.form-submit {
    text-align: center;
    margin-top: 12px;
}

@media (max-width: 600px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 400px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Tilt effect removed - cards stay static */