/*
===============
FORM WRAPPER
===============
 */
#form-section {
    padding-bottom: 70px;
}

#form-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 15px;
    filter: drop-shadow(0px 29px 32.5px rgba(78, 92, 62, 0.08));
    background-color: var(--white);
    position: relative;
    padding: 55px 0;
}

#form-wrapper:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 9px;
    background-color: var(--light-green);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;

}

.gform_wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
}

h2.gform_title {
    font-size: 30px;
    line-height: 36px;
    color: var(--dark-green);
    font-weight: 400;
    margin-bottom: 10px;
    text-align: center;
}

#form-wrapper .gform_fields {
    grid-row-gap: 12px;
    row-gap: 12px;
}

#form-wrapper .gform_wrapper .gfield--type-section {
    margin: 30px auto 20px auto;
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    border-bottom: none;
    padding: 0;
}

#form-wrapper .gform_wrapper .gfield--type-section .gsection_title {
    position: relative;
    background-color: var(--white);
    display: inline-flex;
    margin-bottom: 0;
    font-size: 20px;
    line-height: 24px;
    color: var(--dark-green);
    font-weight: 500;
    padding: 0 15px;
}

#form-wrapper .gform_wrapper .gfield--type-section .gsection_title::before {
    content: "";
    display: block;
    position: absolute;
    left: -400%;
    top: 50%;
    width: 800%;
    transform: translate(0, -50%);
    height: 1px;
    background-color: rgba(0, 0, 0, .1);
    z-index: -1;
}

#form-wrapper.gfield--type-section {
    width: 100%;
    flex-basis: 100%;
    max-width: 100%;
}

#form-wrapper .gfield {
    width: 360px;
    flex-basis: 360px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* Remove the default spin buttons */
#form-wrapper input[type=number]::-webkit-inner-spin-button,
#form-wrapper input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    margin: 0;
}

/* Firefox overrides */
#form-wrapper input[type="number"] {
    -moz-appearance: textfield !important;
}

/* Additional styling to ensure consistency */
#form-wrapper input[type="number"] {
    appearance: textfield !important; /* For browsers not supporting -moz-appearance */
    width: 100% !important; /* Adjust width as needed */
}

#form-wrapper input[type=text],
#form-wrapper input[type=tel],
#form-wrapper input[type=email],
#form-wrapper input[type=number] {

    border-radius: 10px;
    background-color: #f0f6f1;
    outline: none;
    border: none;
    padding: 28px 10px;
    width: 100%;
    font-size: 18px;
    line-height: 24px;
    color: #707070;
    font-weight: 300;
}

#form-wrapper select {
    height: 59px;
    border-radius: 10px;
    background-color: #f0f6f1;
    outline: none;
    border: none;
    padding: 10px 15px;
    width: 100%;
    font-size: 18px;
    line-height: 38px;
    color: #707070;
    font-weight: 300;
    background-image: url("/wp-content/uploads/2024/04/dropdown-arrow-icon.svg");
    background-size: 14px;
    background-position-x: calc(100% - 20px);
    background-position-y: 50%;
}

#form-wrapper textarea {
    height: 223px;
    min-height: auto;
    border-radius: 10px;
    background-color: #f0f6f1;
    outline: none;
    border: none;
    padding: 10px 15px;
    width: 100%;
    font-size: 18px;
    line-height: 38px;
    color: #707070;
    font-weight: 300;
    box-sizing: border-box;
    resize: none;
    /*white-space: nowrap;*/
    word-break: break-word;
    overflow: hidden;
    min-height: auto;
}

#form-wrapper input[type=checkbox]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    background-color: #f0f6f1;
    outline: none;
    border: none;
}

#form-wrapper input[type=checkbox]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):checked::before, .gform-theme--framework input[type=radio]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):checked::before {
    opacity: 1;
    background: var(--light-green);
    width: 22px;
    height: 22px;
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

#form-wrapper span.gfield_required_text {
    display: none;
}

#form-wrapper label {
    font-size: 18px;
    color: #707070;
    font-weight: 300;
    text-align: right;
    position: absolute;
    left: -300px;
    width: 300px;
    top: 15px;
    padding-right: 20px;
    display: block;
}

#form-wrapper label.gform-field-label--type-inline b {
    font-size: 18px;
    color: #000000;
    font-weight: 500;
}

#form-wrapper label.gform-field-label--type-inline {
    font-size: 18px;
    line-height: 24px;
    color: #707070;
    font-weight: 300;
    margin-left: 10px;
    position: relative;
    top: auto;
    left: auto;
    text-align: left;
    padding-right: 0;
    width: 100%;
}

#form-wrapper .gfield_label_before_complex {
    font-size: 18px;
    color: #707070;
    font-weight: 300;
    text-align: right;
    position: absolute;
    left: -300px;
    width: 300px;
    top: 0;
    padding-right: 20px;
    display: block;
}

#form-wrapper input[type=text],
#form-wrapper input[type=tel],
#form-wrapper input[type=email],
#form-wrapper input[type=number],
#form-wrapper select {
    box-shadow: none;
}

#form-wrapper input[type=text]:hover,
#form-wrapper input[type=text]:focus,
#form-wrapper input[type=text]:focus-visible,
#form-wrapper input[type=tel]:hover,
#form-wrapper input[type=tel]:focus,
#form-wrapper input[type=tel]:focus-visible,
#form-wrapper input[type=email]:hover,
#form-wrapper input[type=email]:focus,
#form-wrapper input[type=email]:focus-visible,
#form-wrapper input[type=number]:hover,
#form-wrapper input[type=number]:focus,
#form-wrapper input[type=number]:focus-visible,
#form-wrapper select:hover,
#form-wrapper select:focus,
#form-wrapper select:focus-visible {
    outline: none;
    border: none;
    box-shadow: none;
}

#form-wrapper .gfield--type-choice .gfield_checkbox,
#form-wrapper .gfield--type-choice .gfield_radio {
    gap: 20px
}

#form-wrapper .gfield.gfield--type-checkbox {
    margin-bottom: 20px;
    margin-top: 20px;
}


#form-wrapper #gform_submit_button_1 {
    content: "";
    display: block;
    position: relative;
    width: 360px;
    flex-basis: 360px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    background: rgb(72, 145, 89);
    border: none;
    -webkit-transition: all .4s ease-out;
    -moz-transition: all .4s ease-out;
    -o-transition: all .4s ease-out;
    transition: all .4s ease-out;
    font-size: 16px;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 600;
    border-radius: 10px;
    padding: 20px;
    overflow: hidden;
}

#form-wrapper #gform_submit_button_1 span {
    color: var(--white);
}

#form-wrapper #gform_submit_button_1:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: -50%;
    width: 200%;
    height: 100%;
    background: rgb(72, 145, 89);
    background: -moz-linear-gradient(90deg, rgba(72, 145, 89, 1) 0%, rgba(72, 145, 89, 1) 34%, rgba(157, 204, 69, 1) 59%, rgba(157, 204, 69, 1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(72, 145, 89, 1) 0%, rgba(72, 145, 89, 1) 34%, rgba(157, 204, 69, 1) 59%, rgba(157, 204, 69, 1) 100%);
    background: linear-gradient(90deg, rgba(72, 145, 89, 1) 0%, rgba(72, 145, 89, 1) 34%, rgba(157, 204, 69, 1) 59%, rgba(157, 204, 69, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#489159", endColorstr="#9dcc45", GradientType=1);
    -webkit-transition: all .4s ease-out;
    -moz-transition: all .4s ease-out;
    -o-transition: all .4s ease-out;
    transition: all .4s ease-out;
}

#form-wrapper #gform_submit_button_1:hover:before {
    right: 0;
}

/*
========================
BOTTOM BANNER
========================
 */
#build-banner {
    position: relative;
    padding: 190px 0 150px 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 2;
}

#build-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(7, 48, 52);
    background: -moz-linear-gradient(90deg, rgba(7, 48, 52, 1) 0%, rgba(7, 48, 52, 1) 25%, rgba(7, 48, 52, 0.3744091386554622) 100%);
    background: -webkit-linear-gradient(90deg, rgba(7, 48, 52, 1) 0%, rgba(7, 48, 52, 1) 25%, rgba(7, 48, 52, 0.3744091386554622) 100%);
    background: linear-gradient(90deg, rgba(7, 48, 52, 1) 0%, rgba(7, 48, 52, 1) 25%, rgba(7, 48, 52, 0.3744091386554622) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#073034", endColorstr="#073034", GradientType=1);
}

#build-banner .container {
    position: relative;
    z-index: 1;
}

#build-banner h2 span {
    color: var(--white);
}

#build-banner .banner-text {
    width: 535px;
    max-width: 100%;
    margin-bottom: 50px;
}

.banner-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

.banner-buttons a {
    min-width: calc(50% - 15px);
    margin-right: 15px;
    margin-bottom: 15px;
}

@media only screen and (max-width: 991.8px) {
    #form-wrapper label,
    #form-wrapper .gfield_label_before_complex {
        position: relative;
        width: 100%;
        left: 0;
        top: auto;
        text-align: left;

    }

    #build-banner {
        padding: 50px 0;
    }

    #build-banner {
        text-align: center;
    }

    #build-banner .banner-text {
        text-align: center;
        width: 100%;
    }

    .banner-buttons {
        justify-content: center;
    }

    .banner-buttons a {
        margin-right: auto;
        margin-left: auto;
    }
}

@media only screen and (max-width: 767.8px) {
    #build-banner::before {
        background-color: rgba(7, 48, 52, .7);
        background: rgba(7, 48, 52, .7);
    }
    #form-wrapper input[type=checkbox]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)){
        margin: 8px;
    }
}

@media only screen and (max-width: 575.8px) {
    #form-section {
        padding-bottom: 30px;
    }

    #form-wrapper {
        padding: 30px 15px;
    }

    #form-wrapper .gfield {
        width: 100%;
        flex-basis: 100%;
    }
}