<?php
  $faq = getContent('faq.content',true);
  $faqElements = getContent('faq.element',false,12);
?>

<!-- ==================== FAQ Start ==================== -->
<section class="faq py-80">
    <div class="container">
        <div class="title">
            <h4><?php echo e(__(@$faq->data_values->heading)); ?></h4>
            <p><?php echo e(__(@$faq->data_values->sub_heading)); ?></p>
        </div>
        <div class="row gy-4 justify-content-center">
            <div class="col-lg-6">
                <div class="accordion custom--accordion" id="accordionExample1">
                    <?php $__currentLoopData = $faqElements; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php if($index % 2 == 0): ?>
                            <div class="accordion-item">
                                <h2 class="accordion-header d-flex align-items-center" id="heading<?php echo e($index); ?>One">
                                    <span class="number"><?php echo e($index + 1); ?></span>
                                    <button class="accordion-button <?php echo e($index == 0 ? '' : 'collapsed'); ?>" type="button" data-bs-toggle="collapse" data-bs-target="#collapse<?php echo e($index); ?>One" aria-expanded="<?php echo e($index == 0 ? 'true' : 'false'); ?>">
                                        <?php echo e(__(@$item->data_values->question)); ?>

                                    </button>
                                </h2>
                                <div id="collapse<?php echo e($index); ?>One" class="accordion-collapse collapse <?php echo e($index == 0 ? 'show' : ''); ?>" aria-labelledby="heading<?php echo e($index); ?>One" data-bs-parent="#accordionExample1">
                                    <div class="accordion-body">
                                        <?php echo $item->data_values->answer; ?>
                                    </div>
                                </div>
                            </div>
                        <?php endif; ?>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </div>
            <div class="col-lg-6">
                <div class="accordion custom--accordion" id="accordionExample2">
                    <?php $__currentLoopData = $faqElements; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php if($index % 2 != 0): ?>
                            <div class="accordion-item">
                                <h2 class="accordion-header d-flex align-items-center" id="heading<?php echo e($index); ?>Two">
                                    <span class="number"><?php echo e($index + 1); ?></span>
                                    <button class="accordion-button <?php echo e($index == 1 ? '' : 'collapsed'); ?>" type="button" data-bs-toggle="collapse" data-bs-target="#collapse<?php echo e($index); ?>Two" aria-expanded="<?php echo e($index == 1 ? 'true' : 'false'); ?>">
                                        <?php echo e(__(@$item->data_values->question)); ?>

                                    </button>
                                </h2>
                                <div id="collapse<?php echo e($index); ?>Two" class="accordion-collapse collapse <?php echo e($index == 1 ? 'show' : ''); ?>" aria-labelledby="heading<?php echo e($index); ?>Two" data-bs-parent="#accordionExample2">
                                    <div class="accordion-body">
                                        <?php echo $item->data_values->answer; ?>
                                    </div>
                                </div>
                            </div>
                        <?php endif; ?>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </div>
        </div>
    </div>
</section>
<!-- ==================== FAQ End ==================== -->
<?php /**PATH /home/webtechscom/public_html/smm.webtechs.com.ng/application/resources/views/presets/themeTwo/sections/faq.blade.php ENDPATH**/ ?>