<?php $__env->startSection('header'); ?>
    <!--inner-header-->
    <div class="inner-header" style="background-image: url(<?php echo e(asset('assets/web/images/h-slide3.png')); ?>);">
        <div class="info">
            <h3>OUR TEAM & Leadership</h3>
        </div>
        <div class="btn-scroll-down">
            <a href="#">scroll down</a>
        </div>
    </div>
    <!--End-inner-header-->
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
    <!-- ------------------------ about us ------------------------ -->
    <section class="leader-info section-padding">
        <div class=" container ">
            <div class="row ">
                <div class="col-lg-6 valign">
                    <div class="info w-100">
                        <div class="color-title ">
                            <h2 class="text-uppercase"><?php echo e($chairman?$chairman->name:null); ?></h2>
                            <h6><?php echo e($chairman?$chairman->job_title:null); ?></h6>
                        </div>
                        <p><?php echo e($chairman?$chairman->details:null); ?></p>
                    </div>
                </div>

                <div class="col-lg-6">
                    <div class="img">
                        <img src="<?php echo e(asset($chairman?$chairman->photo:null) ?? asset('assets/web/images/founder.png')); ?>" alt="">
                    </div>
                </div>
            </div>
        </div>

    </section>
    <!-- ------------------------- more about  ------------------------ -->
    <section class="more-about section-padding ">
        <div class="container ">
            <div class="row ">
                <?php
                    $details = $chairman ? str_split($chairman->details_plus, round(mb_strlen($chairman->details_plus)/4)) : [];
                    $announce = $chairman ? str_split($chairman->company_announce, round(mb_strlen($chairman->company_announce)/2)) : [];
                ?>
                <div class="col-lg-6 ">
                    <p><?php echo e(count($details) > 0 ? $details[0] : ''); ?></p>
                    <p><?php echo e(count($details) > 0 ? $details[1] : ''); ?></p>
                </div>
                <div class="col-lg-6 ">
                    <p><?php echo e(count($details) > 0 ? $details[2] : ''); ?></p>
                    <p><?php echo e(count($details) > 0 ? $details[3] : ''); ?></p>
                </div>
            </div>
        </div>
    </section>
    <!-- ------------------------- color-content  ------------------------ -->
    <div class="color-content text-center">
        <p><?php echo e(count($announce) ? $announce[0] : ''); ?></p>
        <p class="m-0"><?php echo e(count($announce) ? $announce[1] : ''); ?></p>
    </div>
    <!-- ------------------------- our-leader-ship  ------------------------ -->
    <section class="our-leadership section-padding">
        <div class="container">
            <div class="color-title text-center">
                <h2>OUR LEADERSHIP</h2>
            </div>
            <div class="row">

                    <div class="col-lg-6">
                        <?php $__currentLoopData = $leaderships; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $leadership): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <?php if($loop->iteration == 5): ?>
                                <?php break; ?>
                            <?php endif; ?>
                        <div class="items">
                            <div class="img">
                                <img src="<?php echo e(asset($leadership->photo)); ?>" alt="">
                            </div>
                            <div class="info">
                                <h4><?php echo e($leadership->name); ?></h4>
                                <h6><?php echo e($leadership->job_title); ?></h6>
                                <p><?php echo e($leadership->details); ?></p>
                            </div>
                        </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                    <div class="col-lg-6 pt-5 mt-3">
                    <?php $__currentLoopData = $leaderships; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $leadership): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php if($loop->iteration < 5): ?>
                            <?php continue; ?>
                        <?php endif; ?>
                        <div class="items">
                            <div class="img">
                                <img src="<?php echo e(asset($leadership->photo)); ?>" alt="">
                            </div>
                            <div class="info">
                                <h4><?php echo e($leadership->name); ?></h4>
                                <h6><?php echo e($leadership->job_title); ?></h6>
                                <p><?php echo e($leadership->details); ?></p>
                            </div>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>


















































            </div>
        </div>
    </section>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('inner_js'); ?>
    <script>
        var route = "<?php echo e(route('companySearch')); ?>"
    </script>
    <script src="<?php echo e(asset('assets/web/js/companies.js')); ?>"></script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('web.layouts.container', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\wamp64\www\nesma\resources\views/web/chairman/index.blade.php ENDPATH**/ ?>