h2 {
    margin-bottom: 40px;
}

/* 轮播 */
.carousel-box {
    margin: 0 auto;
    position: relative;
}

.carousel {
    overflow: hidden;
    position: relative;
}

.carousel ul {
    margin: 0;
    display: flex;
    transition: transform 0.5s;
}

.carousel-img li {
    flex: 0 0 100%;
    height: 100%;
}

.carousel img {
    width: 100%;
    height: 772px;
    object-fit: cover;
    /* 确保图片不会变形 */
}

.carousel-btn {
    width: 100%;
    display: flex;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    position: absolute;
    top: 40%;
}

.carousel-btn button {
    padding: 8px 16px;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

/* 产品类型 */
.home_show {
    width: 100px;
    height: 35px;
    margin: 30px auto;
    font-size: 25px;
    font-weight: bold;
    border-bottom: 2px solid rgb(242, 207, 86);
}

.home_show_p {
    width: 1100px;
    margin: 80px auto 150px;
    display: flex;
    justify-content: center;
}

.home_product {
    width: 1100px;
    height: 300px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.home_type {
    width: 205px;
    height: 205px;
    line-height: 205px;
    text-align: center;
    font-size: 25px;
    color: aliceblue;
    letter-spacing: 5px;
    margin: auto 0;
    background-image: url(../images/p1.png);
}

.home_card_box {
    width: 1000px;
    margin: auto 0;
}

.home_card {
    width: 300px;
    height: 100px;
    line-height: 100px;
    margin-bottom: 5px;
    float: left;
    border: 1px #ece6e69d solid;
    box-shadow: 0 0 2px 1px rgba(124, 121, 121, 0.5);
    margin: auto;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    word-wrap: unset;
    color: rgba(0, 0, 0, 0.829);
}

.home_card>img {
    width: 40px;
    margin-bottom: 8px;
    vertical-align: middle;
}

.home_about {
    width: 1026px;
    height: 587px;
    margin: 100px auto;
    background-image: url(../images/brief.png);
}

.home_about_title {
    text-align: center;
    padding-top: 80px;
    height: 80px;
    font-size: 28px;
}

.home_about_text {
    width: 900px;
    padding-left: 120px;
    font-size: 20px;
    padding-top: 45px;
}


.bottom_mask {
    width: 100%;
}

.bottom_text {
    margin: 0 auto;
    width: 1980px;
    text-align: center;
    position: relative;
}

.bottom_text>img {
    width: 150px;
}

.about_6box {
    height: 250px;
    background-color: rgb(0, 0, 0);
    color: white;
    text-align: center;
    padding-top: 60px;
    font-weight: bolder;
    position: relative;
}

.about_6box>p:first-child {
    font-size: 20px;
}

.about_6box>p:last-child {
    margin-top: 10px;
    font-size: 36px;
}

.about_6box>img {
    position: absolute;
    right: 400px;
    top: 25px;
    width: 150px;
}

.about_5box {
    position: absolute;
    top: 200px;
    left: 255px;
    width: 1470px;
    display: flex;
    justify-content: space-between;
}

.about_5box>img {
    display: block;
    width: 250px;
    border-radius: 25px;
}

.about_4box {
    margin: 170px auto;
    width: 1550px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

}

.about_4box>li {
    list-style: none;
    width: 330px;
    height: 40px;
    line-height: 40px;

}

.card-v .industry {
    position: relative;
}

.card-v .industry .image-container {
    padding-top: 100%;
}

.card-v .industry .card-info {
    position: absolute;
    width: 100%;
    top: 85%;
    transform: translateY(-50%);
    margin: 0;
}

.card-v .industry .card-info .title {
    margin: 0;
    padding: 16px 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: center;
}

/* 新闻板块 */
.news-box {
    display: flex;
    flex-direction: row;
}

.news-box span {
    flex: 1;
    font-size: 13px;
    margin-top: 8px;
    color: #787878;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.news-box span.time {
    display: flex;
    flex: 1;
    font-size: 12px;
    color: #A7A7A7;
    margin-top: 8px;
}

.news-left {
    width: 500px;
    margin-right: 32px;
}

.news-box .news-left .image-container {
    overflow: hidden;
    margin-bottom: 16px;
    border-radius: 25px;

}

.news-box .news-left .image-container .large-img {
    width: 100%;
    transition: transform 0.5s ease;
    /* 定义变换动画 */
    transform: scale(1);
}

.news-box .news-left .image-container:hover img {
    transform: scale(1.05);
}

.news-box .news-left a {
    font-size: 24px;
    color: #262626;
}

.news-right {
    flex: 1;
}

.news-card {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

/* 1.盒子的大小，背景色，居中和超出隐藏 */
.news-card div {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.news-card div img {
    width: 120px;
}

.news-card div a {
    display: flex;
    flex: 1;
    font-size: 18px;
    font-family: "Microsoft YaHei", "微软雅黑";
    color: #262626;
}

.news-box a:hover {
    color: #4d7fd0;
}

.banner {
    flex: 1;
    display: flex;
    position: relative;
    background: url('../images/banner2.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 56px 0;
}

.banner::after {
    content: '';
    /* 伪元素内容为空 */
    position: absolute;
    /* 绝对定位 */
    top: 0;
    /* 顶部对齐 */
    left: 0;
    /* 左侧对齐 */
    width: 100%;
    /* 覆盖整个容器宽度 */
    height: 100%;
    /* 覆盖整个容器高度 */
    background-color: rgba(0, 0, 0, 0.5);
    /* 半透明黑色叠加层，调整最后一个值来控制透明度 */
    z-index: 1;
    /* 确保伪元素叠加在背景图之上 */
}

.banner-title {
    color: #fff;
    font-size: 42px;
    text-align: center;
    position: relative;
    z-index: 999;
}

.banner-title::after {
    content: '';
    border-bottom: 1px #fff solid;
    width: 20%;
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 999;
}

.banner-sub {
    color: #fff;
    font-size: 1.2em;
    line-height: 1.8em;
    text-align: left;
    margin: 4em 0 3em 0;
    z-index: 999;
}

.banner-info {
    color: #fff;
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    font-size: 2em;
    font-weight: bold;
    z-index: 999;
}

.banner-info .column {
    text-align: center;
    z-index: 999;
}

.banner-info .column p {
    color: #fff;
    font-size: 0.7em;
    font-weight: 500;
    margin-top: 0.3em;
}

.banner-info .column .number {
    color: #fff;
    font-size: 2.5em;
    font-weight: bold;
    overflow: hidden;
}

.card-h img {
    width: 400px;
}

.service-list {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.service-list .item {
    text-align: center;
}

.service-list .title {
    font-size: 24px;
    line-height: 36px;
    color: rgba(0, 0, 0, .85);
    margin: 16px 0;
    font-weight: 500;
}

.service-list a {
    font-size: 16px;
    color: rgba(0, 0, 0, .85);
}

.service-list a:hover {
    text-decoration: underline;
}

.service-list .text::after {
    content: " >";
}

/* 解决方案 */
.solution-box {
    width: 1230px;
    margin: 40px auto 0;

}

.solution-card>li {
    position: relative;
    margin: 10px 0 20px 70px;
}

.solution-card>li img {
    width: 300px;
}

.solution-card>li span {
    position: absolute;
    width: 700px;
    line-height: 30px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    top: 40px;
    right: 80px;
}

.services_details {
    border-radius: 3px;
    color: #787878;
    width: 100px;
    height: 30px;
    position: absolute;
    bottom: 10px;
    background-color: #fff;
    border: 1px solid #dddddd;
}

/* 专业知识 */
.expertise-mask {
    width: 100%;
    background-color: #f7f7f7;
    padding: 40px 0;
}

.expertise-box {
    width: 1230px;
    margin: 0 auto;
    padding-bottom: 30px;
}

.expertise-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;

}

.expertise-card>li {
    padding: 20px 0;
    text-align: center;
    width: 360px;
    border: .5px solid gainsboro;
    margin-bottom: 40px;
}

.expertise-card>li>img {
    width: 300px;

}

.expertise-card>li>p {
    margin: 10px auto 0;
    width: 300px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.customer-list {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 24px;
    align-content: start;

}

.customer-list li {}

.customer-list li img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 0 12px #d6d6d6;
}

/* 响应式布局 */
@media (max-width: 768px) {
    h2 {
        font-size: 7vw;
    }

    .container {
        padding: 0 24px;
    }

    .news-left {
        display: none;
    }

    .banner {}

    .banner::after {
        content: '';
        /* 伪元素内容为空 */
        position: absolute;
        /* 绝对定位 */
        top: 0;
        /* 顶部对齐 */
        left: 0;
        /* 左侧对齐 */
        width: 100%;
        /* 覆盖整个容器宽度 */
        height: 100%;
        /* 覆盖整个容器高度 */
        background-color: rgba(0, 0, 0, 0.5);
        /* 半透明黑色叠加层，调整最后一个值来控制透明度 */
        z-index: 1;
        /* 确保伪元素叠加在背景图之上 */
    }

    .banner-title {
        font-size: 8vw;
        white-space: nowrap;
    }

    .banner-info {
        flex-direction: row;
        justify-content: space-around;
    }


    .banner-info .column .number {
        font-size: 10vw;
    }

    .banner-sub {
        text-indent: 2em;
    }

    .carousel img {
        height: 40vh;
    }

    .card-v-box {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        align-content: start;
    }

    .card-h {
        width: 100%;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        border: 1px solid #e4e4e4;
        /*margin-bottom: 24px;*/
        background-color: #fff;
        border-radius: 5px;
        overflow: hidden;
    }

    .card-h .image-container {
        width: 100%;
        height: 0;
        padding-top: 62.5%;
        overflow: hidden;
    }

    .card-h img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


    .card-h .card-info {
        display: flex;
        flex: 1;
        flex-direction: column;
        margin: 26px 10px 26px 10px;
    }

    .card-h .card-info .title {
        color: #4e4e4e;
        font-size: 18px;
        margin-bottom: 16px;
    }

    .card-h .card-info .sub {
        color: #787777;
        font-size: 14px;
        margin-bottom: 16px;
        word-wrap: break-word;
    }

    .card-h .card-info .other {
        margin-top: auto;
        color: #787777;
        font-size: 14px;
    }
}