.timeline-container {
    position: relative;
}

.timeline-swiper {
    padding: 0 20px;
}

.timeline-slide {
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    position: relative;
    padding: 10px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px;
    border: 2px solid #ddd;
}

.swiper-slide:first-child .timeline-slide::before {
    display: none;
}

.swiper-slide:last-child .timeline-slide::after {
    display: none;
}

.swiper-slide-active .timeline-slide {
    color: #fff;
    background: #EC1D22;
    border-radius: 50px;
    padding: 10px 20px;
    transform: scale(1.1);
    z-index: 1;
}

.swiper-slide-active .timeline-slide::before,
.swiper-slide-active .timeline-slide::after {
    background: #EC1D22;
    height: 4px;
}

.image-swiper {
    margin-top: 30px;
    padding: 20px;
}

.image-slide {
    opacity: 0.5;
    transition: all 0.3s ease;
}

.image-slide img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.swiper-slide-active.image-slide {
    opacity: 1;
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.0), transparent);
}