<?php include"header.php"?>
  <!--====== Start Banner Section ======-->

<!--<section class="page-title-area text-white bg_cover" style="background-image: url(assets/images/bg/page-bg-1.jpg);">-->
<!--            <div class="container">-->
                <!--======  Page-title-Inner ======-->
<!--                <div class="page-title-inner text-center">-->
<!--                    <h1 class="page-title">Contact Us</h1>-->
<!--                    <div class="gd-breadcrumb">-->
<!--                        <span class="breadcrumb-entry"><a href="index.html">Home</a></span>-->
<!--                        <span class="separator"></span>-->
<!--                        <span class="breadcrumb-entry active">Contact Us</span>-->
<!--                    </div>-->
<!--                </div>-->
<!--            </div>-->
<!--        </section>-->
        <div class="banner-image py-5" style="background-image:url(assets/images/banner/sbbbb.png);">
  <div class="container py-5">
    <div class="row py-5 align-items-center" style="margin-top: 2%;">
      <div class="col-lg-12">
        <!--<h5 class="display-4 mb-4 font-weight-bold text-center text-lg-left" style="color:#fff;">CNC JOBWORKS INDIA</h5> -->
          <!--<p class="lead mb-5  text-center text-lg-left"  style="color:#fff;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur nunc nisi, suscipit id dapibus sit amet, lacinia nec lorem. Aenean eget urna rutrum.</p> -->
          <div class="d-flex justify-content-center justify-content-lg-start mb-4">
        <h5 class="display-4 mb-4 font-weight-bold text-center text-lg-left" style="color:#fff;margin-top:10%;">Contact Us</h5>
        </div>
                
      </div>
     
      </div>
    </div>
  </div>
        
        <section class="contact-info-section pt-100">
            <div class="container">
                <div class="contact-info-wrapper wow fadeInUp" style="visibility: visible; animation-name: fadeInUp;">
                    <div class="row no-gutters justify-content-center">
                        <div class="col-lg-4 col-md-6">
                            <!--====== Contact Info Item ======-->
                            <div class="contact-info-item text-center">
                                <div class="icon">
                                    <img src="assets/images/icon/icon-1.png" alt="icon">
                                </div>
                                <div class="info">
                                    <span class="title">Location</span>
                                    <h6>Deccan Engineering Works,
                                         Plot No. F39,
                                         MIDC Satpur,
                                         Nashik - 422007, Maharashtra , India.</h6>
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-4 col-md-6">
                            <!--====== Contact Info Item ======-->
                            <div class="contact-info-item text-center">
                                <div class="icon">
                                    <img src="assets/images/icon/icon-2.png" alt="icon">
                                </div>
                                <div class="info">
                                    <span class="title">Email Address</span>
                                    <h6><a href="mailto:sales@deccanew.com">sales@deccanew.com</a></h6>
                                    <!--<h6><a href="mailto:infogarden.net">infogarden.net</a></h6>-->
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-4 col-md-6">
                            <!--====== Contact Info Item ======-->
                            <div class="contact-info-item text-center">
                                <div class="icon">
                                    <img src="assets/images/icon/icon-3.png" alt="icon">
                                </div>
                                <div class="info">
                                    <span class="title">Phone No</span>
                                    <h6><a href="tel:09657039991 ">09657039991</a> / <a href="tel:09657089991">09657089991</a></h6>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        
        
        <section class="contact-section pt-95 pb-50"  style="margin-top: 5%;">
            <div class="container">
                <div class="row">
                    <div class="col-lg-5">
                        <!--====== Section-title ======-->
                        <div class="section-title wow fadeInRight mb-50" style="visibility: visible; animation-name: fadeInRight;">
                            <span class="sub-title"><i class="flaticon-plant"></i>Contact Us</span>
                            <h2>Factory Address</h2>
                        </div>
                    </div>
                </div>
                <div class="contact-wrapper">
                    <div class="row">
                        <div class="col-lg-6">
                         <p>Deccan Engineering Works,<br>
                          Plot No. F39,<br>
                          MIDC Satpur,<br>
                          Nashik - 422007, Maharashtra , India</p><br>
                          <h4>Contact Person</h4>
                          <p>Prasad Ugle (Managing Partner)</p><br>
                         
                               
                                <div class="info">
                                    <h4>Phone No</h4>
                                    <p><i class="far fa-phone-plus"></i>  <a href="tel:09657039991 ">09657039991</a> / <a href="tel:09657089991">09657089991</a></p><br>
                                </div>
                                
                                <div class="info">
                                    <h4>Email Address</h4>
                                    <p><i class="far fa-envelope"></i>  <a href="mailto:sales@deccanew.com">sales@deccanew.com</a></p>
                                    <!--<h6><a href="mailto:infogarden.net">infogarden.net</a></h6>-->
                                </div>
                            <!--=== Map Box ===-->
                            <!--<div class="map-box wow fadeInLeft mb-50" style="visibility: visible; animation-name: fadeInLeft;">-->
                                <!--<iframe src="https://maps.google.com/maps?q=new%20york&amp;t=&amp;z=13&amp;ie=UTF8&amp;iwloc=&amp;output=embed"></iframe>-->
                            <!--    <iframe aria-hidden="true" frameborder="0" tabindex="-1" style="z-index: -1; position: absolute; width: 100%; height: 100%; top: 0px; left: 0px; border: none;"></iframe>-->
                            <!--</div>-->
                        </div>
                        <div class="col-lg-6">
                            <!--====== Contact Form Wrapper ======-->
                            <div class="contact-form-wrapper mb-50 wow fadeInRight" style="visibility: visible; animation-name: fadeInRight;margin-top:0%;">
                                <form class="contact-form" id="contactForm" action="contactForm"  method="post" enctype="multipart/form-data">
                                    <div id="check1"></div>
                                    <div class="form_group">
                                        <label><i class="far fa-user"></i></label>
                                        <input type="text" class="form_control" placeholder="Full Name" name="name" id="name">
                                    </div>
                                    <div class="form_group">
                                        <label><i class="far fa-envelope"></i></label>
                                        <input type="email" class="form_control" placeholder="Email Address" name="email" id="email">
                                    </div>
                                    <div class="form_group">
                                        <label><i class="far fa-phone-plus"></i></label>
                                        <input type="text" class="form_control" placeholder="Phone Number" name="number" id="number">
                                    </div>
                                   
                                    <div class="form_group">
                                        <label><i class="far fa-pen-fancy"></i></label>
                                        <textarea class="form_control" rows="3" placeholder="Message" name="message" id="message"></textarea>
                                    </div>
                                    <div class="form_group">
                                        <!--<button class="main-btn primary-btn">Send Message</button>-->
                                        
                                        <button type="submit"id="btn_submit" name="btn_submit" class="main-btn primary-btn">Send Message <span></span></button>
                                        
                                        
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        
        
             
   <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    <script type="text/javascript">
    $(document).ready(function(){
        $('#contactForm').submit(function(e){
            
            e.preventDefault();
            var name = $('#name').val();
            var email = $('#email').val();
            var number = $('#number').val();
             var message = $('#message').val();
           
            var error = false;
            var flg=1;
           // alert(name);alert(email);
        //   alert(message);
        //   console.log(message);
             var name_regex="^[a-zA-Z\\s]*$";
            var email_regex =/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\.info)|(\.in)|(\.biz)|(\.aero)|(\.coop)|(\.museum)|(\.name)|(\.pro)|(\..{2,2}))$)\b/gi;
           // var mobile_regex=/\d{10}/;
     
       if(!name.match(name_regex) || name == "")
        {
          $('#check1').html('** Please Enter your Name **').css( "color", "red");
          $("#name").focus();
          var error = true;
          return false;
        }
        if (!email.match(email_regex)|| email == "") 
        {
          $('#check1').html('** Please Enter Your Email Id **').css( "color", "red");
          $("#email").focus();
          var error = true;
          return false;
        }
        if (number == "") 
        {
          $('#check1').html('** Please Enter Your number **').css( "color", "red");
          $("#number").focus();
          var error = true;
          return false;
        }
    
    
        if (message == "") 
        {
          $('#check1').html('** Please Enter Your Message **').css( "color", "red");
          $("#message").focus();
          var error = true;
          return false;
        } 
        
        if(error!=true)
            {
                $('#btn_submit').attr({'disabled' : 'true', 'value' : 'Sending...' });  
               var form = $('#contactForm')[0];
                var formData = new FormData(form);
                $.ajax({
                    url: "contact_valid.php", 
                    type: "POST",             
                    data: formData,
                    contentType: false,       
                    cache: false,             
                    processData:false, 
                    success: function(data) {
                    
                       
                        if(data=='sent')
                        {
                            
                           
                            $('#btn_submit').removeAttr('disabled').attr('value', 'Sent')
                            $('#check1').html('** Thank You For Contacting Us,We Will Contact You Soon.. **').css( "color", "green");
                            // url = "thankyou.php";
                            //     $( location ).attr("href", url);
                         
                            $("#contactForm").get(0).reset();
                            
                        }
                        else
                        {
                            $('#btn_submit').removeAttr('disabled').attr('value', 'Retry');
                            $('#check1').html(data).css("color","red");
                        }
                    }
                });
                return false;
            }
            else
            {
                alert("error");
            }
        });
    });
</script> 

        
       
      
 <?php include"footer.php"?>