/**
 * banner styles
 **/
.banner .swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.banner .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{
    width: 30px;
    height: 2px;
    background-color: #FFFFFF;
    border-radius: 0;
    margin: 0 4px;
    opacity: 1;
}
.banner .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet-active{
    background-color: #1E5CB3;
}

.banner{
    position: relative;
}

/* 图片所在的容器（确保图片作为底层） */
.banner .swiper-slide {
    position: relative; /* 让遮罩能相对其定位或覆盖 */
    z-index: 1; /* 图片容器层级最低 */
}
/* 图片本身（继承父容器层级，确保在最底层） */
.banner .swiper-slide img {
    position: relative;
    z-index: 1; /* 图片层级 = 容器层级，保持最底 */
}

/* 遮罩层（覆盖在图片上方） */
.banner .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1); /* 半透明遮罩 */
    z-index: 2; /* 遮罩层级 > 图片层级（1），确保在图片上方 */
}

/* 文本容器（在遮罩上方） */
.banner .swiper-slide-text{
    position: absolute;
    top: calc(50% + 35px);
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1516px;
    z-index: 3; /* 文本层级 > 遮罩层级（2），确保在遮罩上方 */
    text-align: center;
}

/* 文本样式保持不变 */
.banner .swiper-slide-text .swiper-slide-text-title{
    font-weight: bold;
    font-size: 60px;
    color: #FFFFFF;
    line-height: 75px;
}
.banner .swiper-slide-text .swiper-slide-text-content{
    font-size: 30px;
    color: #FFFFFF;
    line-height: 45px;
}

/* 响应式样式保持不变 */
@media only screen and (min-width: 1000px) and (max-width: 1440px) {
    .banner .swiper-slide-text{
        width: 900px;
    }
    .banner .swiper-slide-text .swiper-slide-text-title{
        font-size: 40px;
        line-height: 60px;
    }
    .banner .swiper-slide-text .swiper-slide-text-content{
        font-size: 20px;
        line-height: 40px;
    }
}
@media only screen and (max-width: 1000px) {
    .banner .swiper-slide-text{
        width: 700px;
    }
    .banner .swiper-slide-text .swiper-slide-text-title{
        font-size: 30px;
        line-height: 45px;
    }
    .banner .swiper-slide-text .swiper-slide-text-content{
        font-size: 16px;
        line-height: 30px;
    }
}
/**
 * hot products styles
 **/
.products{
    width: 100%;
    margin: 0 auto;
}
.products .products-title{
    width: 1200px;
    margin: 40px auto;
}
.products .products-title .title{
    float: left;
}
.more{
    float: right;
    cursor: pointer;
    height: 44px;
    border-top: 1px solid #CECECE;
    border-bottom: 1px solid #CECECE;
    font-size: 14px;
    color: #999999;
    line-height: 44px;
    text-align: center;
}
.more a{
    color: #999999;
}
.more img.active{
    display: none;
}
.more:hover{
    border-top: 1px solid #0C5BE2;
    border-bottom: 1px solid #0C5BE2;
}
.more:hover a{
    color: #FFFFFF;
}
.more:hover img.active{
    display: inline-block;
}
.more:hover img.normal{
    display: none;
}
.products .product-content{

}
.products .product-content .product-category-wrap{
    width: calc((100% - 1200px) / 2 + 285px);
    background-color: #F9F9F9;
    border-radius: 0 40px 40px 0;
    float: left;
}
.products .product-content .product-category-wrap .product-category-list{
    width: 285px;
    float: right;
    margin: 25px 0 57px;
}
/* 基础样式：类别列表容器开启滚动 */
.products .product-content .product-category-wrap .product-category-list {
    overflow-y: auto; /* 纵向滚动 */
    scrollbar-width: thin; /* 窄滚动条（兼容Firefox） */
    scrollbar-color: #CECECE transparent; /* 滚动条颜色（兼容Firefox） */
}

/* 隐藏滚动条轨道（仅保留滑块，更美观） */
.products .product-content .product-category-wrap .product-category-list::-webkit-scrollbar {
    width: 4px; /* 滚动条宽度 */
}
.products .product-content .product-category-wrap .product-category-list::-webkit-scrollbar-track {
    background: transparent; /* 轨道透明 */
}
.products .product-content .product-category-wrap .product-category-list::-webkit-scrollbar-thumb {
    background-color: #CECECE; /* 滑块颜色 */
    border-radius: 2px; /* 滑块圆角 */
}

.products .product-content .product-category-wrap .product-category-list .product-category-item{
    width: 100%;
    height: 82px;
    cursor: pointer;
    border-bottom: 2px solid #CECECE;
    font-size: 18px;
    color: #1A1A1A;
    line-height: 82px;
    position: relative;
}
.products .product-content .product-category-wrap .product-category-list .product-category-item .product-category-title{
    padding-left: 36px;
}
.products .product-content .product-category-wrap .product-category-list .product-category-item::before{
    content: '';
    width: 7px;
    height: 7px;
    background-color: #CECECE;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
.products .product-content .product-category-wrap .product-category-list .product-category-item::after{
    content: '';
    width: 0;
    height: 2px;
    background: #0C5BE2;
    position: absolute;
    bottom: -2px;
    left: 0;
    transition: all 0.3s ease-in-out;
}
.products .product-content .product-category-wrap .product-category-list .product-category-item.active,
.products .product-content .product-category-wrap .product-category-list .product-category-item:hover{
    color: #0C5BE2;
}
.products .product-content .product-category-wrap .product-category-list .product-category-item.active::before,
.products .product-content .product-category-wrap .product-category-list .product-category-item:hover::before{
    background-color: #0C5BE2;
}
.products .product-content .product-category-wrap .product-category-list .product-category-item.active::after,
.products .product-content .product-category-wrap .product-category-list .product-category-item:hover::after{
    width: 60px;
}

.products .product-content .product-list{
    width: 895px;
    float: left;
    margin-left: 20px;
}
.products .product-content .product-list .product-list-ul{
    display: none;
}
.products .product-content .product-list .product-list-ul.active{
    display: block;
}
.products .product-content .product-list .product-list-ul .product-list-item{
    width: 32%;
    float: left;
    margin-top: 30px;
    margin-right: 2%;
}
.products .product-content .product-list .product-list-ul .product-list-item:nth-child(3n){
    margin-right: 0;
}
.products .product-content .product-list .product-list-ul .product-list-item:nth-child(-n+3) {
    margin-top: 0;
}
.products .product-content .product-list .product-list-ul .product-list-item .product-list-img{
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.products .product-content .product-list .product-list-ul .product-list-item .product-list-img img{
    width: 100%;
    height: 100%;
    transition: all 0.3s;
}
.products .product-content .product-list .product-list-ul .product-list-item .product-list-title{
    font-weight: bold;
    font-size: 16px;
    color: #1A1A1A;
    line-height: 27px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 10px 0;
}
.products .product-content .product-list .product-list-ul .product-list-item .product-list-more{
    font-size: 14px;
    color: #0C5BE2;
}
.products .product-content .product-list .product-list-ul .product-list-item:hover .product-list-img img{
    transform: scale(1.1);
}

@media screen and (min-width: 1441px) {
    .products .product-content .product-category-wrap .product-category-list {
        max-height: calc(82px * 7); /* 82*7=574px，刚好显示7个 */
    }
}

@media screen and (min-width: 1000px) and (max-width: 1440px){
    .products .products-title{
        width: 900px;
    }
    .products .product-content .product-category-wrap{
        width: calc((100% - 900px) / 2 + 213px);
    }
    .products .product-content .product-category-wrap .product-category-list{
        width: 213px;
        margin: 20px 0 45px;
        max-height: calc(65px * 7); /* 65*7=455px */
    }
    .products .product-content .product-category-wrap .product-category-list .product-category-item{
        height: 65px;
        line-height: 65px;
    }
    .products .product-content .product-category-wrap .product-category-list .product-category-item .product-category-title{
        padding-left: 30px;
    }
    .products .product-content .product-list{
        width: 671px;
    }
    .products .product-content .product-list .product-list-ul .product-list-item .product-list-title{
        font-size: 14px;
        line-height: 21px;
    }
}
@media screen and (max-width: 1000px){
    .products .products-title{
        width: 700px;
    }
    .products .product-content .product-category-wrap{
        width: calc((100% - 700px) / 2 + 166px);
        border-radius: 0 30px 30px 0;
    }
    .products .product-content .product-category-wrap .product-category-list{
        width: 166px;
        margin: 10px 0 30px;
        max-height: calc(57px * 7); /* 57*7=399px */
    }
    .products .product-content .product-category-wrap .product-category-list .product-category-item{
        height: 57px;
        line-height: 57px;
    }
    .products .product-content .product-category-wrap .product-category-list .product-category-item .product-category-title{
        padding-left: 20px;
        font-size: 14px;
    }
    .products .product-content .product-list{
        width: 522px;
    }
    .products .product-content .product-list .product-list-ul .product-list-item .product-list-title{
        font-size: 12px;
        line-height: 18px;
    }
    .products .product-content .product-list .product-list-ul .product-list-item .product-list-more{
        font-size: 12px;
    }
}


/**
 * about styles - 修复播放图标hover不变问题
 **/
.company{
    width: 100%;
    margin: 60px 0;
}
.company .company-left{
    width: calc((100% - 1200px) / 2 + 504px);
    float: left;
    position: relative;
}

.company .company-left .company-bg{
    width: calc(100% - 252px);
    height: 544px;
    background-color: #0C5BE2;
    border-radius: 0;
    float: left;
}

.company .company-left .media-container{
    width: 504px;
    height: 504px;
    float: left;
    margin-left: -252px;
    margin-top: 20px;
    position: relative;
    z-index: 10;
    overflow: hidden;
    border-radius: 50%; 
}

/* 封面图容器：强化隐藏样式 + 新增定位基准 */
#coverContainer {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    cursor: pointer; /* 鼠标变成手型，提示可点击 */
    transition: all 0.3s; /* 平滑隐藏过渡 */
}

#coverContainer.hidden {
    display: none !important; /* 强制隐藏，优先级最高 */
    z-index: 0 !important; /* 层级压到最低 */
}

/* 封面图父容器：添加相对定位，承载播放图标 */
.company .company-left .company-img {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

.company .company-left .company-img img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* 新增：播放图标容器样式 - 居中覆盖在封面图上 */
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 25; /* 高于封面图，低于视频 */
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.3); /* 半透明背景，提升辨识度 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease; /* 平滑过渡 */
}

/* 新增：播放图标基础样式 */
.play-icon img {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

/* 新增：hover状态 - 图标+容器样式变化 */
.company .company-left .company-img:hover .play-icon {
    background: rgba(12, 91, 226, 0.6); /* 品牌蓝半透明背景 */
    transform: translate(-50%, -50%) scale(1.1); /* 轻微放大 */
}

/* 新增：hover时切换图标（有play-hover.webp时生效） */
.company .company-left .company-img:hover .play-icon img {
    content: attr(data-src-hover);
}

/* 备选：无play-hover.webp时，用CSS调整图标亮度（删除上方，启用下方） */
/*
.company .company-left .company-img:hover .play-icon img {
    filter: brightness(1.5) contrast(1.2); /* 亮度增强，颜色变亮 */
    transform: scale(1.2); /* 图标放大 */
}
*/

/* 视频：强制层级和显示 */
#companyVideo {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    object-fit: cover;
    z-index: 30 !important; /* 强制最高层级，!important确保生效 */
    border: none;
}

.company .company-right{
    width: calc((100% - 1200px) / 2 + 650px);
    float: right;
}
.company .company-right .title{
    text-align: left;
    margin: 10px 0 10px 0;
}
.company .company-right .company-name{
    font-weight: bold;
    font-size: 20px;
    color: #000000;
    line-height: 22px;
    margin-top: 20px;
}
.company .company-right .company-description{
    width: 650px;
    font-size: 14px;
    color: #333333;
    line-height: 21px;
    margin-top: 20px;
}
.company .company-right .more{
    float: none;
    width: 160px;
    margin: 10px 0px 10px auto;
    margin-right: 260px;
}

.company .company-engineering{
    width: 100%;
    height: 120px;
    background-color: #0C5BE2;
    border-radius: 60px 0 0 60px;
    margin-top: 30px;
}
.company .company-engineering .company-engineering-item{
    width: 220px;
    height: 100%;
    float: left;
    position: relative;
}
.company .company-engineering .company-engineering-item .company-engineering-item-num{
    font-family: DIN, DIN;
    font-weight: bold;
    font-size: 46px;
    color: #FFFFFF;
    line-height: 56px;
    margin-top: 19px;
    text-align: center;
}
.company .company-engineering .company-engineering-item .company-engineering-item-num .company-engineering-item-num-unit{
    font-weight: 400;
}
.company .company-engineering .company-engineering-item .company-engineering-item-name{
    font-size: 14px;
    color: #FFFFFF;
    line-height: 16px;
    text-align: center;
    margin-top: 10px;
}
/* 修复：分隔线width:0无效问题，改为1px */
.company .company-engineering .company-engineering-item::after{
    content: '';
    width: 1px; /* 原0px，改为1px显示分隔线 */
    height: 30px;
    background-color: #004BCB;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
}
.company .company-engineering .company-engineering-item:last-child::after{
    display: none;
}


/**
 * service styles
 **/
.service{
    width: 1200px;
    margin: 80px auto;
}
.service .service-list{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 10px;
}
.service .service-list .service-item{
    width: 49%;
    aspect-ratio: 585 / 300;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 30px;
}
.service .service-list .service-item .service-img{
    width: 100%;
    height: 100%;
}
.service .service-list .service-item .service-content{
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: end;
}
.service .service-list .service-item .service-content-left{
    width: calc(100% - 60px);
}
.service .service-list .service-item .service-title{
    font-weight: bold;
    font-size: 18px;
    color: #FFFFFF;
    line-height: 20px;
}
.service .service-list .service-item .service_sub-title{
    font-size: 14px;
    color: rgba(255, 255, 255, .8);
    line-height: 16px;
    margin-top: 10px;
}
.service .service-list .service-item .service-content-right img{
    width: 42px;
    height: 42px;
}

@media only screen and (min-width: 1000px) and (max-width: 1440px) {
    .service{
        width: 900px;
        margin: 60px auto;
    }
    .service .service-list .service-item{
        margin-top: 20px;
    }
    .service .service-list .service-item .service-content{
        padding: 20px;
    }
}
@media only screen and (max-width: 1000px) {
    .service{
        width: 700px;
        margin: 40px auto;
    }
    .service .service-list .service-item{
        margin-top: 10px;
    }
    .service .service-list .service-item .service-content{
        padding: 10px;
    }
    .service .service-list .service-item .service-content-left{
        width: calc(100% - 40px);
    }
    .service .service-list .service-item .service-title{
        font-size: 16px;
        line-height: 16px;
    }
    .service .service-list .service-item .service_sub-title{
        font-size: 12px;
        margin-top: 5px;
    }
    .service .service-list .service-item .service-content-right img{
        width: 36px;
        height: 36px;
    }
}

/**
 * NEWS STYLES
 **/
.news{
    width: 1200px;
    margin: 80px auto;
    margin-bottom: 120px;
}

.news .news-list{
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.news .news-list .news-item{
    width: 49%;
    padding-bottom: 20px;
    margin-top: 20px;
    border-bottom: 1px solid #ECECEC;
}
.news .news-list .news-item a{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.news .news-list .news-item:nth-child(-n+2){
    margin-top: 0;
}
.news .news-list .news-item .news-item-img{
    width: 240px;
    aspect-ratio: 240 / 173;
    position: relative;
}
.news .news-list .news-item .news-item-img img{
    width: 100%;
    height: 100%;
}
.news .news-list .news-item .news-item-img .news-item-img-icon{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,.4);
    display: none;
}
.news .news-list .news-item .news-item-img .news-item-img-icon img{
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.news .news-list .news-item .news-item-img:hover .news-item-img-icon{
    display: block;
}
.news .news-list .news-item .news-item-content{
    width: calc(100% - 240px - 20px);
    height: 173px;
}
.news .news-list .news-item .news-item-title{
    font-weight: bold;
    font-size: 18px;
    color: #1A1A1A;
    line-height: 27px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.news .news-list .news-item .news-item-desc{
    font-size: 12px;
    color: #666666;
    line-height: 18px;
    margin-top: 10px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.news .news-list .news-item .news-item-date{
    font-size: 16px;
    color: #666666;
    line-height: 14px;
    margin-top: 20px;
}
.news .more{
    margin: 40px auto 0;
}


@media only screen and (min-width: 1000px) and (max-width: 1440px) {
    .news{
        width: 900px;
        margin: 60px auto;
    }
    .news .news-list{
        margin-top: 30px;
    }
    .news .news-list .news-item{
        margin-top: 15px;
        padding-bottom: 15px;
    }
    .news .news-list .news-item .news-item-img{
        width: 180px;
    }
    .news .news-list .news-item .news-item-content{
        width: calc( 100% - 180px - 15px);
    }
    .news .news-list .news-item .news-item-title{
        font-size: 16px;
        line-height: 24px;
    }
    .news .news-list .news-item .news-item-desc{
        margin-top: 5px;
    }
    .news .news-list .news-item .news-item-date{
        margin-top: 10px;
    }
    .news .more{
        margin-top: 30px;
    }
}
@media only screen and (max-width: 1000px) {
    .news{
        width: 700px;
        margin: 40px auto;
    }
    .news .news-list{
        margin-top: 20px;
    }
    .news .news-list .news-item{
        margin-top: 10px;
        padding-bottom: 10px;
    }
    .news .news-list .news-item .news-item-img{
        width: 140px;
    }
    .news .news-list .news-item .news-item-content{
        width: calc( 100% - 140px - 10px);
    }
    .news .news-list .news-item .news-item-title{
        font-size: 14px;
        line-height: 18px;
    }
    .news .news-list .news-item .news-item-desc{
        margin-top: 0;
    }
    .news .news-list .news-item .news-item-date{
        margin-top: 0;
    }
    .news .news-list .news-item .news-item-img .news-item-img-icon img{
        width: 30px;
        height: 30px;
    }
    .news .more{
        margin-top: 20px;
    }
}

