* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: #0f0f1a;
    color: #fff;
    min-height: 100vh;
}

nav {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

nav a:hover {
    color: #4a9eff;
}

.hero {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #1a1a2e, #16213e);
    position: relative;
    overflow: hidden;

}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(74, 158, 255, 0.1) 10px,
            rgba(74, 158, 255, 0.1) 20px);
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.hero h1 {
    font-size: 3.5rem;
    text-align: center;
    position: relative;
    text-shadow: 0 0 20px rgba(74, 158, 255, 0.5);
}

.timeline {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #4a9eff;
    transform: translateX(-50%);
}

.timeline-item {
    margin: 4rem 0;
    position: relative;
    width: 50%;
    padding: 0 2rem;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.5s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    transform: translateX(100px);
}

.timeline-item:nth-child(even).visible {
    transform: translateX(0);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    position: relative;
    border: 1px solid rgba(74, 158, 255, 0.2);
    box-shadow: 0 0 20px #0ef;
}

.timeline-content:hover {
    box-shadow: 0 0 20px #0ef;
    cursor: pointer;
    transform: translate(-5px);
    transition: .3s ease-in-out;
    translate: scale(1.01)
}

.timeline-content::before {
    content: '';
    position: absolute;
    right: -2.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #4a9eff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(74, 158, 255, 0.5);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -2.5rem;
    right: auto;
}

.timeline-date {
    color: #4a9eff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 5rem;
    }

    .timeline-item:nth-child(even) {
        margin-left: 0;
    }

    .timeline-content::before {
        left: -2.5rem;
        right: auto;
    }
}