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


    <!-- banner part start-->
    <section class="banner_part">
        <div class="container">
            <div class="row align-items-center">
                <div class="col-lg-6 col-xl-6">
                    <div class="banner_text">
                        <div class="banner_text_iner">
                            <h5>Every child yearns to learn</h5>
                            <h1>Making Your Childs
                                World Better</h1>
                            <p>Replenish seasons may male hath fruit beast were seas saw you arrie said man beast whales
                                his void unto last session for bite. Set have great you'll male grass yielding yielding
                                man</p>
                            <a href="#" class="btn_1">View Course </a>
                            <a href="#" class="btn_2">Get Started </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <!-- banner part start-->



    <!-- member_counter counter start -->
    <section class="member_counter">
        <div class="container">
            <div class="row">
                <div class="col-lg-4 col-sm-6">
                    <div class="single_member_counter">
                        <span class="counter"><?php echo e($courses_count); ?></span>
                        <h4>All Courses</h4>
                    </div>
                </div>
                <div class="col-lg-4 col-sm-6">
                    <div class="single_member_counter">
                        <span class="counter"><?php echo e($trainers_count); ?></span>
                        <h4> All Trainers</h4>
                    </div>
                </div>
                <div class="col-lg-4 col-sm-6">
                    <div class="single_member_counter">
                        <span class="counter"><?php echo e($students_count); ?></span>
                        <h4>All Students</h4>
                    </div>
                </div>

            </div>
        </div>
    </section>
    <!-- member_counter counter end -->

    <!--::review_part start::-->
    <section class="special_cource padding_top">
        <div class="container">
            <div class="row justify-content-center">
                <div class="col-xl-5">
                    <div class="section_tittle text-center">
                        <p>popular courses</p>
                        <h2>Special Courses</h2>
                    </div>
                </div>
            </div>
            <div class="row">

                <?php $__currentLoopData = $courses; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $course): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>


                <div class="col-sm-6 col-lg-4">
                    <div class="single_special_cource">
                        <img src="<?php echo e(asset("storage/courses/$course->image")); ?>" class="special_img" alt="">
                        <div class="special_cource_text">
                            <a href="course-details.html" class="btn_4"><?php echo e($course->category->name); ?></a>
                            <h4><?php echo e($course->price); ?> $</h4>
                            <a href="course-details.html"><h3><?php echo e($course->name); ?></h3></a>
                            <p><?php echo e($course->small_desc); ?></p>
                            <div class="author_info">
                                <div class="author_img">
                                    <img src="<?php echo e(asset("storage/trainers")."/".$course->trainer->image); ?>" alt="" width=50>
                                    <div class="author_info_text">
                                        <p>Conduct by:</p>
                                        <h5><a href="#"><?php echo e($course->trainer->name); ?></a></h5>
                                    </div>
                                </div>
                                
                            </div>
                        </div>

                    </div>
                </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
        </div>
    </section>
    <!--::blog_part end::-->



    <!--::review_part start::-->
    <section class="testimonial_part">
        <div class="container-fluid">
            <div class="row justify-content-center">
                <div class="col-xl-5">
                    <div class="section_tittle text-center">
                        <p>tesimonials</p>
                        <h2>Happy Students</h2>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-lg-12">
                    <div class="textimonial_iner owl-carousel">

                        <?php $__currentLoopData = $tests; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $test): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>


                        <div class="testimonial_slider">
                            <div class="row">
                                <div class="col-lg-8 col-xl-4 col-sm-8 align-self-center">
                                    <div class="testimonial_slider_text">
                                        <p><?php echo e($test->desc); ?></p>
                                        <h4><?php echo e($test->name); ?></h4>
                                        <h5> <?php echo e($test->spec); ?></h5>
                                    </div>
                                </div>
                                <div class="col-lg-4 col-xl-2 col-sm-4">
                                    <div class="testimonial_slider_img">
                                        <img src="<?php echo e(asset('storage/test/'.$test->image)); ?>" alt="#">
                                    </div>
                                </div>
                                <div class="col-xl-4 d-none d-xl-block">
                                    <div class="testimonial_slider_text">
                                         <p><?php echo e($test->desc); ?></p>
                                        <h4><?php echo e($test->name); ?></h4>
                                        <h5> <?php echo e($test->spec); ?></h5>
                                    </div>
                                </div>
                                <div class="col-xl-2 d-none d-xl-block">
                                    <div class="testimonial_slider_img">
                                        <img src="<?php echo e(asset('storage/test/'.$test->image)); ?>" alt="#">

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

                        
                    </div>
                </div>

            </div>
        </div>
    </section>
    <!--::blog_part end::-->



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



<?php echo $__env->make('front.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\Back End\Route\Eng Habiba Mohamed\Online\week 18 project laravel\project\learn-academy\resources\views/front/index.blade.php ENDPATH**/ ?>