

<?php $__env->startSection('content'); ?>

<?php if($banner): ?>
<div class="inner-banner" style="background-image: url('<?php echo e(asset($banner->image)); ?>')">
       

    <div class="about-us-hero-content">
        <div class="about-us-hero-text">
            <h1 class="fw-bold" ><?php echo e($banner->title); ?></h1>
        </div>
    </div>
</div>
<?php endif; ?>
<!-- About Us Content Section -->

<!-- About Us Content Section -->
<div class="about-us-content py-lg-5 py-4 bg-light">
    <div class="container">
        <?php if($groups->count() > 0 && $groups[0]->aboutUsEntries->count() > 0): ?>
            <?php $firstItem = $groups[0]->aboutUsEntries->first(); ?>
            <div class="row justify-content-center text-center mb-5">
                <div class="col-lg-10">
                    <h1 class="display-6 fw-bold"><?php echo e($firstItem->title); ?></h1>
                    <p class="lead"><?php echo $firstItem->description; ?></p>
                    <?php if($firstItem->image): ?>
                        <img src="<?php echo e(asset($firstItem->image)); ?>" alt="About Us Image" class="img-fluid rounded shadow-sm mt-4" style="max-height: 400px; object-fit: cover;">
                    <?php endif; ?>
                </div>
            </div>
        <?php endif; ?>

      <div class="row g-lg-5 g-3 justify-content-center">
            <?php $__currentLoopData = $groups; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $group): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <?php $__currentLoopData = $group->aboutUsEntries->skip(1); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $entry): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="col-lg-4">
                        <div class="about-us-content-img">
                            <img src="<?php echo e(asset($entry->image)); ?>" alt="<?php echo e($entry->title); ?>" class="img-fluid">
                        </div>
                    </div>
                    <div class="col-lg-6 d-flex align-items-center">
                        <div class="about-us-content-text">
                            <h3><?php echo e($entry->title); ?></h3>
                            <p><?php echo $entry->description; ?></p>
                        </div>
                    </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
    </div>
</div>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('users.user-dashboard', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Users\HP\Desktop\shresthi\app (2)\app\resources\views/users/pages/about.blade.php ENDPATH**/ ?>