.timeline-section {
    position: relative;
    padding: 80px 0;
    background-color: #f9f9f9;
    /* background-color: white; */
}

.timeline-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline-left {
    width: 200px;
    flex-shrink: 0;
    margin-right: 40px;
}

.timeline-left h2 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.timeline-left .divider {
    width: 60px;
    height: 2px;
    background-color: #e60012;
}

.timeline-content {
    flex: 1;
    margin-right: 40px;
    position: relative;
}

.timeline-section .swiper {
    position: relative;
    height: 400px;
}

.timeline-section .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.timeline-item {
    width: 100%;
}

.timeline-desc p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.timeline-desc p:last-child {
    margin-bottom: 0;
}

.timeline-right {
    width: 120px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
}

.year-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.year-item {
    font-size: 16px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
}

.year-item:hover {
    color: #e60012;
}

.year-item.active {
    color: #e60012;
    font-weight: bold;
}

.year-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 2px;
    background-color: #ddd;
}

.year-item.active::before {
    background-color: #e60012;
}

.timeline-section .swiper-pagination2 {
    display: none;
}

@media (max-width: 768px) {
    .timeline-container {
        flex-direction: column;
        align-items: center;
    }
    
    .timeline-left {
        width: 100%;
        text-align: center;
        margin-right: 0;
        margin-bottom: 40px;
    }
    
    .timeline-left .divider {
        margin: 0 auto;
    }
    
    .timeline-content {
        margin-right: 0;
        width: 100%;
    }
    
    .timeline-section .swiper {
        height: 300px;
    }
    
    .timeline-right {
        width: 100%;
        margin-top: 40px;
    }
    
    .year-list {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .year-item {
        margin: 0 10px;
    }
    
    .year-item.active::before {
        left: -10px;
    }
    
    .timeline-section .swiper-pagination2 {
        position: relative;
        right: 0;
        top: 0;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin-top: 20px;
    }
    
    .timeline-section .swiper-pagination2 .swiper-pagination-bullet {
        margin: 0 5px;
    }
}
