/* ============================================
   QUANTUM AI SEMICONDUCTOR ENGINEERING ACADEMY
   Premium ChipTech Campus Styles
   ============================================ */

/* ------------------------------------------
   CSS CUSTOM PROPERTIES (Design Tokens)
   ------------------------------------------ */
:root {
    /* Core Colors */
    --color-graphite-900: #0a0a0f;
    --color-graphite-800: #12121a;
    --color-graphite-700: #1a1a2e;
    --color-graphite-600: #23233a;
    --color-graphite-500: #2d2d4a;
    
    /* Neon Accents */
    --color-neon-blue: #00d4ff;
    --color-neon-cyan: #22d3ee;
    --color-neon-purple: #a855f7;
    --color-neon-violet: #7c3aed;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-neon-blue) 0%, var(--color-neon-violet) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
    --gradient-dark: linear-gradient(180deg, var(--color-graphite-900) 0%, var(--color-graphite-800) 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Spacing Scale */
    --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;
    
    /* Shadows */
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.15);
    --shadow-glow-purple: 0 0 40px rgba(124, 58, 237, 0.15);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    
    /* Z-Index Scale */
    --z-base: 0;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 300;
    --z-tooltip: 400;
}

/* ------------------------------------------
   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: 16px;
    line-height: 1.6;
    color: #e2e8f0;
    background: var(--color-graphite-900);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

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

ul {
    list-style: none;
}

/* ------------------------------------------
   UTILITY CLASSES
   ------------------------------------------ */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-neon-blue);
    margin-bottom: var(--space-4);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #f8fafc;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #94a3b8;
    max-width: 600px;
    margin-top: var(--space-4);
}

/* ------------------------------------------
   BUTTONS
   ------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-6);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-graphite-900);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.25);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.3);
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}

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

/* ------------------------------------------
   NAVIGATION
   ------------------------------------------ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    padding: var(--space-4) 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-weight: 800;
    font-size: 1.25rem;
    color: #f8fafc;
}

.logo-icon {
    width: 36px;
    height: 36px;
    color: var(--color-neon-blue);
}

.logo-accent {
    color: var(--color-neon-blue);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
    z-index: var(--z-dropdown);
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #e2e8f0;
    transition: all var(--transition-base);
    transform-origin: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #94a3b8;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: #f8fafc;
}

.nav-link:hover::after {
    width: 100%;
}

/* ------------------------------------------
   HERO SECTION
   ------------------------------------------ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: var(--space-24) var(--space-6) var(--space-16);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: var(--z-base);
}

.wafer-grid {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(0, 212, 255, 0.08) 1px, transparent 0);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 30% 50%, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 30% 50%, black 0%, transparent 70%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 50%, rgba(0, 212, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(124, 58, 237, 0.06) 0%, transparent 50%);
}

.particles-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--color-neon-blue);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: translateY(-20vh) scale(1);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-neon-cyan);
    margin-bottom: var(--space-6);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--color-neon-cyan);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #f8fafc;
    margin-bottom: var(--space-6);
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: var(--space-10);
    max-width: 520px;
}

.hero-stats {
    display: flex;
    gap: var(--space-10);
    margin-bottom: var(--space-10);
}

.stat-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 var(--space-1);
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-neon-blue);
}

.stat-suffix {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-neon-blue);
}

.stat-label {
    width: 100%;
    font-size: 0.75rem;
    color: #64748b;
    margin-top: var(--space-1);
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.hero-visual {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    z-index: 0;
}

.chip-hologram {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hologram-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    animation: ringPulse 4s ease-in-out infinite;
}

.ring-1 {
    width: 200px;
    height: 200px;
    border-color: rgba(0, 212, 255, 0.3);
    animation-delay: 0s;
}

.ring-2 {
    width: 300px;
    height: 300px;
    border-color: rgba(124, 58, 237, 0.2);
    animation-delay: 1s;
}

.ring-3 {
    width: 400px;
    height: 400px;
    border-color: rgba(0, 212, 255, 0.1);
    animation-delay: 2s;
}

@keyframes ringPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

.chip-core {
    width: 180px;
    height: 180px;
    animation: chipFloat 6s ease-in-out infinite;
}

@keyframes chipFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hologram-data {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    color: rgba(0, 212, 255, 0.4);
    white-space: pre;
    pointer-events: none;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    color: #64748b;
    font-size: 0.75rem;
}

.scroll-mouse {
    width: 22px;
    height: 34px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 11px;
    position: relative;
}

.scroll-wheel {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--color-neon-blue);
    border-radius: 50%;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ------------------------------------------
   ABOUT SECTION
   ------------------------------------------ */
.about {
    padding: var(--space-24) 0;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 212, 255, 0.2) 50%, transparent 100%);
}

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

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

.about-card {
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.15);
    box-shadow: var(--shadow-glow);
}

.about-card.featured {
    border-color: rgba(0, 212, 255, 0.15);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.04) 0%, rgba(124, 58, 237, 0.04) 100%);
}

.about-icon {
    width: 48px;
    height: 48px;
    color: var(--color-neon-blue);
    margin-bottom: var(--space-6);
}

.about-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: var(--space-3);
}

.about-card p {
    font-size: 0.875rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/10;
}

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

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

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 15, 0.8) 100%);
}

.featured-badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    padding: var(--space-1) var(--space-3);
    background: var(--gradient-primary);
    color: var(--color-graphite-900);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
}

.about-metrics {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-12);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.03) 0%, rgba(124, 58, 237, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

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

.metric-value {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-neon-blue);
}

.metric-unit {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-neon-blue);
}

.metric-label {
    display: block;
    font-size: 0.875rem;
    color: #64748b;
    margin-top: var(--space-2);
}

.metric-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
}

/* ------------------------------------------
   PROGRAMS SECTION
   ------------------------------------------ */
.programs {
    padding: var(--space-24) 0;
    position: relative;
}

.programs::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 50% 30% at 50% 0%, rgba(0, 212, 255, 0.03) 0%, transparent 100%),
        radial-gradient(ellipse 50% 30% at 50% 100%, rgba(124, 58, 237, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

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

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

.program-card {
    position: relative;
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    background: var(--color-graphite-800);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: all var(--transition-slow);
    cursor: pointer;
}

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

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

.program-card:hover {
    border-color: rgba(0, 212, 255, 0.1);
    transform: translateY(-4px);
}

.program-visual {
    position: relative;
    height: 120px;
    margin-bottom: var(--space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.program-circuit {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300d4ff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.program-number {
    font-family: var(--font-mono);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(0, 212, 255, 0.08);
    line-height: 1;
}

.program-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: var(--space-3);
}

.program-content > p {
    font-size: 0.875rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.program-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
}

.program-features li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.8125rem;
    color: #cbd5e1;
}

.program-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-neon-blue);
    border-radius: 50%;
    flex-shrink: 0;
}

.program-meta {
    display: flex;
    gap: var(--space-4);
}

.program-duration,
.program-level {
    padding: var(--space-1) var(--space-3);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
}

.program-duration {
    background: rgba(0, 212, 255, 0.08);
    color: var(--color-neon-cyan);
}

.program-level {
    background: rgba(124, 58, 237, 0.08);
    color: var(--color-neon-purple);
}

.program-hover-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 212, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

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

/* ------------------------------------------
   LAB SECTION
   ------------------------------------------ */
.lab {
    padding: var(--space-24) 0;
}

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

.lab-filters {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-10);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--space-2) var(--space-5);
    font-size: 0.875rem;
    font-weight: 500;
    color: #94a3b8;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.filter-btn:hover {
    color: #f8fafc;
    border-color: rgba(0, 212, 255, 0.2);
}

.filter-btn.active {
    color: var(--color-graphite-900);
    background: var(--gradient-primary);
    border-color: transparent;
}

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

.project-card {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: var(--color-graphite-800);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all var(--transition-slow);
}

.project-card.hidden {
    display: none;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.1);
    box-shadow: var(--shadow-glow);
}

.project-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

.project-card:hover .project-image img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 15, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-4);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-specs {
    display: flex;
    gap: var(--space-3);
}

.project-specs span {
    padding: var(--space-1) var(--space-3);
    background: rgba(0, 212, 255, 0.1);
    color: var(--color-neon-cyan);
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
}

.project-info {
    padding: var(--space-6);
}

.project-tag {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: rgba(124, 58, 237, 0.1);
    color: var(--color-neon-purple);
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-3);
}

.project-info h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: var(--space-2);
}

.project-info > p {
    font-size: 0.8125rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.project-team {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.team-avatars {
    display: flex;
}

.avatar {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--color-graphite-900);
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: 50%;
    border: 2px solid var(--color-graphite-800);
    margin-left: -8px;
}

.avatar:first-child {
    margin-left: 0;
}

.team-count {
    font-size: 0.75rem;
    color: #64748b;
}

/* ------------------------------------------
   CONTACT SECTION
   ------------------------------------------ */
.contact {
    padding: var(--space-24) 0;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(124, 58, 237, 0.04) 0%, transparent 100%);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-16);
    align-items: start;
}

.contact-info {
    padding-top: var(--space-4);
}

.contact-desc {
    font-size: 1.125rem;
    color: #94a3b8;
    line-height: 1.7;
    margin: var(--space-6) 0 var(--space-10);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.08);
    border-radius: var(--radius-md);
    color: var(--color-neon-blue);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.contact-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #e2e8f0;
    line-height: 1.5;
}

.contact-form-wrapper {
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #cbd5e1;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--space-3) var(--space-4);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    color: #f8fafc;
    font-size: 0.9375rem;
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #475569;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-4) center;
    padding-right: var(--space-10);
}

.form-group select option {
    background: var(--color-graphite-800);
    color: #f8fafc;
}

.form-success {
    display: none;
    text-align: center;
    padding: var(--space-12) var(--space-6);
}

.form-success.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-6);
    color: var(--color-neon-blue);
    background: rgba(0, 212, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon svg {
    width: 32px;
    height: 32px;
}

.form-success h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: var(--space-3);
}

.form-success p {
    color: #94a3b8;
}

/* ------------------------------------------
   FOOTER
   ------------------------------------------ */
.footer {
    padding: var(--space-16) 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-16);
    margin-bottom: var(--space-16);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #f8fafc;
    display: inline-block;
    margin-bottom: var(--space-4);
}

.footer-brand p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.7;
    max-width: 320px;
    margin-bottom: var(--space-6);
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    color: #94a3b8;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: rgba(0, 212, 255, 0.08);
    color: var(--color-neon-blue);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

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

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: var(--space-4);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-column a {
    font-size: 0.8125rem;
    color: #64748b;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--color-neon-blue);
}

.footer-bottom {
    padding: var(--space-6) var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: #475569;
}

/* ------------------------------------------
   RESPONSIVE DESIGN
   ------------------------------------------ */
@media (max-width: 1024px) {
    .hero-visual {
        width: 350px;
        height: 350px;
        right: -10%;
        opacity: 0.5;
    }
    
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-card:last-child {
        grid-column: 1 / -1;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        gap: var(--space-8);
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        transition: right var(--transition-slow);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    .nav-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        padding-top: var(--space-20);
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-stats {
        gap: var(--space-6);
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-metrics {
        flex-direction: column;
        gap: var(--space-6);
    }
    
    .metric-divider {
        width: 60px;
        height: 1px;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-container {
        padding: 0 var(--space-4);
    }
    
    .about-card,
    .program-card,
    .contact-form-wrapper {
        padding: var(--space-5);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------------------
   REDUCED MOTION
   ------------------------------------------ */
@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;
    }
}

/* ------------------------------------------
   SELECTION STYLES
   ------------------------------------------ */
::selection {
    background: rgba(0, 212, 255, 0.2);
    color: #f8fafc;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-graphite-900);
}

::-webkit-scrollbar-thumb {
    background: var(--color-graphite-600);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-graphite-500);
}