<?php if ('layout_one' == $settings['layout_type']) : ?>
	<!-- FAQS section Start -->
	<section class="faqs-two">
		<div class="container">
			<div class="row gutter-y-30 align-items-center">
				<div class="col-lg-6">
					<div class="faqs-two__left wow fadeInLeft" data-wow-duration="1000ms" data-wow-delay="500ms">
						<?php if (!empty($settings['sec_sub_title']  || $settings['sec_title'])) : ?>
							<div class="faqs-two__top">
								<div class="sec-title  wow fadeInUp" data-wow-duration='1500ms' data-wow-delay='000ms'>
									<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 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="faqs-two__content">
							<div class="faq-page__accordion ostech-accrodion" data-grp-name="ostech-accrodion">
								<?php
								foreach ($settings['faq_lists'] as $key => $item) :
								?>
									<div class="accrodion <?php echo esc_attr(('yes' == $item['active_status'] ? 'active' : '')); ?>">
										<div class="accrodion-title">
											<<?php echo esc_attr($item['question_title_tag_layout_one']); ?> class="accrodion-title__text"><?php echo wp_kses($item['question'], 'ostech_allowed_tags'); ?>
												<span class="accrodion-title__icon"></span><!-- /.accrodion-title__icon -->
											</<?php echo esc_attr($item['question_title_tag_layout_one']); ?>>
										</div><!-- /.accordian-title -->
										<div class="accrodion-content">
											<div class="inner">
												<p class="inner__text"><?php echo wp_kses($item['answer'], 'ostech_allowed_tags'); ?></p>
											</div><!-- /.accordian-content -->
										</div>
									</div><!-- /.accordian-item -->
								<?php endforeach; ?>
							</div>
						</div>
					</div>
				</div>
				<div class="col-lg-6">
					<div class="faqs-two__right wow fadeInRight" data-wow-duration="1000ms" data-wow-delay="500ms">
						<div class="faqs-two__thumb">
							<?php ostech_elementor_rendered_image($settings, 'layout_one_image'); ?>
							<div class="faqs-two__item__funfact__item count-box">
								<h2 class="faqs-two__item__funfact__item__count">
									<span class="count-text" data-stop="<?php echo esc_attr($settings['layout_one_count']) ?>" data-speed="1500"></span>
									<span><?php echo esc_html($settings['layout_one_counter_after']) ?></span>
								</h2>
								<p class="faqs-two__item__funfact__item__text"><?php echo wp_kses($settings['layout_one_count_text'], 'ostech_allowed_tags'); ?></p>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</section>
	<!-- FAQS section End -->

<?php endif; ?>