.contact_section {
    width: 100%;

    & .section_inner {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;

        @media (max-width: 991px) {
            flex-direction: column;
        }

        & .left_side {
            width: 48%;

            @media (max-width: 991px) {
                width: 100%;

                &:not(:last-child) {
                    margin-bottom: 5rem;
                }
            }

            & h2 {
                font-family: "DM Sans", arial, sans-serif;
                font-weight: 400;
                color: var(--primary);
                margin: 0 0 3rem;
            }

            & p {
                font-family: "DM Sans", arial, sans-serif;
                font-weight: 400;
                color: var(--primary);
                margin: 0 0 3rem;

                & a {
                    color: var(--primary);
                    text-decoration: underline;
                }
            }

            & img {
                width: 100%;

                @media (max-width: 991px) {
                    display: none;
                }
            }
        }

        & .right_side {
            width: 48%;

            @media (max-width: 991px) {
                width: 100%;
            }

            & .gform_heading {
                & h2 {
                    font-size: 2.4rem;
                    color: #333333;
                    margin: 0 0 3rem;
                }
            }

            & .gform_wrapper {
                width: 100%;
                display: flex;
                flex-direction: column;

                & .gform_heading {
                    order: 2;
                    margin-top: 3rem;
                }

                & form {
                    & .gform_body {
                        & .gform_fields {
                            row-gap: 2rem;

                            label.gform-field-label.gform-field-label--type-sub {
                                display: none;
                            }

                            label, legend {
                                font-size: 1.8rem;
                                font-weight: 700;
                                color: var(--text);
                            }

                            & input:not([type=checkbox]), & select, & textarea {
                                width: 100%;
                                font-size: 1.6rem;
                                font-weight: 400;
                                color: var(--text);
                                padding: 1rem 0;
                                height: auto;
                                border-top: none;
                                border-left: none;
                                border-right: none;
                                border-bottom: 1px solid var(--primary);
                                background: none;
                                box-shadow: none;
                                border-radius: 0;
                                outline: 0;
                            }

                            & select {
                                -webkit-appearance: none;
                                appearance: none;
                                background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23333333' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
                                background-repeat: no-repeat;
                                background-position: right 0.25rem center;
                                background-size: 1.2rem auto;
                                padding-right: 2rem;
                                cursor: pointer;

                                &:has(option[value=""]:checked) {
                                    color: #999999;
                                }
                            }

                            & textarea {
                                height: 8rem;
                            }
    
                            & .gfield_description:not(.ginput_counter) {
                                margin: 0;
                                padding: 0 0 1rem;
                            }
                            
                            & .ginput_counter {
                                margin: 1rem 0 0;
                            }
                        }
                    }

                    & .gform_footer {
                        width: 100%;
                        margin: 4rem 0 0;
                        padding: 0;

                        @media (max-width: 991px) {
                            display: flex;
                            justify-content: center;
                        }

                        & input {
                            width: auto !important;
                            display: inline-block !important;
                            text-decoration: none !important;
                            outline: none !important;
                            cursor: pointer !important;
                            text-align: center !important;
                            border-radius: 5rem !important;
                            padding: 1.4rem 10rem !important;
                            font-size: 1.8rem !important;
                            font-weight: 400 !important;
                            font-style: normal !important;
                            line-height: normal !important;
                            transition: all 0.5s ease !important;
                            text-transform: uppercase !important;
                            border: 1px solid transparent !important;
                            color: var(--white) !important;
                            background-color: var(--primary) !important;
                            border-color: var(--primary) !important;
                        }
                    }
                }
            }
        }
    }
}