/**
 * banner styles
 **/
.swiper-pagination-bullet{
    width: 60px;
    height: 4px;
    background-color: #FFFFFF;
    border-radius: 0;
    opacity: 1;
    margin: 0!important;
}
.swiper-pagination-bullet-active{
    background-color: #E60012;
}


/**
 * hot products styles
 **/
.hot-products{
    width: 1200px;
    margin: 80px auto 60px;
}
.hot-products .hot-products-title{
    font-weight: bold;
    font-size: 40px;
    color: #1A1A1A;
    line-height: 44px;
    float: left;
}
.hot-products .products-category{
    float: right;
}
.hot-products .products-category .swiper-slide{
    width: 140px!important;
    height: 40px!important;
    line-height: 40px;
    background: #EBEBEB;
    border-radius: 20px;
    text-align: center;
    font-size: 16px;
    color: #1A1A1A;
    cursor: pointer;
}
.hot-products .products-category .swiper-slide:last-child{
    margin-right: 0!important;
}
.hot-products .products-category .swiper-slide.active{
    background: linear-gradient( 90deg, #E60012 0%, #F39800 100%);
    color: #FFFFFF;
}
.hot-products .products{
    width: 100%;
    overflow: hidden;
    /*margin-top: 60px;*/
}
.hot-products .products .products-list{
    width: 100%;
    margin-top: 60px;
    display: flex;
    flex-wrap: wrap;
}
.hot-products .products .products-list li{
    width: 24%;
    margin-right: 1.33%;
    margin-bottom: 20px;
    border-bottom: 1px solid #E6E6E6;
    position: relative;
}
.hot-products .products .products-list li:nth-child(4n){
    margin-right: 0;
}
.hot-products .products .products-list li .products-img{
    width: 100%;
    aspect-ratio: 1 / 1; /* 1:1 的宽高比，即高度等于宽度 */
    overflow: hidden;
}
.hot-products .products .products-list li .products-img img{
    width: 100%;
    height: 100%;
    transition: all 0.5s ease-in-out; /* 添加过渡效果 */
}
.hot-products .products .products-list li .product-list-title{
    width: 100%;
    height: 48px;
    margin: 10px 0;
    font-weight: bold;
    font-size: 16px;
    color: #1A1A1A;
    line-height: 24px;
    display: -webkit-box;          /* 将元素设置为弹性盒子 */
    -webkit-box-orient: vertical;  /* 设置内容垂直排列 */
    -webkit-line-clamp: 2;         /* 限制显示的行数 */
    overflow: hidden;              /* 隐藏超出部分 */
    text-overflow: ellipsis;       /* 超出部分显示省略号 */
}
.hot-products .products .products-list li::after{
    content: '';
    width: 0;
    height: 1px;
    background-color: #E60012;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    transition: all 0.5s ease-in-out; /* 添加过渡效果 */
}
.hot-products .products .products-list li:hover .products-img img{
    transform: scale(1.1);
}
.hot-products .products .products-list li:hover::after{
    width: 100%;
}

.hot-products .product-more{
    width: 181px;
    height: 46px;
    font-size: 14px;
    color: #666666;
    line-height: 46px;
    text-align: center;
    border: 1px solid #E6E6E6;
    background-color: #FFFFFF;
    cursor: pointer;
    margin: 0 auto;
}
.hot-products .product-more:hover{
    background: #E60012;
    color: #FFFFFF;
    border-color: #E60012;
}
.hot-products .product-more .active{
    display: none;
}
.hot-products .product-more:hover .active{
    display: inline-block;
}
.hot-products .product-more:hover .normal{
    display: none;
}

@media only screen and (min-width: 1000px) and (max-width: 1440px) {
    .hot-products{
        width: 900px;
    }
    .hot-products .hot-products-title,
    .hot-products .products-category{
        float: none;
        font-size: 30px;
    }
    .hot-products .products-category{
        margin-top: 30px;
    }


}
@media only screen and (max-width: 1000px) {
    .hot-products{
        width: 700px;
    }
    .hot-products .hot-products-title,
    .hot-products .products-category{
        float: none;
        font-size: 24px;
    }
    .hot-products .products-category{
        margin-top: 30px;
    }
    .hot-products .products-category .swiper-slide{
        width: 132px!important;
    }
    .hot-products .products .products-list li .product-list-title{
        font-size: 14px;
        line-height: 21px;
        height: 42px;
    }
}


/**
 * about styles
 **/
.about{
    width: 100%;
    background-color: #F3F2F9;
}
.about .about-content{
    width: 1200px;
    padding: 60px 0;
    margin: 0 auto;
    position: relative;
}
.about .about-content .about-content-left{
    width: 30%;
    float: left;
    display: grid;
}
.about .about-content .about-content-left .about-content-left-title{
    font-weight: bold;
    font-size: 40px;
    color: #1A1A1A;
    line-height: 44px;
}
.about .about-content .about-content-left .about-content-left-text{
    font-size: 16px;
    color: #666666;
    line-height: 30px;
    margin-top: 40px;
}
.about .about-content .about-content-left .about-content-left-more{
    width: 181px;
    height: 46px;
    font-size: 14px;
    color: #666666;
    line-height: 46px;
    text-align: center;
    border: 1px solid #E6E6E6;
    background-color: #FFFFFF;
    cursor: pointer;
    position: absolute;
    left: 0;
    bottom: 60px;
}
.about .about-content .about-content-left .about-content-left-more:hover{
    background: #E60012;
    color: #FFFFFF;
    border-color: #E60012;
}
.about .about-content .about-content-left .about-content-left-more .active{
    display: none;
}
.about .about-content .about-content-left .about-content-left-more:hover .active{
    display: inline-block;
}
.about .about-content .about-content-left .about-content-left-more:hover .normal{
    display: none;
}
.about .about-content .about-content-right{
    width: 61%;
    float: right;
}
.about .about-content .about-content-right img{
    width: 100%;
}

.about .about-engineering{
    width: 1000px;
    height: 240px;
    background: #FFFFFF;
    position: absolute;
    top: 412px;
    left: 0;
}
.about .about-engineering .about-engineering-item{
    width: 25%;
    height: 100%;
    float: left;
    font-size: 16px;
    color: #333333;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}
.about .about-engineering .about-engineering-item .about-engineering-item-num{
    font-weight: bold;
    font-size: 50px;
    color: #1A1A1A;
    line-height: 56px;
    margin-top: 56px;

}
.about .about-engineering .about-engineering-item .about-engineering-item-title{
    font-size: 14px;
    color: #666666;
    line-height: 16px;
    margin-top: 42px;
}
.about .about-engineering .about-engineering-item::after{
    content: "";
    width: 1px;
    height: 80px;
    background-color: #B9B9B9;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.about .about-engineering .about-engineering-item:last-child::after{
    content: none;
}
.about .about-engineering .about-engineering-item:hover{
    background: #E60012;
}
.about .about-engineering .about-engineering-item:hover .about-engineering-item-num,
.about .about-engineering .about-engineering-item:hover .about-engineering-item-title{
    color: #FFFFFF;
}

@media only screen and (min-width: 1000px) and (max-width: 1440px) {
    .about .about-content{
        width: 900px;
    }
    .about .about-content .about-content-left{
        width: 38%;
    }
    .about .about-content .about-content-left .about-content-left-title{
        font-size: 30px;
    }
    .about .about-content .about-content-left .about-content-left-text{
        font-size: 14px;
        line-height: 21px;
        margin-top: 20px;
    }
    .about .about-engineering{
        width: 750px;
        height: 180px;
        top: 309px;
    }
    .about .about-engineering .about-engineering-item .about-engineering-item-num{
        font-size: 40px;
        margin-top: 30px;
    }
    .about .about-engineering .about-engineering-item .about-engineering-item-title{
        margin-top: 24px;
    }
}
@media only screen and (max-width: 1000px) {
    .about .about-content{
        width: 700px;
    }
    .about .about-content .about-content-left{
        width: 38%;
    }
    .about .about-content .about-content-left .about-content-left-title{
        font-size: 24px;
    }
    .about .about-content .about-content-left .about-content-left-text{
        font-size: 14px;
        line-height: 18px;
        margin-top: 0;
    }
    .about .about-engineering{
        width: 600px;
        height: 120px;
        top: 280px;
    }
    .about .about-engineering .about-engineering-item .about-engineering-item-num{
        font-size: 24px;
        margin-top: 10px;
    }
    .about .about-engineering .about-engineering-item .about-engineering-item-title{
        margin-top: 0;
    }
}


/**
 * service styles
 **/
.service{
    width: 100%;
    margin: 80px auto;
}
.service .service-item{
    width: 33.3%;
    aspect-ratio: 640/800;
    float: left;
    position: relative;
    cursor: pointer;
    padding: 60px 2%;
    color: #FFFFFF;
}
.service .service-item .service-item-img{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
}
.service .service-item .service-item-img img{
    width: 100%;
    height: 100%;
}
.service .service-item .service-item-comment{
    margin-top: 10%;
    width: 40px;
    height: 40px;
}
.service .service-item .service-item-comment img{
    width: 100%;
    height: 100%;
}
.service .service-item .service-item-title{
    font-weight: bold;
    font-size: 26px;
    line-height: 30px;
    margin-top: 4%;
}
.service .service-item .service-item-more{
     width: 30px;
    height: 30px;
    margin-top: 3%;
}
.service .service-item .service-item-more img{
    width: 100%;
    height: 100%;
}
.service .service-item .service-item-text{
    font-size: 14px;
    line-height: 21px;
    margin-top: 3%;
    display: none;
    opacity: 0;
}
.service .service-item .service-item-more-btn{
    width: 181px;
    height: 46px;
    background: rgba(255,255,255,0.2);
    border: 1px solid #FFFFFF;
    font-size: 14px;
    color: #FFFFFF;
    text-align: center;
    line-height: 46px;
    position: absolute;
    left: 60px;
    bottom: 10%;
}
@keyframes rotateAndDisappear {
    0% {
        transform: rotate(0deg);
    }
    90% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(180deg);
        display: none;
    }
}
.service .service-item:hover .service-item-more{
    animation: rotateAndDisappear 0.4s ease forwards;
}
@keyframes textFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.service .service-item:hover .service-item-text{
    display: block;
    animation: textFadeIn 0.2s ease 0.4s forwards;
}

.service .service-item:hover::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: rgba(230, 0, 18, 0.7);
}


@media only screen and (min-width: 1000px) and (max-width: 1200px) {
    .service .service-item{
        padding: 3% 1%;
    }
    .service .service-item .service-item-text{
        font-size: 12px;
        line-height: 18px;
    }
}
@media only screen and (max-width: 1000px) {
    .service .service-item{
        padding: 0 1%;
    }
    .service .service-item .service-item-comment{
        margin-top: 2%;
    }
    .service .service-item .service-item-title{
        font-size: 18px;
        line-height: 20px;
    }
    .service .service-item .service-item-text{
        font-size: 12px;
        line-height: 14px;
    }
    .service .service-item .service-item-more-btn{
        width: 100px;
        height: 30px;
        line-height: 30px;
        bottom: 5%;
        left: 10%;
    }
}



.partner{
    width: 1200px;
    margin: 80px auto;
}
.partner .partner-title{
    font-weight: bold;
    font-size: 40px;
    color: #1A1A1A;
    line-height: 50px;
    text-align: center;
}
.partner .partner-title span{
    color: #E60012;
}
.partner .partner-list{
    display: flex;
    margin-top: 40px;
    flex-wrap: wrap;
}
.partner .partner-list .partner-item{
    width: 25%;
    aspect-ratio: 300 / 214;
    border: 1px solid #E6E6E6;
    margin-top: -1px;
    margin-left: -1px;
    cursor: pointer;
    overflow: hidden;
}
.partner .partner-list .partner-item img{
    width: 100%;
    height: 100%;
    transition: all 0.5s ease;
}
.partner .partner-list .partner-item:hover img{
    transform: scale(1.1);
}


@media only screen and (min-width: 1000px) and (max-width: 1440px) {
    .partner{
        width: 900px;
    }
    .partner .partner-title{
        font-size: 30px;
        line-height: 40px;
    }
}
@media only screen and (max-width: 1000px) {
    .partner{
        width: 700px;
    }
    .partner .partner-title{
        font-size: 24px;
        line-height: 30px;
    }
}


