/* 荣誉资质页面样式 */

/* 英雄区域 */
.hero {
    position: relative;
    margin-top: 96px;
    width: 100%;
    height: 488px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../images/honors/banner.webp);
    background-size: cover;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-1,
.hero-bg-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg-2 {
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(3.43, 21.60, 35.79, 0.80) 0%, rgba(3, 22, 36, 0.24) 66%);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    top:-140px;
} 

.hero-content h1 {
    background: black;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    font-size: 48px;
    font-family: 'Helvetica', sans-serif;
    font-weight: 700;
    margin: 0;
}

/* 主要内容 */
.main-content {
    width: 100%;
    background: white;
}

/* 通用区域样式 */
.section-container {
    margin: 0 auto;
}

.section-title {
    background: #333333;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    font-size: 30px;
    font-family: 'Source Han Sans CN', sans-serif;
    font-weight: 700;
    text-align: center;
}

section{
    padding: 0 ;
    padding-top: 80px;
    margin: 0 auto;
}
.main-content{
    /* padding: 0 ; */
    margin: 0 auto;
    padding: 0px 60px 0px 60px;
}
.content-box{
    width: 100%;
    height: 150px;
    margin: 0 auto;
    border: 5px solid #4A6A52;
    border-radius: 20px;
    margin-bottom: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.content-text{
    font-size: 20px;
    line-height: 1;
    margin-bottom: 20px;
    margin-top: 10px;
    margin-left: 5px;   
    color: #3D5A43;
    display: flex;
    flex-direction: row;
}
.content-sp{
    font-size: 26px;
    display: block;
    line-height: 1;
    color: #4A6A52;
    margin-right: 5px;
}
.content-text1{
    font-size: 22px;
    line-height: 1;
    margin-bottom: 10px;
    color: #333333;
    margin-left: 5px;
}
.patents-swiper,
.compulsory-swiper,
.compulsory2-swiper,
.honor-swiper {
    width: 100%;
    height: 246px;
    background-color: #F4F4F4;
}

.patents-swiper .swiper-wrapper,
.compulsory-swiper .swiper-wrapper,
.compulsory2-swiper .swiper-wrapper,
.honor-swiper .swiper-wrapper {
    display: flex;
    align-items: center;
}

.patents-swiper .swiper-slide,
.compulsory-swiper .swiper-slide,
.compulsory2-swiper .swiper-slide,
.honor-swiper .swiper-slide {
    width: 150px !important;
    height: 206px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.patent-slide,
.compulsory-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.patent-image,
.compulsory-image {
    width: 150px;
    height: 206px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.patent-image:hover,
.compulsory-image:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.patent-image.loaded,
.compulsory-image.loaded {
    opacity: 1;
}

.patent-image.error,
.compulsory-image.error {
    opacity: 0.5;
    background: #f0f0f0;
}

/* 证书滚动容器 */
.certificates-scroll {
    width: 100%;
    height: 266px;
    background: #F4F4F4;
    overflow: hidden;
    position: relative;
    padding: 0 20px;
    box-sizing: border-box;
}

.certificates-container {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 30px 0;
    animation: scroll-left 30s linear infinite;
    gap: 40px;
}

.certificate {
    height: 206px;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
}

/* 荣誉证书特殊样式 */
.honor-cert {
    width: 146px;
}

.honor-cert.wide {
    width: auto;
    max-width: 307px;
}

.insurance-section{
    margin-bottom: 85px;
}

/* 响应式设计 */
@media (max-width: 1440px) {
    .section-container {
        padding: 0 60px;
    }
}

@media (max-width: 1024px) {
    .section-container {
        padding: 0 40px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 60px;
        padding-top: 80px;
    }
    
    .insurance-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .insurance-doc {
        width: 150px;
        height: 210px;
    }
}

@media (max-width: 768px) {
    .section-container {
        padding: 0 20px;
    }
    
    .hero {
        height: 300px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 40px;
        padding-top: 60px;
    }
    
    .certificates-scroll {
        height: 200px;
    }
    
    .certificate {
        height: 140px;
    }
    
    .certificates-row .certificates-scroll {
        height: 200px;
    }
    
    .certificates-row .certificate {
        height: 140px;
    }
    
    .insurance-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .insurance-doc {
        width: 120px;
        height: 168px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .insurance-grid {
        grid-template-columns: 1fr;
    }
    
    .insurance-doc {
        width: 160px;
        height: 224px;
    }
}

