<?php if ('layout_one' == $settings['layout_type']) : ?>
	<!-- Feature section Start -->
	<section class="project-one">
		<div class="container">
			<?php if (!empty($settings['sec_sub_title'] || $settings['sec_title'])) : ?>
				<div class="sec-title text-center 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-center">
							<?php ostech_elementor_rendered_image($settings, 'sec_title_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>
			<?php endif; ?>
			<div class="horizontal-project">
				<?php foreach ($settings['portfolio_one_list'] as $index => $item) : ?>
					<div class="project-one__item choice <?php echo esc_attr(('yes' == $item['active_status'] ? 'expand' : '')); ?>">
						<div class="project-one__item__bg" style="background-image: url(<?php echo esc_url($item['bg_image']['url']) ?>);"></div>
						<div class="project-one__item__inner">
							<div class="project-one__thumb">
								<?php ostech_elementor_rendered_image($item, 'image'); ?>
							</div>
							<div class="project-one__content">
								<<?php echo esc_attr($item['portfolio_title_tag_layout_one']); ?> class="project-one__content__title">
									<?php
									if (!empty($item['title'])) :
										ostech_basic_rendered_content($this, $item, 'title', '', 'a');
									endif;
									?>
								</<?php echo esc_attr($item['portfolio_title_tag_layout_one']); ?>>

								<p class="project-one__content__text"><?php echo wp_kses($item['tag_line'], 'ostech_allowed_tags'); ?></p>

								<a href="<?php echo esc_url($item['url']['url']); ?>" <?php esc_attr(!empty($item['url']['is_external']) ? "target=_blank" : ' '); ?> class="project-one__content__btn"><i class="icon-right-arrow"></i></a>
							</div>
						</div>
					</div>
				<?php endforeach; ?>
			</div>
		</div>
	</section>
	<!-- Feature section End -->

<?php endif; ?>