.development-timeline {
    position: relative;
    margin-top: 120px;
    overflow-x: hidden;
}

.development-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e0e0e0;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    position: relative;
    margin-bottom: 150px;
}

.timeline-image-container,
.timeline-info-container {
    cursor: pointer;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 40px;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background-color: #00479C;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(0, 71, 169, 0.2);
    z-index: 1;
}

.timeline-image-container {
    width: 50%;
    box-sizing: border-box;
}

.timeline-info-container {
    width: 50%;
    box-sizing: border-box;
    background-image: url('../images/发展历程/development-bg.png');
    background-repeat: no-repeat;
    background-position: bottom;
}

.timeline-item .timeline-image-container:first-child {
    padding-right: 50px;
    text-align: right;
}

.timeline-item .timeline-image-container:last-child {
    padding-left: 50px;
    text-align: left;
}

.right-info {
    padding-left: 40px;
}

.left-info {
    padding-right: 40px;
}

.left-info {
    text-align: right;
}

.right-info {
    text-align: left;
}

.timeline-image-wrapper {
    position: relative;
    display: inline-block;
}

/* 叠加图片样式 */
.timeline-overlay-image {
    position: absolute;
    bottom: -25%;
    right: -7%;
    z-index: 3;
}

.timeline-overlay-image img {
    max-width: 85%;
}

.timeline-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 98%;
    background-color: #00479C;
    border-radius: 19px;
    z-index: 1;
}

.timeline-image {
    position: relative;
    top: 10px;
    left: 10px;
    z-index: 2;
    border-radius: 16px;
    overflow: hidden;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.timeline-image img {
    width: 100%;
    transition: transform 0.3s ease;
}

.timeline-item.hover-effect .timeline-image img {
    transform: scale(1.05);
}

.timeline-image img {
    width: 100%;
    display: block;
}

.timeline-info {
    padding: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-info.is-visible,
.timeline-item:hover .timeline-info {
    opacity: 1;
    transform: translateY(0);
}

.timeline-year {
    font-size: 100px;
    color: rgba(0, 71, 169, 0.2);
    margin-bottom: 10px;
    line-height: 1;
    transition: color 0.3s ease;
}

.timeline-item:hover .timeline-year {
    color: #0047A9;
}

.timeline-events {
    padding: 0;
}

.timeline-event {
    margin-bottom: 20px;
    position: relative;
}

.timeline-event::before {
    content: '';
    position: absolute;
    top: 9px;
    width: 8px;
    height: 8px;
    background-color: #bdc5ca;
    border-radius: 50%;
    z-index: 1;
}

.right-info .timeline-event::before {
    left: -44px;
}

.left-info .timeline-event::before {
    right: -44px;
}

.event-date {
    font-weight: 700;
    font-size: 18px;
    color: #333333;
    margin-bottom: 5px;
}

.event-desc {
    font-size: 16px;
    color: #71797E;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .development-timeline::before,
    .timeline-item::after,
    .timeline-event::before {
        display: none;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 60px;
        /* 移动端减少间距 */
    }
    .development-timeline {
        margin-top: 40px;
        overflow-x: hidden;
    }

    .timeline-info {
        opacity: 1;
        transform: none;
    }

    .timeline-year {
        color: #0047A9;
    }

    .timeline-item.hover-effect .timeline-image img {
        transform: none;
    }

    .timeline-info-container {
        display: contents;
    }

    .timeline-year {
        order: 1;
    }

    .timeline-image-container {
        order: 2;
        padding: 20px 0;
    }

    .timeline-info {
        order: 3;
    }

    .timeline-item:nth-child(2) .timeline-info-container,
    .timeline-item:nth-child(2) .timeline-image-container {
        order: unset;
    }


        .timeline-image-container,
    .timeline-info-container {
        cursor: default;
    }


    .timeline-image-container,
    .timeline-info-container {
        width: 100%;
        padding-left: 0;
        text-align: left !important;
    }

    .timeline-item .timeline-image-container:first-child,
    .timeline-item .timeline-image-container:last-child {
        padding: 0 0 20px 0;
        text-align: left;
    }

    .timeline-item:nth-child(2) .timeline-info-container {
        order: 2;
    }

    .timeline-item:nth-child(2) .timeline-image-container {
        order: 1;
    }

    .timeline-year {
        font-size: 48px;
    }

    .timeline-overlay-image {
        right: -51%;
    }

    .timeline-overlay-image img {
        max-width: 50%;
    }
}