<?php
    if ($tabs) {
        $featureList = array_filter($tabs, fn($tab) => $tab['title'] && empty($tab['data']));
        $counterList = array_filter($tabs, fn($tab) => $tab['title'] && $tab['data']);
    }
    $title = $shortcode->title
?>
<section class="about-area-two pt-110 pb-120">
    <div class="container">
        <div class="row align-items-center justify-content-center">
            <div class="col-lg-7 col-md-9 order-0 order-lg-2">
                <div class="about-img-two">
                    <div class="main-img">
                        <?php if($image = $shortcode->image): ?>
                            <img class="main-image" src="<?php echo e(RvMedia::getImageUrl($image)); ?>" alt="<?php echo e($title); ?>">
                        <?php endif; ?>

                        <?php if($videoURL = $shortcode->video_url): ?>
                            <a href="<?php echo e($videoURL); ?>" class="play-btn popup-video">
                                <?php if($buttonIcon = $shortcode->button_play_video_label): ?>
                                    <i class="<?php echo e($buttonIcon); ?>"></i>
                                <?php else: ?>
                                    <i class="fas fa-play"></i>
                                <?php endif; ?>
                            </a>
                        <?php endif; ?>
                    </div>

                    <?php if($image1 = $shortcode->image_1): ?>
                        <img class="sub-image" src="<?php echo e(RvMedia::getImageUrl($image1)); ?>" alt="<?php echo e($title); ?>">
                    <?php endif; ?>
                </div>
            </div>
            <div class="col-lg-5">
                <div class="about-content-two">
                    <div class="section-title mb-30 tg-heading-subheading animation-style2">
                        <?php if($subtitle = $shortcode->subtitle): ?>
                            <span class="sub-title tg-element-title"><?php echo e($subtitle); ?></span>
                        <?php endif; ?>

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

                    <?php if($featureList): ?>
                        <div class="about-list">
                            <ul class="list-wrap">
                                <?php $__currentLoopData = $featureList; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $feature): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <li><i class="fas fa-check-circle text-primary"></i><?php echo BaseHelper::clean($feature['title']); ?></li>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </ul>
                        </div>
                    <?php endif; ?>

                    <?php if($counterList): ?>
                        <div class="success-wrap">
                            <ul class="list-wrap">
                                <?php $__currentLoopData = $counterList; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $counter): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <li>
                                        <?php if($counter['data']): ?>
                                            <?php if($data = $counter['data'] ): ?>
                                                <h2 class="count"><?php echo e($data); ?></h2>
                                            <?php endif; ?>
                                            <?php if($counter['title']): ?>
                                                <p><?php echo BaseHelper::clean($counter['title']); ?></p>
                                            <?php endif; ?>
                                        <?php endif; ?>
                                    </li>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </ul>
                        </div>
                    <?php endif; ?>

                    <?php if(($buttonLabel = $shortcode->button_label) && ($buttonLink = $shortcode->button_url)): ?>
                        <a href="<?php echo e($buttonLink); ?>" class="btn transparent-btn"><?php echo e($buttonLabel); ?></a>
                    <?php endif; ?>
                </div>
            </div>
        </div>
    </div>
    <div class="about-shape-wrap">
        <?php if($bgImage1 = $shortcode->background_image_1): ?>
            <img src="<?php echo e(RvMedia::getImageUrl($bgImage1)); ?>" alt="<?php echo e($title); ?>">
        <?php endif; ?>

        <?php if($bgImage2 = $shortcode->background_image_2): ?>
            <img src="<?php echo e(RvMedia::getImageUrl($bgImage2)); ?>" alt="<?php echo e($title); ?>">
        <?php endif; ?>
    </div>
</section>
<?php /**PATH /home/mideatek/technical.globix.ae/platform/themes/gerow/partials/shortcodes/about-us-information/styles/style-8.blade.php ENDPATH**/ ?>