<?php
    $style = $shortcode->style ?: 'style-1';
?>

<?php if(in_array($style, ['style-1','style-2','style-3'])): ?>
    <section style="overflow: unset !important;" class="<?php echo \Illuminate\Support\Arr::toCssClasses([
            'cta-area' => $style === 'style-1',
            'cta-area-two pt-120' => $style === 'style-2',
        ]); ?>"
    >
        <div class="container">
            <div
                class="<?php echo \Illuminate\Support\Arr::toCssClasses([
                    'cta-inner-wrap' => $style === 'style-1',
                    'cta-inner-wrap-two' => $style === 'style-2',
                    'cta-inner-wrap-three' => $style === 'style-3',
                ]); ?>"
                <?php if($bgImage = $shortcode->background_image): ?>
                    data-background="<?php echo e(RvMedia::getImageUrl($bgImage)); ?>"
                <?php endif; ?>
            >
                <div class="row align-items-center">
                    <div class="col-lg-9">
                        <div class="cta-content">
                            <div class="cta-info-wrap">
                                <div class="icon">
                                    <i class="flaticon-phone-call"></i>
                                </div>
                                <div class="content">
                                    <?php if($subtitle = $shortcode->subtitle): ?>
                                        <span><?php echo BaseHelper::clean($subtitle); ?></span>
                                    <?php endif; ?>

                                    <?php if($hotline = $shortcode->hotline): ?>
                                        <a href="tel:<?php echo e($hotline); ?>" dir="ltr"><?php echo BaseHelper::clean($hotline); ?></a>
                                    <?php endif; ?>
                                </div>
                            </div>

                            <?php if($title = $shortcode->title): ?>
                                <h2 class="title"><?php echo BaseHelper::clean($title); ?></h2>
                            <?php endif; ?>
                        </div>
                    </div>
                    <div class="col-lg-3">
                        <?php if(($buttonLabel = $shortcode->button_label) && ($buttonUrl = $shortcode->button_url)): ?>
                            <div class="cta-btn text-end">
                                <a
                                    href="<?php echo e($buttonUrl); ?>"
                                    class="<?php echo \Illuminate\Support\Arr::toCssClasses([
                                        'btn',
                                        'btn-three' => in_array($style, ['style-2', 'style-3']),
                                    ]); ?>"
                                >
                                    <?php echo BaseHelper::clean($buttonLabel); ?>

                                </a>
                            </div>
                        <?php endif; ?>
                    </div>
                </div>
            </div>
        </div>
    </section>
<?php else: ?>
    <?php echo Theme::partial('shortcodes.contact-block.styles.' . $style, compact('shortcode')); ?>

<?php endif; ?>
<?php /**PATH /home/mideatek/taxandaccounts.ae/platform/themes/gerow/partials/shortcodes/contact-block/index.blade.php ENDPATH**/ ?>