 <?php $__env->startSection('title', 'Home'); ?> <?php $__env->startPush('seo'); ?>
<meta name="app-url" content="" />
<meta name="robots" content="index, follow" />
<meta name="description" content="" />
<meta name="keywords" content="" />

<!-- Open Graph data -->
<meta property="og:title" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="" />
<meta property="og:image" content="<?php echo e(asset($generalsetting->white_logo)); ?>" />
<meta property="og:description" content="" />
<?php $__env->stopPush(); ?> <?php $__env->startPush('css'); ?>
<link rel="stylesheet" href="<?php echo e(asset('public/frontEnd/css/owl.carousel.min.css')); ?>" />
<link rel="stylesheet" href="<?php echo e(asset('public/frontEnd/css/owl.theme.default.min.css')); ?>" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.css" rel="stylesheet" />
<?php $__env->stopPush(); ?> <?php $__env->startSection('content'); ?>
<section class="slider-section">
    <div class="">
        <div class="">
            
            <div class="col-sm-12">
                <div class="home-slider-container">
                    <div class="main_slider owl-carousel">
                        <?php $__currentLoopData = $sliders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="slider-item">
                                <img src="<?php echo e(asset($value->image)); ?>" alt="" />
                            </div>
                            <!-- slider item -->
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
<!-- slider end -->

<section class="homeproduct">
    <div class="container">
        <div class="row">
            <div class="col-sm-12">
                <div class="sec_title">
                    <h3 class="section-title-header">
                        <div class="timer_inner">
                            <div class="">
                                <span class="section-title-name"> Top Categories </span>
                            </div>
                        </div>
                    </h3>
                </div>
            </div>

            <div class="col-sm-12">
                <div class="topcategory owl-carousels">
                    <?php $__currentLoopData = $menucategories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="cat_item">
                            <div class="cat_img">
                                <a href="<?php echo e(route('category', $value->slug)); ?>">
                                    <img src="<?php echo e(asset($value->image)); ?>" alt="" />
                                </a>
                            </div>
                            <div class="cat_name">
                                <a href="<?php echo e(route('category', $value->slug)); ?>">
                                    <?php echo e($value->name); ?>

                                </a>
                            </div>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </div>

        </div>
    </div>
</section>
<!-- Banner -->
<div class="col-sm-12">
   <div class='container'>
        <div class="row">
           <div style="width: 100%; margin: 20px 0; overflow: hidden;">
    <a href="<?php echo e($sliderbottomads[2]->link); ?>">
        <img src="<?php echo e(asset($sliderbottomads[2]->image)); ?>" 
             alt="Banner <?php echo e($sliderbottomads[2]); ?>" class='sliderbotsadImg'
             style=" display: block; border-radius: 5px;">
    </a>
</div>
    </div>
   </div>
</div>
<!--best deals-->
<section class="homeproduct">
    <div class="container">
        <div class="row">
            <div class="col-sm-12">
             <div class="sec_title">
    <div class="col-sm-12 d-flex align-items-center justify-content-between mb-3">
        <h3 class="section-title-header" style="margin: 0;">
            <span class="section-title-name">Hot Deals</span>
        </h3>
        <a href="<?php echo e(route('hotdeals')); ?>" class="view_more_btn">View All</a>
    </div>
</div>

            </div>
            <div class="col-sm-12">
                <div class="product_slider owl-carousel">
                    <?php $__currentLoopData = $hotdeal_top; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="product_item wist_item">
                            <div class="product_item_inner">
                                <?php if($value->old_price): ?>
                                <div class="sale-badge">
                                    <div class="sale-badge-inner">
                                        <div class="sale-badge-box">
                                            <span class="sale-badge-text">
                                                <p><?php $discount=(((($value->old_price)-($value->new_price))*100) / ($value->old_price)) ?> <?php echo e(number_format($discount, 0)); ?>%</p>
                                                ছাড়
                                            </span>
                                        </div>
                                    </div>
                                </div>
                                <?php endif; ?>
                                <div class="pro_img">
                                    <a href="<?php echo e(route('product', $value->slug)); ?>">
                                        <img src="<?php echo e(asset($value->image ? $value->image->image : '')); ?>"
                                            alt="<?php echo e($value->name); ?>" />
                                    </a>
                                </div>
                                <div class="pro_des">
                                    <div class="pro_name">
                                        <a
                                            href="<?php echo e(route('product', $value->slug)); ?>"><?php echo e(Str::limit($value->name, 80)); ?></a>
                                    </div>
                                    <div class="pro_price">
                                        <p>
                                            <?php if($value->old_price): ?>
                                             <del>৳ <?php echo e($value->old_price); ?></del>
                                            <?php endif; ?>

                                            ৳ <?php echo e($value->new_price); ?> 
                                           
                                        </p>
                                    </div>
                                </div>
                            </div>

                   <div style="display: flex; flex-direction: column; justify-content: center; align-items: stretch; 
            margin-top: 10px; border: 2px solid #333; border-radius: 4px; overflow: hidden; max-width: 200px;">

    <!-- Order Now Button (Top) -->
    <a href="<?php echo e(route('product', $value->slug)); ?>" 
       style="flex: 1; display: flex; justify-content: center; align-items: center; 
              background-color: #00A8E4; color: #fff; font-weight: 600; text-decoration: none; 
              padding: 10px; cursor: pointer; border-bottom: 1px solid #fff;">
        Order Now
    </a>

    <!-- Add to Cart Button (Bottom, only for simple products) -->
    <?php if($value->prosizes->isEmpty() && $value->procolors->isEmpty()): ?>
        <form action="<?php echo e(route('cart.store')); ?>" method="POST" style="flex: 1; margin: 0;">
            <?php echo csrf_field(); ?>
            <input type="hidden" name="id" value="<?php echo e($value->id); ?>" />
            <input type="hidden" name="qty" value="1" />
            <button type="submit" 
                    style="flex: 1; display: flex; justify-content: center; align-items: center; 
                           width: 100%; height: 100%; background-color: #00A8E4; color: #fff; padding:10px;
                           font-weight: 600; border: none; cursor: pointer;">
                Add to Cart
            </button>
        </form>
    <?php endif; ?>

</div>




                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </div>
        </div>
    </div>
</section>
<!-- Banner -->
<div class="col-sm-12 ">
   <div class='container'>
        <div class="row">
           <div style="width: 100%; margin: 20px 0; overflow: hidden;">
    <a href="<?php echo e($sliderbottomads[1]->link); ?>">
        <img src="<?php echo e(asset($sliderbottomads[1]->image)); ?>" 
             alt="Banner <?php echo e($sliderbottomads[1]); ?>"  class="sliderbotsadImg"
             style=" display: block; border-radius: 5px;">
    </a>
</div>
    </div>
   </div>
</div>
<?php $__currentLoopData = $homeproducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $homecat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <section class="homeproduct">
        <div class="container">
            <div class="row">
                <div class="col-sm-12">
                    <div class="sec_title">
    <div class="col-sm-12 d-flex align-items-center justify-content-between mb-3">
        <h3 class="section-title-header" style="margin: 0;">
            <span class="section-title-name"><?php echo e($homecat->name); ?></span>
        </h3>
      <a href="<?php echo e(route('category', $homecat->slug)); ?>" class="view_more_btn">View All</a>
    </div>
</div>

                </div>
                <div class="col-sm-12">
                    <div class="product_sliders">
                        <?php $__currentLoopData = $homecat->products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                           <div class="product_item wist_item">
                            <div class="product_item_inner">
                                <?php if($value->old_price): ?>
                                <div class="sale-badge">
                                    <div class="sale-badge-inner">
                                        <div class="sale-badge-box">
                                            <span class="sale-badge-text">
                                                <p><?php $discount=(((($value->old_price)-($value->new_price))*100) / ($value->old_price)) ?> <?php echo e(number_format($discount, 0)); ?>%</p>
                                                ছাড়
                                            </span>
                                        </div>
                                    </div>
                                </div>
                                <?php endif; ?>
                                <div class="pro_img">
                                    <a href="<?php echo e(route('product', $value->slug)); ?>">
                                        <img src="<?php echo e(asset($value->image ? $value->image->image : '')); ?>"
                                            alt="<?php echo e($value->name); ?>" />
                                    </a>
                                </div>
                                <div class="pro_des">
                                    <div class="pro_name">
                                        <a
                                            href="<?php echo e(route('product', $value->slug)); ?>"><?php echo e(Str::limit($value->name, 80)); ?></a>
                                    </div>
                                    <div class="pro_price">
                                        <p>
                                            <?php if($value->old_price): ?>
                                             <del>৳ <?php echo e($value->old_price); ?></del>
                                            <?php endif; ?>

                                            ৳ <?php echo e($value->new_price); ?> 
                                           
                                        </p>
                                    </div>
                                </div>
                            </div>

                          
                   <div style="display: flex; flex-direction: column; justify-content: center; align-items: stretch; 
            margin-top: 10px; border: 2px solid #333; border-radius: 4px; overflow: hidden; max-width: 200px;">

    <!-- Order Now Button (Top) -->
    <a href="<?php echo e(route('product', $value->slug)); ?>" 
       style="flex: 1; display: flex; justify-content: center; align-items: center; 
              background-color: #00A8E4; color: #fff; font-weight: 600; text-decoration: none; 
              padding: 10px; cursor: pointer; border-bottom: 1px solid #fff;">
        Order Now
    </a>

    <!-- Add to Cart Button (Bottom, only for simple products) -->
    <?php if($value->prosizes->isEmpty() && $value->procolors->isEmpty()): ?>
        <form action="<?php echo e(route('cart.store')); ?>" method="POST" style="flex: 1; margin: 0;">
            <?php echo csrf_field(); ?>
            <input type="hidden" name="id" value="<?php echo e($value->id); ?>" />
            <input type="hidden" name="qty" value="1" />
            <button type="submit" 
                    style="flex: 1; display: flex; justify-content: center; align-items: center; 
                           width: 100%; height: 100%; background-color: #00A8E4; color: #fff; padding:10px;
                           font-weight: 600; border: none; cursor: pointer;">
                Add to Cart
            </button>
        </form>
    <?php endif; ?>

</div>

                        </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                </div>
               
            </div>
        </div>
    </section>
   
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<!-- Banner -->
<div class="col-sm-12">
   <div class='container'>
        <div class="row">
           <div style="width: 100%; margin: 20px 0; overflow: hidden;">
    <a href="<?php echo e($sliderbottomads[0]->link); ?>">
        <img src="<?php echo e(asset($sliderbottomads[0]->image)); ?>" class="sliderbotsadImg"
             alt="Banner <?php echo e($sliderbottomads[0]); ?>" 
             style= "display: block; border-radius: 5px;">
    </a>
</div>

    </div>
   </div>
</div>

<!-- Brand-->
<section class="homeproduct">
    <div class="container">
        <div class="row">
            <div class="col-sm-12">
                <div class="sec_title">
                    <h3 class="section-title-header">
                        <div class="timer_inner">
                            <div class="">
                                <span class="section-title-name"> Brands </span>
                            </div>
                        </div>
                    </h3>
                </div>
            </div>

            <div class="col-sm-12">
                <div class="brands owl-carousel">
                    <?php $__currentLoopData = $brands; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="cat_item">
                            <div class="brand_img">
                                <a href="#}">
                                    <img src="<?php echo e(asset($value->image)); ?>" alt=""  />
                                </a>
                            </div>
                            <div class="cat_name">
                                <a href="#">
                                    <?php echo e($value->name); ?>

                                </a>
                            </div>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </div>

        </div>
    </div>
</section>
<!-- Clients -->
<section class="homeproduct">
    <div class="container">
        <div class="row">
            <div class="col-sm-12">
                <div class="sec_title">
                    <h3 class="section-title-header">
                        <div class="timer_inner">
                            <div class="">
                                <span class="section-title-name"> Corporate Clients </span>
                            </div>
                        </div>
                    </h3>
                </div>
            </div>

            <div class="col-sm-12">
                <div class="brands owl-carousel">
                    <?php $__currentLoopData = $clients; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="cat_item">
                            <div class="brand_img">
                                <a href="#}">
                                    <img src="<?php echo e(asset($value->image)); ?>" alt=""  />
                                </a>
                            </div>
                            <div class="cat_name">
                                <a href="#">
                                    <?php echo e($value->name); ?>

                                </a>
                            </div>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </div>

        </div>
    </div>
</section>

<section class="bottoads_area">
    <div class="container">
        <div class="row">
            <div class="col-sm-12">
                <div class="footerads_inner">
                    <?php $__currentLoopData = $footertopads; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="ads_items mobile_border" 
                             >
                            <a href="<?php echo e($value->link); ?>">
                                <img src="<?php echo e(asset($value->image)); ?>" width="387" height="218" alt="slider bottom banner <?php echo e($key+1); ?>" style="border:1px solid #ddd; border-radius:10px"/>
                            </a>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </div>
       
    </div>
</section>


<?php $__env->stopSection(); ?> <?php $__env->startPush('script'); ?>
<script src="<?php echo e(asset('public/frontEnd/js/owl.carousel.min.js')); ?>"></script>
<script src="<?php echo e(asset('public/frontEnd/js/jquery.syotimer.min.js')); ?>"></script>

<script>
    $(document).ready(function() {
        $(".main_slider").owlCarousel({
            items: 1,
            loop: true,
            dots: false,
            autoplay: true,
            nav: true,
            autoplayHoverPause: false,
            margin: 0,
            mouseDrag: true,
            smartSpeed: 8000,
            autoplayTimeout: 3000,
            animateOut: "slideOutLeft",
            animateIn: "slideInRight",

            navText: ["<i class='fa-solid fa-angle-left'></i>",
                "<i class='fa-solid fa-angle-right'></i>"
            ],
        });
    });
</script>
<script>
    $(document).ready(function() {
        $(".hotdeals-slider").owlCarousel({
            margin: 15,
            loop: true,
            dots: false,
            autoplay: true,
            autoplayTimeout: 6000,
            autoplayHoverPause: true,
            responsiveClass: true,
            responsive: {
                0: {
                    items: 3,
                    nav: true,
                },
                600: {
                    items: 3,
                    nav: false,
                },
                1000: {
                    items: 6,
                    nav: true,
                    loop: false,
                },
            },
        });
    });
</script>
<script>
    $(document).ready(function() {
        $(".category-slider").owlCarousel({
            margin: 15,
            loop: true,
            dots: false,
            autoplay: true,
            autoplayTimeout: 6000,
            autoplayHoverPause: true,
            responsiveClass: true,
            responsive: {
                0: {
                    items: 5,
                    nav: true,
                },
                600: {
                    items: 3,
                    nav: false,
                },
                1000: {
                    items: 8,
                    nav: true,
                    loop: false,
                },
            },
        });

        $(".product_slider").owlCarousel({
            margin: 15,
            items: 6,
            loop: true,
            dots: false,
            autoplay: true,
            autoplayTimeout: 6000,
            autoplayHoverPause: true,
            responsiveClass: true,
            responsive: {
                0: {
                    items: 2,
                    nav: false,
                },
                600: {
                    items: 5,
                    nav: false,
                },
                1000: {
                    items: 6,
                    nav: false,
                },
            },
        });
    });
    
    $(".topcategory.owl-carousel").owlCarousel({
    margin: 15,
    loop: true,
    dots: false,
    autoplay: true,
    autoplayTimeout: 3000,
    autoplayHoverPause: true,
    responsiveClass: true,
    nav: true,
    navText: [
        "<i class='fa-solid fa-angle-left'></i>",
        "<i class='fa-solid fa-angle-right'></i>"
    ],
    responsive: {
            0: {
                items: 2
            },
            480: {
                items: 3
            },
            768: {
                items: 4
            },
            992: {
                items: 6
            },
            1200: {
                items: 8
            }
        }
});
 $(".brands.owl-carousel").owlCarousel({
        loop: true,
        margin: 20,
        dots: false,
        nav: true,
        autoplay: true,
        autoplayTimeout: 3000,
        autoplayHoverPause: true,
        smartSpeed: 600,
        navText: [
            "<i class='fa-solid fa-angle-left'></i>",
            "<i class='fa-solid fa-angle-right'></i>"
        ],
        responsive: {
            0: {
                items: 2
            },
            480: {
                items: 3
            },
            768: {
                items: 4
            },
            992: {
                items: 5
            },
            1200: {
                items: 6
            }
        }
    });
</script>

<script>
    $("#simple_timer").syotimer({
        date: new Date(2015, 0, 1),
        layout: "hms",
        doubleNumbers: false,
        effectType: "opacity",

        periodUnit: "d",
        periodic: true,
        periodInterval: 1,
    });
</script>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('frontEnd.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/khaborer/demo3.khaborerpata.com/resources/views/frontEnd/layouts/pages/index.blade.php ENDPATH**/ ?>