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

<!-- ==================== FAQ End ==================== -->
<section class="faq py-100">
    <div class="container">
        <div class="row">
            <div class="col-lg-5 col-12 my-auto">
                <div class="content">
                    <h3><?php echo e(__($faq->data_values->heading)); ?></h3>
                    <p><?php echo e(__($faq->data_values->subheading)); ?></p>
                    <a href="<?php echo e($faq->data_values->button_link); ?>"
                        class="btn button mt-4"><?php echo e(__($faq->data_values->button_name)); ?></a>
                </div>
            </div>
            <div class="col-lg-7 col-12 my-auto mt-4 mt-lg-0 mt-md-0">
                <div class="accordion custom--accordion" id="accordionExample">
                    <?php $__currentLoopData = $elements; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="accordion-item">
                            <h2 class="accordion-header" id="headingOne<?php echo e($loop->iteration); ?>">
                                <button class="accordion-button" type="button" data-bs-toggle="collapse"
                                    data-bs-target="#collapse-<?php echo e($loop->iteration); ?>" aria-expanded="<?php echo e($loop->iteration == 1 ? 'true' : 'false'); ?>" aria-controls="headingOne<?php echo e($loop->iteration); ?>">
                                    <?php echo e(__($item->data_values->question)); ?>

                                </button>
                            </h2>
                            <div id="collapse-<?php echo e($loop->iteration); ?>" class="accordion-collapse collapse <?php echo e($loop->first ? 'show' : ''); ?>" aria-labelledby="headingOne<?php echo e($loop->iteration); ?>"
                                data-bs-parent="#accordionExample">
                                <div class="accordion-body">
                                    <?php echo $item->data_values->answer; ?>
                                </div>
                            </div>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </div>
        </div>
    </div>
</section>
<!-- ==================== FAQ End ==================== -->
<?php /**PATH C:\xampp\htdocs\photostack\application\resources\views/presets/default/sections/faq.blade.php ENDPATH**/ ?>