/* ========= 关于我们页面独立样式 ========= */

.about-section {
    padding: 70px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #201C5C;
    margin-bottom: 0;
}
.about-text {
    max-width: 100%;
    margin: 0 auto;
}
.about-text p {
    color: #5E58A5;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1rem;
}
.intro-section {
    background-color: var(--bg-alt);
}
.timeline-section {
    background-color: var(--bg-light);
}
.address-section {
    background-color: var(--bg-alt);
}
.contact-section {
    background-color: var(--bg-light);
}

/* 发展历程时间轴 */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #3B22E9, #8B74FF, #3B22E9);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(59,34,233,0.3);
}
.timeline-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
    position: relative;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-left {
    width: 45%;
    display: flex;
    justify-content: flex-end;
}
.timeline-right {
    width: 45%;
    display: flex;
    justify-content: flex-start;
}
.timeline-card {
    background: white;
    border-radius: 24px;
    padding: 18px 24px;
    box-shadow: 0 12px 24px -12px rgba(0,0,0,0.08);
    border: 1px solid #E8E2FF;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    width: 100%;
    position: relative;
}
.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px -12px rgba(59,34,233,0.2);
    border-color: #CBC0FF;
}
.timeline-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.timeline-card .year-text {
    color: #3B22E9;
}
.timeline-card p {
    font-size: 0.85rem;
    color: #1F2A44;
    line-height: 1.5;
}
.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: #3B22E9;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(59,34,233,0.15);
    z-index: 3;
    transition: all 0.3s;
}
.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.2);
    background: #2D17B5;
    box-shadow: 0 0 0 6px rgba(59,34,233,0.25);
}
.timeline-left .timeline-card::after {
    content: '';
    position: absolute;
    right: -18px;
    top: 50%;
    width: 18px;
    height: 2px;
    background: #CBC0FF;
    transform: translateY(-50%);
}
.timeline-right .timeline-card::after {
    content: '';
    position: absolute;
    left: -18px;
    top: 50%;
    width: 18px;
    height: 2px;
    background: #CBC0FF;
    transform: translateY(-50%);
}

/* 地图容器 */
.map-wrapper {
    width: 100%;
}
.map-container {
    width: 100%;
    height: 450px;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid #E8E2FF;
    margin: 0 auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
#mapContainer {
    width: 100%;
    height: 450px;
}

/* 地址卡片 */
.address-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    border: 1px solid #E8E2FF;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 30px;
    width: 100%;
}
.address-info {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}
.address-info i {
    font-size: 2rem;
    color: #3B22E9;
}
.address-text h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #201C5C;
}
.address-text p {
    color: #5E58A5;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 联系方式网格 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    margin: 0 auto;
}
.contact-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 28px;
    border: 1px solid #E8E2FF;
    transition: all 0.3s;
}
.contact-card:hover {
    transform: translateY(-6px);
    border-color: #CBC0FF;
}
.contact-card i {
    font-size: 2.5rem;
    color: #3B22E9;
    margin-bottom: 16px;
}
.contact-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #201C5C;
}
.contact-card p {
    color: #5E58A5;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* 响应式 */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .timeline-container {
        padding-left: 0;
    }
    .timeline-line {
        left: 24px;
    }
    .timeline-item {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 45px;
        padding-left: 48px;
        position: relative;
    }
    .timeline-dot {
        left: 17px;
        top: 24px;
        transform: translateX(0);
    }
    .timeline-item:hover .timeline-dot {
        transform: scale(1.2);
    }
    .timeline-left, .timeline-right {
        width: 100%;
        justify-content: flex-start;
    }
    .timeline-card::after {
        display: none;
    }
    .address-card {
        flex-direction: column;
        text-align: center;
    }
    .address-info {
        justify-content: center;
    }
}