.banner {
    width: 100%;
}

.banner img {
    max-width: 100%;
}


.aboutbox {
    padding: 0px 100px;
    display: flex;
    margin: 80px 0px 86px;
}

.aboutbox-left {
    width: calc(100% - 600px);
}

.aboutbox-num {
    width: 520px;
    display: flex;
    flex-wrap: wrap;
    margin-left: 32px;
    margin-top: -12px;
}

.aboutbox-left .tit {
    font-weight: bold;
    font-size: 22px;
    color: #000;
    line-height: 40px;
}

.aboutbox-left .aboutcontent {
    font-size: 18px;
    max-width: 980px;
    line-height: 37px;
    color: #4e4e4e;
    margin-top: 14px;
    overflow-y: auto;
    height: 360px;
    padding-right: 50px;
}

.aboutbox-left .aboutcontent p {
    text-indent: 0em;
}

.aboutbox-left .aboutcontent::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 3px;
    /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
}

.aboutbox-left .aboutcontent::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    background: #1d4fe6;
}

.aboutbox-left .aboutcontent::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    background: #EDEDED;
}

.aboutbox-num .aboutnumitem {
    width: 258px;
    height: 180px;
    border: 2px solid #d3d3d3;
    padding-left: 52px;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
}

.aboutbox-num .aboutnumitem:nth-child(2n) {
    border-left: 0px;
}

.aboutbox-num .aboutnumitem:nth-child(-n+4) {
    border-bottom: 0px;
}

.aboutbox-num .aboutnumitem:nth-child(2) {
    border: 0px;
}

.aboutbox-num .aboutnumitem:nth-child(6) {
    padding-left: 32px;
}

.aboutbox-num .aboutnumitem .num {
    height: 60px;
    width: 100%;
    margin-bottom: 12px;
}

.counter {
    font-family: fantasy;
    font-size: 60px;
    font-weight: bold;
    background: linear-gradient(to bottom, #1d4fe6, #60a2d7);
    background-clip: text;
    -webkit-background-clip: text;
    /* 兼容webkit浏览器：Chrome/Edge/Safari */
    color: transparent;
}

.aboutbox-num .aboutnumitem .num em {
    font-style: normal;
    font-size: 18px;
    padding-left: 6px;
    font-weight: bold;
    color: #4e4e4e;
}

.aboutbox-num .aboutnumitem .wz {
    color: #4e4e4e;
    font-size: 18px;
    font-weight: bold;
    text-align: left;
}

@media (max-width: 1440px) {

}
@media (max-width: 1370px) {
    
}
@media (max-width: 1280px) {

}
@media (max-width: 1200px) {

}
@media (max-width: 992px) { 
    
}
@media (max-width: 767px) { 
    .aboutbox{
        padding: 0px 15px;
        display: flex;
        margin: 36px 0px;
        flex-wrap: wrap;
    }
    .aboutbox-left{
        width:100%;
    }
    .aboutbox-left .aboutcontent{
        padding-right:24px;
    }
    .aboutbox-num{
        width:100%;
        margin:12px 0px;
    }
    .aboutbox-num .aboutnumitem{
        width:50%;
        padding-left:24px;
    }
    .aboutbox-num .aboutnumitem:nth-child(6){
        padding-left:24px;
    }
}
@media (max-width: 480px) { 
    .aboutbox-left .aboutcontent{
        font-size:14px;
        line-height:1.6;
        padding-right:12px;
    }
    .aboutbox-num .aboutnumitem{
        width:50%;
        padding-left: 12px;
    }
    .aboutbox-num .aboutnumitem:nth-child(6){
        padding-left:12px;
    }
}







.service {
    min-height: 756px;
    display: flex;
    background-color: #000f26;
    background: #000f26 url(../images/servicebg.jpg) no-repeat right top;
    background-size: 1400px;
}

.service .video {
    width: calc(100% - 1029px);
    padding: 72px 102px 0px 120px;
}

.service .video h3 {
    font-size: 44px;
    color: #fff;
    text-transform: capitalize;
}

.service .video .videobox {
    height: 370px;
    margin-top: 56px;
    border-radius: 24px;
}

.service .video .videobox .videoimg{
  position: relative;
}
.service .video .videobox .videoimg img{
    max-width:100%;
}

.service .video .videobox .videoimg .videoicon{
  position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width:80px;
    height:80px;
}
.service .video .videobox .videoimg .videoicon img{
    max-width:100%;
}



.service .servicebox {
    width: 1029px;
    display: flex;
}

.service .serviceitem {
    width: 344px;
    border-left: 1px solid #fff;
    height: 100%;
}

.service .serviceitem .icon {
    color: #fff;
    padding-top: 127px;
    padding-left: 40px;
}

.service .serviceitem .icon img {
    width: 48px;
}

.service .serviceitem .icon .tit {
    margin-top: 38px;
    font-size: 32px;
    font-family: fantasy;
}

.service .serviceitem:hover {
    background-color: rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

.service .serviceitem:hover .icon {
    display: none;
}

.service .serviceitem .wz {
    display: none;
    font-size: 17px;
    line-height: 2em;
    color: #fff;
    padding: 120px 40px 0px;
}

.service .serviceitem:hover .wz {
    display: block;
}



/*.workshop .tit {
    font-size: 42px;
    background: linear-gradient(to bottom, #5d9ed8, #1e50e6) left / 5px 100% no-repeat;
    height: 48px;
    line-height: 48px;
    padding-left: 16px;
}
*/


.adbox {
    background-color: #f9f9f9;
    padding: 116px 8%;
    width: 100%;
}

.adbox .container {
    display: flex;
    justify-content: space-between;
}
.adboxtit{
    width:100%;
    color:#0652a4;
    font-size:44px;
    font-weight: bold;
    margin-bottom:48px;
        text-transform: uppercase;
    font-family: fantasy;
}


.adbox .adbox-left {
    width: 650px;
    position: relative;
}

.adbox-left .adbox-left-line {
    position: absolute;
    z-index: 1;
    width: 1px;
    border-right: 2px dotted #abc9ea;
    height: 100%;
    left: 38px
}

.adbox-leftbox {
    position: relative;
    z-index: 2;
    width: 100%;
}

.adbox-leftitem {
    display: flex;
    transition: all ease .5s;
}

.adbox-leftitem .num {
    font-size: 32px;
    font-family: fantasy;
    color: #004ea2;
    width: 78px;
    text-align: center;
    height: 78px;
    line-height: 70px;

}

.adbox-leftitem.act .num {
    border: 5px solid #004ea2;
    border-radius: 50%;
    background-color: #fff;
}

.adbox-leftitem .content {
    padding-left: 8px;
    transition: all ease .3s;
    width: calc(100% - 80px);
}

.adbox-leftitem .content .tit {
    font-size: 24px;
    color: #262626;
    padding-left: 16px;
    line-height: 64px;
    font-weight: 500;
}
.adbox-leftitem:hover{
    cursor: pointer;
}
.adbox-leftitem .content .con {
    color: #414141;
    font-size: 14px;
    line-height: 24px;
    max-height: 0;
    opacity: 0;
    overflow: hidden; 
    transition: all ease .3s;
    margin-bottom: 0;
}
.adbox-leftitem.act .content .con {
    max-height: 500px; 
    opacity: 1;
    margin-bottom: 12px;
}
.adbox-leftitem.act .content .con p{
    padding-left: 15px;
    text-indent: -15px;
}
.adbox-leftitem.act .content .tit{
    color:#004ea2;
}
.adbox-leftitem .content .con p::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1px solid #2e2e2e;
    background: transparent;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
    margin-top: -3px;
}


.adbox .adbox-right {
    width: 794px;
}
.adbox-right .adboximg {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.adbox-right .adboximg.show {
    display: block;
    opacity: 1;
}
.adboximg img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 12px;
    aspect-ratio: 10/6.5;
}


.caseboxtop{
    position: relative;
    padding-left: 4%;
}
.caseboxtit{
    width: 100%;
    color: #0652a4;
    font-size: 44px;
    font-weight: bold;
    margin-bottom: 48px;
    position: relative;
    z-index: 2;
        text-transform: uppercase;
    font-family: fantasy;
}
.caseboxtop .en{
    position: absolute;
    top: -54px;
    font-size: 88px;
    z-index: 1;
    color: #eeeeee;
    font-weight: bold;
    left:5%;
}

.casebox {
    margin: 86px 8px 112px;
}



.grid-wrap {
    display: grid;
    /* 4等分宽度 */
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    /* 图片间隙，可自定义 */
    width: 100%;
    max-width: 2304px;
}

.grid-item {
    position: relative;
    overflow: hidden;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 图片不变形铺满 */
    display: block;
}

/* 左侧大图 工业自动化 */
.item-big {
    grid-column: 1 / span 1;
    grid-row: 1 / span 2;
}

/* 第一行右上两个 */
.item-new-energy {
    grid-column: 2 / span 2;
    grid-row: 1 / span 1;
}

.item-battery {
    grid-column: 4 / span 1;
    grid-row: 1 / span 1;
}

/* 第二行四个均分 */
.item-medical {
    grid-column: 2 / span 1;
    grid-row: 2 / span 1;
}

.item-security {
    grid-column: 3 / span 1;
    grid-row: 2 / span 1;
}

.item-electrolysis {
    grid-column: 4 / span 1;
    grid-row: 2 / span 1;
}

/* 底部文字遮罩（和原图一致） */
.item-text {
    position: absolute;
    right: 0px;
    bottom: 0;
    width: 100%;
    padding: 12px;
    color: #fff;
    text-align: right; 
}

.item-text>div {
    font-size: 28px;
    font-weight: 400;
}
.ycboxbox{
    display: none;
    position: absolute;
    right: 0px;
    bottom: 0;
    width: 100%;
    height:100%;
    padding: 16px;
    color: #fff;
    text-align: right;
}
.ycboxbg{
    background-color: rgba(0, 83, 166, 0.6);
    width: 100%;
    height:100%;
    position: relative;
}
.ycbox{
    position: absolute;
    bottom: 0px;
    width:100%;
    text-align: left;
    padding:16px;
}
.ycbox>div {
    font-size: 28px;
    font-weight: 400;
    margin-bottom:20px;
}
.grid-item:hover{
    cursor: pointer;
}
.grid-item:hover .item-text{
    display: none;
}
.grid-item:hover .ycboxbox{
    display: block;
}

@media (max-width: 767px) { 

}
@media (max-width: 480px) { 
    .casebox{
        margin:24px 15px;
    }
    .grid-wrap{
        display:block;
    }


    .grid-item{
        position: relative;
        margin-bottom: 10px;
         width: 100%;
        aspect-ratio: 1 / 0.826;
    }
    /* 撑开高度：高度 = 宽度 * 82.6% */


    .ycbox>div{
        font-size:16px;
    }
    .ycbox p{
        font-size: 12px;
    }
    .grid-item.item-new-energy img{
        object-position: right;
    }
}

@media (max-width: 1680px) {
    .aboutbox{
        justify-content: space-between;
    }
    .service{
        min-height:680px;
    }
    .service .video{
        width: calc(100% - 960px);
        padding: 112px 102px 0px 120px;
    }
    .service .video h3{
        font-size: 42px;
    }
    .service .servicebox{
        width:960px;
    }
    .service .serviceitem{
        width:320px;
    }
    .service .serviceitem .icon{
        padding-top: 160px;
        padding-left: 32px;
    }
    .service .serviceitem .wz{
        padding:160px 24px 0px;
    }

    .adbox{
        padding-top:96px;
    }
    .adboxtit{
        font-size: 40px;
    }
    .adbox .adbox-left{
        width:48%;
    }
    .adbox .adbox-right{
        width:50%;
    }
    .adbox-left .adbox-left-line{
        left:31px;
    }
    .adbox-leftitem .num{
        width:64px;
        height:64px;
        line-height:56px;
    }
    .adbox-leftitem .content .tit{
        line-height:56px;
    }
    .adbox-leftitem .content{
        min-height:72px;
    }
}

@media (max-width: 1366px) {
    .aboutbox-left{
            width: calc(100% - 540px);
    }
    .aboutbox-num{
        width:480px;
        margin-left:12px;
    }
    .aboutbox-num .aboutnumitem{
        width:238px;
        padding-left: 36px;
    }
    .service{
        flex-wrap: wrap;
        background-size: auto;
    }
    .service .video{
        width:100%;
        padding-top:72px;
    }
    .service .video h3{
        text-align: center;
    }
    .service .video .videobox{
        text-align: center;
    }
    .service .servicebox{
        width:100%;
    }
    .service .serviceitem{
        width:33%;
        min-height:200px;
    }
    .service .serviceitem .icon{
        padding-top:32px;
        text-align: center;
    }
    .service .serviceitem .icon .tit{
        margin-top:12px;
    }
    .service .serviceitem .wz{
        padding-top: 32px;
    }


    .adbox-leftitem.act .content .con p{
        padding-left: 15px;
        text-indent: -15px;
    }
    .caseboxtit{
        font-size: 32px;
    }
    .caseboxtop .en{
        font-size: 64px;
        top:-38px;
    }

    .adbox{
        padding:64px 4%;
    }
    .adbox-leftitem .content{
        width:calc(100% - 72px);
    }
}

@media (max-width: 1024px) {
    .aboutbox{
        padding:0px 4%;
        margin:42px 0px 48px;
    }
    .aboutbox-left{
        width:50%;
    }
    .aboutbox-left .aboutcontent{
        padding-right:16px;
        font-size: 14px;
        line-height:28px;
    }
    .aboutbox-num{
        width:48%;
    }
    .aboutbox-num .aboutnumitem{
        width:calc((100% - 4px)/2);
    }
    .service .video{
        padding-top:48px;
    }
    .service .video h3{
        font-size:24px;
    }
    .service .video .videobox{
        margin-top: 24px;
    }
    .item-text>div{
        font-size: 18px;
    }
    .service .serviceitem .icon .tit{
        font-size: 24px;
    }
    .adboxtit{
        font-size: 32px;
        margin-bottom: 24px;
    }
}

@media (max-width: 768px) {
    .aboutbox{
        flex-wrap: wrap;
    }
    .aboutbox-left{
        width:100%;
    }
    .service .video .videobox{
        height: auto;
    }
    .aboutbox-num{
        width:100%;
        margin-top:12px;
    }
    .service .serviceitem .icon{
        padding-left: 0px;
    }
    .adbox .container{
        flex-wrap: wrap;
    }
    .adbox .adbox-left{
        width:100%;
    }
    .adbox .adbox-right{
        width:100%
    }

    .grid-wrap{
            grid-template-columns: repeat(2, 1fr);
    }

    .item-big {
        grid-column: 1 / span 1;
        grid-row: 1 / span 1;
    }


    .item-new-energy {
        grid-column: 2 / span 1;
        grid-row: 1 / span 1;
    }

    .item-battery {
        grid-column: 1 / span 1;
        grid-row: 2 / span 1;
    }


    .item-medical {
        grid-column: 2 / span 1;
        grid-row: 2 / span 1;
    }

    .item-security {
        grid-column: 1 / span 1;
        grid-row: 3 / span 1;
    }

    .item-electrolysis {
        grid-column: 2 / span 1;
        grid-row: 3 / span 1;
    }

    .service .video{
        padding:32px 0px 0px;
    }

    .service .serviceitem .wz{
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .banner{
        padding-top: 70px;
    }
    .aboutbox-num{
        margin-left: 0px;
    }
    .aboutbox-num .aboutnumitem:nth-child(1){
        width:100%;
    }
    .aboutbox-num .aboutnumitem:nth-child(2){
        display:none
    }
    .aboutbox-num .aboutnumitem {
        width: 50%;
    }
    .service .serviceitem{
        width:100%;
        height: auto;
        border-bottom: 1px solid #fff;
    }
    .service .servicebox {
        display: flex;
        flex-wrap: wrap;
    }

    .adbox {
        padding: 32px 2%;
    }
    .adboxtit{
        font-size: 24px;
        text-align: center;
    }
    .caseboxtop{
        padding-left: 0px;
    }
    .caseboxtit{
        font-size:24px;
        margin-bottom: 24px;
    }
    .caseboxtop .en{
        font-size: 48px;
        top:-24px;
        left:2%;
    }

    .service{
        background-size: cover;
    }
    .service .serviceitem{
        min-height:320px;
    }
    .service .serviceitem .icon{
        padding-top: 100px;
    }
    .adbox-leftitem .content .tit{
        margin-top: 10px;
        line-height:32px;
    }
    .adbox-leftitem.act .content .tit{
        line-height: 32px;
        margin-top: 16px;
    }
}