<div class="hero d-md-block d-none" id="heroDesktop">
    <div class="hero-home">
        <div class="image-slider">
          <?php $__currentLoopData = $sliders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $slider): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <img src="<?php echo e($slider->image_path); ?>" alt="<?php echo e($slider->title); ?>" class="slide-image <?php echo e($key === 0 ? 'active' : ''); ?>">
          <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
        <div class="text-slider">
          <?php $__currentLoopData = $sliders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $slider): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="text-box">
              <h2><?php echo e($slider->title); ?></h2>
              <?php if($slider->sub_title): ?>
                <p><?php echo e($slider->sub_title); ?></p>
              <?php endif; ?>
            </div>
          <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
      </div>
</div>
<!-- Mobile Slider -->
<div class="hero-mobile d-md-none d-block" id="heroMobile">
    <div class="hero-home-mobile">
        <div class="image-slider">
          <?php $__currentLoopData = $sliders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $slider): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <img src="<?php echo e($slider->image_path); ?>" alt="<?php echo e($slider->title); ?>" class="slide-image <?php echo e($key === 0 ? 'active' : ''); ?>">
          <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
        <div class="text-slider">
          <?php $__currentLoopData = $sliders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $slider): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="text-box">
              <h2><?php echo e($slider->title); ?></h2>
              <?php if($slider->sub_title): ?>
                <h4><?php echo e($slider->sub_title); ?></h4>
              <?php endif; ?>
            </div>
          <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
      </div>
</div><?php /**PATH /home/egypetoo/public_html/resources/views/Website/home-partials/slider.blade.php ENDPATH**/ ?>