:root {
    --lavender: #E6E6FA;
    --academic-blue: #002366;
    --sakura-pink: #FFB7C5;
    --pearl-white: #FAF9F6;
    --shadow-color: rgba(0,35,102,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Source Han Serif SC', 'Georgia', serif;
}

body {
    background: linear-gradient(135deg, var(--pearl-white) 0%, var(--lavender) 100%);
    line-height: 1.6;
}

.main-nav {
    background: var(--academic-blue);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-brand {
    color: var(--pearl-white);
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--pearl-white);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--sakura-pink);
}

.hero {
    padding: 120px 5% 60px;
    text-align: center;
    background: linear-gradient(rgba(230,230,250,0.9), rgba(230,230,250,0.9)), url('data:image/svg+xml,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect fill="%23002366" width="100" height="100"/></svg>');
    background-size: 20px 20px;
}

.timeline-section {
    padding: 60px 5%;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-item {
    background: var(--pearl-white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px var(--shadow-color);
    margin: 20px 0;
    transition: transform 0.3s;
}

.timeline-item:hover {
    transform: translateY(-5px);
}

.cards-section {
    padding: 60px 5%;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--pearl-white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.badges-section {
    padding: 60px 5%;
    text-align: center;
}

.badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.badge {
    background: var(--sakura-pink);
    color: var(--academic-blue);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.3s;
}

.badge:hover {
    transform: rotate(5deg);
}

.contact-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--pearl-white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px var(--shadow-color);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-btn {
        display: block;
    }
    
    .contact-sidebar {
        position: static;
        transform: none;
        margin: 20px auto;
        width: 90%;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

section {
    animation: fadeIn 0.6s ease-out;
}
