.enquiry-modal {
    border-radius: 20px;
    border: none;
    overflow: hidden;
}

.modal-body {
    padding: 35px;
}

.custom-close {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 5;
    opacity: 1;
}

.modal-title-custom {
    font-size: 22px;
    font-weight: 700;
    color: #004b84;
    margin-bottom: 0px;
}

.modal-subtitle {
    color: #333;
    font-size: 14px;
    margin-bottom: 5px;
}

.custom-input {
    height: 40px;
    border-radius: 6px;
    border: 1px solid #d6d6d6;
    font-size: 14px;
    padding-left: 18px;
    box-shadow: none;
}

.custom-input:focus {
    border-color: #005bff;
    box-shadow: 0 0 0 .15rem rgba(0, 91, 255, .15);
}

textarea.custom-input {
    height: 100px;
}

.submit-btn {
    height: 42px;
    background: #004f83;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 0;
    transition: .3s;
}

.submit-btn:hover {
    background: #003d66;
    color: #fff;
}

.consent-box {
    display: flex;
    align-items: flex-start;
}

.consent-box input {
    margin-top: 5px;
    width: 22px;
    height: 22px;
}

.consent-box label {
    margin-left: 10px;
    line-height: 1.6;
    font-size: 12px;
}

.consent-box a {
    text-decoration: none;
    color: #004f83;
}

.form-select {
    background-position: right 18px center;
}

/* Tablet */
@media(max-width:991px) {
    .modal-title-custom {
        font-size: 32px;
    }

    .modal-subtitle {
        font-size: 17px;
    }

    .custom-input {
        height: 54px;
        font-size: 16px;
    }
}

/* Mobile */
@media(max-width:767px) {
    .modal-dialog {
        margin: 15px;
    }

    .modal-body {
        padding: 15px 20px;
    }

    .modal-title-custom {
        font-size: 14px;
        line-height: 1.6;
    }

    .modal-subtitle {
        font-size: 10px;
    }

    .custom-input {
        height: 34px;
        font-size: 12px;
    }

    .submit-btn {
        height: 35px;
        font-size: 12px;
    }

    .custom-close {
        right: 15px;
        top: 15px;
    }
}

.form-select.custom-input {
    padding-left: 10px;
    padding-right: 30px;
    background-position: right 10px center;
}

/* Make the intl-tel-input field match all other inputs */
.iti {
    width: 100%;
    display: block;
}

.iti input#phone {
    height: 40px;           /* same as .custom-input desktop */
    width: 100%;
    box-sizing: border-box;
}

/* Tablet — match the tablet height */
@media (max-width: 991px) {
    .iti input#phone {
        height: 54px;
    }
}

/* Mobile — match the mobile height */
@media (max-width: 767px) {
    .iti input#phone {
        height: 34px;
    }
}

.phone-code-wrap { width: 100%; }

.phone-code-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 8px;
    background: #fff;
    text-align: center;
}

.phone-code-btn .flag-ico { font-size: 14px; }
.phone-code-btn .dial-code { font-size: 14px; color: #333; }

.phone-code-menu { min-width: 180px; }
.phone-code-menu .fi { margin-right: 8px; }

/* mobile — keep it tight so flag + code fit at col-3 */
@media (max-width: 767px) {
    .phone-code-btn { padding: 0 4px; gap: 3px; }
    .phone-code-btn .dial-code { font-size: 11px; }
    .phone-code-btn::after { display: none; } /* hide arrow if too cramped */
}