* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.title {
    text-align: center;
    font-size: 3rem;
    color: white;
    margin-bottom: 50px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: white;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 50px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.timeline-item:nth-child(even) .timeline-content {
    left: 0;
    text-align: right;
    padding-right: 60px;
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 50%;
    padding-left: 60px;
}

.timeline-content {
    position: relative;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 45%;
    margin-left: 5%;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid #667eea;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -12px;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -12px;
}

.timeline-content h2 {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.timeline-content p {
    color: #666;
    font-size: 1rem;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
        text-align: left !important;
        padding-left: 30px;
    }

    .timeline-item:nth-child(even) .timeline-content {
        padding-right: 30px;
    }

    .timeline-content::before {
        left: -12px !important;
    }
}