<?php
  $faq = getContent('faq.content',true);
  $faqElement = getContent('faq.element',false,4);
?>
<!-- ==================== Accordion Start Here ==================== -->
<section class="accordion-area section-bg py-80 bg-img" style="background-image: url(<?php echo e(asset($activeTemplateTrue.'images/faq-bg.jpg')); ?>);">
    <div class="container">

        <div class="row justify-content-center">
            <div class="col-lg-10">
                <div class="section-heading  text-center">
                    <span class="subtitle"><?php echo e(__(@$faq->data_values->top_heading)); ?></span>
                    <h2 class="section-heading__title text-white">
                        <?php echo e(__(@$faq->data_values->heading)); ?>

                    </h2>
                    <p class="section-heading__desc text-white"><?php echo e(__(@$faq->data_values->sub_heading)); ?></p>
                </div>
            </div>
        </div>

        <div class="row gy-4 align-items-center justify-content-center">
            <div class="col-lg-6">
                <div class="accordion custom--accordion" id="accordionExample">
                    <?php $__currentLoopData = $faqElement; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="accordion-item">
                      <h2 class="accordion-header" id="heading<?php echo e($loop->index); ?>">
                        <button class="accordion-button <?php echo e($loop->index == 0 ? '' : 'collapsed'); ?>" type="button" data-bs-toggle="collapse" data-bs-target="#collapse<?php echo e($loop->index); ?>" aria-expanded="<?php echo e($loop->index == 0 ? 'true': 'false'); ?>">
                            <?php echo e(__(@$item->data_values->question)); ?>

                        </button>
                      </h2>
                      <div id="collapse<?php echo e($loop->index); ?>" class="accordion-collapse collapse <?php echo e($loop->index == 0 ? 'show': ''); ?>" aria-labelledby="heading<?php echo e($loop->index); ?>" data-bs-parent="#accordionExample">
                        <div class="accordion-body">
                            <?php echo e(strLimit(strip_tags(@$item->data_values->answer),350)); ?>

                        </div>
                      </div>
                    </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </div>
        </div>
        
    </div>
</section>
<!-- ==================== Accordion End Here ==================== -->
<?php /**PATH /home/webtechscom/public_html/smm.webtechs.com.ng/application/resources/views/presets/default/sections/faq.blade.php ENDPATH**/ ?>