

<?php $__env->startSection('content'); ?>
    <section class="services-sec services-det-pg section pb-0">
        <div class="container">
            <div class="service_card text-center col-lg-6 m-auto mb-5">
                <img src="<?php echo e(asset($service->image ?? 'assets/web/images/logo.svg')); ?>" alt="" class="icon m-auto mb-3"/>
                <h3 class="title fs-3 mb-3 color-dark fw-bold"><?php echo e($service->name); ?></h3>
                <p class="det"><?php echo $service->description; ?></p>

            </div>
        </div>
    </section>
    <!-- Start doctors-pg -->
    <?php if(count($doctors)): ?>
    <section class="doctors-pg section pt-2">
        <div class="container">
            <div class="text-center mb-5">
                <h6 class="subtitle color-primary mb-3 text-uppercase"><?php echo e(__('main.expert_doctors')); ?></h6>
                <h1 class="title text-center fw-bold color-dark text-capitalize"><?php echo e(__('main.meet_doctors')); ?></h1>
            </div>

            <div class="swiper-container serv_dr_swiper">
                <div class="swiper-wrapper pb-0">

                        <?php $__currentLoopData = $doctors; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $doctor): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="swiper-slide">
                            <div class="dr_card wow fadeInUp">
                                <div class="img-box">
                                    <img src="<?php echo e(asset($doctor->image)); ?>" alt="" class="sec-img"/>
                                </div>
                                <div class="card-body">
                                    <h4 class="name mb-3"><?php echo e($doctor->name); ?></h4>
                                    <p class="job"><?php echo e($doctor->specialist); ?></p>
                                    <?php if($doctor->okadoc_url): ?>
                                        <a target="_blank" href="<?php echo e($doctor->okadoc_url); ?>" class="butn primary_butn"><?php echo e(__('main.make_appointment')); ?></a>
                                    <?php endif; ?>
                                </div>
                            </div>
                        </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                </div>
                <div class="swiper-pagination"></div>
            </div>
        </div>
    </section>
    <?php endif; ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('inner_js'); ?>
    <script>
        var swiper = new Swiper('.doctors-pg .serv_dr_swiper', {
            // loop: true,
            speed: 900,
            slidesPerView: 1,
            spaceBetween: 10,
            // centeredSlides: true,
            // autoplay: {
            //     delay: 2500,
            // },
            navigation: {
                nextEl: '.doctors-pg .swiper-button-next',
                prevEl: '.doctors-pg .swiper-button-prev',
            },
            pagination: {
                el: '.doctors-pg .swiper-pagination',
                clickable: true
            },
            breakpoints: {
                640: {
                    slidesPerView: 2,
                    spaceBetween: 20,
                },
                768: {
                    slidesPerView: 3,
                    spaceBetween: 20,
                },
                1024: {
                    slidesPerView: 4,
                    spaceBetween: 20,
                },
            }
        });
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('web.layouts.container', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home1/procarecom/public_html/resources/views/web/services/show.blade.php ENDPATH**/ ?>