<!-- <script src='https://www.google.com/recaptcha/api.js' defer ></script> -->
<?php if ($this->uri->segment(1) != 'upsell' && $this->uri->segment(1) != 'upsell-thank-you' && $this->uri->segment(1) != 'ebook-details'): ?>
   <?php if ($this->uri->segment(2) != 'thank_you'): ?>
      <!--Section-->
      <style type="text/css">
         @media screen and (max-width:500px) {
            .video-section {
               margin-top: 30px;
            }
         }
      </style>
      <?php
      $this->db->where('id', 1);
      $heading_sub_heading = $this->db->get('heading_sub_heading')->row();
      $all_page = $this->frontend_model->get_all_page(); ?>
      <section class="cover-image sptb newsletter-new bg-background-1" style="padding-bottom: 20px;">
         <div class="content-text mb-4">
            <div class="container">
               <div class="text-white">
                  <div class="row">
                     <div class="col-lg-6">
                        <div class="mt-0">
                           <h1 class="mb-2 font-weight-semibold"><?php echo $heading_sub_heading->newsletter_heading ?></h1>
                           <p class="fs-18 mb-0 c-white"><?php echo $heading_sub_heading->newsletter_desc ?></p>
                        </div>
                     </div>
                     <div class="col-lg-6">
                        <div class="mt-4">
                           <?php echo form_open(base_url() . 'home/add_new_subscriber'); ?>
                           <div class="input-group sub-input mt-1">
                              <input type="email" class="form-control input-lg  br-ts-7  br-bs-7" placeholder="Enter your Email" required name="email">
                              <div class="input-group-text ">
                                 <button type="submit" class="btn btn-secondary btn-lg br-te-7  br-be-7">
                                    Subscribe
                                 </button>
                              </div>
                           </div>
                           <?php echo form_close(); ?>
                        </div>
                     </div>
                  </div>
               </div>
            </div>
         </div>
      </section>
      <!--/Section-->

      <!--Section-->
      <div class="position-relative d-p-none">
         <div class="shape overflow-hidden bottom-footer-shape">
            <svg viewBox="0 0 2880 48" fill="none" xmsns="https://www.w3.org/2000/svg">
               <path d="M0 48H1437.5H2880V0H2160C1442.5 52 720 0 720 0H0V48Z" fill="<?php echo $visual_setting->color_1 ?>"></path>
            </svg>
         </div>
      </div>
      <!--/Section-->

      <!--Footer Section-->
      <style type="text/css">
         .g-recaptcha {
            transform: scale(0.77);
            -webkit-transform: scale(0.77);
            transform-origin: 0 0;
            -webkit-transform-origin: 0 0;
         }

         .footer-about img {
            width: 170px;
         }

         ::-webkit-scrollbar {
            width: 20px;
         }

         @media (max-width: 480px) {
            .video-btn {
               width: 50px !important;
               height: 50px;
               line-height: 40px;
               top: 22%;
            }
         }
      </style>

      <footer class="d-p-none bg-dark text-center-media" style="background-color: <?php echo $visual_setting->color_1; ?>!important;position: relative;">
         <div class="frame-image">
            <div style="position: absolute; border-radius: inherit; inset: 0px;" data-framer-background-image-wrapper="true"><img decoding="async" sizes="100vw" src="<?php echo base_url(); ?>assets/lSHGuRrPALnsNPFyY1JslN8so.png" alt="" style="display: block; width: 100%; height: 100%; border-radius: inherit; object-position: center center; object-fit: cover;"></div>
         </div>
         <div class="footer-main footer-main1">
            <div class="container">
               <div class="row">
                  <div class="col-lg-3 col-md-3">
                     <div class="footer-about">
                        <img loading="lazy" src="<?php echo base_url(); ?><?php echo $app_setting->footer_logo ?>" />
                        <div class="pt-5">
                           <?php echo $app_setting->footer_about_us ?>
                        </div>
                        <ul class="list-unstyled list-inline mt-5 mb-lg-0 mb-5">
                           <?php if ($app_setting->facebook): ?>
                              <li class="list-inline-item">
                                 <a href="<?php echo $app_setting->facebook; ?>" class="social-icons btn-sm rgba-white-slight waves-effect waves-light">
                                    <i class="fa fa-facebook"></i>
                                 </a>
                              </li>
                           <?php endif; ?>
                           <?php if ($app_setting->twitter): ?>
                              <li class="list-inline-item">
                                 <a href="<?php echo $app_setting->twitter; ?>" class="social-icons btn-sm rgba-white-slight waves-effect waves-light">
                                    <i class="fa fa-twitter"></i>
                                 </a>
                              </li>
                           <?php endif; ?>
                           <?php if ($app_setting->youtube): ?>
                              <li class="list-inline-item">
                                 <a href="<?php echo $app_setting->youtube; ?>" class="social-icons btn-sm rgba-white-slight waves-effect waves-light">
                                    <i class="fa fa-youtube"></i>
                                 </a>
                              </li>
                           <?php endif; ?>
                           <?php if ($app_setting->instagram): ?>
                              <li class="list-inline-item">
                                 <a href="<?php echo $app_setting->instagram; ?>" class="social-icons btn-sm rgba-white-slight waves-effect waves-light">
                                    <i class="fa fa-instagram"></i>
                                 </a>
                              </li>
                           <?php endif; ?>
                           <?php if ($app_setting->telegram): ?>
                              <li class="list-inline-item">
                                 <a href="<?php echo $app_setting->telegram; ?>" class="social-icons btn-sm rgba-white-slight waves-effect waves-light">
                                    <i class="fa fa-telegram"></i>
                                 </a>
                              </li>
                           <?php endif; ?>
                        </ul>
                     </div>
                  </div>
                  <div class="col-lg-3 col-md-3">
                     <h6 class="font-weight-normal text-white"><?php echo $heading_sub_heading->useful_link; ?></h6>
                     <ul class="list-unstyled mb-5 mb-lg-0">
                        <?php if ($this->session->userdata('bcount_sess_logged_in') != TRUE) : ?>
                           <li><a href="<?php echo base_url() ?>login"><i class="fe fe-chevron-right"></i> Branch Login</a></li>
                           <li><a href="<?php echo base_url() ?>login"><i class="fe fe-chevron-right"></i> Student Login</a></li>
                        <?php else : ?>
                           <li><a href="<?php echo base_url() ?>admin/admin"><i class="fe fe-chevron-right"></i> Go to Dashboard</a></li>
                           <?php endif;
                        foreach ($all_page as $page):
                           if ($page->showing == 2) { ?>
                              <li><a href="<?php echo base_url() ?>p/<?php echo $page->slug ?>"><i class="fe fe-chevron-right"></i> <?php echo $page->name ?></a></li>
                        <?php }
                        endforeach; ?>

                     </ul>
                  </div>
                  <div class="col-lg-3 col-md-3">
                     <h6 class="font-weight-normal text-white"><?php echo $heading_sub_heading->quick_link; ?></h6>
                     <ul class="list-unstyled mb-lg-0 mb-5">
                        <?php foreach ($all_page as $page):
                           if ($page->showing == 1) { ?>
                              <li><a href="<?php echo base_url() ?>p/<?php echo $page->slug ?>"><i class="fe fe-chevron-right"></i> <?php echo $page->name ?></a></li>
                        <?php }
                        endforeach; ?>
                        <li><a href="<?php echo base_url() ?>faq"><i class="fe fe-chevron-right"></i> FAQ</a></li>
                     </ul>
                  </div>
                  <div class="col-lg-3 col-md-3">
                     <h6 class="font-weight-normal text-white"><?php echo $heading_sub_heading->support; ?></h6>
                     <ul class="list-unstyled mb-0 mt-4">
                        <?php foreach ($all_page as $page):
                           if ($page->showing == 3) { ?>
                              <li><a href="<?php echo base_url() ?>p/<?php echo $page->slug ?>"><i class="fe fe-chevron-right"></i> <?php echo $page->name ?></a></li>
                        <?php }
                        endforeach; ?>
                     </ul>

                  </div>

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


         <div class=" bg-dark d-p-none">
            <div class="container">
               <div class="row d-flex">
                  <div class="col-lg-12 col-sm-12  text-center text-white" style="padding-top:15px">
                     <?php echo $app_setting->copywrite ?>
                  </div>
                  <?php if ($this->uri->segment(1) == "checkout" || $this->uri->segment(1) == "thank-you" || $this->uri->segment(1) == 'checkout_batch_payment' || $this->uri->segment(1) == 'trail' || $this->uri->segment(1) == "thank-you-trail" || $this->uri->segment(1) == "course-details" || $this->uri->segment(1) == "event-details" || $this->uri->segment(1) == "asb"): ?>
                     <div class="col-lg-12 col-sm-12  text-center text-white">
                        <ul class="d-inline-block">
                           <li class="d-inline"><a href="<?php echo base_url() ?>p/privacy-policy" class="text-white"> Privacy Policy <a /> || </li>
                           <li class="d-inline"><a href="<?php echo base_url() ?>p/terms-conditions" class="text-white"> Terms & Conditions <a /> || </li>
                           <li class="d-inline"><a href="<?php echo base_url() ?>p/disclaimer" class="text-white"> Disclaimer <a /> || </li>
                           <li class="d-inline"><a href="<?php echo base_url() ?>p/terms-of-agreement-" class="text-white"> Terms of Agreement<a /></li>
                        </ul>
                     </div>
                     <div class="col-lg-12 col-sm-12 text-white footer_notice pt-4">
                        <?php echo $app_setting->product_footer_notice ?>
                     </div>
                     <style type="text/css">
                        .footer_notice p {
                           color: #fff !important;
                           font-size: 12px;
                        }
                     </style>
                  <?php endif; ?>
               </div>
            </div>
         </div>
      </footer>
      <!--Footer Section-->


      <!-- /Video Modal -->
   <?php endif; ?>
   <script type="text/javascript">
      var base_url = "<?php echo base_url() ?>";
   </script>
   <!-- Back to top -->
   <!-- <a href="#top" id="back-to-top"><i class="fa fa-long-arrow-up"></i></a> -->

   <!-- JQuery js-->
   <script src="<?php echo front_css(); ?>js/jquery.min.js"></script>

   <?php if (uri_string() ==  "" || uri_string() ==  "index" || $this->uri->segment(1) == "product" || $this->uri->segment(1) == "branch" || $this->uri->segment(1) == 'asb' ||  $this->uri->segment(1) == 'thank-you' || $this->uri->segment(1) == 'checkout' || $this->uri->segment(1) == 'about' || $this->uri->segment(2) == 'lession' || $this->uri->segment(1) == 'lession-1'): ?>
      <script src="<?php echo base_url(); ?>assets/video_player/js/moovie.js" defer></script>
   <?php endif; ?>
   <!-- Bootstrap js -->
   <script src="<?php echo front_css(); ?>plugins/bootstrap/js/popper.min.js" defer></script>
   <script src="<?php echo front_css(); ?>plugins/bootstrap/js/bootstrap.min.js"></script>

   <!--JQuery Sparkline js-->
   <script src="<?php echo front_css(); ?>js/jquery.sparkline.min.js" defer></script>


   <!-- Circle Progress js-->
   <script src="<?php echo front_css(); ?>js/circle-progress.min.js" defer></script>

   <!-- Jquery-bar-rating Js-->
   <script src="<?php echo front_css(); ?>plugins/jquery-bar-rating/jquery.barrating.js" defer></script>
   <script src="<?php echo front_css(); ?>plugins/jquery-bar-rating/js/rating.js" defer></script>

   <!--Counters js-->
   <script src="<?php echo front_css(); ?>plugins/counters/counterup.min.js" defer></script>
   <script src="<?php echo front_css(); ?>plugins/counters/waypoints.min.js" defer></script>
   <script src="<?php echo front_css(); ?>plugins/counters/numeric-counter.js" defer></script>

   <!--Owl Carousel js -->
   <script src="<?php echo front_css(); ?>plugins/owl-carousel/owl.carousel.js" defer></script>

   <!--Horizontal Menu js-->
   <script src="<?php echo front_css(); ?>plugins/horizontal-menu/horizontal-menu.js" defer></script>
   <script src="<?php echo front_css(); ?>js/swiper.js" defer></script>
   <!-- sticky js-->
   <script src="<?php echo front_css(); ?>js/sticky.js" defer></script>

   <!--JQuery TouchSwipe js-->
   <script src="<?php echo front_css(); ?>js/jquery.touchSwipe.min.js" defer></script>

   <!--Select2 js -->
   <!-- <script src="<?php echo front_css(); ?>plugins/select2/select2.full.min.js" defer></script>
<script src="<?php echo front_css(); ?>js/select2.js" defer></script> -->

   <!-- Internal :::   Jquery flexdatalist js -->
   <!-- <script src="<?php echo front_css(); ?>plugins/jquery.flexdatalist/jquery.flexdatalist.js"></script>
<script src="<?php echo front_css(); ?>plugins/jquery.flexdatalist/data-list.js"></script> -->

   <!-- Cookie js -->
   <script type="text/javascript">
      var message = '<?php echo $app_setting->cookies; ?>';
   </script>
   <script src="<?php echo front_css(); ?>plugins/cookie/jquery.ihavecookies.js" defer></script>
   <script src="<?php echo front_css(); ?>plugins/cookie/cookie.js" defer></script>

   <?php if ($this->uri->segment(1) == 'course-details') : ?>
      <!-- Vertical scroll bar js-->
      <script src="<?php echo front_css(); ?>plugins/vertical-scroll/jquery.bootstrap.newsbox.js"></script>
      <script src="<?php echo front_css(); ?>plugins/vertical-scroll/vertical-scroll.js"></script>
   <?php endif; ?>


   <!-- Scripts js-->
   <script src="<?php echo front_css(); ?>js/owl-carousel.js" defer></script>

   <!-- Custom js-->
   <script src="<?php echo front_css(); ?>js/custom.js" defer></script>




   <div id="modal" class="modal hide fade in" data-keyboard="false" data-backdrop="static">

      <div class="modal-dialog" role="document">
         <div class="modal-content">
            <div class="modal-body" style="padding-top: 0!important;">
               <h3 class="text-center" style="padding:20px">We are now sleeping and dreaming about new features to implement</h3>
            </div>
         </div>
      </div>
   </div>


   <script type="text/javascript">
      $(document).ready(function() {
         start_model();
      });

      function start_model() {
         $('#modal').modal({
            backdrop: 'static',
            keyboard: false
         });
      }

      function open_model(e) {

         if (e == 1) {
            $('#free_trail_class_model').modal('show');
            $('#text_info1').html('<b>Complete Your Registration Below To Access Your Free Trial  Class</b>');
         } else if (e == 2) {
            $('#branch_live_video_model').modal('show');
            $('#text_info2').html('<b>Complete Your Registration Below To Access Your Free Live Video</b>');
         } else if (e == 3) {
            $('#branch_demo_class_model').modal('show');
            $('#text_info3').html('<b>Complete Your Registration Below To Access Your Free Demo Class</b>');
         } else if (e == 4) {
            $('#request_a_batch').modal('show');
            $('#text_info4').html('<b>Complete Your Registration Below For Request Batch</b>');
         } else if (e == 5) {
            $('#get_price').modal('show');
            $('#text_info5').html('<b>Complete Your Registration Below For Get Fees</b>');
         } else if (e == 6) {
            $('#enrollment').modal('show');
            $('#text_info6').html('<b>Complete Your Registration Below For Enrollment</b>');
         }
      }

      function open_model_1(e) {
         $('#download_syllabus').modal('show');
         $('#text_info7').html('<b>Complete Your Registration Below For Download Syllabus</b>');
         $('#class_1').val(e);
      }

      function open_model_10() {
         $('#download_cur_pdf').modal('show');
         $('#text_info70').html('<b>Complete Your Registration Below For Download Syllabus</b>');
         $('#class_1').val(1);
      }

      function sche_id(e) {
         $('#schedule_id').val(e);
      }

      function close_model() {
         $('#free_trail_class_model').modal('hide');
         $('#video_reg_model').modal('hide');
         $('#branch_live_video_model').modal('hide');
         $('#branch_demo_class_model').modal('hide');
         $('#request_a_batch').modal('hide');
         $('#get_price').modal('hide');
         $('#enrollment').modal('hide');
         $('#download_syllabus').modal('hide');
         $('#open_registration_model').modal('hide');
         $('#open_model').modal('hide');
         $('#referalModal').modal('hide');
         $('#open_payment_model').modal('hide');
         $('#download_cur_pdf').modal('hide');
         $('#open_free_demo_course_model').modal('hide');
         $('#training_contact').modal('hide');
      }

      function open_registration_model() {
         $('#open_registration_model').modal('show');
      }
   </script>
   <div class="modal show" id="open_registration_model" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
      <div class="modal-dialog" role="document">
         <div class="modal-content" style="background-color:#e0e3e3">
            <div class="modal-header" style="border-bottom: none;padding-bottom: 0!important;">
               <button type="button" class="close" onclick="close_model()" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span>
               </button>
            </div>
            <div class="modal-body" style="padding-top: 0!important;">
               <div style="padding:25px;padding-top: 0!important;">
                  <?php echo form_open(base_url() . 'home/apply_new_reg'); ?>
                  <h6 class="text-center" style="font-weight: 500;">CONGRATS, YOU'RE IN!</h6>
                  <h5 class="text-center">Complete Your Registration To Join Book a Free trail class.</h5>
                  <div class="row" style="padding-top:20px">
                     <div class="col-sm-6">
                        <div class="form-group">
                           <input type="text" class="form-control effect" name="f_name" required="" placeholder="Enter First Name *">
                        </div>
                     </div>
                     <div class="col-sm-6">
                        <div class="form-group">
                           <input type="text" class="form-control effect" name="l_name" required="" placeholder="Enter Last Name *">
                        </div>
                     </div>
                     <div class="col-sm-12">
                        <div class="form-group">
                           <input type="email" class="form-control effect" name="email" required="" id="email_new" placeholder="Enter Email ID *">
                        </div>
                     </div>
                     <div class="col-sm-6">
                        <div class="form-group">
                           <input type="tel" class="form-control" name="mobile" required="" pattern="[0-9]{10}" placeholder="Enter Mobile No *">
                        </div>
                     </div>
                     <div class="col-sm-6">
                        <div class="form-group">
                           <select type="text" class="form-control effect" name="class_training" placeholder="Enter Company Name" required="">
                              <option value="">Select Your Free Trail Mode *</option>
                              <option value="1">Online-At Zoom Meet</option>
                              <option value="2">Face2Face-At Branch</option>
                           </select>
                        </div>
                     </div>
                     <div class="col-sm-12">
                        <div class="form-group">
                           <select type="text" class="form-control effect" name="course" required="">
                              <option value="">Select Course *</option>
                              <?php
                              $all_course = $this->course_model->get_all_course_for_book_trail();
                              foreach ($all_course as $key => $course) : ?>
                                 <option value="<?php echo $course->id; ?>"><?php echo $course->course_short_name; ?></option>
                              <?php endforeach; ?>
                           </select>
                        </div>
                     </div>
                     <div class="col-sm-12">
                        <div class="form-group">
                           <select type="text" class="form-control effect" name="branch" required="">
                              <option value="">Select Branch *</option>
                              <?php
                              $all_branch = $this->branch_model->get_all_branch();
                              foreach ($all_branch as $key => $branch) : ?>
                                 <option value="<?php echo $branch->id; ?>"><?php echo $branch->name; ?></option>
                              <?php endforeach; ?>
                           </select>
                        </div>
                     </div>
                     <div class="col-sm-12">
                        <div class="form-group">
                           <div class="g-recaptcha" data-sitekey="<?php echo $app_setting->captcha_site_key; ?>"></div>
                        </div>
                     </div>
                     <div class="col-sm-12">
                        <button type="submit" class="block">Submit</button>
                     </div>

                  </div>
               </div>
            </div>
            <?php echo form_close(); ?>
         </div>
      </div>
   </div>
   <style type="text/css">
      .effect {
         border: 0;
         padding: 8px 10px;
         border-bottom: 1px solid #ccc;
         width: 100%;
         font-size: 12px;
         line-height: 20px;
         color: #686262;
         border-radius: 0;
      }
   </style>

   <?php if ($this->uri->segment(1) == 'course-details') : ?>
      <div class="modal show" id="branch_demo_class_model" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
         <div class="modal-dialog" role="document">
            <div class="modal-content">
               <div class="modal-header" style="border-bottom: none;padding-bottom: 0!important;">
                  <button type="button" class="close" onclick="close_model()" data-dismiss="modal" aria-label="Close">
                     <span aria-hidden="true">&times;</span>
                  </button>
               </div>
               <div class="modal-body" style="padding-top: 0!important;">
                  <div style="padding:25px;padding-top: 0!important;">
                     <?php echo form_open(base_url() . 'home/apply_demo_class_from_branch'); ?>
                     <h6 class="text-center" style="font-weight: 500;">CONGRATS, YOU'RE IN!</h6>
                     <h5 class="text-center" id="text_info3"></h5>
                     <div class="row" style="padding-top:20px">
                        <div class="col-sm-6">
                           <div class="form-group">
                              <input type="text" class="form-control" name="f_name" required="" placeholder="Enter First Name *">
                           </div>
                        </div>
                        <div class="col-sm-6">
                           <div class="form-group">
                              <input type="text" class="form-control" name="l_name" required="" placeholder="Enter Last Name *">
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <input type="email" class="form-control" name="email" required="" id="email_new" placeholder="Enter Email ID *">
                           </div>
                        </div>
                        <div class="col-sm-6">
                           <div class="form-group">
                              <input type="tel" class="form-control" name="mobile" required="" pattern="[0-9]{10}" placeholder="Enter Mobile No *">
                           </div>
                        </div>
                        <div class="col-sm-6">
                           <div class="form-group">
                              <select type="text" class="form-control" name="class_training" placeholder="Enter Company Name" required="">
                                 <option value="">Select Class Training *</option>
                                 <option value="1">In Class Training</option>
                                 <option value="2">Online Training</option>
                              </select>
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <input type="hidden" name="course" value="<?php echo $course->id ?>">
                        </div>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <select type="text" class="form-control" name="branch" required="">
                                 <option value="">Select Branch *</option>
                                 <?php
                                 $all_branch = $this->branch_model->get_all_branch();
                                 foreach ($all_branch as $key => $branch) : ?>
                                    <option value="<?php echo $branch->id; ?>"><?php echo $branch->name; ?></option>
                                 <?php endforeach; ?>
                              </select>
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <div class="g-recaptcha" data-sitekey="<?php echo $app_setting->captcha_site_key; ?>"></div>
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <button type="submit" class="block">Submit</button>
                        </div>

                     </div>
                  </div>
               </div>
               <?php echo form_close(); ?>
            </div>
         </div>
      </div>
      <div class="modal show" id="branch_live_video_model" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
         <div class="modal-dialog" role="document">
            <div class="modal-content">
               <div class="modal-header" style="border-bottom: none;padding-bottom: 0!important;">
                  <button type="button" class="close" onclick="close_model()" data-dismiss="modal" aria-label="Close">
                     <span aria-hidden="true">&times;</span>
                  </button>
               </div>
               <div class="modal-body" style="padding-top: 0!important;">
                  <div style="padding:25px;padding-top: 0!important;">
                     <?php echo form_open(base_url() . 'home/apply_live_video_class_from_branch'); ?>
                     <h6 class="text-center" style="font-weight: 500;">CONGRATS, YOU'RE IN!</h6>
                     <h5 class="text-center" id="text_info2"></h5>
                     <div class="row" style="padding-top:20px">
                        <div class="col-sm-6">
                           <div class="form-group">
                              <input type="text" class="form-control" name="f_name" required="" placeholder="Enter First Name *">
                           </div>
                        </div>
                        <div class="col-sm-6">
                           <div class="form-group">
                              <input type="text" class="form-control" name="l_name" required="" placeholder="Enter Last Name *">
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <input type="email" class="form-control" name="email" required="" id="email_new" placeholder="Enter Email ID *">
                           </div>
                        </div>
                        <div class="col-sm-6">
                           <div class="form-group">
                              <input type="tel" class="form-control" name="mobile" required="" pattern="[0-9]{10}" placeholder="Enter Mobile No *">
                           </div>
                        </div>
                        <div class="col-sm-6">
                           <div class="form-group">
                              <select type="text" class="form-control" name="class_training" placeholder="Enter Company Name" required="">
                                 <option value="">Select Class Training *</option>
                                 <option value="1">In Class Training</option>
                                 <option value="2">Online Training</option>
                              </select>
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <input type="hidden" name="course" value="<?php echo $course->id ?>">
                        </div>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <select type="text" class="form-control" name="branch" required="">
                                 <option value="">Select Branch *</option>
                                 <?php
                                 $all_branch = $this->branch_model->get_all_branch();
                                 foreach ($all_branch as $key => $branch) : ?>
                                    <option value="<?php echo $branch->id; ?>"><?php echo $branch->name; ?></option>
                                 <?php endforeach; ?>
                              </select>
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <div class="g-recaptcha" data-sitekey="<?php echo $app_setting->captcha_site_key; ?>"></div>
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <button type="submit" class="block">Submit</button>
                        </div>

                     </div>
                  </div>
               </div>
               <?php echo form_close(); ?>
            </div>
         </div>
      </div>
      <div class="modal show" id="enrollment" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
         <div class="modal-dialog" role="document">
            <div class="modal-content">
               <div class="modal-header" style="border-bottom: none;padding-bottom: 0!important;">
                  <button type="button" class="close" onclick="close_model()" data-dismiss="modal" aria-label="Close">
                     <span aria-hidden="true">&times;</span>
                  </button>
               </div>
               <div class="modal-body" style="padding-top: 0!important;">
                  <div style="padding:25px;padding-top: 0!important;">
                     <?php echo form_open(base_url() . 'home/apply_live_video_class_from_branch'); ?>
                     <h6 class="text-center" style="font-weight: 500;">CONGRATS, YOU'RE IN!</h6>
                     <h5 class="text-center" id="text_info6"></h5>
                     <div class="row" style="padding-top:20px">
                        <div class="col-sm-6">
                           <div class="form-group">
                              <input type="text" class="form-control" name="f_name" required="" placeholder="Enter First Name *">
                           </div>
                        </div>
                        <div class="col-sm-6">
                           <div class="form-group">
                              <input type="text" class="form-control" name="l_name" required="" placeholder="Enter Last Name *">
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <input type="email" class="form-control" name="email" required="" id="email_new" placeholder="Enter Email ID *">
                           </div>
                        </div>
                        <div class="col-sm-6">
                           <div class="form-group">
                              <input type="tel" class="form-control" name="mobile" required="" pattern="[0-9]{10}" placeholder="Enter Mobile No *">
                           </div>
                        </div>
                        <div class="col-sm-6">
                           <div class="form-group">
                              <select type="text" class="form-control" name="class_training" placeholder="Enter Company Name" required="">
                                 <option value="">Select Class Training *</option>
                                 <option value="1">In Class Training</option>
                                 <option value="2">Online Training</option>
                              </select>
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <input type="hidden" name="course" value="<?php echo $course->id ?>">
                        </div>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <select type="text" class="form-control" name="branch" required="">
                                 <option value="">Select Branch *</option>
                                 <?php
                                 $all_branch = $this->branch_model->get_all_branch();
                                 foreach ($all_branch as $key => $branch) : ?>
                                    <option value="<?php echo $branch->id; ?>"><?php echo $branch->name; ?></option>
                                 <?php endforeach; ?>
                              </select>
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <div class="g-recaptcha" data-sitekey="<?php echo $app_setting->captcha_site_key; ?>"></div>
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <button type="submit" class="block">Submit</button>
                        </div>

                     </div>
                  </div>
               </div>
               <?php echo form_close(); ?>
            </div>
         </div>
      </div>
   <?php endif; ?>

   <?php if ($this->uri->segment(1) == 'branch') : ?>
      <div class="modal show" id="get_price" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
         <div class="modal-dialog" role="document">
            <div class="modal-content">
               <div class="modal-header" style="border-bottom: none;padding-bottom: 0!important;">
                  <button type="button" class="close" onclick="close_model()" data-dismiss="modal" aria-label="Close">
                     <span aria-hidden="true">&times;</span>
                  </button>
               </div>
               <div class="modal-body" style="padding-top: 0!important;">
                  <div style="padding:25px;padding-top: 0!important;">
                     <?php echo form_open(base_url() . 'home/get_price'); ?>
                     <h6 class="text-center" style="font-weight: 500;">CONGRATS, YOU'RE IN!</h6>
                     <h5 class="text-center" id="text_info5"></h5>
                     <div class="row" style="padding-top:20px">
                        <div class="col-sm-6">
                           <div class="form-group">
                              <input type="text" class="form-control" name="f_name" required="" placeholder="Enter First Name *">
                           </div>
                        </div>
                        <div class="col-sm-6">
                           <div class="form-group">
                              <input type="text" class="form-control" name="l_name" required="" placeholder="Enter Last Name *">
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <input type="email" class="form-control" name="email" required="" id="email_new" placeholder="Enter Email ID *">
                           </div>
                        </div>
                        <div class="col-sm-6">
                           <div class="form-group">
                              <input type="tel" class="form-control" name="mobile" required="" pattern="[0-9]{10}" placeholder="Enter Mobile No *">
                           </div>
                        </div>
                        <div class="col-sm-6">
                           <div class="form-group">
                              <select type="text" class="form-control" name="class_training" placeholder="Enter Company Name" required="">
                                 <option value="">Select Class Training *</option>
                                 <option value="1">In Class Training</option>
                                 <option value="2">Online Training</option>
                              </select>
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <select type="text" class="form-control" name="course" required="">
                                 <option value="">Select Course *</option>
                                 <?php
                                 $all_course = $this->course_model->get_all_course();
                                 foreach ($all_course as $key => $course) : ?>
                                    <option value="<?php echo $course->id; ?>"><?php echo $course->course_short_name; ?></option>
                                 <?php endforeach; ?>
                              </select>
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <div class="g-recaptcha" data-sitekey="<?php echo $app_setting->captcha_site_key; ?>"></div>
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <input type="hidden" name="branch" value="<?php echo $branch->id ?>">
                        </div>
                        <div class="col-sm-12">
                           <input type="hidden" name="schedule_id" id="schedule_id">
                        </div>
                        <div class="col-sm-12">
                           <button type="submit" class="block">Submit</button>
                        </div>

                     </div>
                  </div>
               </div>
               <?php echo form_close(); ?>
            </div>
         </div>
      </div>
      <div class="modal show" id="request_a_batch" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
         <div class="modal-dialog" role="document">
            <div class="modal-content">
               <div class="modal-header" style="border-bottom: none;padding-bottom: 0!important;">
                  <button type="button" class="close" onclick="close_model()" data-dismiss="modal" aria-label="Close">
                     <span aria-hidden="true">&times;</span>
                  </button>
               </div>
               <div class="modal-body" style="padding-top: 0!important;">
                  <div style="padding:25px;padding-top: 0!important;">
                     <?php echo form_open(base_url() . 'home/request_a_batch'); ?>
                     <h6 class="text-center" style="font-weight: 500;">CONGRATS, YOU'RE IN!</h6>
                     <h5 class="text-center" id="text_info4"></h5>
                     <div class="row" style="padding-top:20px">
                        <div class="col-sm-6">
                           <div class="form-group">
                              <input type="text" class="form-control" name="f_name" required="" placeholder="Enter First Name *">
                           </div>
                        </div>
                        <div class="col-sm-6">
                           <div class="form-group">
                              <input type="text" class="form-control" name="l_name" required="" placeholder="Enter Last Name *">
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <input type="email" class="form-control" name="email" required="" id="email_new" placeholder="Enter Email ID *">
                           </div>
                        </div>
                        <div class="col-sm-6">
                           <div class="form-group">
                              <input type="tel" class="form-control" name="mobile" required="" pattern="[0-9]{10}" placeholder="Enter Mobile No *">
                           </div>
                        </div>
                        <div class="col-sm-6">
                           <div class="form-group">
                              <select type="text" class="form-control" name="class_training" placeholder="Enter Company Name" required="">
                                 <option value="">Select Class Training *</option>
                                 <option value="1">In Class Training</option>
                                 <option value="2">Online Training</option>
                              </select>
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <select type="text" class="form-control" name="course" required="">
                                 <option value="">Select Course *</option>
                                 <?php
                                 $all_course = $this->course_model->get_all_course();
                                 foreach ($all_course as $key => $course) : ?>
                                    <option value="<?php echo $course->id; ?>"><?php echo $course->course_short_name; ?></option>
                                 <?php endforeach; ?>
                              </select>
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <input type="datetime-local" class="form-control" name="sch_time" required="" placeholder="Enter Date & Time*">
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <div class="g-recaptcha" data-sitekey="<?php echo $app_setting->captcha_site_key; ?>"></div>
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <input type="hidden" name="branch" value="<?php echo $branch->id ?>">
                        </div>
                        <div class="col-sm-12">
                           <button type="submit" class="block">Submit</button>
                        </div>

                     </div>
                  </div>
               </div>
               <?php echo form_close(); ?>
            </div>
         </div>
      </div>
      <div class="modal show" id="branch_demo_class_model" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
         <div class="modal-dialog" role="document">
            <div class="modal-content">
               <div class="modal-header" style="border-bottom: none;padding-bottom: 0!important;">
                  <button type="button" class="close" onclick="close_model()" data-dismiss="modal" aria-label="Close">
                     <span aria-hidden="true">&times;</span>
                  </button>
               </div>
               <div class="modal-body" style="padding-top: 0!important;">
                  <div style="padding:25px;padding-top: 0!important;">
                     <?php echo form_open(base_url() . 'home/apply_demo_class_from_branch'); ?>
                     <h6 class="text-center" style="font-weight: 500;">CONGRATS, YOU'RE IN!</h6>
                     <h5 class="text-center" id="text_info3"></h5>
                     <div class="row" style="padding-top:20px">
                        <div class="col-sm-6">
                           <div class="form-group">
                              <input type="text" class="form-control" name="f_name" required="" placeholder="Enter First Name *">
                           </div>
                        </div>
                        <div class="col-sm-6">
                           <div class="form-group">
                              <input type="text" class="form-control" name="l_name" required="" placeholder="Enter Last Name *">
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <input type="email" class="form-control" name="email" required="" id="email_new" placeholder="Enter Email ID *">
                           </div>
                        </div>
                        <div class="col-sm-6">
                           <div class="form-group">
                              <input type="tel" class="form-control" name="mobile" required="" pattern="[0-9]{10}" placeholder="Enter Mobile No *">
                           </div>
                        </div>
                        <div class="col-sm-6">
                           <div class="form-group">
                              <select type="text" class="form-control" name="class_training" placeholder="Enter Company Name" required="">
                                 <option value="">Select Class Training *</option>
                                 <option value="1">In Class Training</option>
                                 <option value="2">Online Training</option>
                              </select>
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <select type="text" class="form-control" name="course" required="">
                                 <option value="">Select Course *</option>
                                 <?php
                                 $all_course = $this->course_model->get_all_course();
                                 foreach ($all_course as $key => $course) : ?>
                                    <option value="<?php echo $course->id; ?>"><?php echo $course->course_short_name; ?></option>
                                 <?php endforeach; ?>
                              </select>
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <div class="g-recaptcha" data-sitekey="<?php echo $app_setting->captcha_site_key; ?>"></div>
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <input type="hidden" name="branch" value="<?php echo $branch->id ?>">
                        </div>
                        <div class="col-sm-12">
                           <button type="submit" class="block">Submit</button>
                        </div>

                     </div>
                  </div>
               </div>
               <?php echo form_close(); ?>
            </div>
         </div>
      </div>
      <div class="modal show" id="branch_live_video_model" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
         <div class="modal-dialog" role="document">
            <div class="modal-content">
               <div class="modal-header" style="border-bottom: none;padding-bottom: 0!important;">
                  <button type="button" class="close" onclick="close_model()" data-dismiss="modal" aria-label="Close">
                     <span aria-hidden="true">&times;</span>
                  </button>
               </div>
               <div class="modal-body" style="padding-top: 0!important;">
                  <div style="padding:25px;padding-top: 0!important;">
                     <?php echo form_open(base_url() . 'home/apply_live_video_class_from_branch'); ?>
                     <h6 class="text-center" style="font-weight: 500;">CONGRATS, YOU'RE IN!</h6>
                     <h5 class="text-center" id="text_info2"></h5>
                     <div class="row" style="padding-top:20px">
                        <div class="col-sm-6">
                           <div class="form-group">
                              <input type="text" class="form-control" name="f_name" required="" placeholder="Enter First Name *">
                           </div>
                        </div>
                        <div class="col-sm-6">
                           <div class="form-group">
                              <input type="text" class="form-control" name="l_name" required="" placeholder="Enter Last Name *">
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <input type="email" class="form-control" name="email" required="" id="email_new" placeholder="Enter Email ID *">
                           </div>
                        </div>
                        <div class="col-sm-6">
                           <div class="form-group">
                              <input type="tel" class="form-control" name="mobile" required="" pattern="[0-9]{10}" placeholder="Enter Mobile No *">
                           </div>
                        </div>
                        <div class="col-sm-6">
                           <div class="form-group">
                              <select type="text" class="form-control" name="class_training" placeholder="Enter Company Name" required="">
                                 <option value="">Select Class Training *</option>
                                 <option value="1">In Class Training</option>
                                 <option value="2">Online Training</option>
                              </select>
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <select type="text" class="form-control" name="course" required="">
                                 <option value="">Select Course *</option>
                                 <?php
                                 $all_course = $this->course_model->get_all_course();
                                 foreach ($all_course as $key => $course) : ?>
                                    <option value="<?php echo $course->id; ?>"><?php echo $course->course_short_name; ?></option>
                                 <?php endforeach; ?>
                              </select>
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <div class="g-recaptcha" data-sitekey="<?php echo $app_setting->captcha_site_key; ?>"></div>
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <input type="hidden" name="branch" value="<?php echo $branch->id ?>">
                        </div>
                        <div class="col-sm-12">
                           <button type="submit" class="block">Submit</button>
                        </div>

                     </div>
                  </div>
               </div>
               <?php echo form_close(); ?>
            </div>
         </div>
      </div>
   <?php endif; ?>
   <?php if ($this->uri->segment(1) == 'branch') : ?>
      <div class="modal show" id="free_trail_class_model" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
         <div class="modal-dialog" role="document">
            <div class="modal-content">
               <div class="modal-header" style="border-bottom: none;padding-bottom: 0!important;">
                  <button type="button" class="close" onclick="close_model()" data-dismiss="modal" aria-label="Close">
                     <span aria-hidden="true">&times;</span>
                  </button>
               </div>
               <div class="modal-body" style="padding-top: 0!important;">
                  <div style="padding:25px;padding-top: 0!important;">
                     <?php echo form_open(base_url() . 'home/apply_free_trail_class'); ?>
                     <h6 class="text-center" style="font-weight: 500;">CONGRATS, YOU'RE IN!</h6>
                     <h5 class="text-center" id="text_info1"></h5>
                     <div class="row" style="padding-top:20px">
                        <div class="col-sm-6">
                           <div class="form-group">
                              <input type="text" class="form-control" name="f_name" required="" placeholder="Enter First Name *">
                           </div>
                        </div>
                        <div class="col-sm-6">
                           <div class="form-group">
                              <input type="text" class="form-control" name="l_name" required="" placeholder="Enter Last Name *">
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <input type="email" class="form-control" name="email" required="" id="email_new" placeholder="Enter Email ID *">
                           </div>
                        </div>
                        <div class="col-sm-6">
                           <div class="form-group">
                              <input type="tel" class="form-control" name="mobile" required="" pattern="[0-9]{10}" placeholder="Enter Mobile No *">
                           </div>
                        </div>
                        <div class="col-sm-6">
                           <div class="form-group">
                              <select type="text" class="form-control" name="class_training" placeholder="Enter Company Name" required="">
                                 <option value="">Select Class Training *</option>
                                 <option value="1">In Class Training</option>
                                 <option value="2">Online Training</option>
                              </select>
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <select type="text" class="form-control" name="course" required="">
                                 <option value="">Select Course *</option>
                                 <?php
                                 $all_course = $this->course_model->get_all_course();
                                 foreach ($all_course as $key => $course) : ?>
                                    <option value="<?php echo $course->id; ?>"><?php echo $course->course_short_name; ?></option>
                                 <?php endforeach; ?>
                              </select>
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <div class="g-recaptcha" data-sitekey="<?php echo $app_setting->captcha_site_key; ?>"></div>
                           </div>
                        </div>
                        <input type="hidden" class="form-control" name="branch" required="" value="<?php echo $branch->id ?>">
                        <div class="col-sm-12">
                           <button type="submit" class="block">Submit</button>
                        </div>

                     </div>
                  </div>
               </div>
               <?php echo form_close(); ?>
            </div>
         </div>
      </div>
   <?php endif; ?>
   <?php if (uri_string() == 'index' || uri_string() == "") : ?>
      <div class="modal show" id="free_trail_class_model" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
         <div class="modal-dialog" role="document">
            <div class="modal-content">
               <div class="modal-header" style="border-bottom: none;padding-bottom: 0!important;">
                  <button type="button" class="close" onclick="close_model()" data-dismiss="modal" aria-label="Close">
                     <span aria-hidden="true">&times;</span>
                  </button>
               </div>
               <div class="modal-body" style="padding-top: 0!important;">
                  <div style="padding:25px;padding-top: 0!important;">
                     <?php echo form_open(base_url() . 'home/apply_free_trail_class'); ?>
                     <h6 class="text-center" style="font-weight: 500;">CONGRATS, YOU'RE IN!</h6>
                     <h5 class="text-center"><b>Complete Your Registration Below To Access Your Free Trail Class</b></h5>
                     <div class="row" style="padding-top:20px">
                        <div class="col-sm-6">
                           <div class="form-group">
                              <input type="text" class="form-control" name="f_name" required="" placeholder="Enter First Name *">
                           </div>
                        </div>
                        <div class="col-sm-6">
                           <div class="form-group">
                              <input type="text" class="form-control" name="l_name" required="" placeholder="Enter Last Name *">
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <input type="email" class="form-control" name="email" required="" id="email_new" placeholder="Enter Email ID *">
                           </div>
                        </div>
                        <div class="col-sm-6">
                           <div class="form-group">
                              <input type="tel" class="form-control" name="mobile" required="" pattern="[0-9]{10}" placeholder="Enter Mobile No *">
                           </div>
                        </div>
                        <div class="col-sm-6">
                           <div class="form-group">
                              <select type="text" class="form-control" name="class_training" placeholder="Enter Company Name" required="">
                                 <option value="">Select Class Training *</option>
                                 <option value="1">In Class Training</option>
                                 <option value="2">Online Training</option>
                              </select>
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <select type="text" class="form-control" name="course" required="">
                                 <option value="">Select Course *</option>
                                 <?php
                                 $all_course = $this->course_model->get_all_course();
                                 foreach ($all_course as $key => $course) : ?>
                                    <option value="<?php echo $course->id; ?>"><?php echo $course->course_short_name; ?></option>
                                 <?php endforeach; ?>
                              </select>
                           </div>
                        </div>
                        <?php if (uri_string() != 'branch') : ?>
                           <div class="col-sm-12">
                              <div class="form-group">
                                 <select type="text" class="form-control" name="branch" required="">
                                    <option value="">Select Branch *</option>
                                    <?php
                                    $all_branch = $this->branch_model->get_all_branch();
                                    foreach ($all_branch as $key => $branch) : ?>
                                       <option value="<?php echo $branch->id; ?>"><?php echo $branch->name; ?></option>
                                    <?php endforeach; ?>
                                 </select>
                              </div>
                           </div>
                        <?php else : ?>
                           <input type="" class="form-control" name="branch" required="" value="<?php echo $branch->id ?>">
                        <?php endif; ?>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <div class="g-recaptcha" data-sitekey="<?php echo $app_setting->captcha_site_key; ?>"></div>
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <button type="submit" class="block">Submit</button>
                        </div>

                     </div>
                  </div>
               </div>
               <?php echo form_close(); ?>
            </div>
         </div>
      </div>
      <div class="modal show" id="video_reg_model" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
         <div class="modal-dialog" role="document">
            <div class="modal-content">
               <div class="modal-header" style="border-bottom: none;padding-bottom: 0!important;">
                  <button type="button" class="close" onclick="close_model()" data-dismiss="modal" aria-label="Close">
                     <span aria-hidden="true">&times;</span>
                  </button>
               </div>
               <div class="modal-body" style="padding-top: 0!important;">
                  <div style="padding:25px;padding-top: 0!important;">
                     <?php echo form_open(base_url() . 'home/submit_registration_form'); ?>
                     <h6 class="text-center" style="font-weight: 500;">CONGRATS, <span id="new_email_1"></span> YOU'RE IN!</h6>
                     <h5 class="text-center"><b>Complete Your Registration Below to Explore Program</b></h5>
                     <div class="row" style="padding-top:20px">
                        <div class="col-sm-12">
                           <div class="form-group">
                              <input type="text" class="form-control" name="f_name" required="" placeholder="Enter First Name *" id="new_email">
                           </div>
                        </div>

                        <div class="col-sm-12">
                           <div class="form-group">
                              <input type="email" class="form-control" name="email" required="" placeholder="Enter Email ID *">
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <input type="tel" class="form-control" name="mobile" required="" pattern="[0-9]{10}" placeholder="Enter Mobile No *">
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <div class="form-group">
                              <div class="g-recaptcha" data-sitekey="<?php echo $app_setting->captcha_site_key; ?>"></div>
                           </div>
                        </div>
                        <div class="col-sm-12">
                           <button type="submit" class="block">Explore Program</button>
                        </div>

                     </div>
                  </div>
               </div>
               <?php echo form_close(); ?>
            </div>
         </div>
      </div>
   <?php endif; ?>
   <style type="text/css">
      .block {
         display: block;
         width: 100%;
         border: none;
         background-color: <?php echo $visual_setting->color_5; ?> !important;
         padding: 14px 28px;
         font-size: 16px;
         cursor: pointer;
         text-align: center;
         color: #fff !important;
      }
   </style>

   <?php if ($this->uri->segment(1) == 'course-details'): ?>
      <script type="text/javascript">
         base_url = "<?php echo base_url(); ?>";
      </script>
      <script src='https://cdnjs.cloudflare.com/ajax/libs/gsap/1.18.4/TweenMax.min.js'></script>
      <script src='https://cdnjs.cloudflare.com/ajax/libs/gsap/1.18.4/utils/Draggable.min.js'></script>
      <script src='<?php echo base_url(); ?>assets/front/wheel/js/ThrowPropsPlugin.min.js'></script>
      <script src='<?php echo base_url(); ?>assets/front/wheel/js/Spin2WinWheel.min.js'></script>
      <script src='https://cdnjs.cloudflare.com/ajax/libs/gsap/latest/plugins/TextPlugin.min.js'></script>
      <script src="<?php echo base_url(); ?>assets/front/wheel/js/index.js"></script>
   <?php endif; ?>
<?php endif; ?>
<?php if ($this->uri->segment(1) == 'product'): ?>
   <style type="text/css">
      .callusbtn {
         color: #a9a9a9;
         font-size: 30px;
         position: absolute;
         right: 10px;
         top: 8px;
         transition: all 0.4s ease-in-out 0s;
         z-index: 102;
         line-height: 1.2;
         width: 105px;
         height: 35px;
         border-radius: 7px;
      }
   </style>
<?php else: ?>
   <style type="text/css">
      .callusbtn {
         color: #a9a9a9;
         font-size: 15px;
         position: absolute;
         right: 10px;
         top: 8px;
         transition: all 0.4s ease-in-out 0s;
         z-index: 102;
         line-height: 1.2;
         width: 105px;
         height: 35px;
         background: rgba(255, 255, 255, 0.1);
         border-radius: 7px;
      }
   </style>
<?php endif; ?>
<style>
   p {
      font-size: 15px !important;
   }

   .floating-cart {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background: green;
      color: #fff;
      font-size: 24px;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 999;
      transition: background 0.3s ease;
      text-decoration: none;
   }

   .floating-cart:hover {
      background: #f00;
      color: #fff;
   }

   .cart-badge {
      position: absolute;
      top: 0px;
      right: -4px;
      background: green;
      color: #fff;
      font-size: 12px;
      font-weight: bold;
      padding: 2px 6px;
      border-radius: 12px;
      line-height: 1;
      min-width: 18px;
      text-align: center;
      border: 1px solid #fff;
   }

   /* Responsive Adjustment */
   @media (max-width: 768px) {
      .floating-cart {
         bottom: 15px;
         right: 15px;
         width: 50px;
         height: 50px;
         font-size: 20px;
      }

      .cart-badge {
         font-size: 10px;
         padding: 1px 5px;
      }
   }
   .account-setting li a{
      display: block!important;
   }
   .account-setting li
   {
      padding: 5px!important;
   }
   .header-main .top-bar-end .custom li a
{
   padding: 5px;
   padding-left: 20px;
}
</style>
<a href="<?php echo base_url(); ?>cart" class="floating-cart" title="View Cart">
   <i class="fa fa-shopping-cart"></i>
   <span class="cart-badge" id="cart_count"><?php
                                             $cart = $this->cart->contents();
                                             echo count($cart) > 0 ? count($cart) : 0;
                                             ?>
   </span> <!-- Optional cart count -->
</a>


</body>

</html>