/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Academic burgundy color palette */
    --primary-burgundy: #8B1538;
    --deep-burgundy: #6B1229;
    --light-burgundy: #A5476B;
    --accent-burgundy: #C17B9A;
    --gradient-start: #8B1538;
    --gradient-end: #6B1229;
    --dark-bg: #2D0A14;
    --darker-bg: #1F0910;
    --light-bg: #F5F2EF;
    --cream: #FDF8F4;
    --white: #ffffff;
    --beige-100: #F9F6F2;
    --beige-200: #F0EAE5;
    --beige-300: #E6DDD6;
    --gray-600: #6B4C57;
    --gray-800: #4A2D3A;
    --gray-900: #2D1B24;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --section-padding: 6rem 0;
    --container-padding: 0 2rem;
    
    /* Animation */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    overflow-x: hidden;
    background: var(--cream);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(253, 248, 244, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--beige-200);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--gray-900);
}

.logo {
    height: 40px;
    width: auto;
}

.nav-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-burgundy);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-burgundy), var(--deep-burgundy));
    transition: width 0.3s ease;
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--gray-800);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

#quantum-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(45deg, var(--cream), var(--beige-100));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-burgundy), var(--deep-burgundy));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(139, 21, 56, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 21, 56, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Quantum Animation */
.quantum-animation {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: quantumFloat 6s infinite;
}

/* Quantum particles representing different quantum states */
.particle:nth-child(1) {
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, var(--cream), var(--beige-100));
    top: 15%;
    left: 15%;
    animation: quantumSuperposition 8s infinite;
    animation-delay: 0s;
    box-shadow: 0 0 25px rgba(253, 248, 244, 0.8), inset 0 0 5px rgba(253, 248, 244, 0.5);
}

.particle:nth-child(2) {
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, var(--beige-100), var(--beige-200));
    top: 25%;
    right: 20%;
    animation: quantumEntanglement 10s infinite;
    animation-delay: 1.2s;
    box-shadow: 0 0 15px rgba(253, 248, 244, 0.6);
}

.particle:nth-child(3) {
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, var(--cream), var(--white));
    bottom: 25%;
    left: 25%;
    animation: quantumTunneling 7s infinite;
    animation-delay: 2.4s;
    box-shadow: 0 0 20px rgba(253, 248, 244, 0.7);
}

.particle:nth-child(4) {
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, var(--beige-200), var(--beige-300));
    bottom: 15%;
    right: 25%;
    animation: quantumCoherence 9s infinite;
    animation-delay: 3.6s;
    box-shadow: 0 0 12px rgba(253, 248, 244, 0.5);
}

.particle:nth-child(5) {
    width: 14px;
    height: 14px;
    background: radial-gradient(circle, var(--cream), var(--beige-100));
    top: 45%;
    left: 45%;
    animation: quantumSuperposition 6s infinite;
    animation-delay: 4.8s;
    box-shadow: 0 0 30px rgba(253, 248, 244, 0.9), 0 0 10px rgba(253, 248, 244, 0.6);
}

/* Wave-particle duality particles */
.particle:nth-child(6) {
    width: 4px;
    height: 4px;
    background: var(--beige-100);
    top: 35%;
    left: 10%;
    animation: waveParticleDuality 12s infinite;
    animation-delay: 1s;
    box-shadow: 0 0 8px rgba(253, 248, 244, 0.4);
}

.particle:nth-child(7) {
    width: 16px;
    height: 16px;
    background: radial-gradient(circle, var(--white), var(--cream));
    top: 60%;
    right: 15%;
    animation: quantumDecoherence 11s infinite;
    animation-delay: 3s;
    box-shadow: 0 0 35px rgba(253, 248, 244, 1), 0 0 15px rgba(253, 248, 244, 0.7);
}

.particle:nth-child(8) {
    width: 7px;
    height: 7px;
    background: var(--beige-200);
    bottom: 40%;
    left: 60%;
    animation: quantumInterference 8s infinite;
    animation-delay: 5s;
    box-shadow: 0 0 14px rgba(253, 248, 244, 0.5);
}

/* Quantum Superposition - particle exists in multiple states */
@keyframes quantumSuperposition {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
        filter: blur(0px);
    }
    25% {
        transform: translate(20px, -20px) scale(1.5);
        opacity: 0.3;
        filter: blur(1px);
    }
    50% {
        transform: translate(-15px, 15px) scale(0.5);
        opacity: 0.1;
        filter: blur(2px);
    }
    75% {
        transform: translate(15px, 20px) scale(1.2);
        opacity: 0.6;
        filter: blur(0.5px);
    }
}

/* Quantum Entanglement - particles connected across space */
@keyframes quantumEntanglement {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 1;
    }
    33% {
        transform: translate(30px, -30px) scale(0.8) rotate(120deg);
        opacity: 0.7;
    }
    66% {
        transform: translate(-20px, 25px) scale(1.3) rotate(240deg);
        opacity: 0.9;
    }
}

/* Quantum Tunneling - particle passes through barriers */
@keyframes quantumTunneling {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    25% {
        transform: translate(25px, 0) scale(1.1);
        opacity: 0.8;
    }
    50% {
        transform: translate(50px, 0) scale(0.1);
        opacity: 0.1;
    }
    75% {
        transform: translate(75px, 0) scale(1.1);
        opacity: 0.8;
    }
}

/* Quantum Coherence - maintaining quantum state */
@keyframes quantumCoherence {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translate(10px, -10px) scale(1.1) rotate(180deg);
        opacity: 0.9;
    }
}

/* Wave-Particle Duality */
@keyframes waveParticleDuality {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
        border-radius: 50%;
    }
    25% {
        transform: translate(15px, -15px) scale(2, 0.5);
        opacity: 0.6;
        border-radius: 0%;
    }
    50% {
        transform: translate(-10px, 10px) scale(0.5, 2);
        opacity: 0.3;
        border-radius: 0%;
    }
    75% {
        transform: translate(10px, 15px) scale(1.5, 0.8);
        opacity: 0.8;
        border-radius: 25%;
    }
}

/* Quantum Decoherence - loss of quantum properties */
@keyframes quantumDecoherence {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
        filter: blur(0px);
    }
    50% {
        transform: translate(20px, -20px) scale(1.5);
        opacity: 0.3;
        filter: blur(3px);
    }
}

/* Quantum Interference - wave interference patterns */
@keyframes quantumInterference {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    25% {
        transform: translate(20px, 10px) scale(1.3);
        opacity: 0.7;
    }
    50% {
        transform: translate(0px, 20px) scale(0.7);
        opacity: 0.3;
    }
    75% {
        transform: translate(-20px, 10px) scale(1.3);
        opacity: 0.7;
    }
}



/* Section Styles */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--beige-100);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.about-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.about-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-burgundy), var(--deep-burgundy));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.about-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.about-info p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Programs Section */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.program-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-burgundy);
}

.program-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, var(--primary-burgundy), var(--deep-burgundy));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.program-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.program-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.program-features {
    list-style: none;
}

.program-features li {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.program-features li::before {
    content: '•';
    color: var(--primary-burgundy);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* K-12 Outreach Section */
.outreach {
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.outreach::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(139, 21, 56, 0.02) 50%, transparent 100%);
    pointer-events: none;
}

.outreach-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.outreach-highlight {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(139, 21, 56, 0.1);
    margin-bottom: 2rem;
    border: 1px solid var(--beige-200);
}

.outreach-highlight h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-burgundy);
    margin-bottom: 1rem;
}

.outreach-highlight p {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 1.1rem;
}

.outreach-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.outreach-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(139, 21, 56, 0.08);
    transition: var(--transition);
    border: 1px solid var(--beige-200);
}

.outreach-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 21, 56, 0.15);
    border-color: var(--light-burgundy);
}

.outreach-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-burgundy), var(--deep-burgundy));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
}

.outreach-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.outreach-info p {
    color: var(--gray-600);
    line-height: 1.6;
}

.outreach-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.quantum-demo {
    position: relative;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, var(--beige-100), var(--white));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 40px rgba(139, 21, 56, 0.1);
    border: 2px solid var(--beige-200);
    overflow: hidden;
}

.demo-particle {
    position: absolute;
    width: 12px;
    height: 12px;
    background: linear-gradient(45deg, var(--primary-burgundy), var(--light-burgundy));
    border-radius: 50%;
    animation: demoFloat 4s infinite ease-in-out;
    box-shadow: 0 0 15px rgba(139, 21, 56, 0.4);
}

.demo-particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.demo-particle:nth-child(2) {
    top: 20%;
    right: 20%;
    animation-delay: 1s;
}

.demo-particle:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

.demo-particle:nth-child(4) {
    bottom: 20%;
    right: 20%;
    animation-delay: 3s;
}

.demo-wave {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid var(--accent-burgundy);
    border-radius: 50%;
    opacity: 0;
    animation: waveExpand 3s infinite;
}

.demo-wave:nth-child(5) {
    animation-delay: 0s;
}

.demo-wave:nth-child(6) {
    animation-delay: 1.5s;
}

.outreach-quote {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(139, 21, 56, 0.1);
    border-left: 4px solid var(--primary-burgundy);
    max-width: 350px;
}

.outreach-quote blockquote {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--gray-800);
    line-height: 1.6;
    margin: 0;
}

@keyframes demoFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(20px, -20px) scale(1.2);
        opacity: 0.7;
    }
}

@keyframes waveExpand {
    0% {
        transform: scale(0.1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    color: var(--white);
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--cream), var(--beige-100));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Contact Section */
.contact {
    background: var(--beige-100);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-burgundy), var(--deep-burgundy));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.contact-details h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--gray-600);
}

.join-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.join-form h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.join-form p {
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-info p {
    color: var(--gray-300);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-burgundy);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 1rem;
    text-align: center;
    color: var(--gray-400);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .quantum-animation {
        width: 300px;
        height: 300px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .outreach-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .quantum-demo {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
        --container-padding: 0 1rem;
    }
    
    .hero {
        padding-top: 80px; /* Add padding to account for fixed header */
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-item {
        flex-direction: column;
        text-align: center;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
    }
    
    .outreach-highlight {
        padding: 2rem;
    }
    
    .outreach-item {
        flex-direction: column;
        text-align: center;
    }
    
    .quantum-demo {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 100px; /* Extra padding for smaller screens */
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-title {
        font-size: 1rem;
    }
    
    .logo {
        height: 30px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Focus States */
.btn:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-burgundy);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: var(--primary-burgundy);
    color: var(--white);
} 