.WeChat {
    display: none;
    flex-direction: row;
    position: absolute;
}

.WeChat-btn {
    width: 100px;
    display: flex;
    justify-content: space-between;
    top: -27px;
    left: 190px;
    position: absolute;
    padding: 0 10px;
    background: #07C160;
    border-radius: 15px 15px 15px 0;
    color: #FFFFFF;
    font-size: 14px;
    align-items: center;
}

.WeChat-btn p {
    width: 65px
}

.WeChat-btn:hover {
    background-color: #06ad56;
}

.WeChat-btn:hover + .WeChat-QR,
.WeChat-btn:hover ~ .WeChat-QR {
    display: block;
}

.WeChat-QR {
    top: -40px;
    left: 190px;
    position: absolute;
    display: none;
    transform: translateX(70%);
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    padding: 8px;
    background: white;
}

/* 箭头效果 */
.WeChat-QR::before {
    content: "";
    position: absolute;
    top: 12px;
    left: -6%;
    transform: translateX(-50%);
    border-width: 10px 10px 10px;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
}

.WeChat-QR img {
    display: block;
    width: 150px; /* 二维码尺寸 */
    height: 150px;
}


.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 350px;
}

.modal-message {
    font-size: 18px;
    margin-bottom: 25px;
    color: #333;
    line-height: 1.5;
}

.modal-close {
    background-color: #15499a;
    color: white;
    border: none;
    padding: 10px 25px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.modal-close:hover {
    background-color: #0d3a7c;
}

.contact-box {
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-table {
    width: 65%;
    padding: 50px;
    background: #fff;
    margin-top: 40px;
    margin-bottom: 100px;
    box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.1);
}

.contact-table i {
    color: #ff0000;
    margin: 12px 15px 10px 5px;
    float: left;
    font-size: 14px;
    line-height: 40px;
}

.info-table {
    width: 100%;
    display: flex;
    justify-content: center;
}

.info-table ul {
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-table li {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.info-table li span {
    width: 15%;
}

.text-submit {
    width: 20%;
}

.input-text, .contact-submit {
    width: 85%;
}

.info-table li.textarea-item {
    align-items: flex-start;
}

.textarea-item span {
    margin-top: 15px;
}

.contact-form-title, .contact-item-title {
    margin: 50px 0 20px 0;
    font-size: 26px;
    letter-spacing: 5px;
    font-weight: bold;
    color: #333;
}

.contact-submit {
    border-radius: 5px;
    background: #15499a;
    color: #fff;
    padding: 12px 32px;
    cursor: pointer;
    display: block;
    font-size: 16px;
}

.colspan-two {
    margin: 40px 0;
}

.text-title {
    color: #454545;
    font-size: 20px;
}

.input-text {
    outline: 0;
    color: #333333;
    margin: 12px 0;
    padding: 14px 20px;
    border: 1px solid #cccccc;
    border-radius: 3px;
    font-size: 14px;
    line-height: 16px;
}

textarea.input-text {
    height: 180px;
}

.contact-table {
    padding: 50px;
    background: #fff;
    margin-top: 40px;
    margin-bottom: 100px;
    box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.1);
}

.contact-address {
    width: 100%;
    overflow: hidden;
    display: flex;
    margin-top: -70px;
    flex-direction: column;
    align-items: center;
}

.contact-address img {
    height: 100%;
}

.contact-info-box {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-info-company {
    letter-spacing: 1px;
    font-size: 16px;
    top: 160px;
    width: 65%;
    position: relative;
    background-color: #fff;
    padding: 40px;
    display: flex;
    justify-content: space-around;
    z-index: 999;
    box-shadow: 2px 5px 3px rgba(0, 0, 0, 0.1);
}

.info-site {
    display: flex;
}

.info-site img {
    margin-right: 10px;
}

.contact-info-company a, .contact-info-company p {
    color: #333;
}

.contact-info-company p {
    display: flex;
    align-items: center;
}

.contact-info {
    width: 65%;
    margin: 50px 0 65px 0;
}

.contact-info-content li {
    height: 90px;
    margin: 2.5%;
    float: left;
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-manager {
    width: 85%;
    display: flex;
    justify-content: flex-start;
    font-size: 16px;
    align-items: center;
}

.circle-gradient {
    position: relative;
    margin-right: 15px;
    flex: 0 0 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(to right, #277abf, #15499a); /* 从左到右的渐变颜色，可自定义 */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
}

.contact-info-manager {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.contact-info-manager p {
    position: relative;
    font-size: 18px;
    color: #333;
}


.contact-info-manager a {
    color: black;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {

    .WeChat-btn {
        width: 100px;
        top: 13px;
        left: 0;
    }

    .WeChat-QR {
        left: 0;
    }
}

@media screen and (max-width: 1500px) {
    .contact-info-company {
        display: flex;
        flex-direction: column;
        padding: 30px;
        top: 200px;
        width: auto;
    }


    .info-table ul {
        width: 100%;
    }

    .input-text, .contact-submit {
        width: 60%;
    }

}

@media screen and (max-width: 1000px) {
    .contact-info-content li {
        width: 100%;
    }

    .contact-table {
        width: 85%;
    }

}

@media screen and (max-width: 767px) {

    .contact-manager {
        width: 100%;
    }

    .WeChat-QR {
        top: -15px;
        left: 180px;
    }

    .WeChat-QR img {
        width: 120px;
        height: 120px;
    }

    .contact-table {
        padding: 20px;
    }

    .contact-table {
        width: 95%;
    }

    .info-table li span {
        width: 18%;
    }

    .text-title {
        font-size: 16px;
    }
}

@media screen and (max-width: 550px) {

    .contact-info-content ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-info-content li {
        width: 90%;
    }


    .text-submit {
        width: 28%;
    }

    .contact-table {
        padding: 10px 0;
    }

    .contact-info {
        width: 95%;
    }

    .circle-gradient {
        font-size: 14px;
        flex: 0 0 60px;
        height: 60px;
    }

    .contact-info-manager {
        font-size: 14px;
    }

    .WeChat-btn {
        width: 82px;
        padding: 0 5px;
        font-size: 12px;
        left: 150px;
        top: -27px;
    }

    .WeChat-btn p {
        width: 50px;
    }

    .WeChat-QR::before {
        content: "";
        position: absolute;
        top: 20px;
        left: -12%;
        transform: translateX(580%);
        border-width: 10px 10px 10px;
        border-style: solid;
        border-color: transparent transparent transparent #fff;
    }

    .contact-info-company img {
        display: none;
    }

    .WeChat-QR {
        left: -45px;
        top: -43px;
    }

    .WeChat-QR img {
        width: 90px;
        height: 90px;
    }

    .contact-form-title, .contact-item-title {
        margin: 30px 0 20px 0;
        font-size: 18px;
    }

    .contact-table {
        margin-top: 0
    }

    .input-text {
        padding: 10px 20px;
    }

    .text-title {
        font-size: 15px;
    }

    .colspan-two {
        margin: 20px 0;
    }

    .contact-address {
        margin-top: -90px;
    }

    .contact-info-company {
        padding: 10px;
        top: 120px;
    }

    .contact-table i {
        margin: 12px 10px 10px 0;
    }

    .contact-address img {
        width: 270%;
    }

    .contact-info-manager p {
        font-size: 14px;
    }

    .contact-info-manager {
        gap: 0;
    }

    .contact-info {
        margin: 0 0 10px 0;
    }

    .contact-info-company p {
        font-size: 13px;
    }

    .info-table li span {
        width: 20%;
    }

}