<section class="pt-50 pb-50">
    <div class="container">
        <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="pt-30 pb-30">
                <div class="mb-30">
                    <div class="section-title-two mb-20 tg-heading-subheading animation-style2">
                        <h2 class="title tg-element-title"><?php echo e($category->name); ?></h2>
                    </div>

                    <?php if($category->description): ?>
                        <div><?php echo BaseHelper::clean(nl2br($category->description)); ?></div>
                    <?php endif; ?>
                </div>

                <div class="accordion-wrap-three">
                    <div class="accordion" id="accordion-faqs-<?php echo e($key); ?>">
                        <div class="row row-cols-2 g-1">
                            <?php $__currentLoopData = $category->faqs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $faq): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <div class="col p-0 px-2">
                                    <div class="accordion-item">
                                        <h2 class="accordion-header">
                                            <button
                                                class="accordion-button collapsed"
                                                data-bs-toggle="collapse"
                                                data-bs-target="#collapse-<?php echo e($key); ?>-<?php echo e($loop->index); ?>"
                                                type="button"
                                                aria-expanded="false"
                                                aria-controls="collapse-<?php echo e($key); ?>-<?php echo e($loop->index); ?>"
                                            >
                                                <?php echo e($faq->question); ?>

                                            </button>
                                        </h2>
                                        <div
                                            class="accordion-collapse collapse"
                                            id="collapse-<?php echo e($key); ?>-<?php echo e($loop->index); ?>"
                                            data-bs-parent="#accordion-faqs-<?php echo e($key); ?>"
                                        >
                                            <div class="accordion-body">
                                                <?php echo BaseHelper::clean($faq->answer); ?>

                                            </div>
                                        </div>
                                    </div>
                                </div>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </div>
                    </div>
                </div>
            </div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </div>
</section>
<?php /**PATH /home/mideatek/taxandaccounts.ae/platform/themes/gerow/partials/shortcodes/faqs/index.blade.php ENDPATH**/ ?>