
/* =========================================================
   CONTACT
========================================================= */

.tx-contact {
    width: 100%;
    padding: 0;
    background: #f8fafc;
    box-sizing: border-box;
    padding-block: 40px;
}

.tx-contact *,
.tx-contact *::before,
.tx-contact *::after {
    box-sizing: border-box;
}

.tx-contact-container {
    width: 100%;
    /* max-width: 1280px; */
    margin: 0 auto;
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 32px;
    align-items: start;
}


/* =========================================================
   COMMON CARD
========================================================= */

.tx-contact-info,
.tx-contact-form {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .03);
    height: 100%;
}


/* =========================================================
   LEFT - HEADING
========================================================= */

.tx-contact-company {
    display: block;
    margin-bottom: 4px;
    color: #059669;
    font-size: 11px;
    line-height: 1.5;
    font-weight: bold;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.tx-contact-heading h2 {
    margin: 0;
    color: #0f172a;
    font-size: 23px;
    line-height: 1.25;
    font-weight: bold;
    letter-spacing: -.02em;
    margin-top: 10px;
}

.tx-contact-heading > p {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   CONTACT LIST
========================================================= */

.tx-contact-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 28px;
}

.tx-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.tx-contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.tx-contact-icon svg {
    width: 24px;
    height: 24px;
}

.tx-contact-icon-phone {
    color: #f43f5e;
    background: #fff1f2;
}

.tx-contact-icon-email {
    color: #3b82f6;
    background: #eff6ff;
}

.tx-contact-icon-address {
    color: #10b981;
    background: #ecfdf5;
}


/* =========================================================
   CONTACT CONTENT
========================================================= */

.tx-contact-content {
    min-width: 0;
    padding-top: 1px;
}

.tx-contact-label {
    display: block;
    margin-bottom: 3px;
    color: #94a3b8;
    font-size: 10px;
    line-height: 1.5;
    font-weight: bold;
    letter-spacing: .1em;
}

.tx-contact-content > a {
    color: #1e293b;
    font-size: 15px;
    line-height: 1.5;
    font-weight: bold;
    text-decoration: none;
    transition: color .2s ease;
}

.tx-contact-content > a:hover {
    color: #059669;
}

.tx-contact-address {
    color: #1e293b;
    font-size: 14px;
    line-height: 1.7;
    /* font-weight: bold; */
}

.tx-contact-address p {
    margin: 0 0 5px;
    color: #475569;
}

.tx-contact-address p:last-child {
    margin-bottom: 0;
}

.tx-contact-address strong {
    font-weight: bold;
    color: #000;
}


/* =========================================================
   WORKING TIME
========================================================= */

.tx-contact-time {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 24px;
    padding: 16px;
    border: 1px dashed #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 500;
}

.tx-contact-time strong {
    color: #1e293b;
    font-weight: 800;
}

.tx-contact-time-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
}

.tx-contact-time-icon svg {
    width: 23px;
    height: 23px;
}


/* =========================================================
   RIGHT - FORM HEADING
========================================================= */

.tx-contact-form-heading {
    margin-bottom: 15px;
}

.tx-contact-form-heading > span {
    display: block;
    margin-bottom: 4px;
    color: #059669;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: .12em;
}

.tx-contact-form-heading h2 {
    margin: 0;
    color: #0f172a;
    font-size: 26px;
    line-height: 1.3;
    font-weight: bold;
    text-align: center;
}

.tx-contact-form-heading p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   FORM
========================================================= */

.tx-contact-form-inner {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.tx-contact-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tx-contact-field {
    width: 100%;
}

.tx-contact-field label {
    display: block;
    margin-bottom: 7px;
    color: #334155;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 700;
}

.tx-contact-field label em {
    color: #ef4444;
    font-style: normal;
}

.tx-contact-field input,
.tx-contact-field textarea {
    display: block;
    width: 100%;
    margin: 0;
    padding: 13px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    outline: none;
    background: #fff;
    color: #1e293b;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: none;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.tx-contact-field input {
    height: 38px!important;
    border-radius: 5px!important;
    box-shadow: unset!important;
}

.tx-contact-field textarea {
    min-height: 74px;
    resize: vertical;
    padding-inline: 10px;
    padding-block: 10px;
}

.tx-contact-field input::placeholder,
.tx-contact-field textarea::placeholder {
    color: #94a3b8;
}

.tx-contact-field input:focus,
.tx-contact-field textarea:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, .08);
}


/* =========================================================
   SUBMIT
========================================================= */

.tx-contact-submit {
    width: 100%;
    height: 50px;
    margin: 2px 0 0;
    padding: 0 24px;
    border: 0;
    border-radius: 12px;
    background: var(--fs-color-primary);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.tx-contact-submit:hover {
    background: #047857;
    box-shadow: 0 8px 20px rgba(5, 150, 105, .16);
}

.tx-contact-submit:active {
    transform: translateY(1px);
}


/* =========================================================
   CHAT
========================================================= */

.tx-contact-chat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.tx-contact-chat-title {
    color: #475569;
    font-size: 13px;
    font-weight: 700;
}

.tx-contact-chat-list {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tx-contact-chat-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 11px;
    color: #fff;
    font-size: 13px;
    /* font-weight: 800; */
    text-decoration: none;
    transition:
        transform .2s ease,
        opacity .2s ease;
}

.tx-contact-chat-btn:hover {
    color: #fff;
    opacity: .9;
    transform: translateY(-1px);
}

.tx-contact-chat-btn svg {
    width: 17px;
    height: 17px;
}

.tx-contact-zalo {
    background: #0068ff;
}

.tx-contact-facebook {
    background: #0a192f;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .tx-contact-container {
        grid-template-columns: 1fr;
    }

    .tx-contact-info,
    .tx-contact-form {
        padding: 28px;
    }
}


@media (max-width: 767px) {

    .tx-contact {
        /* padding: 20px 12px; */
        padding-bottom: 25px;
    }

    .tx-contact-info,
    .tx-contact-form {
        padding: 22px;
        border-radius: 20px;
    }

    .tx-contact-heading h2 {
        font-size: 20px;
    }

    .tx-contact-form-heading h2 {
        font-size: 20px;
    }

    .tx-contact-form-row-2 {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .tx-contact-chat {
        align-items: flex-start;
        flex-direction: column;
    }

    .tx-contact-chat-list {
        width: 100%;
    }

    .tx-contact-chat-btn {
        flex: 1;
    }
}


@media (max-width: 480px) {

    .tx-contact-item {
        gap: 12px;
    }

    .tx-contact-icon {
        width: 42px;
        min-width: 42px;
        height: 42px;
        border-radius: 13px;
    }

    .tx-contact-icon svg {
        width: 21px;
        height: 21px;
    }

    .tx-contact-content > a {
        font-size: 16px;
    }

    .tx-contact-address {
        font-size: 13px;
    }

    .tx-contact-chat-list {
        flex-direction: column;
        width: 100%;
    }

    .tx-contact-chat-btn {
        width: 100%;
    }
}

.tx-contact-form input[type="submit"] {
    border-radius: 15px;
    font-size: 12px;
}
.tx-contact-field input::placeholder {
    font-size: 13px;
}
.tx-contact-form-inner span.wpcf7-spinner {
    display: none;
}
@media (max-width: 1024px){
    .tx-contact-chat-btn {
        font-size: 11px;
    }
}
