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

    <!-- Start features-sec -->
    <section class="features-sec section">
        <span class="back wow left_to_right_apperance"></span>
        <div class="container">
            <div class="row justify-content-between align-items-center">
                <div class="col-lg-6 pe-lg-4">
                    <div class="cards wow left_to_right_apperance trans_delay_4 no_scale">
                        <div class="feature_card d-flex ">
                            <img src="<?php echo e(asset($whyUsCard1->image)); ?>" alt="" class="icon"/>
                            <div class="content">
                                <h5 class="title color-dark fw-bold">
                                    <?php echo e($whyUsCard1->title); ?>

                                </h5>
                                <p class="p"><?php echo $whyUsCard1->description; ?></p>
                            </div>
                        </div>
                        <div class="feature_card d-flex ">
                            <img src="<?php echo e(asset($whyUsCard2->image)); ?>" alt="" class="icon"/>
                            <div class="content">
                                <h5 class="title color-dark fw-bold">
                                    <?php echo e($whyUsCard2->title); ?>

                                </h5>
                                <p class="p"><?php echo $whyUsCard2->description; ?></p>
                            </div>
                        </div>
                        <div class="feature_card d-flex ">
                            <img src="<?php echo e(asset($whyUsCard3->image)); ?>" alt="" class="icon"/>
                            <div class="content">
                                <h5 class="title color-dark fw-bold">
                                    <?php echo e($whyUsCard3->title); ?>

                                </h5>
                                <p class="p"><?php echo $whyUsCard3->description; ?></p>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-lg-6">
                    <div class="features_box wow left_to_right_apperance">
                        <h1 class="title color-dark fw-bold mb-4 ">
                            <?php echo e($numberPageTitle1); ?> <span class="color-primary"><?php echo e($numberPageTitle2); ?></span>
                        </h1>
                        <p class="det mb-4">
                            <small><?php echo $numbersPage->description; ?></small>
                        </p>
                        <div class="numbers_sec_new">
                            <div class="row">
                                <div class="col-lg-6">
                                    <div class="num_card mt-4 wow fadeInUp">
                                        <h3 class="fw-bold color-primary mb-2"> <span class="counter"> <?php echo e($settings['special_num_1_value']); ?> </span> + </h3>
                                        <h6> <?php echo e($settings['special_num_1_title_'.$lang]); ?> </h6>
                                    </div>
                                </div>
                                <div class="col-lg-6">
                                    <div class="num_card mt-4 wow fadeInUp" data-wow-delay="0.2s">
                                        <h3 class="fw-bold color-primary mb-2"> <span class="counter"> <?php echo e($settings['special_num_2_value']); ?> </span> + </h3>
                                        <h6> <?php echo e($settings['special_num_2_title_'.$lang]); ?> </h6>
                                    </div>
                                </div>
                                <div class="col-lg-6">
                                    <div class="num_card mt-4 wow fadeInUp" data-wow-delay="0.4s">
                                        <h3 class="fw-bold color-primary mb-2"> <span class="counter"> <?php echo e($settings['special_num_3_value']); ?> </span> + </h3>
                                        <h6> <?php echo e($settings['special_num_3_title_'.$lang]); ?> </h6>
                                    </div>
                                </div>
                                <div class="col-lg-6">
                                    <div class="num_card mt-4 wow fadeInUp" data-wow-delay="0.6s">
                                        <h3 class="fw-bold color-primary mb-2"> <span class="counter"> <?php echo e($settings['special_num_4_value']); ?> </span> + </h3>
                                        <h6> <?php echo e($settings['special_num_4_title_'.$lang]); ?> </h6>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <!--<div class="row">-->
                        <!--    <div class="col-6">-->
                        <!--        <div class="statics_card">-->
                    <!--            <h1 class="num fw-bold color-dark"><span class="counter"><?php echo e($settings['special_num_1_value']); ?></span>+</h1>-->
                    <!--            <p class="label"><?php echo e($settings['special_num_1_title_'.$lang]); ?></p>-->
                        <!--        </div>-->
                        <!--    </div>-->
                        <!--    <div class="col-6">-->
                        <!--        <div class="statics_card">-->
                    <!--            <h1 class="num fw-bold color-dark"><span class="counter"><?php echo e($settings['special_num_2_value']); ?></span>k</h1>-->
                    <!--            <p class="label"><?php echo e($settings['special_num_2_title_'.$lang]); ?></p>-->
                        <!--        </div>-->
                        <!--    </div>-->
                        <!--</div>-->
                    </div>
                </div>
            </div>
        </div>
        <img src="<?php echo e(asset('assets/web/images/pattern-3.png')); ?>" alt="" class="pattern"/>
    </section>






















































































































    <section class="partners-sec clients-sec section wow left_to_right_apperance">
        <div class="container">
            <div class="sec-head mb-5 col-lg-5">
                <h1 class="title color-dark fw-bold mb-4 ">
                    <?php echo e($insurancePartnerTitle1); ?> <span class="color-primary"><?php echo e($insurancePartnerTitle2); ?></span>
                </h1>
                <p class="p"><?php echo $insurancePartnerPage->description; ?></p>
            </div>
            <div class="swiper-container clients-swiper">
                <div class="swiper-wrapper">
                    <?php if(count($insurancePartners)): ?>
                        <?php $__currentLoopData = $insurancePartners; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $insurancePartner): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="swiper-slide">
                                <a target="_blank" href="<?php echo e($insurancePartner->url); ?>">
                                    <img src="<?php echo e(asset($insurancePartner->image)); ?>" alt="" class="partner_logo"/>
                                </a>
                            </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    <?php endif; ?>
                </div>
            </div>
        </div>
    </section>

    <!-- Start doctors-sec -->
    <section class="doctors-sec section">
        <div class="container">
            <div class="row">
                <div class="col-lg-3">
                    <div class="sec-head  wow left_to_right_apperance no_scale">
                        <h1 class="title color-dark fw-bold mb-4 ">
                            <?php echo e($doctorPageTitle1); ?> <span class="color-primary"><?php echo e($doctorPageTitle2); ?></span>
                        </h1>
                        <p class="p"><?php echo $doctorPage->description; ?></p>
                    </div>
                </div>
            </div>
            <div class="swiper-container doctor-swiper wow left_to_right_apperance">
                <div class="swiper-wrapper">
                    <?php if(count($doctors)): ?>
                        <?php $__currentLoopData = $doctors; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $doctor): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="swiper-slide">
                                <div class="row">
                                    <div class="col-lg-7 px-0">
                                        <div class="text-box">
                                            <h3 class="name text-white mb-3"><?php echo e($doctor->name); ?></h3>
                                            <h5 class="job text-white"><?php echo e($doctor->specialist); ?></h5>
                                            <ul class="custom_ul mt-5 doctor_desc_container text-white">
                                                <?php echo $doctor->details; ?>

                                            </ul>

                                            <?php if($doctor->okadoc_url): ?>
                                                <!--<div class="dr_card">-->
                                                <!--    <div class="card-body">-->
                                                <!--        <a target="_blank" href="<?php echo e($doctor->okadoc_url); ?>" class="butn primary_butn"><?php echo e(__('main.make_appointment')); ?></a>-->
                                                <!--    </div>-->
                                                <!--</div>-->
                                                <a target="_blank" href="<?php echo e($doctor->okadoc_url); ?>" class="butn primary_butn"><?php echo e(__('main.make_appointment')); ?></a>
                                            <?php endif; ?>

                                            <div class="social_links mt-5">
                                                <?php if($doctor->facebook): ?>
                                                    <a target="_blank" href="<?php echo e($doctor->facebook); ?>">
                                                        <img src="<?php echo e(asset('assets/web/images/icons/social-1.svg')); ?>" alt="" class="icon icon-18"/>
                                                    </a>
                                                <?php endif; ?>
                                                <?php if($doctor->twitter): ?>
                                                    <a target="_blank" href="<?php echo e($doctor->twitter); ?>">
                                                        <img src="<?php echo e(asset('assets/web/images/icons/social-2.svg')); ?>" alt="" class="icon icon-18"/>
                                                    </a>
                                                <?php endif; ?>
                                                <?php if($doctor->instagram): ?>
                                                    <a target="_blank" href="<?php echo e($doctor->instagram); ?>">
                                                        <img src="<?php echo e(asset('assets/web/images/icons/social-3.svg')); ?>" alt="" class="icon icon-18"/>
                                                    </a>
                                                <?php endif; ?>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-lg-5 px-0">
                                        <img src="<?php echo e(asset($doctor->image)); ?>" alt="" class="sec-img"/>
                                    </div>

                                </div>
                            </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    <?php endif; ?>
                </div>
                <!-- pagination -->
                <div class="swiper-pagination"></div>
                <!-- Arrows -->
                <div class="swiper-button-next"></div>
                <div class="swiper-button-prev"></div>
            </div>
        </div>
        <img src="<?php echo e(asset('assets/web/images/pattern-3.png')); ?>" alt="" class="pattern"/>
    </section>
    <!-- Start news-sec -->

    <section class="news-sec section">
        <div class="container">
            <div class="sec-head mb-5 wow left_to_right_apperance">
                <h1 class="title color-dark fw-bold mb-4">
                    <?php echo e($newsPageTitle1); ?> <br> <span class="color-primary"><?php echo e($newsPageTitle2); ?></span>
                </h1>
                <p class="p"><?php echo $newsPage->description; ?></p>
            </div>
            <div class="swiper-container news_swiper">
                <div class="swiper-wrapper pb-4">
                    <?php if(count($articles)): ?>
                        <?php $__currentLoopData = $articles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $article): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="swiper-slide">
                            <div class="news_card wow fadeInUp">
                                <div class="img">
                                    <img src="<?php echo e(asset($article->image)); ?>" alt="" class="sec-img"/>
                                </div>
                                <div class="content">
                                    <h4 class="title fw-bold color-dark mb-3"><?php echo e(wordLimit($article->title, 8)); ?></h4>
                                    <p class="date mb-2">
                                        <img src="<?php echo e(asset('assets/web/images/icons/date.svg')); ?>" alt="" class="icon icon-15 me-2"/><?php echo e(date('d M Y', strtotime($article->created_at))); ?>

                                    </p>
                                    <p class="det"><?php echo e(wordLimit(stripText($article->description), 17)); ?></p>
                                    <a href="<?php echo e(route('news.show', $article->id)); ?>" class="more_butn color-primary fw-bold">
                                        <?php echo e(__('main.read_more')); ?> <img src="<?php echo e(asset('assets/web/images/icons/right_arrow2.svg')); ?>" alt="" class="icon icon-18 ms-2 filterPrimary"/>
                                    </a>
                                </div>
                            </div>
                        </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    <?php endif; ?>
                </div>
                <div class="swiper-pagination"></div>
            </div>
        </div>
    </section>
    <!-- Start news-sec -->
    <section class="news-pg section bg-light conferences_sec">
        <div class="container">
            <div class="sec-head mb-5  wow left_to_right_apperance">
                <h1 class="title color-dark fw-bold mb-4 ">
                    <?php echo e($conferencePageTitle1); ?> <br> <span class="color-primary"><?php echo e($conferencePageTitle2); ?></span>
                </h1>
                <p class="p"><?php echo $conferencePage->description; ?></p>
            </div>
            <div class="swiper-container conferences_swiper">
                <div class="swiper-wrapper">
                    <?php if(count($conferences)): ?>
                        <?php $__currentLoopData = $conferences; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $conference): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="swiper-slide">
                            <div class="news_card  wow left_to_right_apperance">
                                <div class="imgg">
                                    <img src="<?php echo e(asset($conference->image)); ?>" alt="" class="sec-img"/>
                                </div>
                                <div class="content">
                                    <p class="date mb-3">
                                        <img src="<?php echo e(asset('assets/web/images/icons/date.svg')); ?>" alt="" class="icon icon-15 me-2"/><?php echo e(date('d M Y', strtotime($conference->start_date))); ?>

                                    </p>
                                    <h4 class="title fw-bold color-dark mb-3"><?php echo e($conference->title); ?></h4>
                                    <p class="det"><?php echo e(wordLimit(stripText($conference->description), 10)); ?></p>
                                    <a href="<?php echo e(route('conference.show', $conference->id)); ?>" class="more_butn color-primary fw-bold">
                                        <?php echo e(__('main.read_more')); ?> <img src="<?php echo e(asset('assets/web/images/icons/right_arrow2.svg')); ?>" alt="" class="icon icon-18 ms-2 filterPrimary"/>
                                    </a>
                                </div>
                            </div>
                        </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    <?php endif; ?>
                </div>

            </div>
        </div>
    </section>
    <!-- Start contact-sec -->
    <section class="contact-sec section" id="hour-works">
        <div class="container">
            <div class="row">
                <div class="col-lg-6">
                    <div class="sec-head mb-5 wow fadeInUp">






                        <div class="hours-box mt-5">
                            <h5 class="title color-dark mb-4"><b><?php echo e(__('workHours.appointment')); ?></b></h5>
                            <div class="row">
                                <div class="col-6">
                                    <?php $__currentLoopData = $workHours[0]; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $workHour): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <div class="day_item">
                                            <span class="day"><?php echo e(__('workHours.'.$workHour['week_day'])); ?></span> :
                                            <?php if($workHour['status'] == 'open'): ?>
                                                <span class="time">
                                                    <?php
                                                    /** @var TYPE_NAME $workHour */
                                                    $timeFrom = date('h A', strtotime($workHour['time_from']));
                                                    $timeTo = date('h A', strtotime($workHour['time_to']));

                                                    $timeFrom = strpos($timeFrom, 'AM') ? date('h ', strtotime($timeFrom)) . __('workHours.am') : date('h ', strtotime($timeFrom)) . __('workHours.pm');
                                                    $timeTo = strpos($timeTo, 'AM') ? date('h ', strtotime($timeTo)) . __('workHours.am') : date('h ', strtotime($timeTo)) . __('workHours.pm');
                                                    ?>
                                                    <?php echo e($timeFrom . ' - ' . $timeTo); ?>

                                                </span>
                                            <?php endif; ?>
                                            <?php if($workHour['status'] == 'closed'): ?>
                                                <span class="time text-danger"><?php echo e(__('workHours.closed')); ?></span>
                                            <?php endif; ?>
                                        </div>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                                </div>
                                <div class="col-6">
                                    <?php $__currentLoopData = $workHours[1]; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $workHour): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <div class="day_item">
                                            <span class="day"><?php echo e(__('workHours.'.$workHour['week_day'])); ?></span> :
                                            <?php if($workHour['status'] == 'open'): ?>
                                                <span class="time">
                                                    <?php
                                                    /** @var TYPE_NAME $workHour */
                                                    $timeFrom = date('h A', strtotime($workHour['time_from']));
                                                    $timeTo = date('h A', strtotime($workHour['time_to']));

                                                    $timeFrom = strpos($timeFrom, 'AM') ? date('h ', strtotime($timeFrom)) . __('workHours.am') : date('h ', strtotime($timeFrom)) . __('workHours.pm');
                                                    $timeTo = strpos($timeTo, 'AM') ? date('h ', strtotime($timeTo)) . __('workHours.am') : date('h ', strtotime($timeTo)) . __('workHours.pm');
                                                    ?>
                                                    <?php echo e($timeFrom . ' - ' . $timeTo); ?>

                                                </span>
                                            <?php endif; ?>
                                            <?php if($workHour['status'] == 'closed'): ?>
                                                <span class="time text-danger"><?php echo e(__('workHours.closed')); ?></span>
                                            <?php endif; ?>
                                        </div>

                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </div>
                            </div>
                            <p class="hours_note fw-bold  mt-3">
                                <i class="fa-regular fa-clock color-primary me-2"></i>
                                <?php echo e($workingHoursPage->title); ?>

                            </p>
                        </div>
                    </div>
                </div>
                <div class="col-lg-6">
                    <div class="map-box wow left_to_right_apperance map_container">
                        <?php echo $settings['site_map']; ?>

                    </div>
                </div>
            </div>
            <div class="box contact_form_box wow fadeInUp">
                <h1 class="title color-dark fw-bold mb-5 ">
                    <?php echo e($contactFormTitle1); ?>  <span class="color-primary"><?php echo e($contactFormTitle2); ?></span>
                </h1>
                <form method="post" action="<?php echo e(route('contact.store')); ?>" class="contact_us_form">
                    <div class="row">
                        <div class="col-md-6">
                            <div class="form-group mb-4">
                                <label class="label fw-bold color-dark mb-2"><?php echo e(__('visitorMessages.name')); ?></label>
                                <input type="text" name="name" class="form-control" placeholder="<?php echo e(__('visitorMessages.name')); ?>">
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="form-group mb-4">
                                <label class="label fw-bold color-dark mb-2"><?php echo e(__('visitorMessages.email')); ?></label>
                                <input type="email" name="email" class="form-control" placeholder="<?php echo e(__('visitorMessages.email')); ?>">
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="form-group mb-4">
                                <label class="label fw-bold color-dark mb-2">Phone number</label>
                                <input typeof="tel" name="phone" class="form-control" placeholder="<?php echo e(__('visitorMessages.phone')); ?>">
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="form-group mb-4">
                                <label class="label fw-bold color-dark mb-2"><?php echo e(__('visitorMessages.subject')); ?></label>
                                <input name="subject" class="form-control" placeholder="<?php echo e(__('visitorMessages.subject')); ?>">
                            </div>
                        </div>
                        <div class="col-md-12">
                            <div class="form-group mb-4">
                                <label class="label fw-bold color-dark mb-2"><?php echo e(__('visitorMessages.message')); ?></label>
                                <textarea name="message" class="form-control" placeholder="<?php echo e(__('visitorMessages.message')); ?>" rows="5"></textarea>
                            </div>
                        </div>
                        <div class="col-md-12">
                            <button class="butn primary_butn mt-4 contact_us_button"><b><?php echo e(__('main.send_message')); ?></b></button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </section>

    <!-- Start partners-sec -->



























    <!-- Start services-sec -->
<?php $__env->stopSection(); ?>

<?php $__env->startSection('inner_js'); ?>
    <script>
        $('.contact_us_button').click(async function (e) {
            e.preventDefault();

            $(this).prop('disabled', true);

            let form = $('.contact_us_form'),
                data = new FormData(form[0]),
                url = form.attr('action'),
                method = form.attr('method');

            const response=await ajax({
                url,
                data,
                dataType: 'json',
                method
            });

            if (response.errors){
                $(this).prop('disabled', false);
                toasterError(response.errors);
            }

            if (response.message){
                toasterSuccess(response.message);
                $('input, textarea').val('');
            }

        });
        $(document).ready(function () {
            $('.doctor_desc_container li').addClass('li');
            $('.doctor_desc_container p').addClass('text-white');
            $('.about_desc_container p').addClass('p');
            $('.map_container iframe').attr('width', '100%').attr('height', '550');
            let findModal = $(document).find('.startingModal');
            if(findModal.length){
                var startingModal = new bootstrap.Modal(document.getElementById('startingModal'));
                startingModal.show();
            }
        });

    </script>

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

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