<?php $__env->startSection('title', $service->title); ?>

<?php $__env->startSection('content'); ?>
<div class="container py-5">
    <div class="row">
        <div class="col-md-8 offset-md-2">
            <h1 class="fw-bold mb-3"><?php echo e($service->title); ?></h1>

            <?php if($service->image): ?>
            <img src="<?php echo e(asset('storage/services/' . $service->image)); ?>" 
                 alt="<?php echo e($service->title); ?>" 
                 class="img-fluid rounded mb-3 float-start me-3"
                 style="max-width: 200px; height: auto;">
            <?php endif; ?>

            <?php if($service->description): ?>
            <p class="text-muted" style="text-align: justify; word-break: break-word;">
                <?php echo e($service->description); ?>

            </p>
            <?php endif; ?>

            <a href="<?php echo e(route('frontend.services')); ?>" class="btn btn-success mt-3">Back to Services</a>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('frontend.layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /usr/local/var/www/memafarms/resources/views/frontend/service_detail.blade.php ENDPATH**/ ?>