body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    font-family: Arial, sans-serif;

}
* {
    box-sizing: border-box;
}
.img1-max{
    width:100%;
    display: flex;
    height: 500px;
    background: url('../img/lunbo02.png');
    /* 确保背景图覆盖整个div */
    background-size: 100% auto; /* 确保宽度铺满，高度不变 */
    background-position: center;
    background-repeat: no-repeat; /* 防止背景图重复 */
    /* 如果渐变效果遮挡了图片，可以尝试降低渐变透明度 */
    background-blend-mode: overlay; /* 调整混合模式以获得更好的视觉效果 */

}
.img1-left{
    width: 50%;
    margin-left: 20%;
    /* margin-top: 40px; */
}
.img1-title{
    font-size: 35px;
    font-weight: bold;
    margin-top: 100px;
}
.img1-content{
    color: white;
    font-size: 30px;
    margin-top: 10px;
}
.img1-right{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.img1-div1, .img1-div2 {
    width: 400px;
    height: 400px;
    position: absolute; /* 使元素脱离文档流，可以相对于最近的已定位祖先元素进行定位 */
}
.img1-div1{
    z-index: 1; /* 设置堆叠顺序，数值大的在上层 */
}
.img1-div2{
    z-index: 3; /* 设置堆叠顺序，数值大的在上层 */
}
.img1-div3{
    z-index: 2; /* 设置堆叠顺序，数值大的在上层 */
    transform: translate(2%, 10%);

}
.carousel-item-img{
    width: 300px;
    height: 300px;
}
.carousel-item-img-animation1 {
    animation-name: bounce;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}
.img2-max{
    width:100%;
    display: flex;
    height: 500px;
    background: url('../img/lunbo02.png');
    /* 确保背景图覆盖整个div */
    background-size: 100% auto; /* 确保宽度铺满，高度不变 */
    background-position: center;
    background-repeat: no-repeat; /* 防止背景图重复 */
    /* 如果渐变效果遮挡了图片，可以尝试降低渐变透明度 */
    background-blend-mode: overlay; /* 调整混合模式以获得更好的视觉效果 */
}
.img2-div1{
    width: 50%;
    margin-left: 20%;
}
.img2-div2{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.img2-title{
    font-size: 40px;
    color: blue;
    margin-top: 100px;
}
.img2-content1{
    font-size:12px;
    color:white;
}
.img2-content2{
    font-size: 40px;
    color:white;
    margin-top: 20px;
}


.img3-max{
    width:100%;

    display: flex;
    height: 500px;
    background: linear-gradient(rgba(0, 85, 255, 0.5), rgba(255, 255, 255, 0.5)), url('../img/lunbo05.png');
    /* 确保背景图覆盖整个div */
    background-size: 100% auto; /* 确保宽度铺满，高度不变 */
    background-position: center;
    background-repeat: no-repeat; /* 防止背景图重复 */
    /* 如果渐变效果遮挡了图片，可以尝试降低渐变透明度 */
    background-blend-mode: overlay; /* 调整混合模式以获得更好的视觉效果 */
}
.img3-div1{
    width: 50%;
    margin-left: 20%;
}
.img3-div2{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.img3-title{
    font-size: 35px;
    font-weight: bold;
    margin-top: 100px;
}
.img3-content{
    color: white;
    font-size: 30px;
    margin-top: 10px;
}

.img4-max{
    width:100%;
    display: flex;
    height: 500px;
    background: url('../img/bj06.png');
    /* 确保背景图覆盖整个div */
    background-size: 100% auto; /* 确保宽度铺满，高度不变 */
    background-position: center;
    background-repeat: no-repeat; /* 防止背景图重复 */
    /* 如果渐变效果遮挡了图片，可以尝试降低渐变透明度 */
    background-blend-mode: overlay; /* 调整混合模式以获得更好的视觉效果 */

}
.img4-div1{
    width: 50%;
    margin-left: 20%;
}
.img4-title{
    font-size: 35px;
    font-weight: bold;
    margin-top: 100px;
}
.img4-content{
    color: black;
    font-size: 30px;
    margin-top: 10px;
}


.middleCss{
    width: 100%;
    padding-top: 50px;
}
.middleTitle{
    width: 100%;
    font-size: 36px;
    font-weight: 500;
    text-align: center;
    letter-spacing:2px;
    color: #333;
}
.middleContent{
    width: 80%;
    margin-left: 10%;
    margin-top: 50px;
}
.container-a{
    display: flex;
    height: 500px;
}
.nav-container {
    width: 25%;
    padding: 20px;
}

.nav-list {
    list-style-type: none;
    padding: 0;
}
.nav-list li {
    margin-bottom: 10px;
    transition: all 0.3s ease; /* 添加平滑过渡效果 */
}
.nav-list li:hover {
    background-color: #f0f0f0; /* 改变背景颜色 */
    transform: scale(1.05); /* 稍微放大 */
}
.nav-list li a {
    color: inherit; /* 继承父级颜色 */
    text-decoration: none; /* 移除默认下划线 */
    transition: color 0.3s ease, text-decoration 0.3s ease; /* 添加颜色和下划线变化的过渡效果 */
}

.nav-list li:hover a {
    color: #007BFF; /* 改变链接颜色 */
    /* text-decoration: underline; /* 添加下划线 */
}
.nav-list a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.nav-list a:hover {
    background-color: #ddd;
}
.nav-list li a::after {
    content: ">";
    margin-left: 5px; /* 根据需要调整间距 */
    opacity: 0; /* 初始状态下隐藏箭头 */
    transition: opacity 0.3s ease;
}

.nav-list li:hover a::after {
    opacity: 1; /* 鼠标悬停时显示箭头 */
}

/* 定义默认样式 */
.card-box {
    width: 40%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 54px;
    transition: all 0.3s ease; /* 平滑过渡效果 */
    border: 1px solid #e9e9e9; /* 默认透明边框 */
    background-color: #F8F9FB;
    float: left;
    margin-right: 32px;

}

/* 悬停时的效果 */
.card-box:hover {
    background-color: #fff; /* 改变背景颜色 */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); /* 增强阴影效果 */
    border-color: #007BFF; /* 改变边框颜色 */
    transform: scale(1.02); /* 轻微放大 */
    animation: fadeIn 0.6s forwards;
    border-radius: 25px;
}
@keyframes fadeIn {
    from { opacity: 1; }
    to { opacity: 0.9; }
}
.card-box-header {
    text-align: center;
    font-size: 22px;
}
.card-box-content {
    font-size: 14px;
    color: #4b5a79;
    text-align: justify;
    height: 220px;
    line-height: 24px;
}
.content-container {
    width: 75%;
    padding: 20px;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
    position: relative; /* 确保子元素可以相对于此容器定位 */
}
.content-item-a{
    display: none;
    opacity: 0;
    transform: translateY(100%); /* 初始状态位于容器下方 */
    transition: all 0.5s ease-in-out;
}
.content-item-a.active {
    display: block;
    opacity: 1;
    transform: translateY(0); /* 移动到正常位置 */
}
/* 定义动画的关键帧 */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 使用动画 */
.slide-up.active {
    animation: slideUp 0.5s ease-in-out forwards;
}

.two-color-container {
    width: 100%;
    height: auto; /* 总高度 = 30px + 80px */
    background: linear-gradient(to bottom left,
    #036AEC 55%, /* 左上角的颜色 */
    #fff 30% /* 右下角的颜色 */
    );
}
.middle2Title{
    width: 100%;
    font-size: 50px;
    font-weight: bold;
    text-align: center;
    color: white;
    font-style: italic;
    padding-top: 20px;
}
.middle2Title2{
    width: 100%;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    padding-top: 50px;
    letter-spacing:1px
}
.why-div{
    width: 70%;
    height: 800px;
    background-color: white;
    box-shadow: 10px 10px 15px 5px rgba(0, 0, 0, 0.3);/* 外部阴影 */
    margin: 50px auto; /* 让 div 在页面水平居中 */
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.menu-bar {
    display: flex;
    justify-content: center;
    padding: 10px;
    text-align: center;
    background-color: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.menu-bar a {
    margin: 0 10px;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    border: none;
}

.menu-bar a:hover {
    background-color: #007bff;
    color: white;
}

.content {
    margin-top: 60px; /* 调整以适应菜单栏的高度 */
    overflow-y: auto;
    padding: 20px;
    height: 500px;
}
.text-section{
    width:  49%;
    float: left;
    display: grid;
    align-items: center;
    box-sizing: border-box;
    height: 200px;
    padding: 20px;
}
.text-line{
    width: 1%;
    height: 300px;
    float: left;
    border-left: 2px solid #afafaf;
}
.img1-button-div{
    margin-top: 70px;
}
.img1-button1{
    margin-left:40%
}
.img1Css{
    width: 400px;
    height: 400px;
}
.img2-button{
    width: 50%;
    margin-top: 50px
}
.img3-button1{
    margin-top: 70px;
}
.img3-button2{
    margin-left:40%
}
.img4-button-div{
    margin-top: 50px;
    display: flex;
}
.img4-button1{
    margin-right: 20px;
    height: 40px;
    text-align: center;
}
.img4-button-div1{
    font-size:20px;
    width: 100px;
}
.img4-button2{
    margin-top: 70px;
}
.img4-button3{
    margin-left:40%
}

.section-box{
    width: 100%;
    height: 300px;
}
.section1-div{
    width: 49%;
    float: left;
    text-align: center;
}
.section1-img{
    width: 400px;
}

.section2-div{
    width: 49%;
    float: left;
    text-align: center;
}
.section2-img{
    width: 400px;
    margin-top: -58px;
}
.section3-div{
    width: 49%;
    float: left;
    text-align: center;
}
.section3-img{
    width: 400px;
    height: 300px;
}
.section4-div{
    width: 49%;
    float: left;
    text-align: center;
}
.section4-img{
    width: 400px;
}
.section5-div{
    width: 49%;
    float: left;
    text-align: center;
}
.section5-img{
    width: 400px;
    height: 300px;
}
.section6-img{
    width: 400px;
    margin-top: -58px;
}
.section6-div{
    width: 49%;
    float: left;
    text-align: center;
}
/* 媒体查询：针对手机端 */
@media (max-width: 768px) {
    .img1-max{
        height: 200px;
    }
    .img1-title{
        font-size: 25px;
        margin-top: 10px;
    }
    .img1-content{
        font-size: 16px;
    }
    .img1-button-div{
        margin-top: 0;
    }
    .img1-button-div > button{
        --bs-btn-padding-y: .25rem;
        --bs-btn-padding-x: .5rem;
        --bs-btn-font-size: .75rem;
    }
    .img1-button1{
        margin-left:0;
    }
    .img1Css{
        width: 100px;
        height: 100px;
    }
    .img1-div1, .img1-div2{
        display: none;
    }
    .img2-max{
        height: 200px;
    }
    .img2-title{
        font-size: 20px;
        margin-top: 50px;
    }
    .img2-content2{
        font-size: 20px;
        margin-top: 0;
    }
    .img2-button{
        margin-top: 0;
        width: 72%;
    }
    .img2-button > button{
        --bs-btn-padding-y: .25rem;
        --bs-btn-padding-x: .5rem;
        --bs-btn-font-size: .75rem;
    }
    .img3-max{
        height: 200px;
    }
.img3-title{
    font-size: 20px;
    margin-top: 50px;
}
.img3-content{
    font-size: 15px;
}
    .img4-max{
        height: 200px;
    }
.img4-title{
    font-size: 20px;
    margin-top: 0;
}
.img4-content{
    font-size: 15px;
}
.img4-button-div{
    margin-top: 10px;
}
    .img4-button-div > button{
        --bs-btn-padding-y: .25rem;
        --bs-btn-padding-x: .5rem;
        --bs-btn-font-size: .75rem;
    }
.img4-button1 {
    font-size: 12px;
}
    .img4-button-div1{
        font-size: 12px;
    }

    .img4-button2{
        margin-top: 0;
    }
    .img4-button2 > button{
        --bs-btn-padding-y: .25rem;
        --bs-btn-padding-x: .5rem;
        --bs-btn-font-size: .75rem;
    }
    .img4-button3{
        margin-left:10%
    }
    .middleTitle{
        font-size: 20px;
    }
    .middleContent{
        width: 100%;
        margin-left: 0;
    }
    .container-a {
        flex-direction: column;
        height: auto;
    }
    .nav-container{
        width: 100%;
        padding: 10px;
    }
    .nav-list {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .nav-list li {
        margin-bottom: 0;
        margin-right: 10px;
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .nav-list a {
        border-bottom: none;
    }

    .content-container {
        width: 100%;
        padding: 10px;
    }

    .card-box {
        width: 100%;
        float: none;
        margin-right: 0;
        margin-bottom: 20px;
    }
    .middle2Title{
        font-size: 35px;
    }
    .menu-bar {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 10px;
        justify-content:space-between;

    }

    .menu-bar a {
        margin: 0 5px;
        padding: 5px 10px;
        white-space: nowrap;
    }

    .why-div {
        width: 90%;
        height: auto;
        margin: 20px auto;
        padding: 10px;
    }

    .content {
        height: 800px;
        padding: 10px;
        overflow-y:auto;
    }

    .content section {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }

    .content section > div {
        width: 100% !important;
        float: none !important;
        text-align: center;
        height: auto;
    }

    .text-section {
        width: 100% !important;
        padding: 10px;
        height: auto;
    }

    .text-line {
        display: none;
    }

    .content section img {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }
    .section1-div{
        width: 100%;
    }
    .section2-div{
        width: 100%;
    }
    .section2-img{
        width: 400px;
        /*margin-top: -58px;*/
    }
    .section3-div{
        width: 100%;
    }
    .section3-img{
        width: 100%;
    }
    .section4-div{
        width: 100%;
    }
    .section5-div{
        width: 100%;
    }
    .section5-img{
        width: 100%;
    }
    .section6-img{
        width: 100%;
    }
    .section6-div{
        width: 100%;
    }

}
