/* 页面内容顶部间距 */
main {
    padding-top: 80px; /* 等于导航栏高度 */
}

/* 轮播图样式 */
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    width: 80%;
}

.slide-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.slide-content p {
    font-size: 24px;
    margin-bottom: 30px;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slider-dots {
    display: flex;
    margin-bottom: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

.slider-arrows {
    display: flex;
}

.arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
}

.arrow:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

/* 公司简介样式 */
.company-intro {
    padding: 100px 0;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.intro-text {
    flex: 1;
}

.intro-text p {
    margin-bottom: 20px;
    font-size: 16px;
}

.intro-text .highlight {
    font-size: 20px;
    line-height: 1.6;
    color: var(--primary-color);
    font-weight: 500;
}

.intro-image {
    flex: 1;
}

.intro-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 公司使命样式 */
.company-mission {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.mission-content {
    text-align: center;
    margin-bottom: 50px;
}

.mission-statement h3 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.mission-statement p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 50px;
}

.mission-values {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.value-item {
    flex: 1;
    max-width: 300px;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--light-bg);
    border-radius: 50%;
}

.value-icon img {
    width: 40px;
    height: 40px;
}

.value-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.mission-image img {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
}

/* 发展历程样式 */
.development-history {
    padding: 80px 0;
    background-color: #f9fbff;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
    padding: 20px 0 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 110px;
    height: 100%;
    width: 3px;
    /* 渐隐为“未完待续”效果 */
    background: linear-gradient(to bottom,
        var(--primary-color) 0%,
        var(--primary-color) calc(100% - 60px),
        rgba(0, 102, 204, 0) 100%
    );
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 104px;
    top: 10px;
    width: 16px;
    height: 16px;
    background-color: #fff;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    margin-left: 140px;
    padding-bottom: 10px;
}

.timeline-content h3 {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-bottom: 5px;
    line-height: 1.5;
}

.timeline-year {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-event {
    margin-bottom: 20px;
}

.timeline-date {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.timeline-description {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* 时间轴末尾：未完待续 */
.timeline-continue {
    margin-left: 140px;
    margin-top: 4px;
    color: #8a8f99;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.timeline-continue .dots {
    display: inline-block;
    width: 24px;
    height: 10px;
    background: radial-gradient(circle, #8a8f99 2px, transparent 3px) left center/8px 8px repeat-x;
}

/* 荣誉资质样式 */
.honors {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.honors-container {
    display: flex;
    flex-direction: column;
    gap: 30px; /* 容器与控制按钮的间距 */
    position: relative;
    overflow: visible; /* 改为visible，去除遮罩效果 */
}

.honors-gallery {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 60px; /* 大幅增加上下两行图片的间距 */
}

.honors-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.honors-btn {
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    background: white;
    color: var(--primary-color);
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.1);
}

.honors-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 102, 204, 0.2);
}

.honors-btn:active {
    transform: translateY(0);
}

.honors-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.1);
}

.honors-btn:disabled:hover {
    background: white;
    color: var(--primary-color);
}

.honors-row {
    position: relative;
    width: 100%;
}

.honors-scroll {
    display: flex;
    gap: 30px; /* 增加相邻图片的间距 */
    padding: 0; /* 去除左右padding，让图片完整显示 */
    overflow: visible; /* 改为visible，确保图片完整显示 */
    width: 100%;
    justify-content: center;
}

.honor-item {
    flex: 0 0 auto;
    width: 300px; /* 4:3比例的宽度 */
    height: 225px; /* 4:3比例的高度 (300 * 3/4 = 225) */
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    /* GPU加速优化 */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* 荣誉&资质：图片+字幕单元容器 */
.honor-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
}

/* 英文字幕样式（英文版显示） */
.honor-caption {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.4;
    color: #222;
    text-align: center;
    max-width: 300px;
}

.honor-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.honor-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease; /* 减少动画时间 */
    /* GPU加速优化 */
    will-change: transform, filter;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.honor-item:hover img {
    transform: scale(1.05);
}

/* 核心成员样式 */
.team {
    padding: 100px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-member {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 20px;
}

.member-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.member-info .position {
    font-size: 16px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.member-info .bio {
    font-size: 14px;
    line-height: 1.6;
}

/* 动画效果 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式样式 */
@media screen and (max-width: 991px) {
    .hero-slider {
        height: 500px;
    }
    
    .slide-content h1 {
        font-size: 36px;
    }
    
    .slide-content p {
        font-size: 18px;
    }
    
    .intro-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .mission-values {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .value-item {
        max-width: 100%;
    }
    
    .timeline:before {
        left: 30px;
    }
    
    .timeline-item, .timeline-item:nth-child(odd) {
        flex-direction: row;
    }
    
    .timeline-year {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
    }
    
    .timeline-content:before {
        left: -50px !important;
        right: auto !important;
    }
    
    .honor-item {
        width: 240px; /* 16:9比例 */
        height: 135px;
    }
    
    .honors-container {
        gap: 25px; /* 平板端容器间距 */
    }
    
    .honors-gallery {
        gap: 45px; /* 平板端两行图片间距 */
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 767px) {
    .hero-slider {
        height: 400px;
    }
    
    .slide-content h1 {
        font-size: 28px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .honor-item {
        width: 200px; /* 16:9比例 */
        height: 112px;
    }
    
    .honors-scroll {
        gap: 20px; /* 移动端相邻图片间距 */
    }
    
    .honors-container {
        gap: 20px; /* 移动端容器间距 */
    }
    
    .honors-gallery {
        gap: 35px; /* 移动端两行图片间距 */
    }
    
    .honors-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .honors-controls {
        gap: 15px;
        margin-top: 20px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
} 

@media (max-width: 991px) {
    .timeline {
        max-width: 98vw;
        padding-left: 0;
    }
    .timeline-content {
        min-width: 0;
        max-width: 90vw;
        padding: 16px 12px 16px 18px;
        margin-left: 40px;
    }
    .timeline:before {
        left: 50%;
        transform: translateX(-50%);
    }
    .timeline-dot {
        left: 50%;
        transform: translateX(-50%);
    }
    .timeline-date {
        font-size: 20px;
    }
    .timeline-content h3 {
        font-size: 13px;
    }
} 

@media screen and (max-width: 767px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 24px;
    }
    
    .timeline-content {
        margin-left: 60px;
    }

    .timeline-continue {
        margin-left: 60px;
        font-size: 13px;
    }
    
    .timeline-date {
        font-size: 18px;
    }
    
    .timeline-content h3 {
        font-size: 12px;
    }
}



/* 图片点击效果增强 */
.honor-item {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.honor-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 102, 204, 0);
    transition: none; /* 移除过渡动画 */
    z-index: 1;
    pointer-events: none;
}

.honor-item:hover::before {
    background: rgba(0, 102, 204, 0.05); /* 减少hover效果强度 */
}

.honor-item:active::before {
    background: rgba(0, 102, 204, 0.1); /* 减少active效果强度 */
}

.honor-item img {
    transition: none; /* 移除图片动画 */
}

/* 占位选择器改为明确样式以消除空规则集告警 */
.honor-item:hover img {
    transform: none;
    filter: none;
}

.honor-item:active img {
    transform: none;
}



/* 响应式设计 - 进度条 */
@media screen and (max-width: 991px) {
    .honor-item {
        width: 240px; /* 4:3比例 */
        height: 180px; /* 240 * 3/4 = 180 */
    }
    .honors-container {
        gap: 25px; /* 平板端容器间距 */
    }
    
    .honors-gallery {
        gap: 45px; /* 平板端两行图片间距 */
    }
    

}

@media screen and (max-width: 767px) {
    .honor-item {
        width: 200px; /* 4:3比例 */
        height: 150px; /* 200 * 3/4 = 150 */
    }
    .honors-scroll {
        gap: 20px; /* 移动端相邻图片间距 */
    }
    .honors-container {
        gap: 20px; /* 移动端容器间距 */
    }
    
    .honors-gallery {
        gap: 35px; /* 移动端两行图片间距 */
    }
    

} 