<?php $__env->startSection('title', 'প্রথম পাতা'); ?>
<?php $__env->startSection('slider'); ?>
<?php echo $__env->make('layouts.slider', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
    <div class="row">
        <div class="col-md-12">
            <div class="latest-news">
                <marquee>
                    <?php $__currentLoopData = $notices; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $notice): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <a href="noticefiles/<?php echo e($notice->file); ?>"><i class="fa fa-circle" aria-hidden="true"></i> <?php echo e($notice->title); ?></a>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </marquee>
            </div>
        </div>
        <div class="col-md-12">
            <section class="feature-ads">
                <div class="container-fluid">
                    <div class="row">
                        <div class="col-md-12">
                            <div class="title">
                                <h4>RUNNING EVENT</h4>
                            </div>
                        </div>
                    </div>

                    <?php $__currentLoopData = $events; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $event): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php if($event->event_category === 'running'): ?>
                        <div class="row">
                            <div class="col-lg-7 col-md-12">
                                <div class="ad">
                                    <img src="<?php echo e(URL::to('public/images/' . $event->image)); ?>" alt="<?php echo e($event->session->title); ?>" />
                                </div>
                            </div>
                            <div class="col-lg-5 col-md-12">
                                <div class="registration-content">
                                    <h2><?php echo e($event->session->title); ?></h2>
                                    <article><?php echo $event->descriptions; ?></article>
                                    <a class="registration-now" href="<?php echo e(URL::to('/registration')); ?>">Registration Now</a>
                                </div>
                            </div>
                        </div>
                        <?php endif; ?>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </section>
            
            <section class="rewards">
                <div class="row">
                    <div class="col-lg-12">
                        <div class="title">
                            <h4>REWARDS</h4>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-lg-4 col-md-12">
                        <div class="reward">
                            <div class="price">
                                <p>WINNERS PRIZE MONEY</p>
                                <ul>
                                    <?php $__currentLoopData = $rewards; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $reward): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <li class="box-with-shadow">
                                        <div class="content">
                                            <p><?php echo e($reward->title); ?></p>
                                            <h3><?php echo e($reward->price); ?> Tk</h3>
                                        </div>
                                        <div class="icon">
                                            <img src="<?php echo e(URL::to('public/images/' . $reward->image)); ?>" alt="<?php echo e($reward->title); ?>" />
                                        </div>
                                    </li>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div class="col-lg-4 col-md-12">
                        <div class="certificate">
                            <div class="box-with-shadow">
                                <p>WINNER WILL ALSO GET</p>
                                <ul>
                                    <li><span>1</span> Certificate with frame</li>
                                    <li><span>2</span> Medal for each Winner</li>
                                    <li><span>3</span> Leadership Traning</li>
                                    <li><span>4</span> Mentorship for Winners</li>
                                    <li><span>5</span> Offline ICT Course</li>
                                    <li><span>6</span> Advanced Ai for Education</li>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div class="col-lg-4 col-md-12">
                        <div class="sub-title">
                            <h5>WINNER ALSO GET CERTIFICATE</h5>
                        </div>
                        
                        <ul class="certificates">
                            <?php $__currentLoopData = $certificates; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $certificate): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <li>
                                <div class="content">
                                    <h5><?php echo e($certificate->title); ?></h5>
                                    <p><?php echo e($certificate->subtitle); ?></p>
                                </div>
                                <div class="image">
                                    <img src="<?php echo e(URL::to('public/images/' . $certificate->image)); ?>" alt="<?php echo e($certificate->title); ?>" />
                                </div>
                            </li>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            
                        </ul>
                    </div>
                    
                    
                </div>
            </section>
            
            <section class="rounds-step">
                <div class="row">
                    <div class="col-lg-12">
                        <div class="title">
                            <h4>ROUNDS & SYLLABOUS</h4>
                        </div>
                    </div>
                    
                    <div class="col-lg-12">
                        <div class="rounds">
                            <?php $__currentLoopData = $rounds; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $round): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <?php if($round->status === 'running'): ?>
                                <div class="box-with-shadow">
                                    <div class="round-box">
                                        <div class="icon">
                                            <img src="<?php echo e(URL::to('public/images/' . $round->image)); ?>" alt="<?php echo e($round->title); ?>" />
                                        </div>
                                        <div class="content">
                                            <p><?php echo e($round->title); ?><br> <?php echo e($round->titlebn); ?></p>
                                            <h3><a href="<?php echo e(url('round-details')); ?>/<?php echo e($round->id); ?>" class="btn">For Details</a></h3>
                                        </div>
                                    </div>
                                </div>
                                <?php endif; ?>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            
                        </div>
                    </div>
                </div>
            </section>
            <section class="about-founder">
                <div class="row">
                    <div class="col-lg-12">
                        <div class="title">
                            <h4>FOUNDER'S MESSAGE</h4>
                        </div>
                    </div>
                </div>
                
                <div class="row">
                    <div class="col-lg-12">
                        <?php $__currentLoopData = $speechs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $speech): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="nbr rounded head-teacher">
                                <div class="media row">
                                    <div class="col-md-3 col-sm-12 col-xs-12">
                                        <div class="teacher-photo">
                                            <div class="bg-img" style="background-image: url(<?php echo e('public/photofram.jpg'); ?>)">
                                                <img src="<?php echo e('public/images'); ?>/<?php echo e($speech->image); ?>" class="img-responsive" />
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-9 col-sm-12 col-xs-12">
                                        <p class="text-left "><?php echo $speech->speech; ?></p>
                                    </div>
                                </div>
                            </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                </div>
            </section>
        </div>
        <!--<?php echo $__env->make('layouts.sidebar', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>-->
    </div>
    
    <?php $__env->startSection('lastest-photo'); ?>
        <?php echo $__env->make('layouts.latest-photo', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
    <?php $__env->stopSection(); ?>
    
<?php $__env->stopSection(); ?>

<?php $__env->startSection('footer'); ?>
<?php echo $__env->make('layouts.footer', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>