:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --text-color: #333;
    --background-color: #f9f9f9;
    --box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    scroll-behavior: smooth;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    box-shadow: var(--box-shadow);
    z-index: 1000;
}

.navbar ul {
    display: flex;
    justify-content: center;
    padding: 1rem;
    list-style: none;
}

.navbar a {
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    transition: all 0.3s ease;
}

.navbar a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.section {
    padding: 6rem 1rem 2rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.section.active {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.profile-info p {
    margin: 1rem 0;
    font-size: 1.1rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
    margin-left: 1rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--secondary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.honors-list {
    display: grid;
    gap: 1.5rem;
}

.honor-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.contact-info {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .navbar ul {
        flex-wrap: wrap;
    }

    .section {
        padding-top: 4rem;
    }

    .container {
        padding: 1rem;
    }

    .timeline {
        padding-left: 1rem;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
