<?php

  $pageTitle = "Course Enquiry - PSN MENTOR";
  $activeMenu = "enquiry";
  include("parts/header.php");
?>

  <main class="main">
    <!-- Contact Section -->
    <section id="contact" class="contact section">

      <div class="container" data-aos="fade-up" data-aos-delay="100">

        <div class="row gy-4">
          <h2 style="font-family: monospace; font-weight: bold; font-size: xxx-large;">Enquiry Form</h2>

          <div class="col-lg-4">
            <img src="assets/img/course_det_1.jpg" alt="" style="width: 100%; border-radius: 10px;">
          </div>

          <div class="col-lg-8">
            <form action="forms/course_enquiry.php" method="post" class="php-email-form" data-aos="fade-up" data-aos-delay="200">
              <div class="row gy-4">
                <input type="text" name="website" style="display:none">
                <div class="col-md-6">
                  <input type="text" name="name" class="form-control" placeholder="Your Name" required>
                </div>

                <div class="col-md-6 ">
                  <input type="email" class="form-control" name="email" placeholder="Your Email" required>
                </div>

                <div class="col-md-6">
                  <input type="text" name="mobile" class="form-control" placeholder="Mobile Number" required>
                </div>

                <div class="col-md-6 ">
                  <input type="text" class="form-control" name="course" placeholder="Prefered Course" required>
                </div>

                <div class="col-md-12">
                  <textarea class="form-control" name="message" rows="6" placeholder="Message" required=""></textarea>
                </div>

                <div class="col-md-12 text-center">
                  <div class="loading">Loading</div>
                  <div class="error-message"></div>
                  <div class="sent-message">Your message has been sent. Thank you!</div>

                  <button type="submit">Send Message</button>
                </div>

              </div>
            </form>
          </div><!-- End Contact Form -->

        </div>

      </div>

    </section><!-- /Contact Section -->

  </main>

  <?php
  include("parts/footer.php");
  ?>