/**
 * 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;
}
.banner .swiper-slide-content{
    position: absolute;
    width: 1200px;
    top: calc(50% + 68px);
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFFFFF;
}
.banner .swiper-slide-content .swiper-slide-content-title{
    font-weight: bold;
    font-size: 60px;
    line-height: 90px;
}
.banner .swiper-slide-content .swiper-slide-content-text{
    font-size: 20px;
    line-height: 30px;
    margin-top: 30px;
}

@media screen and (min-width: 1000px) and (max-width: 1440px){
    .banner .swiper-slide-content{
        width: 900px;
    }
    .banner .swiper-slide-content .swiper-slide-content-title{
        font-size: 40px;
        line-height: 60px;
    }
    .banner .swiper-slide-content .swiper-slide-content-text{
        font-size: 16px;
        line-height: 24px;
        margin-top: 20px;
    }
}
@media screen and (max-width: 1000px){
    .banner .swiper-slide-content{
        width: 700px;
    }
    .banner .swiper-slide-content .swiper-slide-content-title{
        font-size: 30px;
        line-height: 45px;
    }
    .banner .swiper-slide-content .swiper-slide-content-text{
        font-size: 14px;
        line-height: 20px;
        margin-top: 10px;
    }
}


/**
 * hot products styles
 **/
.hot-products{
    width: 1200px;
    margin: 80px auto;
}
.hot-products .hot-products-list{
    width: 100%;
    margin-top: 40px;
}
.hot-products .hot-products-list .hot-products-item{
    width: 23.5%;
    margin-right: 2%;
    margin-bottom: 20px;
    float: left;
    box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.16);
    border-radius: 12px;
    overflow: hidden;
}
.hot-products .hot-products-list .hot-products-item:nth-child(4n){
    margin-right: 0;
}
.hot-products .hot-products-list .hot-products-item .hot-products-item-img{
    width: 100%;
    aspect-ratio: 1 / 1; /* 1:1 的宽高比，即高度等于宽度 */
    overflow: hidden;
}
.hot-products .hot-products-list .hot-products-item .hot-products-item-img img{
    width: 100%;
    height: 100%;
    transition: all 0.5s;
}
.hot-products .hot-products-list .hot-products-item .hot-products-item-title{
    height: 54px;
    margin: 10px auto;
    padding: 0 20px;
    font-weight: bold;
    font-size: 20px;
    color: #1A1A1A;
    line-height: 27px;
    display: -webkit-box;          /* 将元素设置为弹性盒子 */
    -webkit-box-orient: vertical;  /* 设置内容垂直排列 */
    -webkit-line-clamp: 2;         /* 限制显示的行数 */
    overflow: hidden;              /* 隐藏超出部分 */
    text-overflow: ellipsis;       /* 超出部分显示省略号 */
}
.hot-products .hot-products-list .hot-products-item .hot-products-item-more{
    margin: 0 auto;
    padding: 0 20px 20px;
    font-size: 14px;
    color: #E60012;
}
.hot-products .hot-products-list .hot-products-item:hover .hot-products-item-title{
    color: #E60012;
}
.hot-products .hot-products-list .hot-products-item:hover .hot-products-item-img img{
    transform: scale(1.1);
}
.hot-products .hot-products-list .hot-products-item .hot-products-item-more img{
    margin-left: 10px;
}

@media screen and (min-width: 1000px) and (max-width: 1440px){
    .hot-products{
        width: 900px;
    }
    .hot-products .hot-products-list .hot-products-item .hot-products-item-title{
        padding: 0 10px;
        font-size: 16px;
        line-height: 24px;
        height: 48px;
    }
    .hot-products .hot-products-list .hot-products-item .hot-products-item-more{
        padding: 0 10px 20px;
    }
}
@media screen and (max-width: 1000px){
    .hot-products{
        width: 700px;
    }
    .hot-products .hot-products-list .hot-products-item .hot-products-item-title{
        padding: 0 5px;
        font-size: 14px;
        line-height: 20px;
        height: 40px;
    }
    .hot-products .hot-products-list .hot-products-item .hot-products-item-more{
        padding: 0 5px 20px;
        font-size: 12px;
    }
}


/**
 * about styles
 **/
.about-wrap{
    width: 100%;
    background: #F9FAFB;
    padding: 80px 0;
}
.about{
    width: 1200px;
    margin: 0 auto;
}
.about .about-content{
    width: 100%;
    margin-top: 60px;
}
.about .about-content .about-content-left{
    width: 590px;
    aspect-ratio: 590 / 565;
    float: left;
    border-radius: 12px;
}
.about .about-content .about-content-left img{
    width: 100%;
}
.about .about-content .about-content-right{
    width: 580px;
    float: right;
    display: grid;
    margin-top: 14px;
}
.about .about-content .about-content-right .title{
    text-align: left;
}
.about .about-content .about-content-right .about-content-right-text{
    font-size: 16px;
    color: #666666;
    line-height: 32px;
    margin-top: 20px;
}
.about .about-content .about-content-right .about-content-more{
    width: 171px;
    height: 64px;
    font-size: 16px;
    color: #999999;
    line-height: 64px;
    text-align: center;
    border: 1px solid #E6E6E6;
    margin-top: 30px;
    cursor: pointer;
}
.about .about-content .about-content-right .about-content-more:hover{
    background: #E60012;
    color: #FFFFFF;
    border-color: #E60012;
}


.about .about-engineering{
    width: 100%;
}
.about .about-engineering .about-engineering-item{
    width: 50%;
    padding-left: 20px;
    padding-right: 20px;
    float: left;
    font-size: 16px;
    color: #333333;
    margin: 30px 0 0;
    text-align: center;
    cursor: pointer;
}
.about .about-engineering .about-engineering-item .about-engineering-item-num{
    font-weight: bold;
    font-size: 47px;
    color: #E60012;
    line-height: 53px;
}
.about .about-engineering .about-engineering-item .about-engineering-item-title{
    font-size: 14px;
    color: #333333;
    line-height: 20px;
    margin-top: 13px;
}



@media screen and (min-width: 1000px) and (max-width: 1440px){
    .about{
        width: 900px;
    }
    .about .about-content .about-content-left{
        width: 442px;
    }
    .about .about-content .about-content-right{
        width: 435px;
    }
    .about .about-content .about-content-right .about-content-right-text{
        font-size: 14px;
        line-height: 21px;
        margin-top: 15px;
    }
    .about .about-engineering .about-engineering-item{
        margin-top: 10px;
    }
    .about .about-engineering .about-engineering-item .about-engineering-item-num{
        font-size: 36px;
        line-height: 40px;
    }
    .about .about-engineering .about-engineering-item .about-engineering-item-title{
        height: 40px;
        margin-top: 5px;
    }
    .about .about-content .about-content-right .about-content-more{
        margin-top: 0;
        width: 150px;
        height: 48px;
        line-height: 48px;
    }
}
@media screen and (max-width: 1000px){
    .about-wrap{
        padding: 60px 0;
    }
    .about{
        width: 700px;
    }
    .about .about-content{
        margin-top: 0;
    }
    .about .about-content .about-content-left{
        width: 344px;
    }
    .about .about-content .about-content-right{
        width: 344px;
        margin-top: 0;
    }
    .about .about-content .about-content-right .about-content-right-text{
        font-size: 12px;
        line-height: 18px;
        margin-top: 5px;
    }
    .about .about-engineering .about-engineering-item{
        margin-top: 0;
    }
    .about .about-engineering .about-engineering-item .about-engineering-item-num{
        font-size: 30px;
        line-height: 33px;
    }
    .about .about-engineering .about-engineering-item .about-engineering-item-title{
        height: 36px;
        margin-top: 0px;
        font-size: 12px;
        line-height: 18px;
    }
    .about .about-content .about-content-right .about-content-more{
        margin-top: 0;
        width: 120px;
        height: 40px;
        line-height: 40px;
        font-size: 14px;
    }
}


/**
 * service styles
 **/
.service{
    width: 1200px;
    margin: 80px auto;
}
.service .service-list{
    width: 100%;
    margin-top: 40px;
}
.service .service-list .service-item{
    width: 32%;
    height: 243px;
    float: left;
    text-align: center;
    margin-right: 2%;
    background: #FFFFFF;
    box-shadow: 0 10px 15px 1px rgba(0,0,0,0.1);
    border-radius: 12px;
    cursor: pointer;
}
.service .service-list .service-item:last-child{
    margin-right: 0;
}
.service .service-list .service-item .service-item-img{
    width: 86px;
    height: 86px;
    margin: 50px auto 30px;
}
.service .service-list .service-item .service-item-img img{
    width: 100%;
    height: 100%;
    transition:  all .5s ease-in-out;
}
.service .service-list .service-item .service-item-title{
    font-weight: bold;
    font-size: 24px;
    color: #1A1A1A;
    line-height: 27px;
}
.service .service-list .service-item:hover .service-item-img img{
    transform: rotateY(360deg);
}

@media screen and (min-width: 1000px) and (max-width: 1440px){
    .service{
        width: 900px;
    }
    .service .service-list .service-item .service-item-title{
        font-size: 20px;
    }
}
@media screen and (max-width: 1000px){
    .service{
        width: 700px;
    }
    .service .service-list .service-item{
        height: 180px;
    }
    .service .service-list .service-item .service-item-img{
        margin: 30px auto 20px;
    }
    .service .service-list .service-item .service-item-title{
        font-size: 16px;
    }
}


.brand-wrap{
    width: 100%;
    background: #F9FAFB;
    padding: 80px 0;
}
.brand-wrap .brand{
    width: 1200px;
    margin: 0 auto;
}
.brand-wrap .brand .brand-list{
    width: 100%;
    margin-top: 40px;
}
.brand-wrap .brand .brand-list .brand-item{
    width: 19%;
    aspect-ratio: 216 / 120;
    float: left;
    margin-right: 1.25%;
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
}
.brand-wrap .brand .brand-list .brand-item img{
    width: 100%;
    height: 100%;
    transition: all 0.5s;
}
.brand-wrap .brand .brand-list .brand-item:last-child{
    margin-right: 0;
}
.brand-wrap .brand .brand-list .brand-item:hover img{
    transform: scale(1.1);
}


@media screen and (min-width: 1000px) and (max-width: 1440px){
    .brand-wrap .brand{
        width: 900px;
    }
}
@media screen and (max-width: 1000px){
    .brand-wrap .brand{
        width: 700px;
    }
}
