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

<section style="background: url(<?php echo e(url('/')); ?>/assets/images/background.jpg) no-repeat center center; background-size: cover;">
    <div class="row" style="background-color:rgba(0,0,0,0.7);">
        <div class="container">
            <form action="<?php echo e(action('FrontEndController@search')); ?>" method="post" style="padding: 20% 10% 20% 10%;">
            <?php echo e(csrf_field()); ?>

                <div class="form-group">
                <div class="col-md-3" style="padding-left: 0px;padding-bottom: 15px;">
                    <input id="color" name="city" class="form-control" placeholder="Enter City" list="cities" autocomplete="off" required>
                    <datalist id="cities">
                        <?php $__currentLoopData = $cities; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $city): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <option value="<?php echo e($city->city); ?>">
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </datalist>
                </div>
                <div class="col-md-6" style="padding-left: 0px;padding-bottom: 15px;">
                    <input type="text" placeholder="Enter Category" list="categories" name="category" class="form-control" autocomplete="off" required>
                    <datalist id="categories">
                        <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <option value="<?php echo e($category->name); ?>">
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </datalist>
                </div>
                <div class="col-md-3" style="padding-left: 0px;padding-bottom: 15px;">
                    <button class="btn btn-ocean btn-block" type="submit">Search</button>
                </div>
            </div>
            </form>
        </div>
  </div>
</section>

<section class="go-section">
    <div class="row">
        <div class="container">
            <h2 class="text-center">All Available Sectors</h2>
            <hr>
            <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="col-md-4 cats">
               <a href="category/<?php echo e($category->slug); ?>" class="btn btn-genius btn-block"><strong> <?php echo e($category->name); ?></strong></a>
            </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
    </div>
</section>

<div id="wrapper" class="go-section">
    <div class="row">
        <div class="container">
            <h2 class="text-center">Featured Lawyers</h2>
            <hr>
            <?php $__currentLoopData = $featured; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $feature): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="col-md-3 col-xs-12 col-sm-6 single">
                <div class="group">
                <a href="<?php echo e(url('/')); ?>/profile/<?php echo e($feature->id); ?>/<?php echo e($feature->name); ?>">
                    <img src="assets/images/profile_photo/<?php echo e($feature->photo); ?>" class="profile-image" alt="Test Lawyers">
                    <div class="text-center listing">
                        <h3 class="no-margin go-bold"><?php echo e($feature->name); ?></h3>
                        <p class="no-margin"><?php echo e($feature->category); ?></p>
                    </div>
                </a>
                </div>
            </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            <div class="text-center">
                <a href="<?php echo e(url('/listfeatured')); ?>" class="btn btn-default margintop"><strong>All Featured</strong></a>
            </div>
        </div>
    </div>
</div>

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

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

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