/* ======================================================= */
/* ==           CSS CHO TRANG LIÊN HỆ             == */
/* ======================================================= */

.section-contact {
    background-color: #FAF6F2;
    /* Nền cam nhạt */
    padding: 100px 40px;
    display: flex;
    align-items: center;
    min-height: 90vh;
}

.contact-container {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 80px;
}

/* --- CỘT TRÁI: THÔNG TIN --- */
.contact-info {
    flex: 1 1 40%;
}

.contact-headline {
    font-family: 'Title-One';
    font-size: 42px;
    /* ExtraBold */
    color: #1A1A1A;
    margin-top: 0;
    margin-bottom: 40px;
}

.contact-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 18px;
    color: #000000;
    font-family: 'Text-One';
}

.contact-detail-item img {
    height: 40px;
    width: 40px;
}

.contact-icon {
    flex-shrink: 0;
    color: #333;
}

/* --- CỘT PHẢI: FORM --- */
.contact-form-wrapper {
    flex: 1 1 60%;
}

.contact-form-wrapper .cf7-contact.contact-wrap {
    padding: 0;
}

.cf7-contact.contact-wrap .field label {
    margin-bottom: 1rem;
    font-size: 24px;
    font-family: Text-Medium;
    font-weight: 500;
}

/* Style cho Fluent Form (hoặc form khác) */
/* Bố cục 2 cột cho Họ và Tên */
.contact-form-wrapper .ff-el-group:first-child,
.contact-form-wrapper .ff-el-group:nth-child(2) {
    width: calc(50% - 10px);
    display: inline-block;
}

.contact-form-wrapper .ff-el-group:first-child {
    margin-right: 20px;
}

/* Style chung cho các field */
.contact-form-wrapper .ff-el-input--label label {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 8px;
}

.contact-form-wrapper .ff-el-form-control {
    background-color: #ffffff !important;
    border: 1px solid #007D6E !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    box-shadow: none !important;
}

.contact-form-wrapper textarea.ff-el-form-control {
    min-height: 150px;
}

.contact-form-wrapper .ff-btn-submit {
    background-color: #EC744A !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 14px 30px !important;
    width: auto !important;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
        gap: 60px;
    }

    .contact-form-wrapper .ff-el-group:first-child,
    .contact-form-wrapper .ff-el-group:nth-child(2) {
        width: 100%;
        margin-right: 0;
    }
}

.contact-form-wrapper .wpcf7 form .field input[type="text"],
.contact-form-wrapper .wpcf7 form .field input[type="email"],
.contact-form-wrapper .wpcf7 form .field input[type="tel"],
.wpcf7 form .field textarea {
    border-radius: 8px !important;
    font-size: 18px;
    font-family: 'Text-One';
    border-color: #007D6E !important;
}

.contact-form-wrapper .btn-submit {
    border-radius: 8px;
}

@media (max-width: 992px) {

    .contact-headline {
        font-size: 24px;
    }
}