/**
 * AlfaisalX - Modern Design System
 * Center of Excellence for Cognitive Robotics and Autonomous Agents
 * 
 * Design Philosophy: Innovative, Dynamic, Future-Forward
 * Supports: Dark Mode (default) & Light Mode
 */

/* ============================================================
   1. CSS VARIABLES - Modern Design Tokens
   ============================================================ */

:root {
    /* Static Colors - Always the same */
    --color-accent-cyan: #00d4ff;
    --color-accent-purple: #a855f7;
    --color-accent-green: #10b981;
    --color-accent-orange: #f59e0b;
    --color-accent-pink: #ec4899;
    --color-brand-blue: #0a1628;

    /* Gradients - Always the same */
    --gradient-accent: linear-gradient(135deg, #00d4ff 0%, #a855f7 100%);
    --gradient-accent-reverse: linear-gradient(135deg, #a855f7 0%, #00d4ff 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.5rem;
    --text-6xl: 4.5rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============================================================
   DARK THEME (Default) - Refined & Professional
   ============================================================ */

[data-theme="dark"],
:root {
    /* Primary Colors - Richer, deeper blues */
    --color-primary: #0b1426;
    --color-primary-light: #162844;
    --color-primary-dark: #060c16;

    /* Text Colors - Better hierarchy */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-on-accent: #ffffff;

    /* Background Colors - More depth */
    --bg-body: #0b1426;
    --bg-elevated: #111c32;
    --bg-card: rgba(17, 28, 50, 0.8);
    --bg-card-solid: #131f38;
    --bg-card-hover: #1a2a4a;
    --bg-input: #0d1829;
    --bg-subtle: rgba(148, 163, 184, 0.05);

    /* Border Colors - Subtle but visible */
    --border-color: rgba(148, 163, 184, 0.15);
    --border-subtle: rgba(148, 163, 184, 0.08);
    --border-hover: rgba(56, 189, 248, 0.4);

    /* Accent Colors - Brighter, more vibrant */
    --accent-cyan: #38bdf8;
    --accent-purple: #a78bfa;
    --accent-green: #34d399;
    --accent-amber: #fbbf24;

    /* Shadows - More refined */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4), 0 4px 10px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(56, 189, 248, 0.25), 0 0 40px rgba(56, 189, 248, 0.1);
    --shadow-glow-purple: 0 0 20px rgba(167, 139, 250, 0.25), 0 0 40px rgba(167, 139, 250, 0.1);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);

    /* Gradients - Refined */
    --gradient-body: linear-gradient(180deg, #0b1426 0%, #111c32 100%);
    --gradient-glow: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(167, 139, 250, 0.15) 100%);
    --gradient-hero: radial-gradient(ellipse at 50% -20%, rgba(56, 189, 248, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(167, 139, 250, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(52, 211, 153, 0.06) 0%, transparent 50%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    --gradient-card-border: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);

    /* Button Gradients - High contrast */
    --gradient-btn-primary: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
    --gradient-btn-primary-hover: linear-gradient(135deg, #7dd3fc 0%, #a5b4fc 100%);

    /* Header */
    --header-bg: rgba(11, 20, 38, 0.92);
    --header-border: rgba(148, 163, 184, 0.1);

    /* Logo filter */
    --logo-filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.3));
}

/* ============================================================
   LIGHT THEME
   ============================================================ */

[data-theme="light"] {
    /* Primary Colors - Rich Navy Blue */
    --color-primary: #0f172a;
    --color-primary-light: #1e3a5f;
    --color-primary-dark: #020617;

    /* Text Colors - Better Contrast */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-on-accent: #ffffff;

    /* Background Colors - Clean & Fresh */
    --bg-body: #f8fafc;
    --bg-elevated: #ffffff;
    --bg-card: #ffffff;
    --bg-card-solid: #ffffff;
    --bg-card-hover: #ffffff;
    --bg-input: #ffffff;
    --bg-subtle: #f1f5f9;

    /* Border Colors */
    --border-color: #e2e8f0;
    --border-subtle: #f1f5f9;
    --border-hover: #0ea5e9;

    /* Accent Colors - Vibrant & Modern */
    --accent-cyan: #0ea5e9;
    --accent-purple: #8b5cf6;
    --accent-green: #10b981;
    --accent-amber: #f59e0b;
    --color-accent-cyan: #0284c7;
    --color-accent-purple: #7c3aed;

    /* Shadows - Soft & Professional */
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 6px rgba(15, 23, 42, 0.05), 0 2px 4px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.08), 0 4px 10px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 20px 40px rgba(15, 23, 42, 0.1), 0 8px 16px rgba(15, 23, 42, 0.06);
    --shadow-glow: 0 4px 20px rgba(14, 165, 233, 0.2);
    --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);

    /* Gradients - Subtle & Elegant */
    --gradient-body: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    --gradient-glow: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    --gradient-hero: radial-gradient(ellipse at 50% 0%, rgba(14, 165, 233, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(139, 92, 246, 0.04) 0%, transparent 40%),
        radial-gradient(ellipse at 20% 80%, rgba(16, 185, 129, 0.04) 0%, transparent 40%);
    --gradient-card: none;
    --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.06);
    --gradient-btn-primary: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    --gradient-btn-primary-hover: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);

    /* Header */
    --header-bg: rgba(255, 255, 255, 0.92);
    --header-border: #e2e8f0;

    /* Logo filter */
    --logo-filter: none;
}

/* ============================================================
   2. RESET & BASE STYLES
   ============================================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-body);
    overflow-x: hidden;
    transition: background-color var(--transition-base), color var(--transition-base);
}

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

a:hover {
    color: var(--color-accent-purple);
}

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

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

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: var(--text-5xl);
}

h2 {
    font-size: var(--text-4xl);
}

h3 {
    font-size: var(--text-2xl);
}

h4 {
    font-size: var(--text-xl);
}

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

.text-glow {
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

/* ============================================================
   4. LAYOUT
   ============================================================ */

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Responsive container for larger screens */
@media (min-width: 1600px) {
    .container {
        max-width: 1600px;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1800px;
    }
}

@media (min-width: 2560px) {
    .container {
        max-width: 2200px;
    }
}

@media (min-width: 3000px) {
    .container {
        max-width: 2800px;
        padding: 0 var(--space-10);
    }
}

@media (min-width: 3340px) {
    .container {
        max-width: 3100px;
    }
}

.section {
    padding: var(--space-24) 0;
    position: relative;
}

.section-dark {
    background: var(--bg-dark);
    color: var(--text-primary);
}

.section-light {
    background: var(--bg-light);
    color: var(--text-dark);
}

.section-gradient {
    background: var(--gradient-primary);
    position: relative;
}

.section-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    pointer-events: none;
}

/* ============================================================
   5. HEADER - Clean Modern Navigation
   ============================================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-3) 0;
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--header-border);
    box-shadow: var(--shadow-md);
    padding: var(--space-2) 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    flex-shrink: 0;
}

.logo-image {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: var(--logo-filter);
}

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

.logo-name {
    font-size: var(--text-base);
    font-weight: 800;
    letter-spacing: 0.05em;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-tagline {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    flex: 1;
    justify-content: center;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    white-space: nowrap;
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-arrow {
    font-size: 10px;
    opacity: 0.5;
    transition: transform var(--transition-fast);
}

.nav-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 240px;
    padding: var(--space-3);
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.dropdown-link:hover {
    background: var(--bg-card);
}

.dropdown-label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.dropdown-desc {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* Mega Menu */
.nav-mega .mega-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 500px;
    padding: var(--space-6);
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 100;
}

.nav-mega:hover .mega-menu,
.nav-mega:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}

.mega-column h4 {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent-cyan);
    margin-bottom: var(--space-3);
    padding: 0 var(--space-3);
}

.mega-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-column li a {
    display: block;
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.mega-column li a:hover {
    color: var(--text-primary);
    background: var(--bg-card);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
}

.btn-header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.btn-header:hover {
    color: var(--color-accent-cyan);
    border-color: var(--color-accent-cyan);
}

.btn-cta-header {
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-5);
    font-size: var(--text-sm);
    font-weight: 600;
    color: #ffffff;
    background: var(--gradient-btn-primary);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-cta-header:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: #ffffff;
    background: var(--gradient-btn-primary-hover);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    padding: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

/* ============================================================
   6. HERO SECTION - Dynamic & Immersive
   ============================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-dark);
    overflow: hidden;
}

/* Animated Background */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    animation: heroGlow 10s ease-in-out infinite;
}

@keyframes heroGlow {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* Grid Pattern Overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-4);
    margin-bottom: var(--space-6);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-accent-cyan);
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: var(--radius-full);
}

.hero-badge .pulse {
    width: 8px;
    height: 8px;
    background: var(--color-accent-cyan);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--color-accent-cyan);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-6);
}

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

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-8);
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-logo-container {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animated Rings */
.hero-logo-container::before,
.hero-logo-container::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 255, 0.2);
    animation: ringPulse 4s ease-in-out infinite;
}

.hero-logo-container::before {
    width: 100%;
    height: 100%;
    animation-delay: 0s;
}

.hero-logo-container::after {
    width: 120%;
    height: 120%;
    animation-delay: 2s;
}

@keyframes ringPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.2;
    }
}

.hero-logo {
    width: 280px;
    filter: drop-shadow(0 0 50px rgba(0, 212, 255, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ============================================================
   7. BUTTONS
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    color: #ffffff;
    background: var(--gradient-btn-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-fast);
    border-radius: inherit;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: #ffffff;
    background: var(--gradient-btn-primary-hover);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--color-accent-cyan);
    background: rgba(0, 212, 255, 0.1);
    color: var(--color-accent-cyan);
    box-shadow: var(--shadow-glow);
}

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

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

.btn-text {
    padding: 0;
    color: var(--color-accent-cyan);
    font-weight: 500;
}

.btn-text:hover {
    color: var(--color-accent-purple);
}

.btn-text i {
    transition: transform var(--transition-fast);
}

.btn-text:hover i {
    transform: translateX(4px);
}

/* ============================================================
   8. STATS SECTION
   ============================================================ */

.stats-section {
    position: relative;
    z-index: 10;
    margin-top: -80px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

.stat-item {
    text-align: center;
    padding: var(--space-10);
    border-right: 1px solid var(--border-color);
    position: relative;
    transition: all var(--transition-base);
}

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

.stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-value {
    font-size: var(--text-4xl);
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-2);
    position: relative;
}

.stat-label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
}

/* ============================================================
   9. SECTION HEADERS
   ============================================================ */

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-4);
}

.section-title {
    font-size: var(--text-4xl);
    font-weight: 800;
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================================
   10. RESEARCH CARDS - Glassmorphism
   ============================================================ */

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
}

.research-card {
    position: relative;
    padding: var(--space-8);
    background: var(--bg-card-solid);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-base);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.research-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-btn-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.research-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    pointer-events: none;
    border-radius: inherit;
}

.research-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
}

.research-card:hover::before {
    transform: scaleX(1);
}

.research-number {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-subtle);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.research-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    background: var(--gradient-glow);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-6);
    transition: all var(--transition-base);
}

.research-card:hover .research-icon {
    background: var(--gradient-accent);
    color: var(--bg-dark);
    box-shadow: var(--shadow-glow);
}

.research-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
}

.research-card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
    line-height: 1.7;
}

.research-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
}

.tag {
    font-size: var(--text-xs);
    font-weight: 500;
    padding: var(--space-1) var(--space-3);
    color: var(--accent-cyan);
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: var(--radius-full);
}

/* ============================================================
   11. TEAM SECTION
   ============================================================ */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-6);
    align-items: stretch;
}

.leadership-grid {
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.team-card {
    display: flex;
    flex-direction: column;
    padding: var(--space-8);
    background: var(--bg-card-solid);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.team-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    pointer-events: none;
    border-radius: inherit;
}

.team-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-glow-purple);
}

.team-card-featured {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: var(--space-6);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gradient-glow);
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    transition: all var(--transition-base);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.team-card:hover .team-avatar {
    border-color: var(--color-accent-cyan);
    box-shadow: var(--shadow-glow);
}

.team-card-featured .team-avatar {
    width: 140px;
    height: 140px;
    margin: 0;
    border-radius: 50%;
    border-width: 4px;
}

.avatar-initials {
    font-size: var(--text-2xl);
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.team-info h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-1);
}

.team-role {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-accent-cyan);
    margin-bottom: var(--space-2);
}

.team-title {
    display: block;
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

.team-bio {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}

.team-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.expertise-tag {
    font-size: var(--text-xs);
    padding: var(--space-1) var(--space-3);
    color: var(--accent-purple);
    background: rgba(167, 139, 250, 0.12);
    border: 1px solid rgba(167, 139, 250, 0.25);
    border-radius: var(--radius-full);
}

.team-links {
    display: flex;
    gap: var(--space-3);
}

.team-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.team-links a:hover {
    color: var(--color-accent-cyan);
    border-color: var(--color-accent-cyan);
    box-shadow: var(--shadow-glow);
}

/* ============================================================
   12. PARTNERS
   ============================================================ */

.partners-bar {
    padding: var(--space-12) 0;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.partners-bar h3 {
    text-align: center;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-8);
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.partner-logo-item {
    padding: var(--space-4) var(--space-6);
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.partner-logo-item:hover {
    color: var(--color-accent-cyan);
    border-color: var(--color-accent-cyan);
    box-shadow: var(--shadow-glow);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
}

.partner-card {
    padding: var(--space-6);
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.partner-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.partner-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    background: var(--gradient-glow);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
}

.partner-placeholder {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-accent-cyan);
}

.partner-info h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

.partner-type {
    display: block;
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--color-accent-purple);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-3);
}

.partner-info p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================================
   13. NEWS SECTION
   ============================================================ */

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--space-6);
}

.news-card {
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-card);
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
}

.news-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-4xl);
    background: var(--gradient-glow);
    color: var(--color-accent-cyan);
}

.news-content {
    padding: var(--space-6);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-3);
}

.news-type {
    font-size: var(--text-xs);
    font-weight: 600;
    padding: var(--space-1) var(--space-3);
    color: var(--bg-dark);
    background: var(--color-accent-cyan);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-date {
    font-size: var(--text-sm);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.news-content h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
}

.news-content h3 a {
    color: var(--text-primary);
}

.news-content h3 a:hover {
    color: var(--color-accent-cyan);
}

.news-content p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-4);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-accent-cyan);
}

.read-more:hover i {
    transform: translateX(4px);
}

.read-more i {
    transition: transform var(--transition-fast);
}

/* ============================================================
   14. CTA SECTION
   ============================================================ */

.cta-section {
    text-align: center;
    padding: var(--space-24) 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

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

.cta-content h2 {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
}

.cta-content p {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* ============================================================
   15. PAGE HEADER
   ============================================================ */

.page-header {
    padding: var(--space-24) 0 var(--space-16);
    margin-top: 80px;
    background: var(--gradient-primary);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: var(--text-5xl);
    margin-bottom: var(--space-4);
}

.page-subtitle {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    max-width: 600px;
}

/* ============================================================
   16. FOOTER
   ============================================================ */

.site-footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding-top: var(--space-16);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: var(--space-4);
    max-width: 300px;
    line-height: 1.7;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
}

.footer-logo-image {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.footer-logo .logo-text {
    font-size: var(--text-xl);
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-column h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: var(--space-6);
}

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

.footer-links li {
    margin-bottom: var(--space-3);
}

.footer-links a {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-accent-cyan);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    color: var(--color-accent-cyan);
    border-color: var(--color-accent-cyan);
    box-shadow: var(--shadow-glow);
}

.footer-bottom {
    padding: var(--space-6) 0;
    border-top: 1px solid var(--border-color);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-6);
}

.footer-bottom-links a {
    color: var(--text-muted);
}

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

/* ============================================================
   17. LABS & INFRASTRUCTURE
   ============================================================ */

.labs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-6);
}

.lab-card {
    display: flex;
    gap: var(--space-6);
    padding: var(--space-8);
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-base);
}

.lab-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.lab-icon {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    color: var(--color-accent-cyan);
    background: var(--gradient-glow);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
}

.lab-content h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.lab-content p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
}

.lab-content h4 {
    font-size: var(--text-sm);
    color: var(--color-accent-cyan);
    margin-bottom: var(--space-2);
}

.lab-content ul {
    list-style: none;
    margin-bottom: var(--space-4);
}

.lab-content li {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    padding: var(--space-1) 0;
    padding-left: var(--space-4);
    position: relative;
}

.lab-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent-cyan);
}

.lab-focus {
    margin-bottom: var(--space-5);
}

.lab-focus h4 {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-cyan);
    margin-bottom: var(--space-3);
}

.focus-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.focus-tags .tag {
    font-size: var(--text-xs);
    padding: var(--space-1) var(--space-3);
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: var(--radius-full);
    color: var(--accent-cyan);
    white-space: nowrap;
}

.infrastructure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
}

.infra-item {
    padding: var(--space-6);
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-base);
}

.infra-item:hover {
    border-color: var(--border-hover);
}

.infra-item i {
    font-size: var(--text-3xl);
    color: var(--color-accent-cyan);
    margin-bottom: var(--space-4);
}

.infra-item h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-2);
}

.infra-item p {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* ============================================================
   18. FORMS
   ============================================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-12);
}

.contact-info h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-8);
}

.contact-item {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    color: var(--color-accent-cyan);
    background: var(--gradient-glow);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
}

.contact-details h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-1);
}

.contact-details a,
.contact-details p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.contact-social h4 {
    font-size: var(--text-sm);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.social-links {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.social-link:hover {
    color: var(--color-accent-cyan);
    border-color: var(--color-accent-cyan);
    box-shadow: var(--shadow-glow);
}

.contact-form {
    padding: var(--space-8);
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.form-group {
    margin-bottom: var(--space-4);
}

.form-group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-4);
    font-family: inherit;
    font-size: var(--text-base);
    color: var(--text-primary);
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

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

.btn-full {
    width: 100%;
}

/* ============================================================
   19. ANIMATIONS
   ============================================================ */

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Stagger delays */
.research-card:nth-child(1).animate-slide-up,
.team-card:nth-child(1).animate-slide-up,
.news-card:nth-child(1).animate-slide-up {
    animation-delay: 0.1s;
}

.research-card:nth-child(2).animate-slide-up,
.team-card:nth-child(2).animate-slide-up,
.news-card:nth-child(2).animate-slide-up {
    animation-delay: 0.2s;
}

.research-card:nth-child(3).animate-slide-up,
.team-card:nth-child(3).animate-slide-up,
.news-card:nth-child(3).animate-slide-up {
    animation-delay: 0.3s;
}

.research-card:nth-child(4).animate-slide-up,
.team-card:nth-child(4).animate-slide-up,
.news-card:nth-child(4).animate-slide-up {
    animation-delay: 0.4s;
}

/* ============================================================
   20. UTILITIES
   ============================================================ */

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: var(--space-4);
}

.mt-8 {
    margin-top: var(--space-8);
}

.mt-12 {
    margin-top: var(--space-12);
}

.subsection-title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--border-color);
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.mb-8 {
    margin-bottom: var(--space-8);
}

/* ============================================================
   21. RESPONSIVE
   ============================================================ */

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

    .footer-brand {
        grid-column: span 3;
    }
}

@media (max-width: 1200px) {
    .btn-cta-header span {
        display: none;
    }

    .btn-cta-header {
        width: 38px;
        height: 38px;
        padding: 0;
        justify-content: center;
    }

    .btn-cta-header::before {
        content: '\f2b5';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
        max-width: 100%;
    }

    .hero-visual {
        order: 1;
    }

    .hero-logo-container {
        width: 300px;
        height: 300px;
    }

    .hero-logo {
        width: 200px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .btn-cta-header {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .stat-item:nth-child(1),
    .stat-item:nth-child(2) {
        border-bottom: 1px solid var(--border-color);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --text-5xl: 2.5rem;
        --text-4xl: 2rem;
    }

    .section {
        padding: var(--space-16) 0;
    }

    .hero {
        min-height: auto;
        padding: 140px 0 180px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .research-grid,
    .team-grid,
    .news-grid,
    .labs-grid {
        grid-template-columns: 1fr;
    }

    .team-card-featured {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .team-card-featured .team-avatar {
        margin: 0 auto var(--space-4);
    }

    .lab-card {
        flex-direction: column;
        text-align: center;
    }

    .lab-icon {
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: var(--space-16) 0 var(--space-12);
    }

    .page-title {
        font-size: var(--text-3xl);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }

    .hero-badge {
        font-size: var(--text-xs);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

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

    .footer-brand {
        grid-column: span 1;
    }
}

/* ============================================================
   22. ACCESSIBILITY
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-4);
    padding: var(--space-3) var(--space-6);
    background: var(--color-accent-cyan);
    color: var(--bg-dark);
    border-radius: var(--radius-md);
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-4);
}

/* ============================================================
   23. QUICK LINK CARDS
   ============================================================ */

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
}

.quick-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-8);
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-base);
}

.quick-link-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.quick-link-card i {
    font-size: var(--text-3xl);
    color: var(--color-accent-cyan);
}

.quick-link-card h3 {
    font-size: var(--text-lg);
    color: var(--text-primary);
}

.quick-link-card p {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* ============================================================
   24. ABOUT PAGE COMPONENTS
   ============================================================ */

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-12);
}

.content-main .lead {
    font-size: var(--text-xl);
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
}

.content-main p {
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    line-height: 1.7;
}

.content-main h3 {
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
}

.info-card,
.link-card {
    padding: var(--space-6);
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-6);
}

.info-card h4,
.link-card h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-4);
    color: var(--color-accent-cyan);
}

.fact-list {
    list-style: none;
}

.fact-list li {
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.fact-list li:last-child {
    border-bottom: none;
}

.link-card ul {
    list-style: none;
}

.link-card li {
    margin-bottom: var(--space-2);
}

.link-card a {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.link-card a:hover {
    color: var(--color-accent-cyan);
}

.alignment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.alignment-card {
    padding: var(--space-8);
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-base);
}

.alignment-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.alignment-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    color: var(--color-accent-cyan);
    background: var(--gradient-glow);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
}

.alignment-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
}

.alignment-card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================================
   25. CAREERS PAGE
   ============================================================ */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
}

.benefit-card {
    padding: var(--space-8);
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-base);
}

.benefit-card:hover {
    border-color: var(--border-hover);
}

.benefit-card i {
    font-size: var(--text-3xl);
    color: var(--color-accent-cyan);
    margin-bottom: var(--space-4);
}

.benefit-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
}

.benefit-card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.jobs-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.job-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-6);
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.job-card:hover {
    border-color: var(--border-hover);
}

.job-info h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

.job-meta {
    display: flex;
    gap: var(--space-6);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-4);
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-8);
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-base);
}

.category-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

.category-card i {
    font-size: var(--text-2xl);
    color: var(--color-accent-cyan);
}

.category-card h3 {
    font-size: var(--text-base);
    color: var(--text-primary);
}

.category-card p {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* ============================================================
   26. NEWS FILTER
   ============================================================ */

.news-filter {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-8);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--space-2) var(--space-5);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--bg-dark);
    background: var(--gradient-accent);
    border-color: transparent;
}

/* ============================================================
   27. MOBILE NAVIGATION
   ============================================================ */

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: right var(--transition-base);
    z-index: 1001;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-header .logo {
    gap: var(--space-2);
}

.mobile-nav-header .logo-image {
    width: 36px;
    height: 36px;
}

.mobile-nav-header .logo-name {
    font-size: var(--text-sm);
}

.mobile-nav-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.mobile-nav-close:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.mobile-nav-links {
    list-style: none;
    flex: 1;
    padding: var(--space-4);
    margin: 0;
}

.mobile-nav-links>li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-links>li:last-child {
    border-bottom: none;
}

.mobile-nav-links>li.has-children {
    position: relative;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-3);
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.mobile-nav-link i {
    width: 20px;
    color: var(--color-accent-cyan);
    font-size: var(--text-sm);
}

.mobile-nav-link:hover {
    color: var(--color-accent-cyan);
}

.mobile-dropdown-toggle {
    position: absolute;
    top: var(--space-3);
    right: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.mobile-dropdown-toggle i {
    transition: transform var(--transition-fast);
}

.mobile-nav-links>li.open .mobile-dropdown-toggle i {
    transform: rotate(180deg);
}

.mobile-submenu {
    list-style: none;
    padding: 0 0 var(--space-3) var(--space-8);
    margin: 0;
    display: none;
}

.mobile-nav-links>li.open .mobile-submenu {
    display: block;
}

.mobile-submenu li a {
    display: block;
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.mobile-submenu li a:hover {
    color: var(--color-accent-cyan);
}

.mobile-nav-footer {
    padding: var(--space-4) var(--space-5);
    border-top: 1px solid var(--border-color);
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 1000;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

body.menu-open {
    overflow: hidden;
}

/* ============================================================
   28. HEADER STATES
   ============================================================ */

.site-header.hidden {
    transform: translateY(-100%);
}

/* ============================================================
   29. SEARCH OVERLAY
   ============================================================ */

.search-overlay {
    position: fixed;
    inset: 0;
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    width: 100%;
    max-width: 600px;
    padding: var(--space-6);
    text-align: center;
}

.search-close {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.search-close:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper i {
    position: absolute;
    left: var(--space-5);
    font-size: var(--text-lg);
    color: var(--text-muted);
}

.search-input-wrapper input {
    width: 100%;
    padding: var(--space-5) var(--space-5) var(--space-5) var(--space-12);
    font-size: var(--text-lg);
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: all var(--transition-fast);
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--color-accent-cyan);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
}

.search-input-wrapper input::placeholder {
    color: var(--text-muted);
}

.search-hint {
    margin-top: var(--space-4);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* ============================================================
   30. BREADCRUMBS
   ============================================================ */

.breadcrumbs {
    padding: var(--space-4) 0;
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--text-muted);
}

.breadcrumbs a:hover {
    color: var(--color-accent-cyan);
}

.breadcrumbs span {
    margin: 0 var(--space-2);
}

/* ============================================================
   31. COLLABORATION FLOW
   ============================================================ */

.collaboration-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    flex-wrap: wrap;
    padding: var(--space-10) 0;
}

.collab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-6);
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    min-width: 150px;
    transition: all var(--transition-base);
}

.collab-item i {
    font-size: var(--text-4xl);
    color: var(--accent-cyan);
}

.collab-item span {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.collab-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
}

.collab-arrow {
    color: var(--text-muted);
    font-size: var(--text-xl);
}

@media (max-width: 768px) {
    .collab-arrow {
        transform: rotate(90deg);
    }

    .collaboration-flow {
        flex-direction: column;
    }
}

/* ============================================================
   32. THEME TOGGLE
   ============================================================ */

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    color: var(--color-accent-cyan);
    border-color: var(--color-accent-cyan);
    box-shadow: var(--shadow-glow);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    font-size: var(--text-lg);
}

/* Dark mode: show sun icon */
[data-theme="dark"] .theme-toggle .icon-sun {
    display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon {
    display: none;
}

/* Light mode: show moon icon */
[data-theme="light"] .theme-toggle .icon-sun {
    display: none;
}

[data-theme="light"] .theme-toggle .icon-moon {
    display: block;
}

/* Default (no attribute): show sun */
:root:not([data-theme]) .theme-toggle .icon-sun {
    display: block;
}

:root:not([data-theme]) .theme-toggle .icon-moon {
    display: none;
}

/* ============================================================
   32. LIGHT MODE OVERRIDES
   ============================================================ */

[data-theme="light"] .hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
}

[data-theme="light"] .hero::before {
    background: radial-gradient(ellipse at 30% 20%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(139, 92, 246, 0.12) 0%, transparent 40%);
}

[data-theme="light"] .hero::after {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

[data-theme="light"] .hero h1,
[data-theme="light"] .hero-badge,
[data-theme="light"] .hero-subtitle {
    color: #ffffff;
}

[data-theme="light"] .hero-badge {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.4);
}

[data-theme="light"] .hero h1 .highlight {
    background: linear-gradient(135deg, #38bdf8 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .stats-grid {
    background: var(--bg-elevated);
    border-color: var(--border-color);
    box-shadow: var(--shadow-lg);
}

[data-theme="light"] .stat-item {
    border-color: var(--border-color);
}

[data-theme="light"] .stat-value {
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .section-dark {
    background: #f1f5f9;
}

[data-theme="light"] .section-gradient {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

[data-theme="light"] .section-gradient::before {
    background: var(--gradient-hero);
}

[data-theme="light"] .section-alt {
    background: #f1f5f9;
}

[data-theme="light"] .research-card,
[data-theme="light"] .news-card,
[data-theme="light"] .partner-card,
[data-theme="light"] .lab-card,
[data-theme="light"] .info-card,
[data-theme="light"] .contact-form,
[data-theme="light"] .benefit-card,
[data-theme="light"] .job-card,
[data-theme="light"] .quick-link-card,
[data-theme="light"] .category-card,
[data-theme="light"] .alignment-card,
[data-theme="light"] .infra-item {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .research-card::after,
[data-theme="light"] .news-card::after,
[data-theme="light"] .partner-card::after,
[data-theme="light"] .lab-card::after {
    background: none !important;
}

/* Ensure all card text is visible in light mode */
[data-theme="light"] .research-card h3,
[data-theme="light"] .news-card h3,
[data-theme="light"] .lab-card h3,
[data-theme="light"] .partner-card h3 {
    color: #0f172a !important;
}

[data-theme="light"] .research-card p,
[data-theme="light"] .news-card p,
[data-theme="light"] .lab-card p,
[data-theme="light"] .partner-card p {
    color: #475569 !important;
}

[data-theme="light"] .research-card:hover,
[data-theme="light"] .team-card:hover,
[data-theme="light"] .news-card:hover,
[data-theme="light"] .partner-card:hover,
[data-theme="light"] .lab-card:hover,
[data-theme="light"] .quick-link-card:hover,
[data-theme="light"] .category-card:hover,
[data-theme="light"] .alignment-card:hover {
    border-color: #0ea5e9 !important;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.15), 0 4px 10px rgba(15, 23, 42, 0.08) !important;
    transform: translateY(-4px);
}

[data-theme="light"] .partners-bar {
    background: var(--bg-elevated);
    border-color: var(--border-color);
}

[data-theme="light"] .partner-logo-item {
    background: var(--bg-body);
    border-color: var(--border-color);
}

[data-theme="light"] .partner-logo-item:hover {
    background: var(--bg-elevated);
    border-color: var(--color-accent-cyan);
}

[data-theme="light"] .cta-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
}

[data-theme="light"] .cta-section h2,
[data-theme="light"] .cta-section p {
    color: #ffffff;
}

[data-theme="light"] .cta-section .text-gradient {
    background: linear-gradient(135deg, #38bdf8 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .site-footer {
    background: #0f172a;
    color: #ffffff;
}

[data-theme="light"] .site-footer .footer-brand p,
[data-theme="light"] .site-footer .footer-links a,
[data-theme="light"] .site-footer .footer-column h4 {
    color: #94a3b8;
}

[data-theme="light"] .site-footer .footer-column h4 {
    color: #f1f5f9;
}

[data-theme="light"] .site-footer .footer-links a:hover {
    color: #38bdf8;
}

[data-theme="light"] .site-footer .footer-social a,
[data-theme="light"] .site-footer .footer-bottom {
    border-color: rgba(148, 163, 184, 0.15);
}

[data-theme="light"] .site-footer .footer-social a {
    background: rgba(148, 163, 184, 0.1);
    color: #94a3b8;
}

[data-theme="light"] .site-footer .footer-social a:hover {
    color: #38bdf8;
    border-color: #38bdf8;
    background: rgba(56, 189, 248, 0.15);
}

[data-theme="light"] .site-footer .footer-bottom-content,
[data-theme="light"] .site-footer .footer-bottom-links a {
    color: #64748b;
}

[data-theme="light"] .page-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
}

[data-theme="light"] .page-header .section-tag,
[data-theme="light"] .page-header .page-title,
[data-theme="light"] .page-header .page-subtitle {
    color: #ffffff;
}

[data-theme="light"] .page-header .section-tag {
    color: #38bdf8;
}

[data-theme="light"] .page-header .text-gradient {
    background: linear-gradient(135deg, #38bdf8 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Dropdown menus in light mode - keep dark to match header */
[data-theme="light"] .dropdown-menu {
    background: rgba(15, 23, 42, 0.98);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .dropdown-link {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .dropdown-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

[data-theme="light"] .dropdown-label {
    color: #ffffff;
}

[data-theme="light"] .dropdown-desc {
    color: rgba(255, 255, 255, 0.6);
}

/* Mega menu in light mode */
[data-theme="light"] .mega-menu {
    background: rgba(15, 23, 42, 0.98);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .mega-column h4 {
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .mega-column ul li a {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .mega-column ul li a:hover {
    color: #38bdf8;
}

/* Mobile nav in light mode */
[data-theme="light"] .mobile-nav {
    background: rgba(15, 23, 42, 0.98);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .mobile-nav-links a {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .mobile-nav-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .mobile-nav-links>li {
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .mobile-submenu a {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .mobile-dropdown-toggle {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
    background: var(--bg-body);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="light"] .btn-primary {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

[data-theme="light"] .btn-primary:hover {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

[data-theme="light"] .btn-outline {
    color: #0f172a;
    border-color: #e2e8f0;
    background: transparent;
}

[data-theme="light"] .btn-outline:hover {
    color: #0284c7;
    border-color: #0ea5e9;
    background: rgba(14, 165, 233, 0.08);
}

[data-theme="light"] .btn-header {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #475569;
}

[data-theme="light"] .btn-header:hover {
    color: #0284c7;
    border-color: #0ea5e9;
}

[data-theme="light"] .btn-cta-header {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #ffffff;
}

/* Light Mode Header - Keep dark header for brand consistency */
[data-theme="light"] .site-header {
    background: rgba(15, 23, 42, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .site-header.scrolled {
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .nav-arrow {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="light"] .theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

[data-theme="light"] .mobile-menu-toggle .hamburger-line {
    background: #ffffff;
}

[data-theme="light"] .logo-name {
    background: linear-gradient(135deg, #38bdf8 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .logo-image {
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.3));
}

[data-theme="light"] .research-icon,
[data-theme="light"] .lab-icon,
[data-theme="light"] .contact-icon,
[data-theme="light"] .alignment-icon {
    background: rgba(14, 165, 233, 0.1) !important;
    border-color: rgba(14, 165, 233, 0.2) !important;
    color: #0284c7 !important;
}

[data-theme="light"] .tag {
    background: rgba(14, 165, 233, 0.1) !important;
    border-color: rgba(14, 165, 233, 0.2) !important;
    color: #0284c7 !important;
}

/* Research card icon colors in light mode */
[data-theme="light"] .research-card .research-icon {
    color: #0284c7 !important;
}

[data-theme="light"] .expertise-tag {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
    color: #7c3aed;
}

[data-theme="light"] .team-avatar {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(139, 92, 246, 0.1));
    border-color: #e2e8f0;
}

[data-theme="light"] .avatar-initials {
    background: linear-gradient(135deg, #0284c7 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Team card comprehensive light mode fix */
[data-theme="light"] .team-card {
    background: #ffffff !important;
    border-color: #e2e8f0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .team-card::after {
    background: none;
}

[data-theme="light"] .team-card-featured {
    background: #ffffff !important;
}

[data-theme="light"] .team-info h3 {
    color: #0f172a !important;
}

[data-theme="light"] .team-role {
    color: #0284c7 !important;
}

[data-theme="light"] .team-title {
    color: #475569 !important;
}

[data-theme="light"] .team-bio {
    color: #64748b !important;
}

[data-theme="light"] .team-avatar {
    background: linear-gradient(135deg, #e0f2fe, #ede9fe) !important;
    border-color: #e2e8f0 !important;
}

[data-theme="light"] .avatar-initials {
    color: #0284c7 !important;
    background: none !important;
    -webkit-text-fill-color: #0284c7 !important;
}

[data-theme="light"] .team-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

[data-theme="light"] .expertise-tag {
    background: rgba(139, 92, 246, 0.1) !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
    color: #7c3aed !important;
}

[data-theme="light"] .team-social {
    border-top-color: #e2e8f0;
}

[data-theme="light"] .team-social .social-link {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #64748b;
}

[data-theme="light"] .team-social .social-link:hover {
    color: #ffffff;
}

[data-theme="light"] .news-image {
    background: rgba(14, 165, 233, 0.08);
}

[data-theme="light"] .section-tag {
    color: #0284c7;
}

[data-theme="light"] .section-title {
    color: #0f172a;
}

[data-theme="light"] .section-subtitle {
    color: #475569 !important;
}

[data-theme="light"] .text-gradient {
    background: linear-gradient(135deg, #0284c7 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Leadership grid styling */
[data-theme="light"] .leadership-grid .team-card-featured {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}

/* Ensure all general text is visible in light mode */
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
    color: #0f172a;
}

[data-theme="light"] p {
    color: #475569;
}

/* Fix stats section in light mode */
[data-theme="light"] .stat-label {
    color: #64748b !important;
}

[data-theme="light"] .filter-btn {
    background: var(--bg-body);
    border-color: var(--border-color);
    color: var(--text-muted);
}

[data-theme="light"] .filter-btn:hover,
[data-theme="light"] .filter-btn.active {
    background: var(--gradient-accent);
    color: #ffffff;
    border-color: transparent;
}

[data-theme="light"] .search-overlay {
    background: rgba(255, 255, 255, 0.98);
}

[data-theme="light"] .search-overlay input {
    background: var(--bg-body);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="light"] .hamburger-line {
    background: var(--text-primary);
}

/* ============================================================
   ABOUT PREVIEW SECTION - Enhanced Design
   ============================================================ */

.about-preview {
    position: relative;
    overflow: hidden;
}

/* Background Decorative Glows */
.about-bg-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.about-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}

.about-glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, transparent 70%);
    top: -10%;
    left: -5%;
    animation: aboutGlowFloat 8s ease-in-out infinite;
}

.about-glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.3) 0%, transparent 70%);
    bottom: 0;
    right: -5%;
    animation: aboutGlowFloat 8s ease-in-out infinite reverse;
}

@keyframes aboutGlowFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -20px) scale(1.1);
    }
}

/* Content Wrapper */
.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-12);
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Main Content Area */
.about-main-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-10);
}

.about-text-block .lead {
    font-size: var(--text-xl);
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
}

.about-body-text {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--text-muted);
}

/* Vision & Mission Grid */
.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

/* Vision/Mission Cards */
.vm-card {
    position: relative;
    padding: var(--space-8);
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-btn-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.vm-card:hover::before {
    transform: scaleX(1);
}

.vm-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
}

.vm-card-glow {
    position: absolute;
    top: 20%;
    right: -20%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.vm-card-vision .vm-card-glow {
    background: rgba(56, 189, 248, 0.3);
}

.vm-card-mission .vm-card-glow {
    background: rgba(167, 139, 250, 0.3);
}

.vm-card:hover .vm-card-glow {
    opacity: 1;
}

.vm-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xl);
    font-size: var(--text-xl);
    transition: all var(--transition-base);
}

.vm-card-vision .vm-icon {
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent-cyan);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.vm-card-mission .vm-icon {
    background: rgba(167, 139, 250, 0.15);
    color: var(--accent-purple);
    border: 1px solid rgba(167, 139, 250, 0.3);
}

.vm-card:hover .vm-icon {
    transform: scale(1.1) rotate(-5deg);
}

.vm-card-vision:hover .vm-icon {
    background: var(--accent-cyan);
    color: var(--bg-body);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
}

.vm-card-mission:hover .vm-icon {
    background: var(--accent-purple);
    color: var(--bg-body);
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.5);
}

.vm-content h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.vm-card-vision .vm-content h4 {
    color: var(--accent-cyan);
}

.vm-card-mission .vm-content h4 {
    color: var(--accent-purple);
}

.vm-content p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

.vm-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    opacity: 0.1;
    background-size: contain;
}

/* About CTA */
.about-cta {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.btn-glow {
    animation: btnGlowPulse 3s ease-in-out infinite;
}

@keyframes btnGlowPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4);
    }

    50% {
        box-shadow: 0 0 20px 5px rgba(56, 189, 248, 0.2);
    }
}

/* About Sidebar */
.about-sidebar {
    position: sticky;
    top: 120px;
}

/* Quick Facts Card */
.quick-facts-card {
    background: linear-gradient(145deg, var(--bg-card-solid), var(--bg-elevated));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.quick-facts-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-btn-primary);
}

.qf-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-6);
    border-bottom: 1px solid var(--border-color);
    background: rgba(56, 189, 248, 0.05);
}

.qf-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-btn-primary);
    border-radius: var(--radius-lg);
    color: white;
    font-size: var(--text-base);
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.qf-header h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

/* Quick Facts List */
.qf-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.qf-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--transition-fast);
}

.qf-list li:last-child {
    border-bottom: none;
}

.qf-list li:hover {
    background: rgba(56, 189, 248, 0.05);
}

.qf-item-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: var(--radius-md);
    color: var(--accent-cyan);
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.qf-list li:hover .qf-item-icon {
    background: var(--accent-cyan);
    color: var(--bg-body);
    transform: scale(1.1);
}

.qf-item-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.qf-label {
    font-size: var(--text-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.qf-value {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
}

/* Quick Facts Footer */
.qf-footer {
    padding: var(--space-4) var(--space-6);
    background: rgba(167, 139, 250, 0.08);
    border-top: 1px solid var(--border-subtle);
}

.qf-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--accent-purple);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.qf-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-purple);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--accent-purple);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .about-sidebar {
        position: static;
    }

    .quick-facts-card {
        max-width: 500px;
    }
}

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

    .about-cta {
        flex-direction: column;
    }

    .about-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .about-glow-1,
    .about-glow-2 {
        display: none;
    }
}

/* Light mode adjustments */
[data-theme="light"] .vm-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .vm-card:hover {
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.12);
}

[data-theme="light"] .vm-card h2 {
    color: #0f172a;
}

[data-theme="light"] .vm-card > p {
    color: #475569;
}

[data-theme="light"] .quick-facts-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .qf-header {
    background: rgba(14, 165, 233, 0.05);
}

[data-theme="light"] .qf-header h4 {
    color: #0f172a;
}

[data-theme="light"] .qf-item-content .qf-label {
    color: #64748b;
}

[data-theme="light"] .qf-item-content .qf-value {
    color: #0f172a;
}

[data-theme="light"] .qf-footer {
    background: rgba(139, 92, 246, 0.05);
}

[data-theme="light"] .about-preview {
    background: #f1f5f9;
}

[data-theme="light"] .about-glow-1,
[data-theme="light"] .about-glow-2 {
    opacity: 0.15;
}

/* ============================================================
   RESEARCH BENTO GRID - Clean Landing Page Design
   ============================================================ */

.research-section {
    position: relative;
}

/* Bento Grid Container */
.research-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: var(--space-5);
    margin-bottom: var(--space-12);
}

/* Bento Card Base */
.bento-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: var(--space-8);
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 280px;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.bento-card:hover::before {
    transform: scaleX(1);
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Color Variants */
.bento-card-cyan::before {
    background: linear-gradient(90deg, #38bdf8, #0ea5e9);
}

.bento-card-purple::before {
    background: linear-gradient(90deg, #a78bfa, #8b5cf6);
}

.bento-card-green::before {
    background: linear-gradient(90deg, #34d399, #10b981);
}

.bento-card-amber::before {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.bento-card-red::before {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.bento-card-cyan:hover {
    border-color: rgba(56, 189, 248, 0.5);
}

.bento-card-purple:hover {
    border-color: rgba(167, 139, 250, 0.5);
}

.bento-card-green:hover {
    border-color: rgba(52, 211, 153, 0.5);
}

.bento-card-amber:hover {
    border-color: rgba(251, 191, 36, 0.5);
}

.bento-card-red:hover {
    border-color: rgba(239, 68, 68, 0.5);
}

/* Glow Effect on Hover */
.bento-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.bento-card-cyan .bento-glow {
    background: rgba(56, 189, 248, 0.15);
}

.bento-card-purple .bento-glow {
    background: rgba(167, 139, 250, 0.15);
}

.bento-card-green .bento-glow {
    background: rgba(52, 211, 153, 0.15);
}

.bento-card-amber .bento-glow {
    background: rgba(251, 191, 36, 0.15);
}

.bento-card-red .bento-glow {
    background: rgba(239, 68, 68, 0.15);
}

.bento-card:hover .bento-glow {
    opacity: 1;
}

/* Number Badge */
.bento-number {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--text-muted);
    background: var(--bg-subtle);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    opacity: 0.6;
}

/* Icon */
.bento-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xl);
    font-size: 28px;
    margin-bottom: var(--space-6);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.bento-card-cyan .bento-icon {
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.bento-card-purple .bento-icon {
    background: rgba(167, 139, 250, 0.12);
    color: #a78bfa;
    border: 1px solid rgba(167, 139, 250, 0.25);
}

.bento-card-green .bento-icon {
    background: rgba(52, 211, 153, 0.12);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.25);
}

.bento-card-amber .bento-icon {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.25);
}

.bento-card-red .bento-icon {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

/* Bento NEW Badge */
.bento-badge {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: var(--text-xs);
    font-weight: 700;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.bento-card:hover .bento-icon {
    transform: scale(1.1) rotate(-5deg);
}

.bento-card-cyan:hover .bento-icon {
    background: #38bdf8;
    color: var(--bg-body);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.5);
}

.bento-card-purple:hover .bento-icon {
    background: #a78bfa;
    color: var(--bg-body);
    box-shadow: 0 0 30px rgba(167, 139, 250, 0.5);
}

.bento-card-green:hover .bento-icon {
    background: #34d399;
    color: var(--bg-body);
    box-shadow: 0 0 30px rgba(52, 211, 153, 0.5);
}

.bento-card-amber:hover .bento-icon {
    background: #fbbf24;
    color: var(--bg-body);
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.5);
}

/* Content */
.bento-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.bento-content h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    line-height: 1.3;
    transition: color 0.3s ease;
}

.bento-card-cyan:hover .bento-content h3 {
    color: #38bdf8;
}

.bento-card-purple:hover .bento-content h3 {
    color: #a78bfa;
}

.bento-card-green:hover .bento-content h3 {
    color: #34d399;
}

.bento-card-amber:hover .bento-content h3 {
    color: #fbbf24;
}

.bento-content p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Arrow */
.bento-arrow {
    position: absolute;
    bottom: var(--space-6);
    right: var(--space-6);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-muted);
    font-size: var(--text-sm);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-10px);
}

.bento-card:hover .bento-arrow {
    opacity: 1;
    transform: translateX(0);
}

.bento-card-cyan:hover .bento-arrow {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.3);
    color: #38bdf8;
}

.bento-card-purple:hover .bento-arrow {
    background: rgba(167, 139, 250, 0.15);
    border-color: rgba(167, 139, 250, 0.3);
    color: #a78bfa;
}

.bento-card-green:hover .bento-arrow {
    background: rgba(52, 211, 153, 0.15);
    border-color: rgba(52, 211, 153, 0.3);
    color: #34d399;
}

.bento-card-amber:hover .bento-arrow {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

/* Research CTA */
.research-cta {
    margin-top: var(--space-8);
}

.btn-lg {
    padding: var(--space-5) var(--space-10);
    font-size: var(--text-lg);
}

/* Responsive */
@media (max-width: 1200px) {
    .research-bento {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .bento-card {
        min-height: auto;
        padding: var(--space-6);
    }

    .bento-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .bento-arrow {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Light Mode - Bento Cards */
[data-theme="light"] .bento-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .bento-card:hover {
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.15), 0 4px 10px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .bento-glow {
    display: none;
}

[data-theme="light"] .bento-content h3 {
    color: #0f172a !important;
}

[data-theme="light"] .bento-content p {
    color: #64748b !important;
}

[data-theme="light"] .bento-number {
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color: #64748b !important;
}

[data-theme="light"] .bento-icon {
    color: inherit !important;
}

[data-theme="light"] .bento-arrow {
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color: #64748b !important;
}

/* ============================================================
   PARTNERS SECTION - Improved Logo Strip Design
   ============================================================ */

.partners-strip {
    padding: var(--space-16) 0;
    background: var(--bg-elevated);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.partners-strip-header {
    text-align: center;
    margin-bottom: var(--space-10);
}

.partners-strip-header span {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* Logo Row */
.partners-logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    flex-wrap: wrap;
}

/* Individual Logo Card */
.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 90px;
    padding: var(--space-4);
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
    height: auto;
    width: auto;
    max-height: 60px;
    max-width: 140px;
    object-fit: contain;
    /* Full color logos on white background */
    filter: none;
    opacity: 1;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    background: #ffffff;
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.25), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.partner-logo:hover img {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
    .partners-logos-row {
        gap: var(--space-5);
    }

    .partner-logo {
        width: 160px;
        height: 80px;
    }

    .partner-logo img {
        max-height: 50px;
        max-width: 120px;
    }
}

@media (max-width: 768px) {
    .partners-strip {
        padding: var(--space-12) 0;
    }

    .partners-logos-row {
        gap: var(--space-4);
    }

    .partner-logo {
        width: 140px;
        height: 70px;
        padding: var(--space-3);
    }

    .partner-logo img {
        max-height: 45px;
        max-width: 100px;
    }
}

@media (max-width: 500px) {
    .partners-logos-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    .partner-logo {
        width: 100%;
        height: 65px;
    }

    .partner-logo img {
        max-height: 40px;
        max-width: 90px;
    }
}

/* Light Mode */
[data-theme="light"] .partners-strip {
    background: #f1f5f9;
}

[data-theme="light"] .partner-logo {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .partner-logo:hover {
    box-shadow: 0 8px 25px rgba(0, 119, 182, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ============================================================
   NEWS & EVENTS SECTION - Modern Card Design
   ============================================================ */

.news-section {
    position: relative;
    overflow: hidden;
}

/* News Cards Grid */
.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

/* Base News Card */
.news-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.news-card:hover::before {
    transform: scaleX(1);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

/* Card Type Colors */
.news-card-featured::before {
    background: linear-gradient(90deg, #38bdf8, #0ea5e9);
}

.news-card-recruitment::before {
    background: linear-gradient(90deg, #34d399, #10b981);
}

.news-card-announcement::before {
    background: linear-gradient(90deg, #a78bfa, #8b5cf6);
}

.news-card-featured:hover {
    border-color: rgba(56, 189, 248, 0.4);
}

.news-card-recruitment:hover {
    border-color: rgba(52, 211, 153, 0.4);
}

.news-card-announcement:hover {
    border-color: rgba(167, 139, 250, 0.4);
}

/* Badge */
.news-card-badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    z-index: 2;
}

.news-badge-event {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.news-badge-recruitment {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.news-badge-announcement {
    background: rgba(167, 139, 250, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(167, 139, 250, 0.3);
}

/* Card Header */
.news-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: var(--space-6);
    padding-bottom: 0;
}

/* Date Block */
.news-date-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-3) var(--space-4);
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    min-width: 70px;
}

.news-day {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.news-month {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.news-year {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* News Icon */
.news-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xl);
    font-size: var(--text-xl);
    transition: all 0.3s ease;
}

.news-icon-event {
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.news-icon-recruitment {
    background: rgba(52, 211, 153, 0.12);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.25);
}

.news-icon-announcement {
    background: rgba(167, 139, 250, 0.12);
    color: #a78bfa;
    border: 1px solid rgba(167, 139, 250, 0.25);
}

.news-card:hover .news-icon {
    transform: scale(1.1);
}

.news-card-featured:hover .news-icon-event {
    background: #38bdf8;
    color: var(--bg-body);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.news-card-recruitment:hover .news-icon-recruitment {
    background: #34d399;
    color: var(--bg-body);
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.4);
}

.news-card-announcement:hover .news-icon-announcement {
    background: #a78bfa;
    color: var(--bg-body);
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.4);
}

/* Card Body */
.news-card-body {
    flex: 1;
    padding: var(--space-6);
}

.news-card-body h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    line-height: 1.4;
}

.news-card-body p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}

/* Location Tag */
.news-location {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-subtle);
    border-radius: var(--radius-md);
}

.news-location i {
    color: var(--accent-cyan);
}

/* Card Footer */
.news-card-footer {
    padding: var(--space-4) var(--space-6);
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-subtle);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
}

/* Margin utility */
.mt-12 {
    margin-top: var(--space-12);
}

/* Responsive */
@media (max-width: 1024px) {
    .news-cards-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .news-card-header {
        padding: var(--space-4);
    }

    .news-card-body {
        padding: var(--space-4);
    }

    .news-card-footer {
        padding: var(--space-3) var(--space-4);
    }

    .news-date-block {
        min-width: 60px;
        padding: var(--space-2) var(--space-3);
    }

    .news-day {
        font-size: var(--text-xl);
    }

    .news-icon {
        width: 48px;
        height: 48px;
        font-size: var(--text-lg);
    }
}

/* Light Mode */
[data-theme="light"] .news-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .news-card:hover {
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.12), 0 4px 10px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .news-card-body h3 {
    color: #0f172a;
}

[data-theme="light"] .news-card-body p {
    color: #475569;
}

[data-theme="light"] .news-date-block {
    background: #f8fafc;
    border-color: #e2e8f0;
}

[data-theme="light"] .news-day {
    color: #0f172a;
}

[data-theme="light"] .news-month {
    color: #0284c7;
}

[data-theme="light"] .news-card-footer {
    background: #f8fafc;
    border-color: #e2e8f0;
}

/* ============================================================
   TEAM SOCIAL LINKS
   ============================================================ */

.team-social {
    display: flex;
    gap: var(--space-3);
    margin-top: auto;
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-subtle);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: var(--text-sm);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: var(--bg-body);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

/* LinkedIn hover - blue */
.social-link[title="LinkedIn"]:hover {
    background: #0077b5;
    border-color: #0077b5;
}

/* Email hover - green */
.social-link[title="Email"]:hover {
    background: #34d399;
    border-color: #34d399;
}

/* Google Scholar hover - purple */
.social-link[title="Google Scholar"]:hover {
    background: #a78bfa;
    border-color: #a78bfa;
}

/* Light Mode */
[data-theme="light"] .social-link {
    background: #f1f5f9;
}

[data-theme="light"] .social-link:hover {
    color: white;
}




