﻿@import url(iconfont.css);
.develop-text{
    padding-bottom:100px;
}
.container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}
.description {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.timeline-container {
    position: relative;
    padding: 0px 0 60px;
    margin: 0px 0;
}

.timeline {
    height: 4px;
    background: #00235f;
    border-radius: 3px;
    /*position: relative;*/
    margin-top: -33px;
}
.timeline .l-wrap{
    display: flex;
    justify-content: center;
}


.timeline-progress {
    height: 100%;
    width: 25%;
    background: #00235f;
    border-radius: 3px;
    transition: width 0.4s ease;
    position: relative;
    z-index: 1;
    display: none;
}

.year-markers {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 10px;
    height: 100%;
    pointer-events: none;
    width:73%;
}

.year-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    transition: all 0.3s ease;
    pointer-events: auto;
}

.year-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #00235F;
    border: 3px solid #419bf9;
    margin-top: -7px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 2;
    display: none;
    /*left:-50%;*/
}

.year-circle.active {
    background: #00235F;
    border-color: #00235F;
    transform: scale(1.3);
    box-shadow: 0 0 10px #5D7BAF;
}

.year-circle:hover {
    transform: scale(1.4);
    box-shadow: 0 0 15px #5D7BAF;
}

.year-text {
    font-family: MicrosoftYaHei;
    font-size: 30px;
    color: #00235F;
    letter-spacing: 0;
    text-align: center;
    font-weight: 400;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);

}

.carousel {
    position: relative;
    overflow: hidden;
    margin: 30px 0 0px;
    padding: 0px;
}

.slides-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    transition: transform 0.5s ease;
    align-items: start; /* 重要：让项目从顶部开始对齐 */
}
/* 为奇数项添加上偏移 */
.slide:nth-child(odd) {
    transform: translateY(0px);
    background: url(../images/left-high-line.png) no-repeat left bottom;
    padding-left: 30px;
    height: 494px;
    padding-top: 20px;
}

/* 为偶数项添加下偏移 */
.slide:nth-child(even) {
    transform: translateY(100px);
    background: url(../images/left-low-line.png) no-repeat left bottom;
    padding-left: 30px;
    height: 394px;
    padding-top: 20px;
}

.slide {
    transition: transform 0.3s ease;
}

.card {

    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
}

.card-img {
    width: 100%;
    height: 188px;
    object-fit: cover;
}

.card-content {
    padding: 0px;
    /*flex-grow: 1;*/
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ffdd40;
}

.card-desc {
    font-family: MicrosoftYaHei;
    font-size: 18px;
    color: #000000;
    letter-spacing: 0;
    line-height: 27px;
    font-weight: 400;
    margin-bottom: 10px;
    flex-grow: 1;
}

.card-date {
    font-size: 0.85rem;
    opacity: 0.7;
    display: flex;
    align-items: center;
}

.card-date i {
    margin-right: 6px;
}

.navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.btn {
    background: #00235f;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 15px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #d9d9d9;
    transform: scale(1.1);
}

.btn:active {
    transform: scale(0.95);
}

.indicators {
    /*display: flex;*/
    display: none;
    justify-content: center;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #ffdd40;
    transform: scale(1.3);
}
.develop-content .develop-text .text{
    position: relative;
}
.develop-content .develop-text .text .navigation .btn{
    position: absolute;
    top:30%;
}
.develop-content .develop-text .text .navigation .prev-btn{
    left: -20px;
}
.develop-content .develop-text .text .navigation .next-btn{
    right: -20px;
}
@media (max-width:1600px) {
    .year-markers .marker_0{
        left:11% !important;
    }
    .year-markers .marker_1{
        left:39% !important;
    }
    .year-markers .marker_2{
        left:66% !important;
    }
    .year-markers .marker_3{
        left:95% !important;
    }
    .develop-content .develop-text .text .navigation .prev-btn{
        left: -80px;
    }
    .develop-content .develop-text .text .navigation .next-btn {
        right: -80px;
    }
}
@media (max-width:1440px){
    .timeline {
        margin-top: -83px;
    }
}
@media (max-width:1366px){
    .year-markers .marker_0{
        left:7% !important;
    }
    .year-markers .marker_1{
        left:38% !important;
    }
    .year-markers .marker_2{
        left:69% !important;
    }
    .year-markers .marker_3{
        left:100% !important;
    }
}
@media (max-width:1280px){

}

@media (max-width: 992px) {
    .slides-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-progress {
        width: 50%;
    }
}

@media (max-width: 576px) {
    .slides-container {
        grid-template-columns: 1fr;
    }

    .timeline-progress {
        width: 100%;
    }

    h1 {
        font-size: 2.2rem;
    }

    .description {
        font-size: 1rem;
    }

    .timeline {
        margin: 0 40px;
    }

    .year-markers {
        left: 40px;
        right: 40px;
    }

    .year-text {
        font-size: 0.9rem;
    }
}