/* About Us Page Styles */

/* Company Banner */

/* Hero：握手主视觉，无文字 */
.contact-hero {
    width: 100%;
    height: 420px;
    overflow: hidden;
}

.contact-hero-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #7eb8da 0%, #4a90b5 50%, #2d6a8f 100%);
    background-size: cover;
    background-position: center;
}

.building-mockup {
    width: 100%;
    height: 100%;
   background: #69b4ff;
    padding-bottom: 0;
}

.building {
    width: 400px;
    height: 350px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.building-floor {
    flex: 1;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 100%);
    border: 2px solid rgba(255,255,255,0.5);
    border-bottom: none;
    position: relative;
}

.building-floor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        rgba(255,255,255,0.6) 0px,
        rgba(255,255,255,0.6) 15px,
        transparent 15px,
        transparent 25px
    );
    transform: translateY(-50%);
}

/* Company Info Section */
.company-info-section {
    background-color: #ffffff;
    padding-top: 60px;
    padding-bottom: 40px;
}

.company-title-wrap {
    margin-bottom: 40px;
}

.company-title {
    font-size: 32px;
    font-weight: 700;
    color: #305DAD;
    line-height: 1.3;
    margin-bottom: 40px;
}

.title-underline {
    width: 100%;
    height: 1px;
    background-color: #eee;
}

/* Company Stats */
.company-stats {
    display: flex;
    gap: 80px;
}

.stat-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    position: relative;
}
.stat-item-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.stat-label-item{
    position: absolute;
    top: 0;
    right: -22px;
} 

.stat-label-tr {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 12px;
    color: #999;
}

.stat-number {
    font-size: 36px;
    color: #333;
}

.stat-label {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
}

/* Company Content */
.company-content {
    padding-left: 30px;
}

.content-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.content-text {
    color: #666;
    line-height: 1.8;
    font-size: 14px;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
    /* 自定义滚动条样式 */
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}

/* Webkit 浏览器滚动条样式 */
.content-text::-webkit-scrollbar {
    width: 6px;
}

.content-text::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}

.content-text::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.content-text::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}

.content-text p {
    margin-bottom: 15px;
}

.content-text p:last-child {
    margin-bottom: 0;
}

/* Factory Carousel Section */
.factory-carousel-section {
    background-color: #f8f9fa;
    padding: 0;
}

.factory-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.carousel-images {
    width: 100%;
    height: 440px;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    /* 左右两侧渐变遮罩，中间清晰、两边虚化 */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 18%,
        black 82%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 18%,
        black 82%,
        transparent 100%
    );
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    /* 拖拽支持 */
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.carousel-images:active {
    cursor: grabbing;
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.45s ease;
    padding: 0 10px;
    width: max-content;
    height: 100%;
}

.factory-slide {
    flex: 0 0 640px;
    width: 640px;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(1);
    transform-origin: center center;
    opacity: 0.9;
    transition: transform 0.45s ease, opacity 0.45s ease;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.factory-slide.active {
    opacity: 1;
    z-index: 2;
    box-shadow: 0 8px 36px rgba(0,0,0,0.22);
}

.factory-scene {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.factory-scene img,
.factory-scene video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.factory-scene video {
    background: transparent;
    display: block;
}

/* 确保视频首帧显示 */
.factory-scene video[preload="metadata"] {
    background: transparent;
}

/* 视频播放按钮覆盖层 */
.factory-video-wrapper {
    position: relative;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    z-index: 5;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: pointer;
}

.video-play-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.video-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    border: 3px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.video-play-btn:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.video-play-btn i {
    font-size: 32px;
    color: #333;
    margin-left: 4px; /* 视觉居中调整 */
}






.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.carousel-nav:hover {
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

.carousel-nav i {
    font-size: 20px;
    color: #333;
}

/* 播放/暂停按钮已移除（只支持手动切换） */
.play-pause-btn {
    display: none;
}

/* Honors Section */
.honors-section {
    background-color: #ffffff;
    padding-top: 60px;
    padding-bottom: 60px;
}

.honors-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.honors-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.honors-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.honor-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f5f5f5;
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.honor-nav-btn:hover {
    background-color: #305DAD;
    border-color: #305DAD;
    color: #fff;
}

.honor-nav-btn i {
    font-size: 14px;
}

.lang-text {
    font-size: 13px;
    margin-left: 4px;
}

.honor-page {
    font-size: 14px;
    color: #666;
}

/* Honors Grid */
.honor-page-row {
    display: none;
}

.honor-page-row.active {
    display: block;
    animation: honorPageFadeIn 0.35s ease;
}

@keyframes honorPageFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.honor-card {
    transition: all 0.3s ease;
}

.honor-card:hover {
    transform: translateY(-5px);
}

.honor-image {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: block;
    background-color: #f0f0f0;
}

.honor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.honor-certificate {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    position: relative;
}

.honor-certificate.gold {
    background: linear-gradient(135deg, #f5f0e8 0%, #e8dcc8 100%);
    border: 2px solid #d4af37;
}

.honor-certificate.blue {
    background: linear-gradient(135deg, #e8f4fc 0%, #d4e9f7 100%);
    border: 2px solid #305DAD;
}

.cert-border {
    width: 90%;
    height: 90%;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cert-icon {
    font-size: 32px;
}

.cert-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #305DAD;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.cert-text {
    font-size: 11px;
    font-weight: 600;
    color: #333;
    text-align: center;
    line-height: 1.35;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .contact-hero {
        height: 320px;
    }
    
    .building {
        width: 300px;
        height: 260px;
    }
    
    .company-title {
        font-size: 28px;
    }
    
    .company-content {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .carousel-images {
        height: 320px;
    }
    
    .factory-slide {
        width: 480px;
        flex: 0 0 480px;
        height: 300px;
    }
    
    .honors-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .contact-hero {
        height: 260px;
    }

    .lang-text {
        display: none;
    }
    
    .company-title {
        font-size: 24px;
    }
    
    .company-stats {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .carousel-images {
        height: 280px;
    }
    
    .factory-slide {
        width: 380px;
        flex: 0 0 380px;
        height: 260px;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
    }
    
    .carousel-nav.prev {
        left: 10px;
    }
    
    .carousel-nav.next {
        right: 10px;
    }
    
    .carousel-nav i {
        font-size: 16px;
    }
    
    .honor-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 575px) {
    .company-banner {
        height: 250px;
    }
    .contact-hero {
        height: 220px;
    }
    
    .building {
        width: 250px;
        height: 220px;
    }
    
    .company-title {
        font-size: 22px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .carousel-images {
        height: 240px;
    }
    
    .factory-slide {
        width: 280px;
        flex: 0 0 280px;
        height: 200px;
    }
    
    .carousel-nav {
        width: 36px;
        height: 36px;
    }
    
    .carousel-nav.prev {
        left: 5px;
    }
    
    .carousel-nav.next {
        right: 5px;
    }
    
    .carousel-nav i {
        font-size: 14px;
    }
    
    .video-play-btn {
        width: 60px;
        height: 60px;
    }
    
    .video-play-btn i {
        font-size: 24px;
    }
    
    .honors-title {
        font-size: 18px;
    }
}
