/* 联系内容表单包装器 */
.contact-content-form-wrapper {
    display: flex;
    flex-direction: column;
    /* margin-top: 50px; */
    margin-bottom: 95px;
}

/* 联系信息部分 */
.contact-info-section {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    border: 1px solid #ffffff;
    /* 白色边框线 */
    border-radius: 4px;
    overflow: hidden;
}

.contact-enterprise-info,
.contact-email-info,
.contact-address-info {
    padding: 150px 5% 15% 5%;
}

.enterprise-title,
.email-title,
.address-title {
    margin-top: 0;
    color: white;
    font-size: 50px;
    margin-bottom: 10px;
}

/* 企业信息区域 */
.contact-enterprise-info {
    width: 50%;
    background-color: #0133A4;
    background-image: url(../../images/contact-enterprise-info.webp);
    background-repeat: no-repeat;
    /* 不重复 */
    background-position: center;
    /* 居中 */
    /* padding: 20px; */
    color: white;
    border-right: 1px solid #ffffff;
    /* 白色边框线分开 */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* 文字顶部对齐 */
}

.enterprise-content {
    color: white;
    margin-top: 10px;
    /* flex-grow: 1; */
}

.enterprise-content p {
    letter-spacing: 2px;
    line-height: 2;
    text-align: justify;
    font-size: 18px;
}

.contact-info-divider {
    width: 50%;
    display: flex;
}

/* 邮箱信息区域 */
.contact-email-info {
    width: 50%;
    background-color: #013BA6;
    background-image: url(../../images/contact-email-info2.webp);
    background-repeat: no-repeat;
    background-position: -145px calc(100% - -50px);
    background-size: 310px auto;
    /* padding: 20px; */
    color: white;
    border-right: 1px solid #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-email-item a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 2px;
    line-height: 2;
    font-weight: 300;
}

/* 地址信息区域 */
.contact-address-info {
    width: 50%;
    background-color: #002488;
    background-image: url(../../images/contact-address-info2.webp);
    background-repeat: no-repeat;
    background-position: -85px calc(100% - -50px);
    background-size: 210px auto;
    /* padding: 20px; */
    color: white;
    border-right: 1px solid #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-address-item address {
    color: white;
    margin-top: 10px;
    font-style: normal;
    font-size: 18px;
    letter-spacing: 2px;
    line-height: 2;
    font-weight: 300;
}

/* 需求表单部分 */
.contact-demand-form {
    width: 85%;
    margin: auto;
}

.contact-demand-form h2 {
    margin: 35px auto;
    width: max-content;
    color: #0037A4;
    font-weight: 400;
}

.form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px !important;
}

.form-row .form-col .contact-input {
    height: 48px;
}

.form-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-full-width {
    width: 100%;
    margin-bottom: 20px;
}

.contact-input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.contact-input:focus {
    outline: none;
    border-color: #013BA6;
}

.contact-form-button {
    text-align: center;
    margin-top: 35px;
}

.btn-primary {
    background-color: #013BA6;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    width: 100%;
}

.btn-primary:hover {
    background-color: #012a7a;
}

.btn-primary:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* 响应式设计 */
@media (max-width: 991px) {
    .site-content .ast-container {
        padding: 0;
    }

    .contact-content-form-wrapper {
        margin-bottom: 55px;
    }

    .contact-info-section {
        flex-direction: column;
    }

    .contact-info-divider {
        width: 100%;
        display: flex;
    }

    .contact-enterprise-info {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ffffff;
    }

    .contact-enterprise-info {
        padding: 20% 5% 20% 5%;
    }

    .contact-email-info,
    .contact-address-info {
        padding: 15% 5% 30% 5%;
    }

    .contact-address-info {
        border-bottom: none;
        /* 最后一个不需要底部边框 */
    }

    .contact-demand-form h2 {
        margin: 20px auto 30px auto;
    }

    .form-row {
        flex-direction: column;
        gap: 10px;
        margin-bottom: auto !important;
        padding: 0px !important;
    }

    .form-col {
        margin-bottom: 20px;
    }

    .enterprise-title,
    .email-title,
    .address-title {
        font-size: 35px;
        font-weight: 400;
    }

    .enterprise-content p {
        letter-spacing: 1px;
        font-size: 12px;
    }

    .contact-email-item a,
    .contact-address-item address {
        letter-spacing: 1px;
        font-size: 12px;
        line-height: 1.8;
    }

    .contact-email-info {
        background-position: -70px calc(100% - -25px);
        background-size: 150px auto;
    }

    .contact-address-info {
        background-position: -45px calc(100% - -50px);
        background-size: 130px auto;
    }
}