<?php $__env->startSection('styles'); ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
<?php echo $__env->make('includes.smallHeader', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<!-- Start main-content -->
<div class="main-content">
  <!-- Section: inner-header -->
  <section class="inner-header divider parallax layer-overlay overlay-dark-5" data-bg-img="<?php echo e(asset('assets/main/images/bg/bg6.jpg')); ?>" style="background-image: url(&quot;<?php echo e(asset('assets/main/images/bg/bg6.jpg')); ?>&quot;); background-position: 50% 58px;">
    <div class="container pt-30 pb-40">
      <!-- Section Content -->
      <div class="section-content">
        <div class="row">
          <div class="col-md-12">
            <h2 class="title text-white text-center">Contact Us</h2>

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

  <!-- Section: About -->
 <section style="margin-top:50px;">
    <div class="container">
      <div class="row pt-10">
        <div class="col-md-4" style="background: #3a641a;
    padding: 50px;">
          <div class="row">

            <div class="col-xs-12 col-sm-6 col-md-12">
              <div class="icon-box left media bg-black-333 p-30 mb-20"> <a class="media-left pull-left" href="#"> <i class="pe-7s-call text-theme-color-2"></i></a>
                <div class="media-body text-white"> <strong>OUR CONTACT NUMBER</strong>
                  <p class="text-white">03087891940</p>

                </div>
              </div>
            </div>
            <div class="col-xs-12 col-sm-6 col-md-12">
              <div class="icon-box left media bg-black-333 p-30 mb-20"> <a class="media-left pull-left" href="#"> <i class="pe-7s-mail text-theme-color-2"></i></a>
                <div class="media-body text-white"> <strong>OUR CONTACT E-MAIL</strong>
                  <p class="text-white"> help@pakhemptraders.com</p>
                </div>
              </div>
            </div>

          </div>
        </div>
        <div class="col-md-8">
          <h3 class="line-bottom mt-0 mb-20">Contact The Hemp</h3>
          <p class="mb-20">We'd love to hear from you.</p>
          <!-- Contact Form -->
          <form id="contact_form" name="contact_form" class="" action="<?php echo e(route('submitcontact')); ?>" method="post"  >

            <div class="row">
              <div class="col-sm-12">
                <div class="form-group">
                  <input name="name" required class="form-control" type="text" placeholder="Enter Name" required="" aria-required="true">
                </div>
              </div>
              <div class="col-sm-12">
                <div class="form-group">
                  <input name="email" required class="form-control required email" type="email" placeholder="Enter Email" aria-required="true">
                </div>
              </div>
            </div>

            <div class="row">

              <div class="col-sm-12">
                <div class="form-group">
                  <input name="contact" class="form-control" required type="text" placeholder="Enter contact #">
                </div>
              </div>
            </div>

            <div class="form-group">
              <textarea name="message" required class="form-control required" rows="5" placeholder="Enter Message" aria-required="true"></textarea>
            </div>
            <div class="form-group">
              <input name="form_botcheck" class="form-control" type="hidden" value="">
              <button type="submit" class="btn btn-flat btn-theme-colored text-uppercase mt-10 mb-sm-30 border-left-theme-color-2-4px" >Send your message</button>
              <button type="reset" class="btn btn-flat btn-theme-colored text-uppercase mt-10 mb-sm-30 border-left-theme-color-2-4px">Reset</button>
            </div>
            <?php echo e(csrf_field()); ?>

          </form>


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

</div>
<!-- end main-content -->

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

<?php $__env->startSection('scripts'); ?>
<!-- Contact Form Validation-->
<script type="text/javascript">
  $("#contact_form").validate({
    submitHandler: function(form) {
      var form_btn = $(form).find('button[type="submit"]');
      var form_result_div = '#form-result';
      $(form_result_div).remove();
      form_btn.before('<div id="form-result" class="alert alert-success" role="alert" style="display: none;"></div>');
      var form_btn_old_msg = form_btn.html();
      form_btn.html(form_btn.prop('disabled', true).data("loading-text"));
      $(form).ajaxSubmit({
        dataType:  'json',
        success: function(data) {
          if( data.status == 'true' ) {
            $(form).find('.form-control').val('');
          }
          form_btn.prop('disabled', false).html(form_btn_old_msg);
          $(form_result_div).html(data.message).fadeIn('slow');
          setTimeout(function(){ $(form_result_div).fadeOut('slow') }, 6000);
        }
      });
    }
  });
</script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\freelance\hemp\resources\views/web/contact.blade.php ENDPATH**/ ?>