<?php if(is_plugin_active('contact')): ?>
    <section class="request-area-two">
        <div class="container">
            <div class="row align-items-center">
                <div class="col-lg-6">
                    <div class="request-content-two">
                        <?php if($name = Arr::get($config, 'name')): ?>
                            <div class="section-title-two white-title mb-15 tg-heading-subheading animation-style3">
                                <h2 class="title tg-element-title"><?php echo BaseHelper::clean($name); ?></h2>
                            </div>
                        <?php endif; ?>

                        <?php if($description = Arr::get($config, 'description')): ?>
                            <p><?php echo BaseHelper::clean($description); ?></p>
                        <?php endif; ?>
                    </div>
                </div>
                <div class="col-lg-6">
                    <div class="request-form-wrap">
                        <?php echo Form::open(['route' => 'public.send.contact', 'class' => 'cons-contact-form']); ?>

                            <?php echo apply_filters('pre_contact_form', null); ?>

                            <div class="row">
                                <div class="col-md-6">
                                    <div class="form-grp">
                                        <input type="text" name="name" placeholder="<?php echo e(__('Name')); ?> *">
                                    </div>
                                </div>
                                <div class="col-md-6">
                                    <div class="form-grp">
                                        <input type="email" name="email" placeholder="<?php echo e(__('E-mail')); ?> *">
                                    </div>
                                </div>
                                <div class="col-12">
                                    <div class="form-grp">
                                        <input type="tel" name="phone" placeholder="<?php echo e(__('Phone')); ?>">
                                    </div>
                                </div>

                                <div class="col-12">
                                    <div class="form-grp">
                                        <textarea class="form-control" rows="3" name="content" placeholder="<?php echo e(__('Content')); ?> *"></textarea>
                                    </div>
                                </div>
                                <?php if(is_plugin_active('captcha')): ?>
                                    <?php if(setting('enable_captcha')): ?>
                                        <div class="col-12">
                                            <div class="mb-3">
                                                <?php echo Captcha::display(); ?>

                                            </div>
                                        </div>
                                    <?php endif; ?>

                                    <?php if(setting('enable_math_captcha_for_contact_form', 0)): ?>
                                        <div class="mx-0 col-12 contact-form">
                                            <div class="mb-3 form-grp">
                                                <?php echo app('math-captcha')->input(['class' => 'form-control', 'id' => 'math-group', 'placeholder' => app('math-captcha')->label()]); ?>

                                            </div>
                                        </div>
                                    <?php endif; ?>
                                <?php endif; ?>
                                <?php echo apply_filters('after_contact_form', null); ?>

                                <div class="col-span-12">
                                    <div class="contact-mb-3">
                                        <div class="contact-message contact-success-message" style="display: none"></div>
                                        <div class="contact-message contact-error-message" style="display: none"></div>
                                    </div>
                                </div>
                                <div class="col-md-6">
                                    <button type="submit"><?php echo e(__('Send Message')); ?></button>
                                </div>
                            </div>
                        <?php echo Form::close(); ?>

                    </div>
                </div>
            </div>
        </div>
        <div class="request-shape-wrap">
            <?php if($bgImage1 = Arr::get($config, 'background_image_1')): ?>
                <img src="<?php echo e(RvMedia::getImageUrl($bgImage1)); ?>" alt="<?php echo e(__('Background image')); ?>">
            <?php endif; ?>

            <?php if($bgImage2 = Arr::get($config, 'background_image_2')): ?>
                <img src="<?php echo e(RvMedia::getImageUrl($bgImage2)); ?>" alt="<?php echo e(__('Background image')); ?>" data-aos="fade-left" data-aos-delay="200">
            <?php endif; ?>
        </div>
    </section>
<?php endif; ?>
<?php /**PATH /home/mideatek/taxandaccounts.ae/platform/themes/gerow/////widgets/contact-form/templates/frontend.blade.php ENDPATH**/ ?>