<?php require('header.php');?>
 <!-- Inner Header -->
      <section class="section-padding bg-dark inner-header">
         <div class="container">
            <div class="row">
               <div class="col-md-12 text-center">
                  <h1 class="mt-0 mb-3 text-white">Contact Us</h1>
                  <div class="breadcrumbs">
                     <p class="mb-0 text-white"><a class="text-white" href="#">Home</a>  /  <span class="text-white">Contact Us</span></p>
                  </div>
               </div>
            </div>
         </div>
      </section>
               
      <!-- End Inner Header -->
      <!-- Contact Us -->
      <section class="section-padding">
         <div class="container">
            <div class="row">
               <div class="col-lg-4 col-md-4">
                  <h3 class="mt-1 mb-5">Get In Touch</h3>
                  <h6 class="text-dark"><i class="mdi mdi-home-map-marker"></i> Address :</h6>
                  <p><?php echo $contact_address;?></p>
                  <h6 class="text-dark"><i class="mdi mdi-phone"></i> Phone :</h6>
                  <p><?php echo $contact_fax;?></p>
                  <h6 class="text-dark"><i class="mdi mdi-deskphone"></i> Mobile :</h6>
                  <p><?php echo $contact_phone;?></p>
                  <h6 class="text-dark"><i class="mdi mdi-email"></i> Email :</h6>
                  <p><?php echo $contact_email;?></p>
                  <h6 class="text-dark"><i class="mdi mdi-link"></i> Website :</h6>
                  <p><?php echo $domain;?></p>
                  <div class="footer-social"><span>Follow : </span>
                     <?php 
                    if(isset($social)){
                        foreach ($social as $row2) {
                        ?>
                            <a class="btn-<?= $row2['social_name'];?> text-white" href="<?= $row2['social_url'];?>"  target="blank"  class="btn btn-sm bg-theme-color text-white">
                                <i class="<?= $row2['social_icon'];?>"></i>
                            </a>
                        <?php
                        }
                    }
                    ?>
                  </div>
               </div>
               <div class="col-lg-8 col-md-8">
                  <div class="card">
                     <div class="card-body">
                        <?php echo $contact_map_iframe;?>
                     </div>
                  </div>
               </div>
            </div>
         </div>
      </section>
      <!-- End Contact Us -->
      <!-- Contact Me -->
      
      <section class="section-padding  bg-white">
         <div class="container">
            <div class="row">
               <div class="col-lg-12 col-md-12 section-title text-left mb-4">
                  <h2>Contact Us</h2>
               </div>
               <form class="col-lg-12 col-md-12" name="sentMessage" method="post" action="<?=base_url('contact/enquiry');?>" id="contactForm" validate>
                  <div class="control-group form-group">
                     <div class="controls">
                        <label>Full Name <span class="text-danger">*</span></label>
                        <input type="text" placeholder="Full Name" class="form-control" id="name"  name="name" required data-validation-required-message="Please enter your name.">
                        <p class="help-block"></p>
                     </div>
                  </div>
                  <div class="row">
                     <div class="control-group form-group col-md-6">
                        <label>Phone Number <span class="text-danger">*</span></label>
                        <div class="controls">
                           <input type="tel" placeholder="Phone Number" class="form-control" onkeypress="return isNumberKey(event)" maxlength="10"  minlength="10" id="phone" name="phone" required data-validation-required-message="Please enter your phone number.">
                        </div>
                     </div>
                     <div class="control-group form-group col-md-6">
                        <div class="controls">
                           <label>Email Address <span class="text-danger">*</span></label>
                           <input type="email" placeholder="Email Address"  class="form-control" id="email" name="email" required data-validation-required-message="Please enter your email address.">
                        </div>
                     </div>
                  </div>
                  <div class="control-group form-group">
                     <div class="controls">
                        <label>Message <span class="text-danger">*</span></label>
                        <textarea rows="4" cols="100" placeholder="Message"  class="form-control" id="message" name="message" required data-validation-required-message="Please enter your message" maxlength="999" minlength="20" style="resize:none"></textarea>
                     </div>
                  </div>
                  <div id="success"></div>
                  <!-- For success/fail messages -->
                  <button type="submit" class="btn btn-success">Send Message</button>
               </form>
            </div>
         </div>
      </section>
      <!-- End Contact Me -->
<?php require('footer.php');?>