body {
    background-color: var(--body-bg);
    padding-top: 80px; /* 防止导航遮挡 */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Banner区域 */
.about-banner {
    position: relative;
    height: 700px;
    overflow: hidden;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.about-banner .banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.about-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-banner .banner-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.about-banner .banner-subtitle {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 各部分背景设置 */
.company-intro {
    background-image: url("/static/front/img/bg-pattern-intro.png");
    background-size: cover;
    background-position: center;
    position: relative;
}

.company-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
}

.company-culture {
    background-image: url("/static/front/img/bg-pattern-culture.png");
    background-size: cover;
    background-position: center;
    position: relative;
}

.company-culture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.company-vision {
    background-image: url("/static/front/img/bg-pattern-vision.png");
    background-size: cover;
    background-position: center;
    position: relative;
}

.company-vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.company-mission {
    background-image: url("/static/front/img/bg-pattern-mission.png");
    background-size: cover;
    background-position: center;
    position: relative;
}

.company-mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.company-values {
    background-image: url("/static/front/img/bg-pattern-values.png");
    background-size: cover;
    background-position: center;
    position: relative;
}

.company-values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 通用部分样式 */
.about-section .row {
    position: relative;
    z-index: 10;
}

.about-section {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-section .container-fluid {
    max-width: 1320px;
}

.about-section img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: bold;
}

.section-main-title {
    font-size: 2.5rem;
    color: #333;
    font-weight: bold;
    position: relative;
    margin-bottom: 50px;
}

.section-main-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary-color);
}

.about-section .lead {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
}

/* 时间线样式 */
.horizontal-timeline {
    overflow-x: auto;
    white-space: nowrap;
    padding: 50px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f1f1;
}

.horizontal-timeline::-webkit-scrollbar {
    height: 8px;
}

.horizontal-timeline::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.horizontal-timeline::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.timeline-track {
    display: inline-flex;
    gap: 50px;
    padding: 0 20px;
    animation: scrollTimeline 20s linear infinite;
}

.timeline-track:hover {
    animation-play-state: paused;
}

@keyframes scrollTimeline {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 25px));
    }
}

.timeline-item {
    flex: 0 0 300px;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.timeline-item:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.timeline-year {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.timeline-details {
    margin-top: 20px;
    text-align: center;
    color: #333;
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .timeline-item {
        flex: 0 0 250px;
    }
}

/* 荣誉资质部分样式 */
.about-honors {
    position: relative;
    overflow: hidden;
    height: auto;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-color: #f8f9fa;
}

.about-honors .container-fluid {
    padding-left: 30px;
    padding-right: 30px;
}

.honor-img-container {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    /* 设置宽高比例为4:5，适合大多数证书 */
    aspect-ratio: 4/5;
}

.honor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.honor-overlay i {
    color: white;
    font-size: 2rem;
}

.honor-img-container:hover .honor-overlay {
    opacity: 1;
}

.honor-certificate {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.honor-certificate:hover {
    transform: scale(1.05);
}

.honor-img {
    width: 100%;
    height: auto; /* 高度自适应 */
    object-fit: contain; /* 显示完整图片内容，不裁剪 */
}

.honor-title {
    padding: 10px;
    text-align: center;
    background-color: #f8f9fa;
    color: #666666;
    font-weight: bold;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 图片查看器模态框样式 */
#modalImage {
    max-height: 80vh;
}

/* 滚动动画样式 */
.honor-item {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.honor-item.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}