html {
    background-color: #FFFFFF;
}

.box1 {
    background-image: url(../img/b60205a4-4b15-4233-99ef-967938c35328.jpg);
    height: 53vh;
    background-repeat: no-repeat;
    /* 禁止重复 */
    background-size: cover;
    /* 等比铺满，超出裁剪 */
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.box1::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
}

.box1 h2 {
    color: #ffffff;
    font-size: 44px;
    font-weight: 700;
    z-index: 10;
}

.box1 p {
    color: #ffffff;
    font-size: 22px;
    font-weight: 400;
    margin-top: 9px;
    z-index: 10;
}

.box2 {
    height: 66px;
    background-color: #ffffff;
    line-height: 66px;
    border-bottom: 1px solid #e5e5e5;
}

.box2 .m {
    display: flex;
}

.box2 .m div:nth-child(2) a {
    display: inline-block;
    min-width: 229px;
    font-size: 15px;
    padding: 0px 25px;
}

.box2 .m div:nth-child(2) a:nth-child(1) {
    display: inline-block;
    min-width: 229px;
    background-color: #005bac;
    color: #ffffff;
}

.box2 .m>div {
    width: 230px;
    display: flex;
    align-items: center;
}

.box2 .m>div a {
    color: #6c757d;
    font-size: 15px;
    font-weight: 400;
    display: inline-block;
    padding: 0px 8px;
}

.box2 .m .nav a {
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
}

.box2 .m>div p {
    color: rgb(51, 51, 51);
    font-size: 15px;
    font-weight: 400;
}

.box3 {
    padding: 50px;
}

.box3 .m ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
}

.box3 .m ul li {
    width: calc((100% - 60px) / 4);
    padding: 10px;
    background-color: #ffffff;
    border-radius: 10px;
    /* margin-bottom: 30px; */
}

.box3 .m ul li h2 {
    font-size: 16px;
    font-weight: 400;
    margin-top: 10px;
    text-align: center;
    margin-top: 20px;
    color: #333;
}

.box3 .m ul li img {
    padding: 15px;
    width: 100%;
    height: 280px;
    border-radius: 10px;
    /* border: 1px solid #e5e5e5; */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    object-fit: cover;

}

.btn5 {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 80px;
}

.btn5 div {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 5px;
    border: 1px solid #999999;
}

.btn5 div:nth-child(2) {
    color: #ffffff;
    background-color: #005bac;
    border: 1px solid #005bac;
}

/* 图片放大模态框 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.image-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: #005bac;
    text-decoration: none;
    cursor: pointer;
}

/* 图片可点击样式 */
.box3 .m ul li img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.box3 .m ul li img:hover {
    transform: scale(1.02);
}

@media screen and (max-width: 768px) {
    .box1 {
        height: 30vh;
    }

    .box2 .m>div:nth-child(1) {
        display: none;
    }

    .box2 {
        height: auto;
    }

    .box2 .m {
        margin: 0px;
    }

    .box2 .m .nav {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }

    .box2 .m div:nth-child(2) a {
        display: inline-block;
        box-sizing: border-box;
        min-width: 119px;
        font-size: 14px;
        padding: 0px 15px;
        text-align: center;
        border: 1px solid #e5e5e5;
    }

    .box2 .m>div {
        width: 100%;
        display: flex;
        align-items: center;
    }

    .box2 .m div:nth-child(2) a:nth-child(1) {
        display: inline-block;
        box-sizing: border-box;
        min-width: 119px;
        background-color: #005bac;
        color: #ffffff;
    }

    .box3 {
        padding: 20px 0px;
    }

    .box3 .m ul {
        display: flex;
        flex-wrap: wrap;
        gap: 17px;
    }

    .box3 .m ul li {
        width: 100%;
        padding: 10px;
        border: 1px solid #e5e5e5;
        background-color: #ffffff;
        border-radius: 10px;
        margin-bottom: 30px;
    }
}