/* 主页样式 */
.indexbanner {
    height: 740px;
}

.indexbanner .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.index-introduce{
    width: 100%;
    height: 640px;
    position: relative;
}
.index-introduce .bg-img {
    position: absolute;
    top: 0;
    left: -3px;
    width: 62%;
    height: 100%;
    background: url(/static/website/images/index/index-introduce.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-position: right center;
}
.index-introduce .introduce-box{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}
.index-introduce .introduce-box .introduce-content {
    color: #fff;
    width: 38%;
    height: 60%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: -52px;
}
.index-introduce .introduce-box .introduce-content h3{
    font-size: var(--font-size-title-medium);
    font-weight: bold;
    margin-bottom: 28px;
}
.index-introduce .introduce-box .introduce-content .description{
    font-size: 16px;
    line-height: 28px;
    color: #f2f2f2;
}
.index-introduce .introduce-box .introduce-video{
    padding-right: 14px;
}
.index-introduce .introduce-box .introduce-video video{
    width: 620px;
    height: 360px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 4px 12px #763320;
}
/*#introduceVideo {* 有问题，播放视频的时候角有几个像素的白边/
/*    background-color: white;*/
/*}*/
/*主页发展规模*/
.index-company-size{
    width: 100%;
    height: 500px;
    padding-bottom: 100px;
    background: url(/static/website/images/index/company-size.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.index-company-size .cs-data {
    margin-top: 130px;
}
.index-company-size .cs-data li {
    width: 18%;
    padding: 0px;
}
.index-company-size .cs-data p {
    color: var(--color-text1);
    font-size: var(--font-size-text2);
    margin: 60px 0px 18px 0px;
    font-weight: bold;
}
.index-company-size .cs-data .cs-line {
    width: 100%;
    height: 2px;
    background: linear-gradient( 270deg, #007781 0%, #00AFB7 100%);
}
.index-company-size .cs-data li:hover .cs-line {
    animation: line-grow .8s ease-out;
}
.number-increase{
    font-weight: bold;
    font-size: var(--font-size-number);
    margin: 0px;
}
.number-increase .unit {
    font-style: normal;
    font-size: var(--font-size-text2);
    font-weight: 700;
    margin-left: 2px;
}

.number-increase .unit-plus {
    font-style: normal;
    font-size: var(--font-size-title-medium);
    font-weight: 700;
    margin-left: 2px;
}
/*主页核心业务*/
.index-business{
    width: 100%;
    height: auto;
    background: url(/static/website/images/index/business.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.index-business .section-title{
    margin-bottom: 110px;
}
.index-business .busi-content{
    width: 552px;
    margin: 0 auto;
    position: relative;
    padding: 55px 0px;
}
.index-business .busi-content .center-ball{
    width: 440px;
    height: 440px;
    /*background: url("/static/website/images/index/business-center-ball.png");*/
    background: url("/static/website/images/index/qietu_dayuan.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 0 auto;
}
.index-business .busi-content .center-ball span{
    text-align: center;
    font-size: var(--font-size-title-small);
    color: white;
    font-weight: bold;
}

.index-business .busi-content .center-ball .around-ball{
    width: 100px;
    height: 100px;
    background: url("/static/website/images/index/business-around-ball.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
}
.index-business .busi-content .center-ball .around-ball.ball-1{
    top: -10px;
}
.index-business .busi-content .center-ball .around-ball.ball-2{
    left: 0;
    top: 105px;
}
.index-business .busi-content .center-ball .around-ball.ball-3{
    left: 35px;
    bottom: 35px;
}
.index-business .busi-content .center-ball .around-ball.ball-4{
    right: 35px;
    bottom: 35px;
}
.index-business .busi-content .center-ball .around-ball.ball-5{
    right: 0;
    top: 105px;
}
.index-business .busi-content .center-ball .around-ball span{
    text-align: center;
    font-size: var(--font-size-title1);
    color: white;
    font-weight: bold;
}
.index-business .busi-content .center-ball .busi-des-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transition: all .1s;
    transform-origin: 0 50%;
}
.index-business .busi-content .center-ball .busi-des {
    display: inline-block;
    font-size: var(--font-size-text1);
    padding: 10px;
    box-shadow: 0 2px 28px #e2e6ed;
    border: 2px solid rgb(255, 255, 255);
    background-image: linear-gradient(rgb(255, 255, 255), rgba(255, 255, 255, .6));
    position: relative;
    white-space: nowrap;
    line-height: 21px;
    color: #191919;
    border-radius: 10px;
}
.index-business .busi-content .center-ball .busi-des:after {
    content: "";
    position: absolute;
    height: 0;
    width: 0;
}


/* 悬停tips的公共样式 */
.index-business .busi-content .center-ball .busi-des-box {
    position: absolute;
    --x: 0;
    --y: 0;
    --scale: 1;
    transform: translate(var(--x), var(--y)) scale(var(--scale));
    transition: transform 0.3s ease;
    transform-origin: center center;
}

/* 鼠标悬停统一放大 */
.index-business .busi-content .center-ball .busi-des-box:hover {
    --scale: 1.1;
}

/* ----------------------------------
   各个 .bd-itemX 设置偏移位置和旋转中心
-----------------------------------*/

/* 顶部中心 */
.index-business .busi-content .center-ball .busi-des-box.bd-item1 {
    --x: -50%;
    --y: -290px;
    transform-origin: 50% 100%;
    padding: 0 20px;
}

/* 左上 */
.index-business .busi-content .center-ball .busi-des-box.bd-item2 {
    --x: -470px;
    --y: -94px;
    transform-origin: right center;
}

/* 左下 */
.index-business .busi-content .center-ball .busi-des-box.bd-item3 {
    --x: -460px;
    --y: 194px;
    transform-origin: right center;
}

/* 右下 */
.index-business .busi-content .center-ball .busi-des-box.bd-item4 {
    --x: 140px;
    --y: 194px;
    transform-origin: left center;
}

/* 右上 */
.index-business .busi-content .center-ball .busi-des-box.bd-item5 {
    --x: 236px;
    --y: -94px;
    transform-origin: left center;
}

/* ----------------------------------
   箭头伪元素样式
-----------------------------------*/

/* 顶部箭头（朝上） */
.index-business .busi-content .center-ball .busi-des.triangle1::after {
    content: "";
    position: absolute;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
    top: 43px;
    left: calc(50% - 10px);
}

/* 左上朝右箭头 */
.index-business .busi-content .center-ball .busi-des.triangle2::after {
    content: "";
    position: absolute;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid white;
    top: calc(50% - 10px);
    right: -11px;
}

/* 左下朝上箭头 */
.index-business .busi-content .center-ball .busi-des.triangle3::after {
    content: "";
    position: absolute;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
    top: -11px;
    left: calc(50% - -110px);
}

/* 右下朝上箭头 */
.index-business .busi-content .center-ball .busi-des.triangle4::after {
    content: "";
    position: absolute;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
    top: -11px;
    left: calc(50% - 95px);
}

/* 右上朝左箭头 */
.index-business .busi-content .center-ball .busi-des.triangle5::after {
    content: "";
    position: absolute;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid white;
    top: calc(50% - 10px);
    left: -11px;
}

/*主页企业新闻*/
.index-news{
    width: 100%;
    height: fit-content;
    background: #F4FEFF;
}

.index-news .news-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
/*新闻竖卡片*/
.news-card {
    width: calc((100% - 8%) / 4);
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 5px 17px #e8e9ec;
    overflow: hidden;
    margin-bottom: 30px;
    margin: 4px 1%;
}
.news-card .img-box{
    width: 100%;
    height: 210px;
    overflow: hidden;
}
.news-card .img-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .5s;
}
.news-card .img-box img:hover {
    transform: scale(1.2);
}
.news-card .content{
    padding: 16px 16px 0px 16px;
}
.news-card h3{
    color: #000;
    font-size: var(--font-size-title1);
    margin-bottom: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.news-card p{
    line-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-all;
}
.news-card .bottom{
    display: flex;
    align-items: center;
    margin: 5px 0;
    cursor: pointer;
}
.news-card .bottom span{
    padding-left: 16px;
    padding-bottom: 16px;
    color: var(--main-color);
    cursor: pointer;
}



/*主页合作伙伴*/
.index-partner {
    width: 100%;
    height: fit-content;
    background: url(/static/website/images/index/partner.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.index-partner .partner-content{
    display: flex;
    flex-wrap: wrap;
}

.index-partner .partner-content .case-box{
    width: calc((100% - 8%) / 4);
    margin: 6px 1%;
}

.index-partner .partner-content .case-box img{
    width: 100%;
    height: 160px;
    background: white;
    border-radius: 10px;
    object-fit: contain;
    transition: all .2s;
    padding: 14px;
}
.index-partner .partner-content .case-box img:hover{
    transform: scale(1.05);
}
.index-partner .partner-content .case-box p{
    text-align: center;
    line-height: 24px;
    font-size: var(--font-size-text2);
    letter-spacing: 1px;
    color: var(--color-text1);
}



/*伙伴卡片*/
.partner-card {
    width: calc((100% - 8%) / 4);
    height: 160px;
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin: 6px 1%;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.partner-card img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.5s;
    background-color: white; /* 可选：图片未铺满区域背景色 */
}
.partner-card img:hover {
    transform: scale(1.2);
}

.more_partner{
    font-size: var(--font-size-text);
    cursor: pointer;
    margin-top: 16px;
}

/*适配*/
@media (max-width: 1000px) {
    .indexbanner{
        height: 300px;
    }
    .index-introduce{
        background: var(--main-color);
        height: auto;
        padding-bottom: 10px;
    }
    .index-introduce .bg-img{
        width: 0%;
    }
    .index-introduce .introduce-box{
        display: block;
    }
    .index-introduce .introduce-box .introduce-content{
        width: 100%;
        height: auto;
        margin-top: 16px;
        margin-bottom: 16px;
    }
    .index-introduce .introduce-box .introduce-content h3{
        margin-bottom: 12px;
        border-bottom: 2px solid white;
        padding-bottom: 8px;
        width: fit-content;
        padding-right: 16px;
    }
    .index-introduce .introduce-box .introduce-content .description{
        line-height: 16px;
        font-size: 14px;
    }
    .index-introduce .introduce-box .introduce-video{
        padding-right: 0px;
    }
    .index-introduce .introduce-box .introduce-video video{
        width: 100%;
        height: auto;
        box-shadow: unset;
        min-height: 210px;
    }
    .index-company-size {
        height: auto;
        padding-bottom: 0px;
        background-color: #F4FEFF;
        background-size: 150%;
    }
    .index-company-size .cs-data{
        margin-top: 0px;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    .index-company-size .cs-data p{
        margin: 16px 0px 8px 0px;
    }
    .index-company-size .cs-data li{
        width: calc(74% / 2);
        margin: 34px 0px;
    }
    .index-business{
        height: auto;
    }
    .index-business .busi-content{
        padding: 0px;
        width: 100%;
    }
    .index-business .busi-content .center-ball{
        width: 100%;
        padding: 100% 0 0 0;
        height: unset;
    }
    .index-business .busi-content .center-ball .busi-des-box{
        display: none;
    }

    .news-card{
        width: 100%;
        box-shadow: 0 0px 8px #e8e9ec;
    }
    .news-card .img-box{
        height: 190px;
    }

    .partner-card{
        width: calc((100% - 10%) / 2);
        height: 125px;
        margin: 2%;
    }

    .index-partner .partner-content .case-box{
        width: calc((100% - 8%) / 2);
        margin: 6px 2%;
    }

    .index-partner .partner-content .case-box img{
        height: 100px;
    }

}
@media (min-width: 1001px) and (max-width: 1500px){
    .indexbanner{
        height: 580px;
    }
}

.news-card div {
    cursor: pointer;
}
