<?php if ('layout_three' == $settings['layout_type']) : ?>
    <section class="team-form-one">
        <!-- /.team-form-one__bg -->
        <div class="team-form-one__bg" style="background-image: url(<?php echo esc_url($settings['layout_three_bg']['url']) ?>);"></div>
        <div class="container">
            <div class="sec-title text-center wow fadeInUp" data-wow-duration='1500ms' data-wow-delay='000ms'>
                <div class="d-flex align-items-center justify-content-center">
                    <?php ostech_elementor_rendered_image($settings, 'layout_three_title_image', 'sec-title__img'); ?>
                    <?php
                    if (!empty($settings['layout_three_sec_sub_title'])) :
                        $this->add_inline_editing_attributes('layout_three_sec_sub_title', 'none');
                        ostech_elementor_rendered_content($this, 'layout_three_sec_sub_title', 'sec-title__tagline', $settings['section_sub_title_tag_layout_three']);
                    endif; ?>
                </div>
                <?php if (!empty($settings['layout_three_sec_title'])) :
                    $this->add_inline_editing_attributes('layout_three_sec_title', 'none');
                    ostech_elementor_rendered_content($this, 'layout_three_sec_title', 'sec-title__title', $settings['section_title_tag_layout_three']);
                endif; ?>
            </div>
            <div class="form-one team-form-one__form contact-form-validated  wow fadeInUp" data-wow-delay='500ms'>
                <?php echo str_replace("<br />", "", trim(do_shortcode('[contact-form-7 id="' . $settings['layout_three_select_wpcf7_form'] . '" ]'))); ?>
            </div>
            <div class="result"></div><!-- /.result -->
        </div><!-- /.container -->
        <?php if (!empty($settings['layout_three_shape_one'])) : ?>
            <div class="team-form-one__shape">
                <?php ostech_elementor_rendered_image($settings, 'layout_three_shape_one'); ?>
            </div>
        <?php endif; ?>
    </section><!-- /.team-form-one -->
<?php endif; ?>