<?php if(Auth::user()): ?>
    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('section check')): ?>
        <div class="easier-mode">
            <div class="easier-section-area">
                <?php endif; ?>
                <?php endif; ?>

                <?php if(isset($cta_section_style3)): ?>
                    <section class="cta-banner-wrapper fw500">
                        <div class="container">
                            <?php if(Auth::user()): ?>
                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('section check')): ?>
                                    <!-- hover effect for mobile devices  -->
                                    <div class="click-icon d-md-none text-center">
                                        <button class="custom-btn text-white">
                                            <i class="fa fa-mobile-alt text-white"></i> <?php echo e(__('content.touch')); ?>

                                        </button>
                                    </div>
                                <?php endif; ?>
                            <?php endif; ?>
                            <div class="cta-banner-white-wrap">
                                <div class="cta-banner style-3 text-white">
                                    <div class="row">
                                        <div class="col-xl-6 text-center mt-5 mt-xl-0 order-2 order-xl-1">
                                            <div class="cta-mobile">
                                                <?php if(!empty($cta_section_style3->section_image)): ?>
                                                <img src="<?php echo e(asset('uploads/img/call_to_action/'.$cta_section_style3->section_image)); ?>" alt="image">
                                                <?php endif; ?>
                                            </div>
                                        </div>
                                        <div class="text-center text-xl-start col-xl-6 order-1 order-xl-2">
                                            <div class="cta-contents pe-lg-5">
                                                <h2 class="wow fadeInUp"><?php echo html_entity_decode($cta_section_style3->title); ?></h2>
                                                <p class="wow fadeInUp" data-wow-delay=".3s"><?php echo html_entity_decode($cta_section_style3->description); ?></p>
                                                <?php if(!empty($cta_section_style3->button_image)): ?>
                                                    <a href="<?php echo e($cta_section_style3->button_image_url); ?>" class="app-download-btn wow fadeInUp" data-wow-delay=".6s"><img src="<?php echo e(asset('uploads/img/call_to_action/'.$cta_section_style3->button_image)); ?>" alt="button image"></a>
                                                <?php endif; ?>
                                                <?php if(!empty($cta_section_style3->button_image_2)): ?>
                                                    <a href="<?php echo e($cta_section_style3->button_image_url_2); ?>" class="app-download-btn wow fadeInUp" data-wow-delay=".8s"><img src="<?php echo e(asset('uploads/img/call_to_action/'.$cta_section_style3->button_image_2)); ?>" alt="button image"></a>
                                                <?php endif; ?>
                                                <?php if(!empty($cta_section_style3->button_image_3)): ?>
                                                    <a href="<?php echo e($cta_section_style3->button_image_url_3); ?>" class="app-download-btn wow fadeInUp" data-wow-delay=".10s"><img src="<?php echo e(asset('uploads/img/call_to_action/'.$cta_section_style3->button_image_3)); ?>" alt="button image"></a>
                                                <?php endif; ?>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </section>
                <?php else: ?>
                    <?php if(Auth::user() || $draft_view == null || $draft_view->status == 'enable'): ?>
                    <section class="cta-banner-wrapper fw500">
                        <div class="container">
                            <?php if(Auth::user()): ?>
                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('section check')): ?>
                                    <!-- hover effect for mobile devices  -->
                                    <div class="click-icon d-md-none text-center">
                                        <button class="custom-btn text-white">
                                            <i class="fa fa-mobile-alt text-white"></i> <?php echo e(__('content.touch')); ?>

                                        </button>
                                    </div>
                                <?php endif; ?>
                            <?php endif; ?>
                            <div class="cta-banner-white-wrap">
                                <div class="cta-banner style-3 text-white">
                                    <div class="row">
                                        <div class="col-xl-6 text-center mt-5 mt-xl-0 order-2 order-xl-1">
                                            <div class="cta-mobile">
                                                <img src="<?php echo e(asset('uploads/img/dummy/420x750.webp')); ?>" alt="image">
                                            </div>
                                        </div>
                                        <div class="text-center text-xl-start col-xl-6 order-1 order-xl-2">
                                            <div class="cta-contents pe-lg-5">
                                                <h2 class="wow fadeInUp">Download & explore best online banking</h2>
                                                <p class="wow fadeInUp" data-wow-delay=".3s">Easily download and use the most efficient online banking app. Make banking easier and faster.</p>
                                                <a href="#" class="app-download-btn wow fadeInUp" data-wow-delay=".6s"><img src="<?php echo e(asset('uploads/img/dummy/apple.png')); ?>" alt="button image"></a>
                                                <a href="#" class="app-download-btn wow fadeInUp" data-wow-delay=".8s"><img src="<?php echo e(asset('uploads/img/dummy/android.png')); ?>" alt="button image"></a>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </section>
                    <?php endif; ?>
                <?php endif; ?>

                <?php if(Auth::user()): ?>
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('section check')): ?>
            </div>
            <div class="easier-middle">
                <?php
                    $url = request()->path();
                    $modified_url = str_replace('/', '-bracket-', $url);
                ?>
                <form method="POST" action="<?php echo e(route('site-url.index')); ?>" class="d-inline-block">
                    <?php echo csrf_field(); ?>
                    <input type="hidden" name="route" value="call-to-action.create">
                    <input type="hidden" name="style" value="style3">
                    <input type="hidden" name="site_url" value="<?php echo e($modified_url); ?>">
                    <button type="submit" class="custom-btn text-white">
                        <i class="fa fa-edit text-white"></i> <?php echo e(__('content.edit_call_to_action')); ?>

                    </button>
                </form>
            </div>
        </div>
    <?php endif; ?>
<?php endif; ?>
<?php /**PATH /home/beevgisw/grievances/resources/views/frontend/sections/call_to_action/call-to-action-style3.blade.php ENDPATH**/ ?>