/* =========================================================
   PODAR SMARTER SCHOOLS
   ENQUIRY FORM
========================================================= */

.home-enquiry-section {
    width: 100%;
    /* background: #fdaf17; */
    padding: 40px 30px 32px;
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
}

.home-enquiry-section *,
.home-enquiry-section *::before,
.home-enquiry-section *::after {
    box-sizing: border-box;
}

.common-enquiry-form-area
{
    background: #fdaf17;
    scroll-margin-top: 75px;
}

/* =========================================================
   MAIN CONTAINER
========================================================= */

.home-enquiry-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}


/* =========================================================
   HEADING
========================================================= */

.home-enquiry-title {
    margin: 0 0 7px;
    padding: 0;
    text-align: center;
    color: #000000;
    font-size: 34px;
    line-height: 1.25;
    font-weight: 500;
}


/* =========================================================
   INTRODUCTION
========================================================= */

.home-enquiry-intro {
    max-width: 760px;
    margin: 0 auto 22px;
    padding: 0;
    text-align: center;
    color: #000000;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
}


/* =========================================================
   FORM
========================================================= */

.home-enquiry-form {
    width: 100%;
    margin: 0 auto;
}


/* =========================================================
   FIELD
========================================================= */

.home-enquiry-field {
    width: 100%;
    margin-bottom: 14px;
}

.home-enquiry-field label {
    display: block;
    margin: 0 0 5px;
    padding: 0;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;
}

.standalone-enquiry-page label {
    display: block;
    margin: 0 0 5px;
    padding: 0;
    color: #000000 !important;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;
}


/* =========================================================
   BOOTSTRAP ROW OVERRIDE
========================================================= */

.home-enquiry-form .row {
    --bs-gutter-x: 28px;
    --bs-gutter-y: 0;
}


/* =========================================================
   INPUTS
========================================================= */

.home-enquiry-form .form-control,
.home-enquiry-form .form-select {
    display: block;
    width: 100%;
    height: 44px;
    min-height: 44px;

    padding: 7px 13px;

    border: 1px solid #000000;
    border-radius: 0;

    background-color: #ffffff;
    background-clip: padding-box;

    color: #555555;

    font-family: "Poppins", sans-serif;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 400;

    box-shadow: none;
    outline: none;
}

.home-enquiry-form .form-control::placeholder {
    color: #777777;
    opacity: 1;
}

.home-enquiry-form .form-control:focus,
.home-enquiry-form .form-select:focus {
    border-color: #aaaaaa;
    box-shadow: none;
    outline: none;
}


/* =========================================================
   SELECT
========================================================= */

.home-enquiry-form .form-select {
    cursor: pointer;
}


/* =========================================================
   TEXTAREA
========================================================= */

.home-enquiry-form textarea.form-control {
    height: 74px;
    min-height: 74px;
    resize: vertical;
}


/* =========================================================
   LOCATION ROW
========================================================= */

.home-enquiry-location-row {
    margin-top: 0;
}


/* =========================================================
   INTERESTED IN
========================================================= */

.home-enquiry-interest {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin: 2px 0 22px;
    padding: 0;
}


/*
   "Interested In:" only
*/

.home-enquiry-interest-title {
    margin: 0;
    padding: 0;

    color: #000000;

    font-size: 15px;
    line-height: 1.4;

    font-weight: 700;
}


/*
   "Podar Learn School"
*/

.home-enquiry-radio {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    margin: 0;
    padding: 0;

    color: #000000;

    font-size: 15px;
    line-height: 1.4;

    font-weight: 400;

    cursor: pointer;
}


/* =========================================================
   RADIO BUTTON
========================================================= */

.home-enquiry-radio input[type="radio"] {
    width: 15px;
    height: 15px;

    margin: 0;

    appearance: auto;
    accent-color: #0075ff;

    cursor: pointer;
}


/* =========================================================
   SUBMIT
========================================================= */

.home-enquiry-submit {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;

    margin: 4px 0 18px;
    padding: 0;
}

.home-enquiry-submit .btnsubmit {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    min-width: 118px;

    padding: 9px 20px;

    border: 0;
    border-radius: 0;

    background: #005d9b;
    color: #ffffff;

    font-family: "Poppins", sans-serif;

    font-size: 19px;
    line-height: 1.3;

    font-weight: 600;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.home-enquiry-submit .btnsubmit:hover {
    background: #00649f;
    color: #ffffff;
}

.home-enquiry-submit .btnsubmit:focus {
    outline: none;
    box-shadow: none;
}


/* =========================================================
   CONTACT INFORMATION
========================================================= */

.home-enquiry-contact {
    width: 100%;

    margin: 0 auto;

    text-align: center;

    color: #000000;

    font-size: 15px;
    line-height: 1.65;

    font-weight: 400;
}

.home-enquiry-contact-intro {
    margin: 0 0 1px;
    padding: 0;
}

.home-enquiry-contact-row {
    margin: 0;
    padding: 0;
}

.home-enquiry-contact strong {
    font-weight: 700;
}


/* =========================================================
   MESSAGE
========================================================= */

.home-enquiry-message {
    display: none;

    width: 100%;
    max-width: 850px;

    margin: 18px auto 0;

    text-align: center;

    font-size: 15px;
    line-height: 1.6;
}

.home-enquiry-message.success,
.home-enquiry-message.error {
    display: block;
}

.home-enquiry-message.success {
    color: #000000;
}

.home-enquiry-message.error {
    color: #8b0000;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .home-enquiry-section {
        padding: 36px 30px 30px;
    }

    .home-enquiry-container {
        max-width: 100%;
    }

    .home-enquiry-title {
        font-size: 32px;
    }

    .home-enquiry-intro {
        font-size: 15px;
    }

    .home-enquiry-form .row {
        --bs-gutter-x: 22px;
    }

    .home-enquiry-contact {
        font-size: 14px;
    }
}


/* =========================================================
   SMALL TABLET / LARGE MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .home-enquiry-section {
        padding: 32px 30px 28px;
    }

    .home-enquiry-title {
        font-size: 28px;
    }

    .home-enquiry-intro {
        max-width: 620px;

        margin-bottom: 20px;

        font-size: 14px;
        line-height: 1.5;
    }

    .home-enquiry-form .row {
        --bs-gutter-x: 0;
    }

    .home-enquiry-field {
        margin-bottom: 13px;
    }

    .home-enquiry-field label {
        font-size: 12px;
    }

    .home-enquiry-form .form-control,
    .home-enquiry-form .form-select {
        height: 42px;
        min-height: 42px;

        font-size: 13px;
    }

    .home-enquiry-form textarea.form-control {
        height: 72px;
        min-height: 72px;
    }

    .home-enquiry-interest {
        margin-top: 3px;
        margin-bottom: 20px;
    }

    .home-enquiry-interest-title {
        font-size: 14px;
    }

    .home-enquiry-radio {
        font-size: 14px;
    }

    .home-enquiry-submit {
        margin-bottom: 16px;
    }

    .home-enquiry-submit .btnsubmit {
        min-width: 112px;
        padding: 8px 18px;
        font-size: 18px;
    }

    .home-enquiry-contact {
        font-size: 13px;
        line-height: 1.65;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .home-enquiry-section {
        padding: 30px 24px 26px;
    }

    .home-enquiry-title {
        font-size: 26px;
    }

    .home-enquiry-intro {
        font-size: 13px;
    }

    .home-enquiry-contact {
        font-size: 12px;
    }
}

/* =========================================================
   ENQUIRY FORM - INLINE VALIDATION
========================================================= */

.home-enquiry-error {
    display: none;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.4;
    color: #dc3545;
    text-align: left;
}

.home-enquiry-error.show {
    display: block;
}

.home-enquiry-field .form-control.is-invalid,
.home-enquiry-field .form-select.is-invalid {
    border: 3px solid;
    border-color: #ff0000 !important;
}

.home-enquiry-field .form-control.is-valid,
.home-enquiry-field .form-select.is-valid {
    border-color: #198754 !important;
}

.home-enquiry-field .form-control:focus.is-invalid,
.home-enquiry-field .form-select:focus.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.15);
}

.home-enquiry-field .form-control:focus.is-valid,
.home-enquiry-field .form-select:focus.is-valid {
    border-color: #198754 !important;
    box-shadow: 0 0 0 0.15rem rgba(25, 135, 84, 0.15);
}

.home-enquiry-interest .home-enquiry-error {
    margin-top: 5px;
}

/* =========================================================
   PLS ENQUIRY - THANK YOU MESSAGE
   ========================================================= */

.home-enquiry-message.success {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 28px auto 30px;
    padding: 22px 30px;
    border: 1px solid #000000;
    text-align: center;
    box-sizing: border-box;
}


.home-enquiry-thankyou-title {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 500;
    text-align: center;
}


.home-enquiry-thankyou-text {
    margin-top: 6px;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
}


/* =========================================================
   PLS ENQUIRY - CONTACT INFORMATION
   ========================================================= */

.home-enquiry-contact {
    text-align: center;
}


.home-enquiry-contact-intro,
.home-enquiry-contact-row {
    text-align: center;
}

@media (max-width: 767px) {

    .home-enquiry-message.success {
        padding: 18px 15px;
        margin-top: 22px;
        margin-bottom: 25px;
    }

    .home-enquiry-thankyou-title {
        font-size: 17px;
    }

    .home-enquiry-thankyou-text {
        font-size: 15px;
    }

}