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

<section class="pt-120 pb-120">
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-lg-6">
                <div class="section-header text-center">
                    <h2 class="section-title"><?php echo e(__(@$faqContent->data_values->heading)); ?></h2>
                    <p><?php echo e(__(@$faqContent->data_values->sub_heading)); ?></p>
                </div>
            </div>
        </div><!-- row end -->
        <div class="row justify-content-center accordion-arrow">

            <div class="col-lg-6 mt-lg-0 mt-4">
                <div class="accordion cmn-accordion" id="accordionExample">
                    <?php $__currentLoopData = $faqElements; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $faq): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php if($loop->odd): ?>
                            <div class="card">
                                <div class="card-header" id="h-<?php echo e($loop->index + 1); ?>">
                                    <button class="btn btn-link text-decoration-none btn-block text-left collapsed <?php if(!$loop->first): ?>  <?php endif; ?>" type="button" data-bs-toggle="collapse" data-bs-target="#c-<?php echo e($loop->index + 1); ?>" aria-expanded="false" aria-controls="c-<?php echo e($loop->index + 1); ?>">
                                        <i class="las la-question-circle"></i>
                                        <span><?php echo e(__(@$faq->data_values->question)); ?></span>
                                    </button>
                                </div>

                                <div id="c-<?php echo e($loop->index + 1); ?>" class="collapse" aria-labelledby="h-<?php echo e($loop->index + 1); ?>" data-parent="#accordionExample">
                                    <div class="card-body">
                                        <p><?php echo e(__(@$faq->data_values->answer)); ?></p>
                                    </div>
                                </div>
                            </div>
                        <?php endif; ?>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </div>

            <div class="col-lg-6">
                <div class="accordion cmn-accordion" id="accordionExample">
                    <?php $__currentLoopData = $faqElements; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $faq): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php if($loop->even): ?>
                            <div class="card">
                                <div class="card-header" id="h-<?php echo e($loop->index + 1); ?>">
                                    <button class="btn btn-link text-decoration-none btn-block text-left collapsed <?php if(!$loop->first): ?>  <?php endif; ?>" type="button" data-bs-toggle="collapse" data-bs-target="#c-<?php echo e($loop->index + 1); ?>" aria-expanded="true" aria-controls="c-<?php echo e($loop->index + 1); ?>">
                                        <i class="las la-question-circle"></i>
                                        <span><?php echo e(__(@$faq->data_values->question)); ?></span>
                                    </button>
                                </div>

                                <div id="c-<?php echo e($loop->index + 1); ?>" class="collapse" aria-labelledby="h-<?php echo e($loop->index + 1); ?>" data-parent="#accordionExample">
                                    <div class="card-body">
                                        <p><?php echo e(__(@$faq->data_values->answer)); ?></p>
                                    </div>
                                </div>
                            </div>
                        <?php endif; ?>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </div>
        </div>
    </div>
</section>
<?php /**PATH C:\xampp\htdocs\bitpeak\core\resources\views/templates/basic/sections/faq.blade.php ENDPATH**/ ?>