<?php $__env->startSection('main_content'); ?>
<!--==============================
Hero Area
==============================-->
<section class="hero-wrapper hero-1">
    <div class="hero-slider1 overflow-hidden">
        <div class="tg-swiper__slider swiper-container" id="heroSlider1" data-swiper-options='{
                "effect": "fade",
                "slidesPerView": "1",
                "autoHeight": "true"
            }'>
            <div class="swiper-wrapper">
                <?php $__currentLoopData = $sliders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $slider): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="swiper-slide"  data-background="<?php echo e(asset('uploads/'.$slider->photo)); ?>">
                    <div class="hero-bg-shape1-1"></div>
                    <div class="hero-bg-shape1-2"></div>
                    <div class="container">
                        <div class="row">
                            <div class="col-lg-6">
                                <div class="hero-style1" style="height: 950px">
                                    <div class="sub-title" data-ani="slideinup" data-ani-delay="0.1s">
                                        <?php echo nl2br($slider->subheading); ?>

                                    </div>
                                    <h1 class="hero-title">
                                        <div class="title1" data-ani="slideinup" data-ani-delay="0.2s">
                                            <?php echo nl2br($slider->heading); ?>

                                        </div>
                                    </h1>
                                    <?php if($slider->button1_text != '' || $slider->button2_text != ''): ?>
                                    <div class="tg-button-wrap" data-ani="slideinup" data-ani-delay="0.5s">
                                        <?php if($slider->button1_text): ?>
                                        <a href="<?php echo e($slider->button1_link); ?>" class="btn btn-three">
                                            <span class="btn-text" data-text="<?php echo e($slider->button1_text); ?>"></span>
                                        </a>
                                        <?php endif; ?>
                                        <?php if($slider->button2_text): ?>
                                        <a href="<?php echo e($slider->button2_link); ?>" class="btn btn-four">
                                            <span class="btn-text" data-text="<?php echo e($slider->button2_text); ?>"></span>
                                        </a>
                                        <?php endif; ?>
                                    </div>
                                    <?php endif; ?>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
            <div class="slider-pagination2"></div>
        </div>
    </div>
</section>
<!--======== / Hero Section ========-->

<!--==============================
About Area
==============================-->
<?php if($global_page_item->home_about_status == 'Show'): ?>
<section class="about-area-2 pt-120 pb-120 overflow-hidden">
    <div class="container">
        <div class="about-wrap2">
            <div class="row gx-60 gy-5 align-items-center">
                <div class="col-xl-6">
                    <div class="about-thumb2-1">
                        <div class="img1">
                            <div class="thumb image-anim">
                                <img src="<?php echo e(asset('uploads/'.$global_page_item->home_about_photo1)); ?>" alt="img">
                            </div>
                        </div>
                        <div class="img2">
                            <div class="thumb image-anim">
                                <img src="<?php echo e(asset('uploads/'.$global_page_item->home_about_photo2)); ?>" alt="img">
                            </div>
                        </div>
                        <div class="about-bg-shape2-1">
                            <div class="shape1"></div>
                            <div class="shape2"></div>
                        </div>
                    </div>
                </div>
                <div class="col-xl-6">
                    <div class="section__title">
                        <span class="sub-title text-anim"><?php echo e($global_page_item->home_about_subheading); ?></span>
                        <h2 class="title text-anim2">
                            <?php echo nl2br($global_page_item->home_about_heading); ?>

                        </h2>
                    </div>
                    <?php if($global_page_item->home_about_text != ''): ?>
                    <p class="mt-30 mb-40">
                        <?php echo nl2br($global_page_item->home_about_text); ?>

                    </p>
                    <?php endif; ?>
                    <div class="checklist-wrap">
                        <ul class="list-wrap">
                            <?php echo $global_page_item->home_about_list_items; ?>

                        </ul>
                    </div>
                    <?php if($global_page_item->home_about_phone != ''): ?>
                    <div class="cta-link"><i class="fas fa-phone-alt"></i> <a href="tel:<?php echo e($global_page_item->home_about_phone); ?>"><?php echo e($global_page_item->home_about_phone); ?></a></div>
                    <?php endif; ?>
                    <div class="tg-button-wrap mt-30">
                        <a href="<?php echo e(route('appointment')); ?>" class="btn">
                            <span class="btn-text" data-text="<?php echo e($global_page_item->home_about_button_text); ?>"></span>
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
<?php endif; ?>
<!--======== / About Section ========-->

<!--==============================
Why Choose Us Area
==============================-->
<?php if($global_page_item->home_feature_status == 'Show'): ?>
<section class="wcu-area-1 pt-120 pb-120 smoke5-bg">
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-xl-8 col-lg-10">
                <div class="section__title text-center mb-50">
                    <span class="sub-title text-anim"><?php echo e($global_page_item->home_feature_subheading); ?></span>
                    <h2 class="title text-anim2">
                        <?php echo e($global_page_item->home_feature_heading); ?>

                    </h2>
                </div>
            </div>
        </div>
        <div class="row gy-40">
            <?php $__currentLoopData = $features; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $feature): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="col-xl-3 col-md-6">
                <div class="wcu-card">
                    <div class="box-icon">
                        <?php echo $feature->icon_code; ?>

                    </div>
                    <h4 class="box-title"><?php echo e($feature->name); ?></h4>
                    <p class="box-text">
                        <?php echo nl2br($feature->content); ?>

                    </p>
                </div>
            </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
    </div>
</section>
<?php endif; ?>
<!--======== / Why Choose Us Section ========-->

<!--==============================
Video Area
==============================-->
<?php if($global_page_item->home_video_status == 'Show'): ?>
<section class="video-area-1 pt-120 pb-120 overflow-hidden position-relative">
    <div class="video-bg-shape1 spin"><img src="<?php echo e(asset('uploads/bg/video-bg-shape1-1.png')); ?>" alt="img"></div>
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-lg-7">
                <div class="section__title text-center mb-50">
                    <span class="sub-title text-anim"><?php echo e($global_page_item->home_video_subheading); ?></span>
                    <h2 class="title text-anim2">
                        <?php echo nl2br($global_page_item->home_video_heading); ?>

                    </h2>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-12">
                <div class="video-wrap1">
                    <div class="video-thumb-box1">
                        <img src="<?php echo e(asset('uploads/'.$global_page_item->home_video_photo)); ?>" alt="img">
                        <a href="https://www.youtube.com/watch?v=<?php echo e($global_page_item->home_video_youtube); ?>" class="video-link popup-video"><?php echo e(__('Watch Our Video')); ?> <span class="video-btn"><i class="far fa-play-circle"></i></span>
                        </a>
                        <h4 class="video-text"><?php echo e(__('Watch Video')); ?></h4>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
<?php endif; ?>
<!--======== / Video Section ========-->

<!--==============================
Lawyer
==============================-->
<?php if($global_page_item->home_lawyer_status == 'Show'): ?>
<section class="lawyer-area-3 pt-120 pb-120 overflow-hidden gray-bg position-relative">
    <div class="lawyer-bg-shape3-1 d-xl-block d-none">
        <img src="<?php echo e(asset('uploads/bg/lawyer-bg-shape3-1.png')); ?>" alt="img">
    </div>
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-xl-6 col-lg-8">
                <div class="section__title text-center mb-50">
                    <span class="sub-title text-anim"><?php echo e($global_page_item->home_lawyer_subheading); ?></span>
                    <h2 class="title text-white text-anim2">
                        <?php echo e($global_page_item->home_lawyer_heading); ?>

                    </h2>
                </div>
            </div>
        </div>
        <div class="row gy-40 justify-content-center">
            <?php $__currentLoopData = $lawyers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $lawyer): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="col-xl-3 col-md-6">
                <div class="lawyer-card style3">
                    <div class="box-img image-anim">
                        <a href="<?php echo e(route('lawyer',$lawyer->slug)); ?>" class="thumb">
                            <img src="<?php echo e(asset('uploads/'.$lawyer->photo)); ?>" alt="img">
                        </a>
                        <?php if($lawyer->facebook != '' || $lawyer->twitter != '' || $lawyer->linkedin != '' || $lawyer->instagram != ''): ?>
                        <div class="social-wrap">
                            <?php if($lawyer->facebook): ?>
                            <a target="_blank" href="<?php echo e($lawyer->facebook); ?>" tabindex="-1"><i class="fab fa-facebook-f"></i></a>
                            <?php endif; ?>
                            <?php if($lawyer->twitter): ?>
                            <a target="_blank" href="<?php echo e($lawyer->twitter); ?>" tabindex="-1">
                                <svg class="d-block" width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
                                    <path
                                        d="M8.33192 5.92804L13.5438 0H12.3087L7.78328 5.14724L4.16883 0H0L5.46575 7.78353L0 14H1.2351L6.01407 8.56431L9.83119 14H14L8.33192 5.92804ZM6.64027 7.85211L6.08648 7.07704L1.68013 0.909771H3.57718L7.13316 5.88696L7.68694 6.66202L12.3093 13.1316H10.4123L6.64027 7.85211Z"
                                        fill="currentColor" />
                                </svg>
                            </a>
                            <?php endif; ?>
                            <?php if($lawyer->linkedin): ?>
                            <a target="_blank" href="<?php echo e($lawyer->linkedin); ?>" tabindex="-1"><i class="fab fa-linkedin-in"></i></a>
                            <?php endif; ?>
                            <?php if($lawyer->instagram): ?>
                            <a target="_blank" href="<?php echo e($lawyer->instagram); ?>" tabindex="-1"><i class="fab fa-instagram"></i></a>
                            <?php endif; ?>
                        </div>
                        <?php endif; ?>
                    </div>
                    <div class="lawyer-card-details">
                        <h4 class="box-title"><a href="<?php echo e(route('lawyer',$lawyer->slug)); ?>"><?php echo e($lawyer->name); ?></a></h4>
                        <span class="box-text"><?php echo e($lawyer->designation); ?></span>
                    </div>
                </div>
            </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
    </div>
</section>
<?php endif; ?>
<!--======== / Lawyer Section ========-->



<!--==============================
Counter Area
==============================-->
<?php if($global_page_item->home_counter_status == 'Show'): ?>
<section class="counter-area-1 pb-120 pt-120">
    <div class="container">
        <div class="row gy-30 justify-content-center">
            <div class="col-lg-4 col-md-6">
                <div class="counter-card">
                    <h3 class="counter-card_title"><span class="counter-number"><?php echo e($counter_item->item1_number); ?></span>+</h3>
                    <p class="counter-card_subtitle"><?php echo e($counter_item->item1_title); ?></p>
                    <p class="counter-card_text">
                        <?php echo nl2br($counter_item->item1_content); ?>

                    </p>
                </div>
            </div>
            <div class="col-lg-4 col-md-6">
                <div class="counter-card">
                    <h3 class="counter-card_title"><span class="counter-number"><?php echo e($counter_item->item2_number); ?></span>+</h3>
                    <p class="counter-card_subtitle"><?php echo e($counter_item->item2_title); ?></p>
                    <p class="counter-card_text">
                        <?php echo nl2br($counter_item->item2_content); ?>

                    </p>
                </div>
            </div>
            <div class="col-lg-4 col-md-6">
                <div class="counter-card">
                    <h3 class="counter-card_title"><span class="counter-number"><?php echo e($counter_item->item3_number); ?></span>+</h3>
                    <p class="counter-card_subtitle"><?php echo e($counter_item->item3_title); ?></p>
                    <p class="counter-card_text">
                        <?php echo nl2br($counter_item->item3_content); ?>

                    </p>
                </div>
            </div>
        </div>
    </div>
</section>
<?php endif; ?>
<!--======== / Counter Section ========-->



<!--==============================
Testimonial Area
==============================-->
<?php if($global_page_item->home_testimonial_status == 'Show'): ?>
<section class="testimonial-area-3 overflow-hidden">
    <div class="testimonial-wrap3 pt-120 pb-120 bg-cover gray-bg" data-background="<?php echo e(asset('uploads/bg/testimonial-bg-shape3-1.png')); ?>">
        <div class="container">
            <div class="row align-items-center justify-content-center">
                <div class="col-xl-6 col-lg-10">
                    <div class="section__title text-center mb-50">
                        <span class="sub-title text-anim"><?php echo e($global_page_item->home_testimonial_subheading); ?></span>
                        <h2 class="title text-white text-anim2">
                            <?php echo nl2br($global_page_item->home_testimonial_heading); ?>

                        </h2>
                    </div>
                </div>
            </div>
            <div class="slider-area">
                <div class="tg-swiper__slider swiper-container testi-slider3 overflow-hidden" id="testiSlider3" data-swiper-options='{
                    "loop": true,
                    "autoplay": { "delay": 1000 },
                    "spaceBetween": 24,
                    "slidesPerView": 1,
                    "breakpoints": {
                        "1200": {
                            "slidesPerView": 2
                        },
                        "1500": {
                            "slidesPerView": 3
                        }
                    }}'>
                    <div class="swiper-wrapper">
                        <?php $__currentLoopData = $testimonials; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $testimonial): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="swiper-slide">
                            <div class="testimonial-card3">
                                <div class="testimonial-author-card3">
                                    <div class="testi-author-thumb">
                                        <img src="<?php echo e(asset('uploads/'.$testimonial->photo)); ?>" alt="img">
                                    </div>
                                    <div class="media-body">
                                        <h4 class="testimonial-card-title"><?php echo e($testimonial->name); ?></h4>
                                        <p class="testimonial-card-desig"><?php echo e($testimonial->designation); ?></p>
                                    </div>
                                    <div class="testimonial-quote-icon">
                                        <i class="fas fa-quote-right"></i>
                                    </div>
                                </div>
                                <p class="testi-text">
                                    <?php echo nl2br($testimonial->comment); ?>

                                </p>
                            </div>
                        </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
<?php endif; ?>
<!--======== / Testimonial Section ========-->



<!--==============================
Blog Area
==============================-->
<?php if($global_page_item->home_blog_status == 'Show'): ?>
<section class="blog-area-3 pt-120 pb-120">
    <div class="container">
        <div class="section__title mb-50 text-center">
            <span class="sub-title text-anim"><?php echo e($global_page_item->home_blog_subheading); ?></span>
            <h2 class="title text-anim2">
                <?php echo e($global_page_item->home_blog_heading); ?>

            </h2>
        </div>
        <div class="row gy-30 justify-content-center">
            <?php $__empty_1 = true; $__currentLoopData = $posts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
            <div class="col-xl-4 col-md-6">
                <div class="blog__post-item blog__post-item-five">
                    <div class="blog__post-thumb image-anim">
                        <a href="<?php echo e(route('post',$post->slug)); ?>"><img src="<?php echo e(asset('uploads/'.$post->photo)); ?>" alt="img"></a>
                    </div>
                    <div class="blog__post-content">
                        <div class="blog__post-meta">
                            <ul class="list-wrap">
                                <li><a href="javascript:void(0)">
                                    <i class="fas fa-calendar"></i>
                                    <?php echo e(date('d M, Y', strtotime($post->created_at))); ?></a></li>
                                <li><a href="javascript:void(0)">
                                    <i class="fas fa-user"></i>
                                    <?php echo e(__('by')); ?> <?php echo e($admin_data->name); ?></a></li>
                            </ul>
                        </div>
                        <h3 class="title">
                            <a href="<?php echo e(route('post',$post->slug)); ?>"><?php echo e($post->title); ?></a>
                        </h3>
                        <div class="blog__post-bottom">
                            <a href="<?php echo e(route('post',$post->slug)); ?>" class="link-btn">
                                <?php echo e(__('READ MORE')); ?>

                                <i class="fas fa-angle-double-right"></i>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
    </div>
</section>
<?php endif; ?>
<!--======== / Blog Section ========-->
<?php $__env->stopSection(); ?>

<?php echo $__env->make('front.layouts.master', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /Applications/MAMP/htdocs/phpscriptpoint/lawyer/lawyer/cms/main_files/resources/views/front/home.blade.php ENDPATH**/ ?>