.form {
    h2 {
        margin-bottom: 35px;

        @media screen and (max-width: 1500px) {
            margin-bottom: 25px;
        }
        @media screen and (max-width: 991px) {
            margin-bottom: 20px;
        }
    }
    .gform-theme--api, .gform-theme--framework {
        --gf-form-validation-heading-color: var(--color-red);
        --gf-form-validation-border-color-focus: var(--color-red);
        --gf-form-validation-outline-focus: 3px solid var(--color-red);

    }
    .gform_required_legend {
        display: none;
    }
    .gform-theme--foundation .gform_fields {
        row-gap: 50px;

        @media screen and (max-width: 1500px) {
            row-gap: 40px;
        }
        @media screen and (max-width: 991px) {
            row-gap: 30px;
        }
    }
    .gform-theme--framework .gfield_list_group_item::before:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gform-field-label:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gfield_required_asterisk {
        font-size: 3rem;
        font-weight: 600;
        color: var(--color-teal);
        gap: 0;

        @media screen and (max-width: 1500px) {
            font-size: 2.4rem;
        }
        @media screen and (max-width: 991px) {
            font-size: 2.2rem;
        }
        @media screen and (max-width: 576px) {
            font-size: 1.8rem;
        }
    }
    .gfield_required_asterisk {
        color: var(--color-red);
    }
    .gform-theme--framework .gfield:where(.gfield--type-multiselect,.gfield--input-type-multiselect) .chosen-container-multi:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gfield:where(.gfield--type-select,.gfield--input-type-select) .chosen-search input[type=text]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gfield:where(.gfield--type-select,.gfield--input-type-select) .chosen-single:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gform-theme-field-control:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework input[type]:where(:not(.gform-text-input-reset):not([type=hidden])):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework select:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework select[multiple]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework textarea:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper .button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper button.button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper input:is([type=submit],[type=button],[type=reset]).button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper input:is([type=submit],[type=button],[type=reset]):where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
        border: 1px solid #ACACAC;
        border-radius: 10px;
        padding: 30px 35px 25px;
        font-size: var(--font-size-md);
        font-weight: 500;
        color: var(--color-black);
        outline: none !important;
        height: auto;
        transition: .3s ease-in-out;

        @media screen and (max-width: 1500px) {
            padding: 15px 25px 10px;
            font-size: 2rem;
        }
        @media screen and (max-width: 991px) {
            padding: 10px 20px 5px;
            font-size: 1.8rem;
        }
        @media screen and (max-width: 576px) {
            padding: 7px 15px 2px;
            font-size: var(--font-size-sm);
        }
        &:focus {
            border-color: var(--color-primary);
            background-color: var(--color-light-gray);
        }
        &::placeholder {
            font-size: var(--font-size-md);
            font-weight: 500;

            @media screen and (max-width: 1500px) {
                font-size: 2rem;
            }
            @media screen and (max-width: 991px) {
                font-size: 1.8rem;
            }
            @media screen and (max-width: 576px) {
                font-size: var(--font-size-sm);
            }
        }
    }
    .gform-theme--foundation .gfield select {
        background-color: var(--color-light-blue);
        background-image: url('../../../assets/svg/caret.svg');
        background-repeat: no-repeat;
        background-position: right 30px center;
        background-size: 44px 22px;
        padding-right: 100px;

        @media screen and (max-width: 1500px) {
            background-position: right 25px center;
            background-size: 25px 15px;
            padding-right: 75px;
        }
        @media screen and (max-width: 991px) {
            background-position: right 20px center;
            background-size: 17px 10px;
            padding-right: 57px;
        }
        @media screen and (max-width: 576px) {
            background-position: right 15px center;
            padding-right: 47px;
        }
    }
    .gform-theme--foundation .gfield textarea {
        resize: none;

        @media screen and (max-width: 991px) {
            padding: 15px 20px 10px;
        }
        @media screen and (max-width: 576px) {
            padding: 15px 15px 10px;
        }
    }
    .gform-theme--foundation .gfield--width-third, .gform-theme--foundation .gfield--width-half {
        @media screen and (max-width: 768px) {
            grid-column: span 12;
        }
    }
    input[type="submit"], .gform_button {
        display: inline-block !important;
        font-size: 2.8rem !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        padding: 25px 30px 20px !important;
        border-radius: 10px !important;
        border: none !important;
        text-decoration: none !important;
        cursor: pointer !important;
        background-color: var(--color-yellow) !important;
        color: var(--color-gray) !important;
        transition: .3s ease-in-out !important;

        @media screen and (max-width: 1500px) {
            font-size: 2.4rem !important;
        }
        @media screen and (max-width: 991px) {
            font-size: 2rem !important;
        }
        @media screen and (max-width: 576px) {
            padding: 15px 20px 12px !important;
            font-size: 1.8rem !important;
            width: 100% !important;
        }
        &:hover, &:focus-visible {
            transform: scale(1.05) !important;
            background-color: var(--color-dark-teal) !important;
            color: var(--color-yellow) !important;
        }
    }
    .gform-theme--foundation .gform_footer, .gform-theme--foundation .gform_page_footer {
        margin-top: 50px;

        @media screen and (max-width: 1500px) {
            margin-top: 40px;
        }
        @media screen and (max-width: 991px) {
            margin-top: 30px;
        }
    }
    .gform-theme--framework .gform_validation_errors {
        padding: 20px 20px 15px;
        border-color: var(--color-red);
        border-radius: 10px;
    }
    .gform-theme--framework .gform_validation_errors .gform_submission_error {
        font-size: var(--font-size-lg);
        font-weight: 600;
        gap: 15px;

        @media screen and (max-width: 1500px) {
            font-size: var(--font-size-md);
        }
        @media screen and (max-width: 768px) {
            font-size: 2rem;
        }
    }
    .gform-theme--framework .gform_validation_errors .gform-icon {
        font-size: var(--font-size-lg);
        width: var(--font-size-lg);
        height: var(--font-size-lg);
        border-color: var(--color-red);
        position: relative;
        top: -3px;

        @media screen and (max-width: 1500px) {
            font-size: var(--font-size-md);
            width: var(--font-size-md);
            height: var(--font-size-md);
        }
        @media screen and (max-width: 768px) {
            font-size: 2rem;
            width: 2rem;
            height: 2rem;
        }
        @media screen and (max-width: 639px) {
            display: none;
        }
    }
    .gform-theme--framework .gfield_description:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
        font-size: 2.4rem;
        font-weight: 500;
        color: var(--color-red);
        margin-top: 12px !important;

        @media screen and (max-width: 1500px) {
            font-size: 1.8rem;
        }
        @media screen and (max-width: 991px) {
            font-size: 1.6rem;
        }
        @media screen and (max-width: 576px) {
            font-size: 1.4rem;
        }
    }
    .gform_confirmation_message {
        background-color: var(--color-light-blue);
        padding: 20px 20px 15px;
        border-radius: 10px;
        color: var(--color-primary);
        font-weight: 600;
        text-align: center;
    }
}