<?php if ('layout_one' == $settings['layout_type']) : ?>

	<!-- Benefit section Start -->
	<section class="benefit-one">
		<div class="container">
			<div class="row">
				<div class="col-lg-6">
					<div class="benefit-one__left">
						<div class="benefit-one__thumb  wow fadeInLeft" data-wow-delay="700ms">
							<?php ostech_elementor_rendered_image($settings, 'layout_one_image'); ?>
						</div>
					</div>
				</div>
				<div class="col-lg-6">
					<div class="benefit-one__right">
						<?php if (!empty($settings['sec_sub_title']  || $settings['sec_title'])) : ?>
							<div class="benefit-one__top">
								<div class="sec-title sec-title--two wow fadeInUp" data-wow-duration='1500ms' data-wow-delay='000ms'>
									<?php if (!empty($settings['sec_sub_title'])) : ?>
										<div class="d-flex align-items-center justify-content-start">
											<?php ostech_elementor_rendered_image($settings, 'sec_subtitle_shape', 'sec-title__img'); ?>
											<?php
											if (!empty($settings['sec_sub_title'])) :
												$this->add_inline_editing_attributes('sec_sub_title', 'none');
												ostech_elementor_rendered_content($this, 'sec_sub_title', 'sec-title__tagline', $settings['section_sub_title_tag_layout_one']);
											endif; ?>
										</div>
									<?php endif; ?>
									<?php if (!empty($settings['sec_title'])) :
										$this->add_inline_editing_attributes('sec_title', 'none');
										ostech_elementor_rendered_content($this, 'sec_title', 'sec-title__title', $settings['section_title_tag_layout_one']);
									endif;
									?>
								</div>
							</div>
						<?php endif; ?>
						<div class="benefit-one__feature">
							<?php $i = 1;
							foreach ($settings['features_list'] as $index => $item) : ?>
								<div class="benefit-one__feature__item  wow fadeInUp" data-wow-delay="500ms">
									<div class="benefit-one__feature__item__bg" style="background-image: url(<?php echo esc_url($item['shape']['url']) ?>);"></div>
									<div class=" benefit-one__feature__item__content">
										<div class="benefit-one__feature__icon">
											<?php \Elementor\Icons_Manager::render_icon($item['icon'], ['aria-hidden' => 'true'], 'i'); ?>
										</div>
										<?php if (!empty($item['url']['url'])) : ?>
											<<?php echo esc_attr($item['title_tag_layout_one']); ?> class="benefit-one__feature__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['title_tag_layout_one']); ?>>
										<?php else : ?>
											<<?php echo esc_attr($item['title_tag_layout_one']); ?> class="benefit-one__feature__item__title">
												<?php echo wp_kses($item['title'], 'ostech_allowed_tags'); ?>
											</<?php echo esc_attr($item['title_tag_layout_one']); ?>>
										<?php endif; ?>
										<p class="benefit-one__feature__item__text"><?php echo wp_kses($item['content'], 'ostech_allowed_tags'); ?></p>
									</div>
								</div>
							<?php endforeach; ?>
						</div>
						<?php if (!empty($settings['check_list'])) : ?>
							<ul class="list-unstyled benefit-one__list  wow fadeInUp ml-0" data-wow-delay="500ms">
								<?php foreach ($settings['check_list'] as $index => $item) : ?>
									<li class="benefit-one__list__item">
										<?php \Elementor\Icons_Manager::render_icon($item['icon'], ['aria-hidden' => 'true'], 'i'); ?>
										<?php echo wp_kses($item['title'], 'ostech_allowed_tags'); ?>
									</li>
								<?php endforeach; ?>
							</ul>
						<?php endif; ?>
					</div>
					<?php if (!empty($settings['layout_one_button_label'] || $settings['bottom_sec_title'])) : ?>
						<div class="benefit-one__bottom  wow fadeInUp" data-wow-delay="500ms">
							<div class="benefit-one__bottom__content">
								<?php if (!empty($settings['bottom_sec_title'])) :
									$this->add_inline_editing_attributes('bottom_sec_title', 'none');
									ostech_elementor_rendered_content($this, 'bottom_sec_title', 'benefit-one__bottom__content__text', $settings['bottom_title_tag_layout_one']);
								endif;
								?>
								<?php if (!empty($settings['layout_one_button_label'])) : ?>
									<a href="<?php echo esc_url($settings['layout_one_button_url']['url']); ?>" <?php esc_attr(!empty($settings['layout_one_button_url']['is_external']) ? "target=_blank" : ' '); ?> class="ostech-btn"><?php echo esc_html($settings['layout_one_button_label']); ?></a>
								<?php endif; ?>
							</div>
						</div>
					<?php endif; ?>
				</div>
			</div>
		</div>
		<?php if (!empty($settings['layout_one_shape']['url'])) : ?>
			<div class="benefit-one__shape">
				<?php ostech_elementor_rendered_image($settings, 'layout_one_shape'); ?>
			</div>
		<?php endif; ?>
	</section>
	<!-- Benefit section End -->
<?php endif; ?>