<?php $categories = $categories ?? []; ?>

<div class="pt-16 sm:pt-24 lg:pt-[120px]">
    <div class="container max-w-[1600px]">
        <!-- HEADER -->
        <div class="grid grid-cols-12 gap-4 items-center">
            <div class="col-span-full text-center max-w-[594px] mx-auto">
                <div class="area-subtitle subtitle-outline style-three !text-secondary"><?php echo e(translate( 'Courses Categories' )); ?></div>
                <h2 class="area-title mt-2">
                    <?php echo e(translate( 'Explore Our Top Categories' )); ?>

                </h2>
            </div>
        </div>
        <!-- BODY -->
        <?php if( !empty( $categories ) && is_iterable( $categories ) ): ?>
        <div class="grid grid-cols-12 gap-x-4 xl:gap-x-7 gap-y-7 mt-10 lg:mt-[60px]">
            <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <?php if (isset($component)) { $__componentOriginalf20ba055a3e35197a32777e0fb5ef1e0 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalf20ba055a3e35197a32777e0fb5ef1e0 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'f484570d7cf557020e11ace406901b10::cards.category.card-four','data' => ['category' => $category]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('theme::cards.category.card-four'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['category' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($category)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalf20ba055a3e35197a32777e0fb5ef1e0)): ?>
<?php $attributes = $__attributesOriginalf20ba055a3e35197a32777e0fb5ef1e0; ?>
<?php unset($__attributesOriginalf20ba055a3e35197a32777e0fb5ef1e0); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalf20ba055a3e35197a32777e0fb5ef1e0)): ?>
<?php $component = $__componentOriginalf20ba055a3e35197a32777e0fb5ef1e0; ?>
<?php unset($__componentOriginalf20ba055a3e35197a32777e0fb5ef1e0); ?>
<?php endif; ?>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
        <?php endif; ?>
    </div>
</div><?php /**PATH D:\www\edulab\Modules\LMS\resources\themes\digital-education\components\category\top-category.blade.php ENDPATH**/ ?>