/* Timeline Section */
.timeline-section {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
}

.timeline {
    max-width: 1000px;
    margin: 3rem auto;
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background: #1a237e;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-date {
    position: absolute;
    top: 0;
    right: -120px;
    background: #1a237e;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.1rem;
}

.timeline-item:nth-child(even) .timeline-date {
    right: auto;
    left: -120px;
}

.timeline-content {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #1a237e;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -60px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -60px;
}

.timeline-content h3 {
    color: #1a237e;
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
}

.timeline-content p {
    margin: 0.5rem 0;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        margin-bottom: 2rem;
        left: 0 !important;
    }

    .timeline-date {
        left: 0 !important;
        right: auto !important;
    }

    .timeline-content::before {
        left: -60px !important;
    }
} 