<?php
    $titleColor = $shortcode->title_color ?: '#000000';
    $descriptionColor = $shortcode->description_color ?: '#000000';
?>

<section class="flat-slider home-2">
    <div class="container relative">
        <div class="row">
            <div class="col-xl-10">
                <div class="slider-content">
                    <div class="heading">
                        <h2 class="title wow fadeIn animationtext clip" style="color: <?php echo e($titleColor); ?> !important;" data-wow-delay=".2s" data-wow-duration="2000ms">
                            <?php echo BaseHelper::clean($shortcode->title); ?>

                            <br>
                            <?php echo Theme::partial('shortcodes.hero-banner.partials.animation-text', compact('shortcode')); ?>

                        </h2>
                        <?php if($shortcode->description): ?>
                            <p class="subtitle body-1 wow fadeIn" style="color: <?php echo e($descriptionColor); ?> !important;" data-wow-delay=".8s" data-wow-duration="2000ms">
                                <?php echo BaseHelper::clean($shortcode->description); ?>

                            </p>
                        <?php endif; ?>
                    </div>
                    <?php echo Theme::partial('shortcodes.hero-banner.partials.action-button', ['shortcode' => $shortcode, 'class' => 'mb-5']); ?>

                    <?php if(is_plugin_active('real-estate') && $shortcode->search_box_enabled): ?>
                        <?php echo $__env->make(Theme::getThemeNamespace('views.real-estate.partials.search-box'), ['style' => 2, 'noLeftRound' => true], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                    <?php endif; ?>
                </div>
            </div>
        </div>
    </div>

    <?php if($shortcode->background_image): ?>
        <div class="img-banner-left">
            <?php echo e(RvMedia::image($shortcode->background_image, $shortcode->title)); ?>

        </div>
    <?php endif; ?>

    <div class="img-banner-right">
        <div class="swiper slider-sw-home2">
            <div class="swiper-wrapper">
                <?php $__currentLoopData = range(1, 4); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $i): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php if(! $shortcode->{"slider_image_$i"}) continue; ?>

                    <div class="swiper-slide">
                        <div class="slider-home2 img-animation wow">
                            <?php echo e(RvMedia::image($shortcode->{"slider_image_$i"}, $shortcode->title)); ?>

                        </div>
                    </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
        </div>
    </div>
</section>
<?php /**PATH /home/agriwurd/capitalpropertiesandresidence.com/platform/themes/homzen/partials/shortcodes/hero-banner/styles/style-2.blade.php ENDPATH**/ ?>