.contact-section {
    margin-top: 70px;
    width: 100%;
    padding: 40px 0 5px 0;
    position: relative;
    overflow: hidden; /* 确保伪元素不会溢出 */
}

/* 使用 ::before 伪元素来设置背景图 */
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%; /* 背景图仅占据上半部分 */
    background-image: url('../../static/new_img/首页/背景2.jpg'); /* 替换为实际背景图片路径 */
    background-size: 100% auto; /* 宽度100%，高度自动调整 */
    background-position: center; /* 图片居中显示 */
    background-repeat: no-repeat; /* 防止图片重复 */

    z-index: -1; /* 确保背景图在所有内容之下 */
}

.contact-wrapper {
    /* max-width: 1200px; */
    margin: 0 auto;
    /* padding: 0 20px; */
    
   
}

.contact-description {
    font-size: 1.2em;
    color: white;
    text-align: center;
    margin-bottom: 20px;
}

.contact-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: white;
}

.contact-label {
    display: block;
    width: 120px;
    font-size: 1.5em;
    text-align: center;
    margin-left: calc(50% - 60px);
    margin-bottom: 100px;
    color: white;
    border: 2px solid white;
    border-radius: 10px;
    
}

.box-container-four {
    position: relative;
    width: 100%;
    padding-bottom: 20px;
    margin-bottom: 40px;
    text-align: center;
}

.box-content-four {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.horizontal-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #007bff;
    z-index: 1;
}

.text-center {
    position: relative;
    background-color: #f8f9fa;
    padding: 0 20px;
    z-index: 2;
}

.service-name {
    font-size: 1.8em;
    display: block;
}

.service-name-en {
    font-size: 1.2em;
    display: block;
}

.box-container-five {
    position: relative;
    width: 70%;
    padding-bottom: 20px;
    /* border: 2px solid #007bff; */
    background-color: white;
    margin: 0 auto;
    border-radius: 27px;
}

.carousel-container-five {
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 27px 27px 0px 0px;
    /* background-color: black; */
    
}
.additional-content-box {
    margin-bottom: 45px; /* 调整上下间距 */
    padding: 15px;
    background-color: #fff; /* 白色背景 */
    text-align: center; /* 文本居中 */
    height: 500px;

}
.grid-container-five {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-gap: 30px; /* 调整项目之间的间距 */
    padding: 10px;
    height: 100%;
    box-sizing: border-box;
    margin-top: 20px;
    align-items: center;
}

.grid-item-five {
    text-align: center;

}

.grid-item-five img {
    margin-bottom: 5px; /* 图片与文字之间的间距 */

}
.carousel-track-container-five{
    background-color: black;
    

}
.carousel-track {
    display: flex;
    animation: scroll-left infinite linear;
    white-space: nowrap;
    color: white;
    height: 35px;
    
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.carousel-slide {
    min-width: 20%;
    /* padding: 10px; */
    box-sizing: border-box;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.more-tools-label {
    display: block;
    text-align: center;
}
.more-tools-label button{
    font-size: 1em;
    font-weight: bold;
    padding: 3px 20px;
    border: 3px solid black;
    background-color: white;
    border-radius: 10px;

}
.new-h1 {
    text-align: center;
    background-color: inherit;
    color: black;
    margin-top: 150px;
    /*border: 2px solid #007bff;*/
}