<section class="team-area-five pb-90">
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-lg-6">
                <div class="section-title section-title-three text-center mb-50 tg-heading-subheading animation-style1">
                    <?php if($subtitle = $shortcode->subtitle): ?>
                        <span class="sub-title tg-element-title"><?php echo BaseHelper::clean($subtitle); ?></span>
                    <?php endif; ?>

                    <?php if($title = $shortcode->title): ?>
                        <h2 class="title tg-element-title"><?php echo BaseHelper::clean($title); ?></h2>
                    <?php endif; ?>

                    <?php if($description = $shortcode->description): ?>
                        <p><?php echo BaseHelper::clean(nl2br($description)); ?></p>
                    <?php endif; ?>
                </div>
            </div>
        </div>
       <?php if(count($teams) > 0): ?>
            <div class="row justify-content-center">
                <?php $__currentLoopData = $teams; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $team): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="col-xl-3 col-lg-4 col-md-6 col-sm-10">
                        <div class="team-item-five">
                            <div class="team-thumb-five">
                                <img src="<?php echo e(RvMedia::getImageUrl($team->photo)); ?>" alt="<?php echo e($team->name); ?>">
                            </div>
                            <div class="team-content-five">
                                <h2 class="title"><a href="<?php echo e($team->url); ?>"><?php echo BaseHelper::clean($team->name); ?></a></h2>
                                <?php if($title = $team->title): ?>
                                    <span><?php echo BaseHelper::clean($title); ?></span>
                                <?php endif; ?>
                                <div class="team-social-four">
                                    <?php if($socials = $team->socials): ?>
                                        <ul class="list-wrap">
                                            <?php $__currentLoopData = ['facebook', 'twitter', 'instagram']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $social): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <?php if($url = Arr::get($socials, $social)): ?>
                                                    <?php switch($social):
                                                        case ('twitter'): ?>
                                                            <li>
                                                                <a href="<?php echo e($url); ?>" target="_blank"><i class="fab fa-twitter"></i></a>
                                                            </li>
                                                            <?php break; ?>

                                                        <?php case ('facebook'): ?>
                                                            <li>
                                                                <a href="<?php echo e($url); ?>" target="_blank"><i class="fab fa-facebook-f"></i></a>
                                                            </li>
                                                            <?php break; ?>

                                                        <?php case ('instagram'): ?>
                                                            <li>
                                                                <a href="<?php echo e($url); ?>" target="_blank"><i  class="fab fa-instagram"></i></a>
                                                            </li>
                                                            <?php break; ?>
                                                    <?php endswitch; ?>
                                                <?php endif; ?>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </ul>
                                    <?php endif; ?>
                                </div>
                            </div>
                        </div>
                    </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
       <?php endif; ?>
    </div>
</section>
<?php /**PATH /home/mideatek/taxandaccounts.ae/platform/themes/gerow/partials/shortcodes/teams/styles/style-5.blade.php ENDPATH**/ ?>