<?php if ('layout_three' == $settings['layout_type']) : ?>
    <section class="package-page package-page--carousel">
        <div class="container">
            <div class="package-page__carousel ostech-owl__carousel ostech-owl__carousel--with-shadow ostech-owl__carousel--basic-nav owl-carousel owl-theme" data-owl-options='<?php echo esc_attr(ostech_get_owl_options($settings)); ?>'>
                <?php foreach ($settings['pricing_layout_two'] as $index => $item) :  ?>
                    <div class="item">
                        <div class="package-card price wow fadeInUp" data-wow-duration='700ms'>
                            <div class="package-card__head">
                                <?php if (!empty($item['package_status'])) : ?>
                                    <p class="package-card__head__top"><?php echo esc_html($item['package_status']) ?></p>
                                <?php endif; ?>
                                <div class="package-card__head__box">
                                    <h2 class="package-card__head__title"><?php echo wp_kses($item['plan_title'], 'ostech_allowed_tags'); ?></h2>
                                </div>
                                <div class="package-card__head__content">
                                    <p class="package-card__head__price"> <span class="sup"><?php echo esc_html($item['price_sign']) ?></span> <?php echo wp_kses($item['price'], 'ostech_allowed_tags'); ?><span class="sub"><?php echo esc_html($item['price_decimal']) ?></span></p>
                                    <p class="package-card__head__month"><?php echo wp_kses($item['service_title_text'], 'ostech_allowed_tags'); ?></p>
                                </div>
                            </div>
                            <div class="package-card__content">
                                <ul class="package-card__content__list list-unstyled ml-0">
                                    <?php echo wp_kses($item['service_list'], 'ostech_allowed_tags'); ?>
                                </ul>
                                <?php if (!empty($item['button_label'])) : ?>
                                    <div class="package-card__content__link">
                                        <a href="<?php echo esc_url($item['url']['url']); ?>" <?php esc_attr(!empty($item['url']['is_external']) ? "target=_blank" : ' '); ?> class="package-card__content__link__btn ostech-btn ostech-btn--secondary">
                                            <?php echo esc_html($item['button_label']); ?>
                                        </a>
                                    </div>
                                <?php endif; ?>
                            </div>
                            <div class="package-card__shape">
                                <?php ostech_elementor_rendered_image($item, 'image'); ?>
                            </div>
                        </div>
                    </div>
                <?php endforeach; ?>
            </div><!-- /.row -->
        </div><!-- /.container -->
    </section>

<?php endif; ?>