/* @charset "utf-8"; */

/* 自定义轮播点容器样式 */
.custom-pagination {
    position: absolute;
    left: 1.9rem !important;
    /* 居左对齐，可根据需要调整距离 */
    bottom: 1rem !important;
    /* 距离底部的距离，可根据需要调整 */
    text-align: left;
    display: flex;
    align-items: center;
}

/* 未选中的轮播点样式 */
.custom-pagination .swiper-pagination-bullet {
    width: 0.12rem;
    height: 0.12rem;
    background-color: #fff;
    /* 未选中时的颜色 */
    opacity: 1;
    border-radius: 50%;
    /* 未选中时为实心圆点 */
    margin: 0 0.2rem !important;
    /* 轮播点之间的间距 */
}

/* 选中的轮播点样式 */
.custom-pagination .swiper-pagination-bullet-active {
    width: 0.36rem;
    height: 0.36rem;
    position: relative;
    border: 0.02rem solid #fff;
    /* 设置边框，实现圆环效果 */
    border-radius: 50%;
    background-color: transparent;
    /* 背景透明，形成镂空效果 */
}

/* 选中时内部的实心圆点 */
.custom-pagination .swiper-pagination-bullet-active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0.12rem;
    /* 调整实心圆点大小 */
    height: 0.12rem;
    /* 调整实心圆点大小 */
    background-color: #fff;
    /* 实心圆点颜色 */
    border-radius: 50%;
}

.aboutBox {
    background: url(../images/indexAboutBg.jpg) no-repeat center;
    background-size: cover;
    border-radius: 0.2rem;
}

.aboutCon {
    display: flex;
    justify-content: space-between;
}

.aboutCon .aboutLeft {
    display: flex;
    justify-content: space-between;
    padding-left: 10%;
    width: 68%;
}

.aboutCon .aboutLeft .aboutTxt {
    width: 70%;
    padding-top: 1rem;
}

.aboutCon .aboutRight {
    width: 28%;
}

.aboutCon .txtIntro {
    margin-right: 0.6rem;
    width: 65%;
    margin-top: 1rem;
}

.aboutCon .aboutTxt b {
    display: block;
    color: #EFA526;
    margin-top: 0.1rem;
}
.aboutCon .aboutTxt .introTxt{
    margin-top: 0.6rem;
}
.aboutCon .aboutTxt p {
    /*margin-top: 0.6rem;*/
    color: #666;
    line-height: 1.8;
}

.aboutCon .aboutTxt .aboutBtn {
    margin-top: 0.8rem;
}





/* 数字滚动 */
.countBox {
    width: 20%;
    margin-top: 0.6rem;
}

.countBox .countItem {
    margin-top: 0.8rem;
}

.imgBox {
    width: 50%;
}

.txtCont {
    padding: 0.5rem 0rem;
    border-top: 0.01rem solid #F4F4F4;
    border-bottom: 0.01rem solid #F4F4F4;
    margin-top: 0.6rem;
}

.countItem span {
    color: #CC3130;
    font-family: "manrope-simpleBold";
    font-weight: 600;
    display: block;
}




/* 产品中心 */
.productBox {
    display: flex;
    height: 8rem;
    overflow: hidden;
    position: relative;
    background: url(../images/productBg.jpg) no-repeat center;
    background-size: cover;
}

.productBox .prodLeft {
    width: 48%;
    height: 100%;
}

/* 轮播容器高度继承 */
.productSwiper {
    height: 100% !important;
}

.productSwiper .swiper-slide {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.productSwiper .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.productSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 关键属性：保持比例填充容器，超出部分裁剪 */
    object-position: center;

}



/* 轮播圆点 */
.prod-pagination {
    text-align: right;
    padding-right: 0.8rem;
    bottom: 0.4rem !important;
}

.prod-pagination .swiper-pagination-bullet {
    width: 0.15rem;
    height: 0.15rem;
    /* background: rgba(255, 255, 255, 0.9); */
    border: 0.03rem solid #fff;
    border-radius: 50%;
    margin: 0.1rem;
    background: none;
}

.prod-pagination .swiper-pagination-bullet-active {
    width: 0.12rem;
    height: 0.12rem;
    background: #fff;
    border: 0.01rem solid #fff;
}


/* 隐藏默认的箭头样式 */
.swiper-button-next::after,
.swiper-button-prev::after {
    display: none;
}

/* 自定义左箭头样式 */
.custom-next,
.custom-prev {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 2rem;
    display: flex;
    justify-content: center;
    border: 0.02rem solid #EBEBEB;
    align-items: center;
    cursor: pointer;
    position: absolute;
    /* 添加绝对定位 */
    z-index: 100;
    /* 添加足够高的z-index确保可见 */
    top: 50%;
    /* 垂直居中 */
    transform: translateY(-50%);
    /* 垂直居中调整 */
}

.custom-prev {
    right: 1.6rem;
    left: auto;
    background: url(../images/prdLeftBar.png) no-repeat center;

}

/* 自定义右箭头样式 */
.custom-next {
    left: auto;
    right: 0.8rem;
    background: url(../images/prdRightBar.png) no-repeat center;

}



/* 鼠标悬停效果 */
.custom-prev:hover,
.custom-next:hover {
    background-color: rgba(236, 184, 117, 0.8);
}

/* 确保箭头不受轮播默认样式影响 */
.swiper-button-next:not(.swiper-button-disabled),
.swiper-button-prev:not(.swiper-button-disabled) {
    pointer-events: auto !important;
}

/* 为产品轮播的按钮添加更具体的样式 */
.prodTop .custom-next,
.prodTop .custom-prev {
    opacity: 1 !important;
    pointer-events: auto !important;
}



.productR {
    width: 52%;
}

.productR .prodTop {
    background: #CC3130;
    padding: 0.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.productBox .pubIndexTitle {
    color: #fff;
    margin-left: 0.6rem;
}

.productBox .pubIndexTitle p {
    color: #fff;
}

.titleImg {
    width: 0.8rem;
    height: 0.7rem;
}

.swButton {
    flex: 1;
}


/* tab切换 */
.changeIcons {
    left: 46%;
    bottom: 0.8rem;
    position: absolute;
    z-index: 9;
}

/* 图标选中状态样式 */
.changeIcons li {
    cursor: pointer;
    transition: all 0.3s ease;
    width: 0.9rem;
    height: 0.9rem;
    line-height: 0.65rem;
    text-align: center;
    background-color: #fff;
    border-radius: 50%;
    border: 2px solid #fff;
    margin: 0.5rem 0.15rem;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* 调整图标图片样式 */
.changeIcons ul li img {
    width: 0.4rem;
    height: 0.4rem;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.changeIcons li:hover {
    transform: scale(1.05);
}

.changeIcons li.active {
    opacity: 1;
    transform: scale(1.1);
    background-color: #EFA526;
    /* 黄色背景 */
    border-color: #EFA526;
}

/* 使用CSS滤镜将激活状态的图标变为白色 */
.changeIcons li.active img {
    filter: brightness(0) invert(1);
}


/* 产品内容容器样式 */
.productContents {
    position: relative;
    /* 根据实际需要设置容器高度 */
    min-height: 200px;
}

/* 默认隐藏所有产品内容 */
.productContentItem {
    display: none;
    width: 100%;
}

/* 只显示激活状态的产品内容 */
.productContentItem.active {
    display: block;
}

/* 产品标题和内容的独立样式控制 */
.productContentItem .prodTxt h2 {
    /* 可以单独为标题设置任何样式 */
    color: #333;
    margin-bottom: 15px;
    /* 其他标题样式... */
}

.productContentItem .prodTxt p.intro {
    /* 可以单独为内容设置任何样式 */
    color: #666;
    line-height: 1.6;
    /* 其他内容样式... */
}

.contBd {
    padding: 0.8rem 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.contBd .prodTxt {
    margin-top: 0.5rem;
}

.contBd p {
    color: #666;
    line-height: 1.8;
    margin-top: 0.3rem;
}

.contBd .intro {
    margin-top: 0.6rem;
}













.pubBtn {
    display: inline-block;
    box-shadow: 2px 2px 20px rgba(189, 206, 240, 0.33);
    border-radius: 3rem;
    background: #fff;
    margin-top: 1.2rem;
    /* 添加过渡动画 */
    transition: transform 0.3s ease;
}

.pubBtn a {
    display: block;
    line-height: 0.56rem;
    padding: 0 0.8rem 0rem 0.4rem;
    text-transform: uppercase;
    color: #555;
    background: url(../images/jiantou.png) no-repeat center right 0.35rem;
    background-size: 0.25rem 0.09rem;

    border-radius: 3rem;

    /* 添加相对定位，为波纹效果做准备 */
    position: relative;
    overflow: hidden;
    /* 添加过渡动画 */
    transition: color 0.3s ease, background-color 0.3s ease, padding 0.3s ease, background-position 0.3s ease;
    z-index: 1;

}


/* 波纹效果的伪元素 */
.pubBtn a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

/* 悬停效果：背景变为紫色，文字变为白色 */
.pubBtn:hover a {
    color: #fff;
    background-color: #ECB875;
    background-image: url(../images/whiteJian.png);
    /* 文字和箭头向右移动 */
    padding-left: 0.5rem;
    padding-right: 0.9rem;
    background-position: center right 0.3rem;
    border-radius: 2rem;
}

/* 悬停时按钮上浮 */
.pubBtn:hover {
    transform: translateY(-0.05rem);
    box-shadow: 3px 5px 25px rgba(236, 184, 117, 0.4);
    border-radius: 3rem;
}

/* 点击波纹扩散效果 */
.pubBtn a:active::before {
    width: 3rem;
    height: 3rem;
}







/* 精密制造 */
.precisionBox {
    display: flex;
    height: 7rem;
    overflow: hidden;
    position: relative;
    background: url(../images/industBg.png) no-repeat center;
    background-size: cover;
}

.precisionBox .preLeft {
    width: 48%;
    height: 100%;
    padding-left: 10%;
}

.precisionBox .preLeft .contBd {
    padding: 0.8rem 1.2rem;
    display: flex;
    flex-direction: column;
    padding-left: 0rem;
}

.manTitle p {
    line-height: 1;
}

.manTitle h3 {
    margin-top: 0.3rem;
}

.precisionBox .intro {
    margin-top: 0.6rem;
}

.preRight {
    width: 52%;
}

.preRight img {
    width: 100%;
    height: 100%;
}

/* 加入我们 */
.joinBox {
    position: relative;
    background: url(../images/joinBg.jpg) no-repeat center;
    background-size: cover;
    height: 7.8rem;
}

.joinCont {
    background: #B40919;
    color: #fff;
    padding: 0.8rem;
    position: absolute;
    left: 10%;
    top: 0.6rem;
    width: 7rem;
    height: 6.5rem;
}

.joinCont .pubIndexTitle {
    margin-bottom: 0.5rem;
}

.joinCont .pubIndexTitle p {
    color: #fff;
}

/* 合作客户 */
.customerBox {
    display: flex;
    padding: 0.8rem 0rem;
}

.customerBox .custBd {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custLeft {
    width: 56%;
}

.custUl ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.custUl ul li {
    width: 25%;
}

.custUl ul li img {
    width: 100%;
    height: 100%;
    padding: 0.2rem;
    ;
}

.custR {
    width: 35%;
    text-align: right;
}

.custR .pubIndexTitle {
    text-align: right;
    margin-bottom: 0.7rem;
}


/* 最新资讯 */
.newsBox {
    background: url(../images/newsBg.jpg) no-repeat center;
    background-size: cover;
    padding: 0.6rem 0.3rem;
    /* height: 6rem; */
}

.newsSwiper {
    position: relative;
    padding-bottom: 0.8rem;
}

.newsList {
    margin-top: 0.8rem;
}

/* .newsList ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
} */

.newsList .swiper-slide {
    width: 45%;
}

.newsList .swiper-slide a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
}

.newsLeft {
    width: 1rem;
    background: #fff;
    padding: 0.15rem 0.2rem;
    border-radius: 0.05rem;
    text-align: center;
    margin-right: 0.2rem;
    flex-shrink: 0;
}

.newsLeft b {
    display: block;
    font-family: "manrope-simpleBold";
    margin-bottom: 0.06rem;
}

.newsRight {
    width: 85%;
}

.newsRight p {
    margin-top: 0.1rem;
}

.newsSwiper .prod-pagination {
    bottom: 0.2rem !important;
    text-align: left;
}

.precisionBox .pubIndexTitle h3,
.customerBox .pubIndexTitle h3,
.newsBox .pubIndexTitle h3 {
    color: #EFA526;
    margin-top: 0.2rem;
}

.pubIndexTitle p {
    font-family: "sourceSerifBold";
}




@media (max-width: 800px) {
    .aboutCon {
        flex-direction: column;
        padding: 0.2rem 0.3rem;
    }

    .aboutCon .aboutLeft {
        flex-direction: column;
        width: 100%;
        padding-left: 0rem;
    }

    .aboutCon .aboutLeft .aboutTxt {
        width: 100%;
        padding-top: 0.4rem;
    }

    .pubBtn {
        margin-top: 0.6rem;
    }

    .pubBtn a {
        line-height: 0.8rem;
    }
    
    .pubIndexTitle h3{
        display:none;
    }



    .countBox {
        width: 100%;
        margin-top: 0.2rem;
        display: flex;
        flex-direction: column;
    }

    .countBox .countItem {
        margin-top: 0.3rem;
        flex: 1;
    }

    .aboutCon .aboutRight {
        width: 100%;
        margin-top: 0.2rem;
    }


    /* 产品 */
    .productBox {
        flex-direction: column;
        height: auto;
    }

    .productBox .prodLeft {
        width: 100%;
    }

    .productR {
        width: 100%;
    }

    .changeIcons {
        position:relative;
        top: 0.3rem;
        left: 0.4rem;
    }

    .changeIcons ul {
        display: flex;
    }

    .contBd {
        padding: 0.4rem;
    }


    .precisionBox {
        flex-direction: column;
        margin-top: 0.3rem;
        height:auto;
    }

    .precisionBox .preLeft {
        width: 100%;
        padding-left: 0rem;
    }
    .preRight{
        width:100%;
    }


    .joinCont {
        position: relative;
        height: auto;
        left:0rem;
    }

    .customerBox .custBd {
        flex-direction: column;
    }

    .custLeft {
        width: 100%;
    }

    .custR {
        width: 100%;
        text-align: left;
        margin-top: 0.3rem;
    }

    .customerBox {
        display: flex;
        padding: 0.8rem 0.3rem;
    }

    .precisionBox .preLeft .contBd {
        padding: 0.8rem 0.3rem;
    }

    .custUl ul li img {
        padding: 0.1rem;
    }

    .newsList .swiper-slide a {
        width: 100%;
        display: block;
    }

    .newsLeft {
        width: 24%;
    }

    .newsRight {
        width: 100%;
        margin-top: 0.2rem;
    }
    .custR .pubIndexTitle{
        text-align:left;
    }


}