/* =========================================================
   INQUIRY CARD
========================================================= */

.inquiry-card {
    max-width: 850px;

    margin: 0 auto;

    border-radius: 18px;

    background: #ffffff;

    border: 1px solid rgba(0, 0, 0, 0.06) !important;

    overflow: hidden;

    transition:
        box-shadow 0.25s ease,
        transform 0.25s ease;
}


.inquiry-card:hover {
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.08) !important;
}


/* =========================================================
   HEADER
========================================================= */

.inquiry-header {
    max-width: 680px;

    margin-left: auto;
    margin-right: auto;
}


.inquiry-icon {
    width: 66px;
    height: 66px;

    margin: 0 auto 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(13, 110, 253, 0.10);

    color: #0d6efd;

    font-size: 29px;

    box-shadow:
        0 5px 15px rgba(13, 110, 253, 0.08);
}


.inquiry-title {
    margin-bottom: 10px;

    font-size: 30px;

    font-weight: 700;

    color: #212529;
}


.inquiry-description {
    max-width: 650px;

    margin: 0 auto;

    color: #6c757d;

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   LABEL
========================================================= */

.inquiry-card .form-label {
    margin-bottom: 7px;

    color: #343a40;

    font-size: 14px;

    font-weight: 600;
}


.inquiry-required {
    color: #dc3545;

    font-weight: 700;
}


/* =========================================================
   INPUT GROUP
========================================================= */

.inquiry-card .input-group {
    width: 100%;
}


.inquiry-card .input-group-text {
    min-width: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #f7b718;

    background: #112866;

    border-color: #112866;

    font-size: 17px;

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}


.inquiry-card .form-control {
    min-height: 52px;

    border-color: #112866;

    color: #212529;

    background: #ffffff;

    box-shadow: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

/* .input-group-text {
    background: #112866 !important;
    border-color: #112866 !important;

}

.input-group-text i {
    color: #f7b718 !important;
}

.form-control {

    border-color: #112866 !important;

} */


.inquiry-card textarea.form-control {
    min-height: 150px;

    resize: vertical;
}


.inquiry-card .form-control::placeholder {
    color: #adb5bd;
}


.inquiry-card .form-control:focus {
    border-color: #0d6efd;

    box-shadow:
        0 0 0 0.20rem rgba(13, 110, 253, 0.12);
}


.inquiry-card .input-group:focus-within .input-group-text {
    border-color: #f7b718 !important;

    color:#112866;

    background:#f7b718;
}


/* =========================================================
   MESSAGE ICON
========================================================= */

.inquiry-message-icon {
    align-items: flex-start !important;

    padding-top: 16px;
}


/* =========================================================
   CAPTCHA
========================================================= */

.inquiry-captcha-wrapper {
    display: flex;

    justify-content: center;

    margin-top: 5px;

    margin-bottom: 10px;
}


/* =========================================================
   ERROR
========================================================= */

.inquiry-alert {
    margin-top: 15px;

    border-radius: 8px;

    font-size: 14px;

    line-height: 1.5;
}


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

.inquiry-submit {
    margin-top: 10px;
}


.inquiry-submit .btn-koc {
    min-width: 210px;

    min-height: 50px;

    padding: 11px 24px;

    border-radius: 8px;

    font-size: 16px;

    font-weight: 600;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}


.inquiry-submit .btn-koc:hover {
    transform: translateY(-2px);

    box-shadow:
        0 7px 20px rgba(13, 110, 253, 0.25);
}


.inquiry-submit .btn-koc:active {
    transform: translateY(0);
}


/* =========================================================
   NOTE
========================================================= */

.inquiry-note {
    color: #8a8f98;

    font-size: 12px;

    line-height: 1.5;
}


.inquiry-note i {
    color: #198754;
}


/* =========================================================
   SUCCESS MODAL
========================================================= */

.inquiry-modal {
    border: 0;

    border-radius: 18px;

    overflow: hidden;

    background: #ffffff;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.20);
}


.inquiry-success-icon {
    width: 82px;
    height: 82px;

    margin: 0 auto;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #198754;

    background: rgba(25, 135, 84, 0.12);

    font-size: 43px;

    animation: inquiryIconPop 0.35s ease-out;
}


@keyframes inquiryIconPop {

    0% {
        transform: scale(0.5);

        opacity: 0;
    }

    70% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);

        opacity: 1;
    }

}


.inquiry-modal h3 {
    color: #212529;

    font-size: 25px;
}


.inquiry-modal p {
    max-width: 480px;

    margin-left: auto;
    margin-right: auto;

    line-height: 1.7;
}


#inquiryHomeButton {
    min-width: 190px;

    min-height: 48px;

    border-radius: 8px;

    font-size: 15px;

    font-weight: 600;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .inquiry-card {
        border-radius: 13px;
    }


    .inquiry-card .card-body {
        padding: 28px 20px !important;
    }


    .inquiry-icon {
        width: 58px;
        height: 58px;

        font-size: 25px;
    }


    .inquiry-title {
        font-size: 25px;
    }


    .inquiry-description {
        font-size: 14px;

        line-height: 1.6;
    }


    .inquiry-card .form-control {
        min-height: 48px;
    }


    .inquiry-submit .btn-koc {
        width: 100%;
    }


    .inquiry-modal {
        margin: 15px;
    }


    .inquiry-modal .modal-body {
        padding: 35px 20px !important;
    }


    .inquiry-success-icon {
        width: 72px;
        height: 72px;

        font-size: 36px;
    }


    .inquiry-modal h3 {
        font-size: 22px;
    }

}


@media (max-width: 400px) {

    .inquiry-card .card-body {
        padding: 25px 15px !important;
    }


    .inquiry-title {
        font-size: 23px;
    }


    .inquiry-description {
        font-size: 13px;
    }

}