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

 
 <main>
        <!--start doctor-->
        <section class="doctor">
            <div class="doctor-heading">
                <div class="container">
                    <div class="row">
                        <div class="col-lg-7 col-md-4 col-sm-12 col-xs-12 mr-auto">
                            <div class="text">
                                <h3 class="mb-3">DR.<?php echo e($doctor->name); ?></h3>
                                <h6><?php $__currentLoopData = $experiences; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($key != '0'): ?> /  <?php endif; ?> <?php echo e($row->name); ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?></h6>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="container">
                <div class="row">
                    <div class="col-lg-5 col-md-4 col-sm-12 col-xs-12">
                        <img src="<?php echo e(asset($doctor->photo)); ?>" class="doc-img" alt="">
                        <div class="responsive-table">
                            <table class="table table-striped">
                                <tbody>
                                    <tr>
                                        <td><b>Degrees</b></td>
                                        <td><?php echo e($doctor->details->degree); ?></td>
                                    </tr>
                                    <tr>
                                        <td><b>Areas of Expertise</b></td>
                                        <td>
                                        <?php $__currentLoopData = $experiences; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <span><i class="fas fa-angle-double-left"></i> <?php echo e($row->name); ?></span>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                          
                                        </td>
                                    </tr>
                                    <tr>
                                        <td><b>Languages</b></td>
                                        <td><?php $__currentLoopData = $langs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($key != '0'): ?> / <?php else: ?> <?php endif; ?> <?php echo e($row->language); ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?></td>
                                    </tr>
                                    <tr class="last-tr">
                                        <td><b>Work Days</b></td>
                                        <td><?php echo e($doctor->details->work_days); ?></td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <div class="icons">
                            <a href="<?php echo e($doctor->details->facebook); ?>">
                                <i class="fab fa-facebook-f"></i>
                            </a>
                            <a href="<?php echo e($doctor->details->instagram); ?>">
                                <i class="fab fa-instagram"></i>
                            </a>
                            <a href="<?php echo e($doctor->details->whatsapp); ?>">
                                <i class="fab fa-whatsapp"></i>
                            </a>
                            <a href="<?php echo e($doctor->details->twitter); ?>">
                                <i class="fab fa-twitter"></i>
                            </a>
                        </div>
                        <a href="<?php echo e(url('/requests')); ?>" class="book-btn">
                             إحجز موعد الآن
                           </a>
                    </div>
                    <div class="col-lg-7 col-md-8 col-sm-12 col-xs-12">
                        <div class="doc-info">
                            <p>
                              <?php echo e($doctor->details->description); ?>

                            </p>
                           
                            <div class="experience-wrapper">
                                
                                <h5 class="experience">Experience</h5>
                                <?php $__currentLoopData = $experiences; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <p>
                                    <i class="fas fa-angle-double-left"></i><?php echo e($row->description); ?>.
                                </p>
                               <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </div>
                            <div class="certificates-wrapper">
                                <h5 class="certificates">Diplomas and Certificates</h5>
                                <div class="row">
                                   <?php $__currentLoopData = $images; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">
                                        <a href="<?php echo e(asset($row->image)); ?>" data-fancybox="images">
                                            <img src="<?php echo e(asset($row->image)); ?>">
                                        </a>
                                    </div>
                                 <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
            <!-- <img src="images/doctors-shape.png" class="doc-l"> -->
        </section>
    </main>
   
<?php $__env->stopSection(); ?>
<?php echo $__env->make('web.layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/omaralyomhost/public_html/green_apple/resources/views/web/pages/doctor.blade.php ENDPATH**/ ?>