header {
    position: relative;
}

.contact-container {
    margin-top: 35px;
    margin-bottom: 115px;
    padding: 0 16px;
    font-size: 16px;
    line-height: 26px;
    font-weight: 300;
    color: var(--black-color);
}
.btn-submit:disabled {
  opacity: 0.5;         /* Làm mờ nút */
  cursor: not-allowed;  /* Đổi con trỏ chuột */
  pointer-events: none; /* Ngăn tương tác */
}

input.invalid, textarea.invalid {
    border: 1px solid #fff; /* viền trắng */
}

    input.invalid::after, textarea.invalid::after {
        content: "Please fill out this field";
        position: absolute;
        background: #fff;
        color: #000; /* chữ đen trên nền trắng */
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 12px;
    }

.contact-banner {
    margin-bottom: 59px;
}

    .contact-banner img {
        max-width: 100%;
        height: auto;
        max-height: 130px;
        width: 245px;
    }

.border-ltr, .border-rtl {
    opacity: 1;
}

.contact-item:hover {
    color: #5fd1c1;
    transition-duration: 300ms
}

.contact-description {
    margin-top: 40px;
    display: flex;
    gap: 23px;
    flex-direction: column;
}

    .contact-description h2 {
        color: #1B1B1B;
        font-size: 40px;
        font-weight: 300;
        line-height: 48px;
        text-transform: uppercase;
        width: 50%;
    }

    .contact-description p {
        padding: 0;
        font-weight: 300;
        text-transform: none;
        line-height: 1.4em;
        width: 50%;
    }

.contact-list {
    margin-top: 65px;
    margin-bottom: 80px;
}

.contact-item {
    cursor: pointer;
}

    .contact-item .heading {
        padding-top: 23px;
        padding-bottom: 33px;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .contact-item svg {
        height: 50px;
        width: 50px;
    }

.icon-contact {
    width: 50px;
    height: 50px;
}

.contact-item h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5em;
}

.contact-socials {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 23px;
}

    .contact-socials h2 {
        color: #1B1B1B;
        font-size: 40px;
        font-weight: 300;
        line-height: 1.2em;
        text-transform: uppercase;
    }

    .contact-socials .link-combat {
        display: flex;
        align-items: center;
        gap: 32px;
    }

    .contact-socials svg {
        height: 22px;
        width: 22px;
        fill: var(--main-color);
    }

.contact-locations {
    margin-top: 65px;
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 23px;
}

.contact-locations-item svg {
    height: 50px;
    width: 50px;
    fill: var(--main-color);
    margin-bottom: 15px;
}

.contact-locations-item h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.75em;
    margin-bottom: 10px;
}

.u-form-kit form .contact-modal {
    animation-duration: 1s;
    background-color: var(--modal-color);
    z-index: 999999;
}

.contact-modal {
    animation-duration: 1s;
    background-color: var(--modal-color);
    z-index: 999999;
}

    .contact-modal .modal-content {
        background-color: var(--modal-color);
    }

    .contact-modal h2 {
        font-size: 54px;
        font-weight: 300;
        text-transform: uppercase;
        line-height: 65px;
        color: var(--white-color);
    }

    .contact-modal .modal-body {
        padding-top: 0;
        padding-bottom: 0;
        width: 100%;
    }

        .contact-modal .modal-body .modal-body-content {
            display: flex;
            flex-direction: column;
            gap: 39px;
            margin-top: 120px;
            margin-bottom: 102px;
            justify-content: center;
            align-items: center;
        }

            .contact-modal .modal-body .modal-body-content form {
                display: flex;
                flex-direction: column;
            }

                .contact-modal .modal-body .modal-body-content form .form-item {
                    margin-bottom: 21px;
                    width: 100%;
                    display: flex;
                    flex-direction: row;
                    gap: 7px;
                }

                    .contact-modal .modal-body .modal-body-content form .form-item label {
                        font-weight: 300;
                        line-height: 1.4em;
                    }

    .contact-modal .btn-close {
        position: absolute;
        top: 27px;
        right: 88%;
        font-size: 14px;
        opacity: 1;
        z-index: 1;
    }

    .contact-modal form .form-item {
        color: var(--white-color);
    }


        .contact-modal form .form-item label {
            width: 10%;
        }

        .contact-modal form .form-item.required label::after {
            content: "*";
            color: var(--href-color);
            margin-left: 0.5rem;
        }

        .contact-modal form .form-item .form-item-ipt {
            background-color: #FFFFFF59;
            color: var(--gray-1);
            height: 40px;
            border: 1px solid #69727d;
            outline: unset;
            font-weight: 300;
            line-height: 1.4em;
            width: 100%;
            max-width: 550px;
        }

        .contact-modal form .form-item textarea.form-item-ipt {
            min-height: 40px;
            height: auto;
            font-weight: 300;
            line-height: 1.4em;
        }

    .contact-modal form .form-item {
        display: flex;
        margin-bottom: 15px; /* khoảng cách giữa các hàng */
    }

        .contact-modal form .form-item label {
            min-width: 120px; /* giữ label cố định bên trái */
            margin: 0;
        }

        .contact-modal form .form-item .form-item-ipt {
            flex: 1; /* input chiếm phần còn lại bên phải */
        }

    .contact-modal form .btn-submit {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        font-size: 14px;
        font-weight: 500;
        text-transform: uppercase;
        line-height: 28px;
        border-style: solid;
        border-width: 0px 0px 0px 0px;
        padding: 6px 20px 6px 20px;
        background: url("https://www.coteccons.vn/wp-content/uploads/2022/08/Vector-118-10.png") top left no-repeat;
        background-size: contain;
        width: fit-content;
        color: var(--white-color);
        margin-bottom: 21px;
        margin-top: 14px;
    }

        .contact-modal form .btn-submit svg {
            width: 14px;
            transition: .3s;
        }

        .contact-modal form .btn-submit:hover svg {
            transform: rotate(45deg);
            transition: .3s;
            margin-left: 10px;
        }

.modal-body-content {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
}

.modal-body-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    .modal-body-content h2,
    .modal-body-content form {
        width: 100%;
        max-width: 650px;
    }

@media (min-width: 426px) {
    .contact-container {
        padding: 0 40px;
        margin-top: 72px;
        margin-bottom: 0;
    }

    .contact-banner {
        margin-bottom: 35px;
    }

        .contact-banner img {
            width: 368px;
        }

    .contact-description {
        width: 100%;
        flex-direction: row;
    }

        .contact-description h2 {
            font-size: 54px;
            line-height: 1.4em;
        }

    .contact-list {
        display: flex;
        flex-flow: row wrap;
        gap: 23px;
    }

    .contact-item {
        width: 24%;
    }

        .contact-item .heading {
            padding-bottom: 10px;
        }

        .contact-item h3 {
            font-size: 18px;
            font-weight: 500;
            line-height: 1.75em;
        }

    .contact-socials h2 {
        width: 50%;
        font-size: 54px;
        line-height: 1.4em;
    }

    .list-socials {
        width: 50%;
    }

    .contact-socials {
        gap: 23px;
        flex-direction: row;
        width: 100%;
    }

    .contact-locations {
        flex-direction: row;
    }

        .contact-locations > div {
            width: 25%;
        }
}
