body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* 轮播图样式 */
.carousel {
    position: relative;
    height: 600px;
    overflow: hidden;
    background-color: #1D3B61;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    width: 100%;
}

.carousel-item {
    flex: 0 0 100%;
    /* 确保每个项占据完整宽度 */
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    /* background-image: url('../images/home/swiper.png'); */
    background-size: 50% 50%;
    background-position: right 90px bottom 200px;
    background-repeat: no-repeat;
    padding: 0 7%;
    box-sizing: border-box;
}

/* .item-mid {
    width: 100%;
    height: 200px;
}

.carousel-item .item-mid img {
    width: 65%;
    position: relative;
    bottom: 100%;
    left: 35%;
} */

.item-top {
    display: flex;
    flex-direction: column;
    color: white;
}

.item-top h1 {
    margin: 0;
    font-size: 3.8em;
}

.item-top h1 span {
    color: #F55022;
}

.item-top h4 {
    margin: 0;
    font-size: 2.6em;
}

.item-top h4 span {
    color: #F55022;
    margin-right: 20px;
}

.item-top img {
    width: 20%;
}

.item-bot {
    color: white;
    font-size: 1.2em;
}

.item-bot span {
    font-weight: 700;
}

.item-bot img {
    width: 15%;
}

.carousel-indicators {
    position: absolute;
    bottom: 25%;
    left: 21%;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background-color: white;
}

@media (max-width: 768px) {
    .carousel {
        height: 320px;
    }

    .carousel-item {
        height: 320px;
        background-size: 60% 50%;
        /* 调整背景图尺寸以适应小屏幕 */
        padding: 0 5%;
        background-position: right;
    }

    .item-top h1 {
        font-size: 1.8em;
    }

    .item-top h4 {
        font-size: 0.1em;
    }

    .item-top h4 span {
        margin-right: 10px;
    }

    .item-mid {
        height: 40px;
    }

    .item-bot {
        font-size: 4px;
    }

    .carousel-indicators {
        bottom: 10px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }
}

/* 轮播图下方样式 */
.products {
    height: 400px;
    padding-left: 7%;
    padding-top: 6%;
    background-color: #EEEEEE;
    background-image: url('../images/home/11.png');
    background-position: right;
    background-size: 60% 90%;
    background-repeat: no-repeat;
}

.products img {
    width: 15%;
    margin-bottom: 40px;
}

.products .text {
    display: flex;
}

.products .text img {
    width: 0.8%;
    margin-right: 20px;
}

.text-bot {
    display: flex;
    flex-direction: column;
    color: #1C385D;
}

.text-bot img {
    width: 35% !important;
}

.text-bot h1 {
    margin: 0;
}

.text-bot p {
    margin: 0;
    font-size: 1.5em;
}

@media (max-width: 768px) {
    .products {
        height: 180px;
        background-size: 50% 80%;
    }

    .products img {
        margin-bottom: 8px;
        margin-top: 10px;
    }

    .products .text img {
        width: 1%;
        margin-right: 10px;
    }

    .text-bot img {
        width: 40% !important;
    }

    .text-bot h1 {
        font-size: 15px;
    }

    .text-bot p {
        font-size: 8px;
    }
}

/* 底部样式 */
.footer {
    background-color: #1D3B61;
    color: white;
}

.footer .cont {
    width: 80%;
    margin: 0 auto;
    padding: 4% 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 20px;
}

.cont-top {
    font-weight: 700;
}

.cont-mid {
    font-weight: 700;
}

.cont-mid p {
    margin: 30px 0;
}

.footer .cont-right {
    display: flex;
    align-items: center;
}

.footer .cont-right img {
    width: 8%;
    margin-right: 20px;
}

.footer a{
    text-decoration: none;
    color: inherit;
}

.box {
    height: 180px;
    border: 1px solid white;
}

@media (max-width: 768px) {
    .footer {
        height: 380px;
        font-size: 10px !important;
    }

    .cont {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .box {
        height: 1px;
        width: 100%;
        border-bottom: none;
        margin: 12px 0;
    }

    .cont-top {
        font-size: 15px;
    }

    .cont-mid {
        display: flex;
        flex-direction: column;
    }

    .cont-mid p {
        font-size: 15px;
        margin: 12px 0;
        display: inline-block;
    }

    .footer .cont-right p {
        font-size: 12px;
    }
}