/*  */
.tab_bar_box .tab_bar{
    width: 100%;
    height: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-items: center;
    padding: 0 260px;
}
.tab_bar_box .tab_bar .tab_bar_bg{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.tab_bar_box .tab_bar .tab_bar_list{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tab_bar_box .tab_bar .tab_bar_item{
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}
.tab_bar_box .tab_bar .tab_bar_item:hover{
    background: linear-gradient(328.51deg, #3772FB 32.48%, #2EB7FE 113.98%);
}
.tab_bar_box .tab_bar .tab_bar_item:hover div{
    color: #ffffff;
}
.tab_bar_box .tab_bar .tab_bar_item img{
    width: 50px;
    height: 50px;
    margin-right: 18px;
    display: none;
}
.tab_bar_box .tab_bar .tab_bar_item div{
    font-size: 18px;
    color: #333333;
    font-weight: bold;
}
.tab_bar_box .tab_bar .tab_bar_item_active{
    background: linear-gradient(328.51deg, #3772FB 32.48%, #2EB7FE 113.98%);
}
.tab_bar_box .tab_bar .tab_bar_item_active img{
    display: block;
}
.tab_bar_box .tab_bar .tab_bar_item_active div{
    color: #ffffff;
}
.con_box {
    width: 100%;
    padding-top: 60px;
}
.tab_bar_box .tab_con{
    width: 100%;
    padding: 60px 260px 72px;
    background: #ffffff;
    display: flex;
}
.tab_bar_box .tab_con{
    display: none;
}
.tab_bar_box .tab_con:first-of-type{
    display: flex;
}
.tab_bar_box .tab_con.is-active{
    display: flex;
}
.tab_bar_box .tab_con.is-anim{
    animation: tabConIn 0.35s ease both;
}
@keyframes tabConIn{
    from{
        opacity: 0;
        transform: translateY(12px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .tab_bar_box .tab_con.is-anim{
        animation: none;
    }
}
.tab_bar_box .con_left{
    width: 800px;
    height: auto;
    /* height: 600px; */
    border-radius: 16px;
    overflow: hidden;
}
.tab_bar_box .con_left .swiper_box{
    width: 100%;
    height: 100%;
}
.con_left .swiper_box .swiper-pagination {
    width: auto;
    position: absolute;
    bottom: 38px;
    left: 40px;
    right: auto;
}
.con_left .swiper_box .swiper-pagination-bullet {
    width: 40px;
    height: 4px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    opacity: 1;
    margin: 0 2px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.con_left .swiper_box .swiper-pagination-bullet-active {
    background-color: #ffffff;
}
.con_right{
    flex: 1;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    margin-left: 20px;
}
.con_right .content_card {
    width: 100%;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}
.con_right .content_card:last-child{
    margin-bottom: 0;
}
.con_right .content_card:nth-of-type(1) {
    background: linear-gradient(119.96deg, #F2F4FD 4.09%, #FFFFFF 45.04%);
}
.con_right .content_card:nth-of-type(2) {
    background: linear-gradient(119.96deg, #FFF8F0 4.09%, #FFFFFF 45.04%);
}
.con_right .content_card:nth-of-type(3) {
    background: linear-gradient(119.96deg, #F3FAEF 4.09%, #FFFFFF 45.04%);
}
.con_right .content_card:nth-of-type(4) {
    background: linear-gradient(119.96deg, #EFF8FE 4.09%, #FFFFFF 45.04%);
}
.con_right .content_card .card_top{
    display: flex;
    align-items: center;
}
.con_right .card_icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}
.con_right .card_icon img{
    width: 18px;
    height: 18px;
}
.con_right .card_icon.feature {
    background: linear-gradient(180deg, #A3B7FF 0%, #4D73F9 100%);
}
.con_right .card_icon.advantage {
    background: linear-gradient(180deg, #FFB486 0%, #FF863A 100%);
}
.con_right .card_icon.indicator {
    background: linear-gradient(180deg, #A3E587 0%, #68C441 100%);
}
.con_right .card_icon.technology {
    background: linear-gradient(180deg, #9CD9FD 0%, #58C1FF 100%);
}
.con_right .card_title {
    font-size: 20px;
    font-weight: 500;
}
.con_right .card_content {
    font-size: 14px;
    line-height: 1.5;
    margin-top: 16px;
}
/* 交付项目 */
.project_box{
    width: 100%;
    padding: 60px 260px 64px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.project_box .project_bg{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.project_box .title{
    font-size: 36px;
    color: #333333;
    line-height: 1;
    font-weight: bold;
    position: relative;
    z-index: 2;
}
.project_box .swiper_box{
    width: 100%;
    max-width: 1860px; 
    margin-top: 60px;
    display: block;
    position: relative;
    z-index: 2;
    overflow: hidden;
}
.project_box .swiper_box .swiper-prev{
    left: 0;
    z-index: 3;
}
.project_box .swiper_box .swiper-next{
    right: 0;
    z-index: 3;
}
.project_box .swiper_box .swiper-pagination {
    width: auto;
    position: absolute;
    left: 50%;
    bottom: -42px;
    transform: translateX(-50%);
}
.project_box .swiper_box .swiper-pagination{
    display: none; /* 隐藏容器内原分页，使用外部自定义分页 */
}

.project_box .project-pagination{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 2;
}
.project_box .swiper_box .swiper-pagination-bullet,
.project_box .project-pagination .swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #C5C5C5;
    margin: 0 6px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.project_box .swiper_box .swiper-pagination-bullet-active,
.project_box .project-pagination .swiper-pagination-bullet-active {
    border: none;
    background: #3772FB;
}
.project_box .swiper_box .slide_prev_box{
    width: 430px;
    height: 232px;
    opacity: 0.6;
    clip-path: polygon(0 0, 100% 32px, 100% 200px, 0% 232px);
    /* position: absolute;
    top: 48px;
    left: 25px; */
    z-index: 1;
}
.project_box .swiper_box .project_card{
    will-change: transform;
}
.project_box .swiper_box .slide_prev_box img,
.project_box .swiper_box .slide_next_box img{
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;
    display: block;
}
.project_box .swiper_box .slide_prev_box > div,
.project_box .swiper_box .slide_next_box > div{
    display: none;
}
.project_box .swiper_box .swiper-slide{
    height: 338px;
    border-radius: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.project_box .swiper_box .swiper-slide.swiper-slide-prev,
.project_box .swiper_box .swiper-slide.swiper-slide-active,
.project_box .swiper_box .swiper-slide.swiper-slide-next{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.project_box .swiper_box .project_card{
    width: 1000px;
    height: 338px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}
.project_box .swiper_box .project_card>img{
    width: 60%;
    height: 100%;
    border-radius: 16px 0 0 16px;
}
.project_box .swiper_box .project_card>div{
    width: 40%;
    height: 100%;
    background: #243457;
    border-radius: 0 16px 16px 0;
    padding: 40px 30px;
    position: relative;
    /* 默认隐藏右侧内容：只在中间(active)卡片显示 */
    display: none;
}
.project_box .swiper_box .swiper-slide-active .project_card>div{
    display: block;
}
.project_box .swiper_box .project_card.show-right-content>div{
    display: block;
}

@media (min-width: 993px) {
    /* 非中间卡片：右侧 div 被隐藏后，图片撑满 */
    .project_box .swiper_box .swiper-slide:not(.swiper-slide-active) .project_card>img{
        width: 100%;
        border-radius: 16px;
    }
}
.project_box .swiper_box .project_card>div .title{
    font-size: 18px;
    color: #ffffff;
    line-height: 1.5;
    font-weight: bold;
}
.project_box .swiper_box .project_card>div .detail{
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: normal;
    line-height: 24px;
    margin-top: 16px;
}
.project_box .swiper_box .project_card>div .btn{
    width: fit-content;
    margin-top: 18px;
    display: flex;
    align-items: center;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}
.project_box .swiper_box .project_card>div .btn:hover{
    transform: translateY(-5px);
}
.project_box .swiper_box .project_card>div .btn div{
    font-size: 14px;
    color: #ffffff;
}
.project_box .swiper_box .project_card>div .btn img{
    width: 32px;
    height: 32px;
    margin-left: 4px;
}
.project_box .swiper_box .slide_next_box {
    width: 430px;
    height: 232px;
    clip-path: polygon(0 32px, 100% 0, 100% 232px, 0% 200px);
    opacity: 0.6;
    /* position: absolute;
    top: 48px;
    right: 25px; */
    z-index: 1;
}
.project_box .swiper_box .slide_next_box img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
}
.swiper-3d .swiper-slide-shadow-left{
    background-image: none;
}
.swiper-3d .swiper-slide-shadow-right{
    background-image: none;
}
.padding-left{
    /* 对齐 coverflow 左侧卡片位置：随 project_card 宽度按比例变化 */
    padding-left: 650px; /* 1000 * 0.65 */
}
.padding-right{
    padding-right: 650px; /* 1000 * 0.65 */
}

@media (max-width: 1500px) {
    .padding-left{
        padding-left: 585px; /* 900 * 0.65 */
    }
    .padding-right{
        padding-right: 585px; /* 900 * 0.65 */
    }
}

@media (max-width: 1300px) {
    .padding-left{
        padding-left: 520px; /* 800 * 0.65 */
    }
    .padding-right{
        padding-right: 520px; /* 800 * 0.65 */
    }
}

@media (max-width: 992px) {
    /* <=992px 时左右按钮隐藏，避免 padding-left/right 造成布局错位 */
    .padding-left{
        padding-left: 0;
    }
    .padding-right{
        padding-right: 0;
    }
    /* 切换 effect 到 slide 后，coverflow 遗留的 shadow 元素有时会在无 .swiper-3d 的情况下失去 absolute，
       从而挤压 project_card/show-right-content，这里直接隐藏 shadow 兜底。 */
    .project_box .swiper_box .swiper-slide-shadow,
    .project_box .swiper_box .swiper-slide-shadow-left,
    .project_box .swiper_box .swiper-slide-shadow-right,
    .project_box .swiper_box .swiper-slide-shadow-coverflow{
        display: none !important;
    }
}

@media (max-width: 1700px) {
    .tab_bar_box .tab_bar{
        padding: 0 160px;
    }
    .tab_bar_box .tab_con{
        padding: 60px 160px 72px;
    }
    .tab_bar_box .con_left{
        width: 700px;
    }
    .project_box{
        padding: 60px 160px 64px;
    }
}

@media (max-width: 1500px) {
    .tab_bar_box .tab_bar{
        padding: 0 100px;
    }
    .tab_bar_box .tab_con{
        padding: 50px 100px 64px;
    }
    .project_box{
        padding: 50px 100px 56px;
    }

    .tab_bar_box .con_left{
        width: 680px;
        /* height: 510px; */
    }
    .con_right .content_card{
        padding: 15px;
    }
    .project_box .swiper_box .project_card{
        width: 900px;
    }
}

@media (max-width: 1300px) {
    .tab_bar_box .tab_bar{
        padding: 0 40px;
        height: 88px;
    }
    .tab_bar_box .tab_bar .tab_bar_item img{
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }
    .tab_bar_box .tab_bar .tab_bar_item div{
        font-size: 16px;
    }

    .tab_bar_box .tab_con{
        padding: 40px 40px 56px;
    }
    .tab_bar_box .con_left{
        width: 560px;
        /* height: 420px; */
    }
    .con_right .content_card{
        padding: 10px;
    }
    .con_right .card_icon{
        width: 28px;
        height: 28px;
        margin-right: 8px;
    }
    .con_right .card_title{
        font-size: 18px;
    }

    .project_box{
        padding: 40px 40px 56px;
    }
    .project_box .title{
        font-size: 32px;
    }
    .project_box .swiper_box{
        margin-top: 40px;
    }
    .project_box .swiper_box .project_card{
        width: 800px;
        max-width: 920px;
    }
}

@media (max-width: 992px) {
    .tab_bar_box .tab_bar{
        padding: 0 24px;
        height: 80px;
    }
    .tab_bar_box .tab_bar .tab_bar_item div{
        font-size: 15px;
    }
    .tab_bar_box .tab_con{
        padding: 32px 24px 48px;
        flex-direction: column;
        gap: 15px;
    }
    .tab_bar_box .con_left{
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }
    .tab_bar_box .con_left .swiper_box{
        height: 100%;
    }
    .project_box .swiper_box .swiper-slide{
        height: 320px;
    }
    .project_box .swiper_box .swiper-prev,
    .project_box .swiper_box .swiper-next {
        display: none;
    }
    .con_left .swiper_box .swiper-pagination{
        left: 20px;
        bottom: 18px;
    }
    .con_left .swiper_box .swiper-pagination-bullet{
        width: 28px;
        height: 4px;
    }

    .con_right{
        margin-left: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .con_right .content_card{
        padding: 18px;
    }
    .con_right .card_title{
        font-size: 18px;
    }

    .project_box{
        padding: 32px 24px;
    }
    .project_box .title{
        font-size: 28px;
    }
    .project_box .swiper_box{
        margin-top: 20px;
        padding-bottom: 0; /* 给分页器留空间 */
    }
    .project_box .swiper_box .slide_prev_box,
    .project_box .swiper_box .slide_next_box{
        display: none;
    }
    .project_box .swiper_box .swiper-pagination{
        bottom: 8px;
    }
    /* .project_box .project-pagination{ */
        /* bottom: 8px; */
    /* } */
    .project_box .swiper_box .project_card{
        /* width: 700px; */
        width: 100%;
        height: 280px;
        /* flex-direction: column; */
        border-radius: 16px;
        overflow: hidden;
    }
    .project_box .swiper_box .project_card>img{
        /* width: 100%; */
        /* height: auto; */
        aspect-ratio: 16 / 9;
        border-radius: 0;
        object-fit: cover;
        display: block;
    }
    .project_box .swiper_box .project_card>div{
        width: 100%;
        border-radius: 0;
        padding: 22px 18px;
        display: block;
    }
    .project_box .swiper_box .project_card>div .title{
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        overflow: hidden;
    }
    .project_box .swiper_box .project_card>div .detail{
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        line-clamp: 4;
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .tab_bar_box .tab_bar{
        height: auto;
        min-height: 72px;
    }
    .tab_bar_box .tab_bar .tab_bar_list{
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: flex-start;
    }
    .tab_bar_box .tab_bar::-webkit-scrollbar{
        display: none;
    }
    .tab_bar_box .tab_bar .tab_bar_item{
        min-height: 56px;
        flex: 0 0 auto;
        padding: 0 18px;
        white-space: nowrap;
    }
    .tab_bar_box .tab_bar .tab_bar_item img{
        width: 34px;
        height: 34px;
        margin-right: 10px;
    }
    .tab_bar_box .tab_bar .tab_bar_item div{
        font-size: 14px;
        white-space: nowrap;
    }
    .swiper_box .swiper-slide div{
        padding: 0;
    }
    .tab_bar_box .tab_con{
        padding: 24px 16px;
    }
    .con_right .content_card{
        padding: 16px;
    }
    .con_right .card_content{
        font-size: 13px;
        margin-top: 12px;
    }

    .project_box{
        padding: 24px 16px;
    }
    .project_box .title{
        font-size: 24px;
    }
    .project_box .swiper_box{
        margin-top: 0;
        padding-bottom: 0;
    }
    .project_box .swiper_box .swiper-slide{
        height: 280px;
    }
    .project_box .swiper_box .project_card{
        height: 240px;
    }
    .project_box .swiper_box .project_card>div .detail{
        font-size: 13px;
        line-height: 22px;
    }
    .project_box .swiper_box .swiper-prev,
    .project_box .swiper_box .swiper-next{
        display: none;
    }
    .project_box .swiper_box .swiper-pagination-bullet,
    .project_box .project-pagination .swiper-pagination-bullet{
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .tab_bar_box .tab_bar{
        padding: 0;
    }
    .tab_bar_box .tab_bar .tab_bar_item img{
        display: none;
    }

    .con_left .swiper_box .swiper-pagination{
        left: 12px;
        bottom: 12px;
    }

    .project_box .swiper_box .swiper-prev,
    .project_box .swiper_box .swiper-next{
        display: none;
    }
}
