ÿØÿÛ C 

ÿØÿÛ C 

<?php
	$marin_faq_disabled = get_theme_mod( 'marin_faq_disabled', true );
if ( true === $marin_faq_disabled ) {
	$marin_faq_area_title     = get_theme_mod( 'marin_faq_area_title', 'Frequently Asked Question?' );
	$marin_faq_area_des       = get_theme_mod( 'marin_faq_area_des', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.' );
	$marin_faq_content        = get_theme_mod( 'marin_faq_content', MARIN_FAQ_DEFAULT_CONTENT );
	$marin_faq_container_size = get_theme_mod( 'marin_faq_container_size', 'av-container' );
	$marin_faq_column_layout  = get_theme_mod( 'marin_faq_column_layout', 'av-column-4' );
	?>	
	<section id="faq-section" class="faq-section av-py-default shapes-section roller rollerstart" data-roller="start:0.5">
		<div class="<?php echo esc_attr( $marin_faq_container_size ); ?>">
			<div class="av-columns-area wow fadeInUp">
				<div class="av-column-12">
					<?php if ( ! empty( $marin_faq_area_title ) || ! empty( $marin_faq_area_des ) ) : ?>
						<div class="av-columns-area">
							<div class="av-column-12">
								<div class="heading-default text-center wow fadeInUp">
									<?php if ( ! empty( $marin_faq_area_title ) ) : ?>
										<h3><?php echo wp_kses_post( $marin_faq_area_title ); ?></h3>
										<span class="separator"><span><span></span></span></span>
									<?php endif; ?>
									<?php if ( ! empty( $marin_faq_area_des ) ) : ?>
										<p><?php echo wp_kses_post( $marin_faq_area_des ); ?></p>
									<?php endif; ?>	
								</div>
							</div>
						</div>
					<?php endif; ?>
					<div class="av-columns-area contactinfo-row">
						<?php
						if ( ! empty( $marin_faq_content ) ) {
							$marin_faq_content = json_decode( $marin_faq_content );
							foreach ( $marin_faq_content as $faq_item ) {
								$title  = ! empty( $faq_item->title ) ? apply_filters( 'marin_translate_single_string', $faq_item->title, 'faq section' ) : '';
								$text   = ! empty( $faq_item->text ) ? apply_filters( 'marin_translate_single_string', $faq_item->text, 'faq section' ) : '';
								$link   = ! empty( $faq_item->link ) ? apply_filters( 'marin_translate_single_string', $faq_item->link, 'faq section' ) : '';
								//$image  = ! empty( $faq_item->image_url ) ? apply_filters( 'marin_translate_single_string', $faq_item->image_url, 'faq section' ) : '';
								$icon   = ! empty( $faq_item->icon_value ) ? apply_filters( 'marin_translate_single_string', $faq_item->icon_value, 'faq section' ) : '';
								//$choice = ! empty( $faq_item->choice ) ? apply_filters( 'marin_translate_single_string', $faq_item->choice, 'faq section' ) : '';
								?>
								<div class="<?php echo esc_attr( $marin_faq_column_layout ); ?> <?php echo esc_attr( $marin_faq_container_size ); ?> px-2">
									<div class="contactinfo-item">
										<?php if ( ! empty( $icon ) ) : ?>
											<i class="fa <?php echo esc_attr( $icon ); ?>" aria-hidden="true"></i>
										<?php endif; ?>

										<?php if ( ! empty( $title ) || ! empty( $text ) ) : ?>
											<h5 class=""><a href="<?php echo esc_url( $link ); ?>"><?php echo esc_html( $title ); ?></a></h5>
											<p><?php echo esc_html( $text ); ?></p>
										<?php endif; ?>
									</div>
								</div>
								<?php
							}
						}
						?>
					</div>
				</div>

			</div>
		</div>
	</section>
<?php } ?>
