html {
    background-color: #FFFFFF;
}

.box1 {
    background-image: url(../img/3e6273bd-caad-466d-b40b-322b08d08ec9.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;
    width: 229px;
    background-color: #005bac;
    color: #ffffff;
} */

.box2 .m div:nth-child(2) a:nth-child(3) {
    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: 90px 0px;
}

.box3-content {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.box3-item {
    width: calc((100% - 40px) / 3);
    padding: 25px;
    border: 1px solid #dddddd;
    border-radius: 5px;
}

.box3-item img {
    width: 100%;
    height: 310px;
    object-fit: cover;
    object-position: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box3-item img:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* ========== 图片放大模态框 ========== */
.image-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

.image-modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    user-select: none;
    z-index: 2;
}

.close-modal:hover {
    color: #005bac;
    transform: rotate(90deg);
}

@media screen and (max-width: 768px) {
    .box1 {
        height: 30vh;
    }

    .box2 .m>div:nth-child(1) {
        display: none;
    }

    .box2 {
        height: auto;
    }

    .box2 .m {
        margin: 0;
    }

    .box2 .m .nav {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    .box3-item {
        width: 100%;
    }

    .close-modal {
        top: 15px;
        right: 20px;
        font-size: 38px;
    }

    .box2 .m div:nth-child(2) a {
        display: inline-block;
        min-width: calc(100% / 3);
        font-size: 15px;
        padding: 0px 25px;
    }

    .box2 .m div:nth-child(2) a:nth-child(3) {
        display: inline-block;
        min-width: calc(100% / 3);
        background-color: #005bac;
        color: #ffffff;
    }
}