<?php if ('layout_six' == $settings['layout_type']) : ?>
    <!-- Team Five Start -->
    <section class="team-three">
        <div class="team-three__bg" style="background-image: url(<?php echo esc_url($settings['layout_three_bg_image']['url']); ?>);"></div>
        <div class="container">
            <div class="sec-title-two">

                <<?php echo esc_attr($settings['section_sub_title_tag_layout_six']); ?> class="sec-title-two__tagline">
                    <span class="sec-title-two__tagline__icon">
                        <?php \Elementor\Icons_Manager::render_icon($settings['layout_six_sec_icon'], ['aria-hidden' => 'true'], 'i'); ?>
                    </span><?php echo wp_kses($settings['layout_six_sec_sub_title'], 'ostech_allowed_tags'); ?>
                </<?php echo esc_attr($settings['section_sub_title_tag_layout_six']); ?>><!-- /.sec-title-two__tagline -->

                <?php
                if (!empty($settings['layout_six_sec_title'])) :
                    $this->add_inline_editing_attributes('layout_six_sec_title', 'none');
                    ostech_elementor_rendered_content($this, 'layout_six_sec_title', 'sec-title-two__title', $settings['section_title_tag_layout_six']);
                endif;
                ?>
            </div><!-- /.sec-title-two -->
            <div class="row gutter-y-30">
                <?php
                $counter = 1;
                foreach ($settings['layout_six_team_items'] as $item) : ?>
                    <div class="col-lg-4 col-md-6">
                        <div class="team-card-three <?php if ($counter == '1') {
                                                        echo esc_attr("team-three__one");
                                                    } elseif ($counter == '2') {
                                                        echo esc_attr("team-three__two");
                                                    } elseif ($counter == '3') {
                                                        echo esc_attr("team-three__three");
                                                    } ?> wow fadeInUp" data-wow-duration='1500ms' data-wow-delay='00ms'>
                            <div class="team-card-three__image">
                                <?php ostech_elementor_rendered_image($item, 'image'); ?>
                            </div><!-- /.team-card-three__image -->
                            <div class="team-card-three__content">
                                <span class="team-card-three__designation">
                                    <?php echo wp_kses($item['designation'], 'ostech_allowed_tags'); ?>
                                </span><!-- /.team-card-three__designation -->
                                <<?php echo esc_attr($item['team_name_tag_layout_six']); ?> class="team-card-three__title">
                                    <a href="<?php echo esc_url($item['url']['url']); ?>" <?php esc_attr(!empty($item['url']['is_external']) ? "target=_blank" : ' '); ?>><?php echo wp_kses($item['name'], 'ostech_allowed_tags'); ?></a>
                                </<?php echo esc_attr($item['team_name_tag_layout_six']); ?>><!-- /.team-card-two__title -->
                                <div class="team-card-three__social">
                                    <?php echo wp_kses($item['social_network'], 'ostech_allowed_tags'); ?>
                                </div><!-- /.team-card-three__social__list -->
                            </div><!-- /.team-card-three__content -->
                        </div><!-- /.team-card-three -->
                    </div><!-- /.col-lg-6 col-md-12 -->
                <?php
                    $counter++;
                endforeach; ?>
            </div>
        </div><!-- /.container -->
    </section><!-- /.team-three -->
    <!-- Team Five Start -->
<?php endif; ?>