#timeline {
    padding: 2rem;
    background-color: white;
}

.timeline-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.timeline-description a {
    color: #007bff;
    text-decoration: none;
}

.timeline-description a:hover {
    text-decoration: underline;
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.timeline-date-location {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
}

.timeline-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.timeline-image {
    flex: 1;
    max-width: 40%;
}

.timeline-image img {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-text {
    flex: 1;
}

.timeline-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #222;
}

.timeline-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.timeline-card.reverse .timeline-content {
    flex-direction: row-reverse;
}

@media (max-width: 992px) {
    .timeline-content {
        flex-direction: column;
    }

    .timeline-card.reverse .timeline-content {
        flex-direction: column;
    }

    .timeline-image {
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    #timeline {
        padding: 3rem 1rem;
    }

    .timeline-card {
        padding: 1.5rem;
    }

    .timeline-date-location {
        font-size: 1.2rem;
    }

    .timeline-text h3 {
        font-size: 1.5rem;
    }

    .timeline-text p {
        font-size: 1rem;
    }

    .timeline-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .timeline-card {
        padding: 1rem;
    }

    .timeline-date-location {
        font-size: 1.1rem;
    }

    .timeline-text h3 {
        font-size: 1.3rem;
    }
}