<?php if ('layout_three' === $settings['layout_type']) : ?>
    <!-- Package Style One -->
    <section class="membership-three">
        <div class="membership-three__shape-one" style="background-image: url(<?php echo esc_url($settings['layout_three_shape_one']['url']); ?>);"></div><!-- /.membership-three__shape -->
        <div class="membership-three__shape-two" style="background-image: url(<?php echo esc_url($settings['layout_three_shape_two']['url']); ?>);"></div><!-- /.membership-three__shape -->
        <div class="container">
            <div class="sec-title-two">

                <<?php echo esc_attr($settings['section_sub_title_tag_layout_three']); ?> class="sec-title-two__tagline">
                    <span class="sec-title-two__tagline__icon">
                        <?php \Elementor\Icons_Manager::render_icon($settings['layout_three_sec_icon'], ['aria-hidden' => 'true'], 'i'); ?>
                    </span><?php echo wp_kses($settings['layout_three_sec_sub_title'], 'ostech_allowed_tags'); ?>
                </<?php echo esc_attr($settings['section_sub_title_tag_layout_three']); ?>><!-- /.sec-title-two__tagline -->
                <?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-two__title', $settings['section_title_tag_layout_three']);
                endif;
                ?>
            </div><!-- /.sec-title-two -->
            <div class="row gutter-y-30">
                <?php foreach ($settings['layout_three_package_list'] as $index => $item) :  ?>
                    <div class="col-lg-6 wow fadeInUp" data-wow-delay="00ms">
                        <div class="membership-three__item">
                            <div class="membership-three__item__top">
                                <<?php echo esc_attr($item['package_title_tag_layout_three']); ?> class="membership-three__item__title">
                                    <a href="<?php echo esc_url($item['url']['url']); ?>"><?php echo wp_kses($item['title'], 'ostech_allowed_tags'); ?></a>
                                </<?php echo esc_attr($item['package_title_tag_layout_three']); ?>><!-- /.membership-three__item__title -->
                                <div class="membership-three__item__price"><?php echo wp_kses($item['price'], 'ostech_allowed_tags'); ?></div><!-- /.membership-three__item__price -->
                            </div>
                            <p class="membership-three__item__text">
                                <?php echo wp_kses($item['subtitle'], 'ostech_allowed_tags'); ?>
                            </p>
                        </div><!-- /.membership-three__item -->
                    </div><!-- /.col-lg-6 -->
                <?php endforeach; ?>
            </div><!-- /.row -->
        </div><!-- /.container -->
    </section><!-- /.membership-three -->
    <!-- Package Style Two -->
<?php endif; ?>