<section
    class="team-area team-bg"
    <?php if($bgImage = $shortcode->background_image): ?> data-background="<?php echo e(RvMedia::getImageUrl($bgImage)); ?>" <?php endif; ?>
>
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-xl-6 col-lg-8">
                <div class="section-title text-center mb-50">
                    <?php if($subtitle = $shortcode->subtitle): ?>
                        <span class="sub-title"><?php echo BaseHelper::clean($subtitle); ?></span>
                    <?php endif; ?>

                    <?php if($title = $shortcode->title): ?>
                        <h2 class="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-9">
                        <div class="team-item">
                            <div class="team-thumb">
                                <img
                                    src="<?php echo e(RvMedia::getImageUrl($team->photo)); ?>"
                                    alt="<?php echo e($team->name); ?>"
                                >
                                <div class="team-social">
                                    <?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 class="team-content">
                                <h2 class="title"><a href="<?php echo e($team->url); ?>"><?php echo e($team->name); ?></a></h2>
                                <?php if($title = $team->title): ?>
                                    <span><?php echo BaseHelper::clean($title); ?></span>
                                <?php endif; ?>
                            </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-4.blade.php ENDPATH**/ ?>