<?php
    if ($settings->redirect_url != null or !empty($settings->redirect_url)) {
        header("Location: $settings->redirect_url", true, 301);
        exit();
    }
?>
<?php
      $captcha = strtoupper(substr(md5(rand()), 0, 6)); // Generate random text
?>

<?php $content = app('App\Http\Controllers\FrontController'); ?>
<?php $__env->startSection('title', 'Contact Us'); ?>


<?php $__env->startSection('content'); ?>
<div class="main">
    <section class="hero-section ptb-100 gradient-overlay" style="background: url('https://images.unsplash.com/photo-1501167786227-4cba60f6d58f?ixlib=rb-4.0.3&amp;ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&amp;auto=format&amp;fit=crop&amp;w=2070&amp;q=80')no-repeat center center / cover">
        <div class="container">
            <div class='row'>
                <div class="col-md-12 text-center">

                </div>
            </div>

            <div class="row justify-content-center">
                <div class="col-md-8 col-lg-7">
                    <div class="page-header-content text-white text-center pt-sm-5 pt-md-5 pt-lg-0">
                        <h1 class="text-white mb-0">Contact us</h1>
                        <div class="custom-breadcrumb">
                            <ol class="breadcrumb d-inline-block bg-transparent list-inline py-0">
                                <li class="list-inline-item breadcrumb-item active">Send us a message</li>
                            </ol>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <section class="contact-us-section py-5">
        <div class="container contact">
            <div class="col-12 pb-3 message-box d-none">
                <div class="alert alert-danger"></div>
            </div>
            <div class="row justify-content-around">
                <div class="col-md-6">
                    <?php if(session('error')): ?>
    <div class="alert alert-danger alert-dismissible fade show" role="alert">
        <strong>Error!</strong> <?php echo e(session('error')); ?>


    </div>
<?php endif; ?>

<?php if(session('success')): ?>
    <div class="alert alert-success alert-dismissible fade show" role="alert">
        <strong>Success!</strong> <?php echo e(session('success')); ?>


    </div>
<?php endif; ?>
                    <div class="contact-us-form gray-light-bg rounded p-5">
                        <h4>Ready to get started?</h4>
                        <form method="post" class="contact-form" action="<?php echo e(route('enquiryfront')); ?>">
                            <?php echo csrf_field(); ?>
                            <div class="form-row">
                                <div class="col-12">
                                    <div class="form-group">
                                        <input type="text" maxlength="50" required placeholder="Enter Name *" class="form-control" name="name">
                                    </div>
                                </div>
                                <div class="col-12">
                                    <div class="form-group">
                                        <input type="email" maxlength="50" required placeholder="Enter Email *" class="form-control" name="email">
                                    </div>
                                </div>
                                <div class="col-12">
                                    <div class="form-group">
                                        <input type="hidden" maxlength="50" class="form-control" id="location" name="location">
                                    </div>
                                </div>
                                <div class="col-12">
                                    <div class="form-group">
                                        <input type="text" maxlength="160" required placeholder="Enter Subject" class="form-control" name="subject">
                                    </div>
                                </div>
                                <div class="col-12">
                                    <div class="form-group">
                                        <textarea maxlength="3000" placeholder="Message *" required class="form-control" name="message" rows="5"></textarea>
                                    </div>
                                </div>
                                <style>
                                    .captcha-box {
                                        display: inline-block;
                                        padding: 10px;
                                        background-color: #f4f4f4;
                                        border: 2px solid #ccc;
                                        font-family: monospace;
                                        font-size: 18px;
                                        color: #333;
                                        border-radius: 5px;
                                    }
                                </style>
                                <div class="captcha-box">

                                    <?php echo e($captcha); ?> <input type="text" maxlength="100" required placeholder="Enter Captcha *" class="form-control" name="captcha">
                                    <input type="hidden" maxlength="50" required  class="form-control" name="captcha_confirmation" value="<?php echo e($captcha); ?>">
                                </div>
                                <div class="col-12">
                                    <p class="contact-form-message"></p>
                                </div>
                                <div class="col-sm-12 mt-3">
                                    <button type="submit" title="Submit Your Message!" class="btn secondary-solid-btn contact-form-button">
                                        <span class="button-text">Send Message</span>
                                    </button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
                <div class="col-md-5">
                    <div class="contact-us-content">
                        <h3>Looking for an easy and secured place to save you money?</h3>
                        <p class="lead">Search no more! Click on the button below to get started.</p>

                        <a href="/" class="btn outline-btn align-items-center">Get Your Solution <span class="ti-arrow-right pl-2"></span></a>

                        <hr class="my-5">

                        <h5>Our Headquarters</h5>
                        <address><?php echo e($settings->address); ?>

                                              </address>
                        <br>
                        <!--<span>Phone: +44 7476749</span> <br>-->
                        <span>Email: <a href="cdn-cgi/l/email-protection-2.html" class="__cf_email__" data-cfemail="a0f3d5d0d0cfd2d4e0c7c5cdc9cec9c7cccfc2c1ccc6c9cec1cec3c58ec3cf">[email&#160;protected]</a></span></a></span>

                    </div>
                </div>
            </div>
        </div>
    </section>

    <section class="contact-us-promo py-5">
        <div class="container">
            <div class="row">
                <div class="col-lg-3 col-md-6 col-sm-6">
                    <div class="card single-promo-card single-promo-hover text-center shadow-sm">
                        <div class="card-body py-5">
                            <div class="pb-2">
                                <span class="ti-mobile icon-sm color-secondary"></span>
                            </div>

                           <div><h5 class="mb-0">Call Us</h5>
                                <p class="text-muted mb-0">+</p>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-lg-3 col-md-6 col-sm-6">
                    <div class="card single-promo-card single-promo-hover text-center shadow-sm">
                        <div class="card-body py-5">
                            <div class="pb-2">
                                <span class="ti-location-pin icon-sm color-secondary"></span>
                            </div>
                            <div><h5 class="mb-0">Visit Us</h5>
                                <p class="text-muted mb-0"><?php echo e($settings->site_name); ?></p></div>
                        </div>
                    </div>
                </div>
                <div class="col-lg-3 col-md-6 col-sm-6">
                    <div class="card single-promo-card single-promo-hover text-center shadow-sm">
                        <div class="card-body py-5">
                            <div class="pb-2">
                                <span class="ti-email icon-sm color-secondary"></span>
                            </div>
                            <div><h5 class="mb-0">Mail Us</h5>
                                <p class="text-muted mb-0"> <a href="cdn-cgi/l/email-protection-2.html" class="__cf_email__" data-cfemail="e2b19792928d9096a285878f8b8c8b858e8d80838e848b8c838c8187cc818d">[email&#160;protected]</a></p></div>
                        </div>
                    </div>
                </div>
                <div class="col-lg-3 col-md-6 col-sm-6">
                    <div class="card single-promo-card single-promo-hover text-center shadow-sm">
                        <div class="card-body py-5">
                            <div class="pb-2">
                                <span class="ti-headphone-alt icon-sm color-secondary"></span>
                            </div>
                            <div><h5 class="mb-0">Live Chat</h5>
                                <p class="text-muted mb-0">Chat with Us 24/7</p></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    </div>


    <div class="client-section gray-light-bg" style="padding: 10px 0px;">
        <div class="container">
            <!--clients logo start-->
            <div class="row align-items-center">
                <div class="col-md-12">
                    <div class="owl-carousel owl-theme clients-carousel dot-indicator">
                        <div class="item single-client">
                            <img src="temp/custom/base/img/clients-logo-01.png" alt="client logo" class="client-img">
                        </div>
                        <div class="item single-client">
                            <img src="temp/custom/base/img/clients-logo-02.png" alt="client logo" class="client-img">
                        </div>
                        <div class="item single-client">
                            <img src="temp/custom/base/img/clients-logo-03.png" alt="client logo" class="client-img">
                        </div>
                        <div class="item single-client">
                            <img src="temp/custom/base/img/clients-logo-04.png" alt="client logo" class="client-img">
                        </div>
                        <div class="item single-client">
                            <img src="temp/custom/base/img/clients-logo-05.png" alt="client logo" class="client-img">
                        </div>
                        <div class="item single-client">
                            <img src="temp/custom/base/img/clients-logo-06.png" alt="client logo" class="client-img">
                        </div>
                        <div class="item single-client">
                            <img src="temp/custom/base/img/clients-logo-07.png" alt="client logo" class="client-img">
                        </div>
                        <div class="item single-client">
                            <img src="temp/custom/base/img/clients-logo-08.png" alt="client logo" class="client-img">
                        </div>
                    </div>
                </div>
            </div>
            <!--clients logo end-->
        </div>
    </div>
    <script data-cfasync="false" src="cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script><script src="http://code.jivosite.com/widget/FBBeDEHFJe" async></script>

<?php $__env->stopSection(); ?>


<?php echo $__env->make('layouts.base', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/zenfieldbnk/public_html/resources/views/home/contact.blade.php ENDPATH**/ ?>