/* 基础布局样式 */
.history-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.history-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.history-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #333;
}

/* 时间线基础样式 */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: #e0e0e0;
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
    list-style: none;
}

.timeline-date {
    position: absolute;
    left: -60px;
    top: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 1;
}

.timeline-content {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-left: 20px;
}

.timeline-content h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* 动画样式 */
@keyframes fadeInUp {
    from {
        opacity: 0.2;
        transform: translateY(3px);
    }
    to {
        opacity: 0.5;
        transform: translateY(-3px);
    }
}

.animate-on-scroll {
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
t .animate-on-scroll.animated {
    opacity: 0.8;
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .timeline-date {
        position: relative;
        left: -180px;
        margin-bottom: 1px;
        margin-right: auto;
        margin-left: auto;
    }

    .timeline-content {
        margin-left: 0.5px;
    }
}
