<?php get_header();?>
               <!-- HERO-2
               ============================================= --> 
<?php $p2h_theme_options = get_option('p2h_theme_options'); ?>
               <section id="hero-2" class="hero-section division">


                    <!-- SLIDER -->
                    <div class="slider blue-nav">
                    <ul class="slides">


                              <!-- SLIDE #1 -->
                              <li id="slide-1">

                                 <!-- Background Image -->
                              <img src="<?php echo $p2h_theme_options['slider1-img']; ?>" alt="slide-background">
                                   <div class="caption d-flex align-items-center left-align" style="opacity: 1; transform: translateX(0px) translateY(0px);">
                        <div class="container">
                           <div class="row">
                              <div class="col-md-12">
                                <div class="caption-txt">
                                    
                                    <?php echo $p2h_theme_options['slider1-head']; ?>
                                   
                                    <p class="p-md"><?php echo $p2h_theme_options['slider1-text']; ?></p>
                                    
                                    <a href="https://aaamghospitals.com/about-us/" class="btn btn-blue blue-hover">More About Clinic</a>
                                 </div> 
                              </div>
                           </div>
                           <!-- End row -->
                        </div>
                        <!-- End container -->
                     </div>
                             </li> <!-- END SLIDE #1 -->


                              <!-- SLIDE #2 -->
                              <li id="slide-2">

                              <!-- Background Image -->
                              <img src="<?php echo $p2h_theme_options['slider2-img']; ?>" alt="slide-background">
                                   
                                   <div class="caption d-flex align-items-center left-align" style="opacity: 1; transform: translateX(0px) translateY(0px);">
                        <div class="container">
                           <div class="row">
                              <div class="col-md-12">
                                <div class="caption-txt">
                                    
                                    <?php echo $p2h_theme_options['slider2-head']; ?>
                                   
                                    <p class="p-md"><?php echo $p2h_theme_options['slider2-text']; ?></p>
                                    
                                    <a href="https://aaamghospitals.com/about-us/" class="btn btn-blue blue-hover">More About Clinic</a>
                                 </div> 
                              </div>
                           </div>
                           <!-- End row -->
                        </div>
                        <!-- End container -->
                     </div>
                              </li>     <!-- END SLIDE #2 -->


                              

                        </ul>
                    </div>    <!-- END SLIDER -->


               </section>     <!-- END HERO-2 -->


               <!-- ABOUT-3
               ============================================= -->
               <section id="about-5" class="bg-lightgrey pt-100 about-section division">
                    <div class="container">
                         <div class="row d-flex align-items-center">


                              <!-- IMAGE BLOCK -->
                              <div class="col-lg-6">
                                   <div class="about-img text-center wow fadeInUp" data-wow-delay="0.6s">
                                        <img class="img-fluid" src="<?php echo $p2h_theme_options['about-img']; ?>" alt="about-image">
                                   </div>
                              </div>


                              <!-- TEXT BLOCK --> 
                              <div class="col-lg-6">
                                   <div class="txt-block pc-30 wow fadeInUp" data-wow-delay="0.4s">

                                        <!-- Section ID --> 
                                        <span class="section-id blue-color">Welcome to AAAMG Hospital</span>

                                        <!-- Title -->
                                        <h3 class="h3-md steelblue-color"><?php echo $p2h_theme_options['about-head']; ?></h3>

                                        <!-- Text -->
                                        <p><?php echo $p2h_theme_options['about-text']; ?>
                                        </p>

                                        <!-- Singnature -->
                                        <div class="singnature">

                                             <!-- Text -->
                                             <a href="https://aaamghospitals.com/about-us/" class="btn btn-blue blue-hover mt-25">Learn More</a>

                                        </div>

                                   </div>
                              </div>    <!-- END TEXT BLOCK -->  

                              
                         </div>    <!-- End row -->
                    </div>       <!-- End container -->
               </section>     <!-- END ABOUT-5 -->


               <!-- ABOUT-4
               ============================================= -->
              

               <!-- ABOUT-5
               ============================================= -->
               <section id="hamenities" class="wide-70 servicess-section division">
                    <div class="container">

                         <!-- SECTION TITLE -->   
                         <div class="row">   
                              <div class="col-lg-10 offset-lg-1 section-title">      

                                   <!-- Title     -->  
                                   <h3 class="h3-md steelblue-color">HOSPITAL AMENITIES</h3>   

                              </div> 
                         </div>

                         <div class="row">

                              <!-- SERVICE BOXES -->   
                              <div class="col-lg-4">
                                   <div class="row whypartner">

                                        <!-- SERVICE BOX #1 -->
									   
									   
									    <?php  
         $args = array( 'post_type' => 'amenities', 'posts_per_page' => '-1', 'order' => 'ASC');
         $loop = new WP_Query( $args );
         while ( $loop->have_posts() ) : $loop->the_post(); 
         ?>
                                        <div class="col-md-12">
                                             <div class="sbox-7 icon-xs wow fadeInUp" data-wow-delay="0.4s" style="visibility: visible; animation-delay: 0.4s; animation-name: fadeInUp;">
                                                  <a href="#">

                                                       <!-- Icon -->
                                                       <img src="<?php echo the_post_thumbnail_url(); ?>" alt="">

                                                       <!-- Text -->
                                                       <div class="sbox-7-txt">
                    
                                                            <!-- Title -->
                                                            <h5 class="h5-sm steelblue-color"> <?php echo the_title(); ?></h5>
                                                                 
                                                       </div>

                                                  </a>
                                             </div>
                                        </div> 
									   
									    <?php endwhile; ?>
									   <!-- END SERVICE BOX #1 -->


                                        
                                   </div>
                              </div>    <!-- END SERVICE BOXES -->    


                              <!-- INFO TABLE -->
                              <div class="col-lg-4">
                                   <div class="services-7-table blue-table mb-30 wow fadeInUp" data-wow-delay="0.6s" style="visibility: visible; animation-delay: 0.6s; animation-name: fadeInUp;">

                                        <!-- Title -->
                                        <h4 class="h4-xs">OPD Timings:</h4>

                                        <!-- Text -->
<!--                                         <p class="p-sm">Porta semper lacus cursus and feugiat primis ultrice ligula risus auctor
                                           tempus feugiat and dolor lacinia cursus
                                        </p> -->

                                        <!-- Table -->
                                        <table class="table">
                                             <tbody>
                                                 <tr>
                                                       <td>Morning</td>
                                                       <td> - </td>
                                                       <td class="text-right"><?php echo $p2h_theme_options['morning']; ?></td>
                                                 </tr>
                                                  <tr>
                                                       <td>Evening</td>
                                                       <td>-</td>
                                                       <td class="text-right"><?php echo $p2h_theme_options['evening']; ?></td>
                                                 </tr>
                                                 <tr>
                                                       <td>Emergency Services</td>
                                                       <td>-</td>
                                                       <td class="text-right"><?php echo $p2h_theme_options['e-services']; ?></td>
                                                 </tr>
                                               </tbody>
                                        </table>

                                        <!-- Title -->
                                        <h5 class="h5-sm">Book An Appointment - <a href="https://aaamghospitals.com/contact-us/">Click Here </a></h5>

                                        <!-- Text -->
<!--                                         <p class="p-sm">Porta semper lacus cursus, and feugiat primis ultrice ligula at risus auctor</p> -->

                                   </div>    
                              </div>    <!-- END INFO TABLE -->
							
							 
							 <div class="col-lg-4">
                                   <div class="row whypartner">

                                        <!-- SERVICE BOX #1 -->
									   
									   
									    <?php  
         $args = array( 'post_type' => 'amenities2', 'posts_per_page' => '-1', 'order' => 'ASC');
         $loop = new WP_Query( $args );
         while ( $loop->have_posts() ) : $loop->the_post(); 
         ?>
                                        <div class="col-md-12">
                                             <div class="sbox-7 icon-xs wow fadeInUp" data-wow-delay="0.4s" style="visibility: visible; animation-delay: 0.4s; animation-name: fadeInUp;">
                                                  <a href="#">

                                                       <!-- Icon -->
                                                       <img src="<?php echo the_post_thumbnail_url(); ?>" alt="">

                                                       <!-- Text -->
                                                       <div class="sbox-7-txt">
                    
                                                            <!-- Title -->
                                                            <h5 class="h5-sm steelblue-color"> <?php echo the_title(); ?></h5>
                                                                 
                                                       </div>

                                                  </a>
                                             </div>
                                        </div> 
									   
									    <?php endwhile; ?>
									   <!-- END SERVICE BOX #1 -->


                                        
                                   </div>
                              </div> 
                              
                         </div>    <!-- End row -->
                    </div>       <!-- End container -->
               </section>




               <!-- SERVICES-2
               ============================================= -->
               <section id="hservices" class="bg-lightgrey wide-70 services-section division">
                    <div class="container">

                         <!-- SECTION TITLE -->   
                         <div class="row">   
                              <div class="col-lg-10 offset-lg-1 section-title">      

                                   <!-- Title     -->  
                                   <h3 class="h3-md steelblue-color">SERVICES WE OFFER</h3>    
                                             
                              </div> 
                         </div>

                         <div class="row">

                              <!-- SERVICE BOX -->
							 
							  <?php  
         $args = array( 'post_type' => 'offer', 'posts_per_page' => '-1', 'order' => 'ASC');
         $loop = new WP_Query( $args );
         while ( $loop->have_posts() ) : $loop->the_post(); 
         ?>
                              <div class="col-sm-6 col-lg-2">
                                   <div class="sbox-2 wow fadeInUp" data-wow-delay="0.4s" style="visibility: visible; animation-delay: 0.4s; animation-name: fadeInUp;">
                                        <a href="#">   
                                        
                                             <!-- Icon  -->
                                             <div class="sbox-2-icon icon-xl">
                                                  <img src="<?php echo the_post_thumbnail_url(); ?>" alt="">
                                             </div>
          
                                             <!-- Title -->
                                             <h5 class="h5-sm sbox-2-title steelblue-color"><?php echo the_title(); ?></h5>

                                        </a>
                                   </div>                                  
                              </div>
       					<?php endwhile; ?>
							 
                              <!-- SERVICE BOX -->
                             

                         </div>       <!-- End row -->      

                    </div>       <!-- End container -->          
               </section>

<section id="doctors-1" class="wide-40 doctors-section division">
            <div class="container">
               <!-- SECTION TITLE -->   
               <div class="row">
                  <div class="col-lg-10 offset-lg-1 section-title">
                     <!-- Title    -->  
                     <h3 class="h3-md steelblue-color">OUR DOCTORS</h3>
                  </div>
               </div>
               <!-- END SECTION TITLE -->    
               <div class="row">
                  <!-- DOCTOR #1 -->
                  <div class="col-md-6 col-lg-4">
                     <div class="doctor-1">
                        <!-- Doctor Photo -->
                        <div class="hover-overlay text-center">
                           <!-- Photo -->
                           <img class="img-fluid" src="<?php echo get_template_directory_uri(); ?>/images/doctor-2.jpg" alt="doctor-foto">  
                           <div class="item-overlay"></div>
                           <!-- Profile Link -->       
                           <div class="profile-link">
                              <a class="btn btn-sm btn-tra-white black-hover" href="#" title="">View More Info</a>
                           </div>
                        </div>
                        <!-- Doctor Meta -->      
                        <div class="doctor-meta">
                           <h5 class="h5-sm steelblue-color"> Dr. Lorem </h5>
                           <span class="blue-color">M.B.B.S (Gujarat) </span>
                        </div>
                     </div>
                  </div>
                  <!-- END DOCTOR #1 -->
                  <!-- DOCTOR #2 -->
                  <div class="col-md-6 col-lg-4">
                     <div class="doctor-1">
                        <!-- Doctor Photo -->
                        <div class="hover-overlay text-center">
                           <!-- Photo -->
                           <img class="img-fluid" src="<?php echo get_template_directory_uri(); ?>/images/doctor-2.jpg" alt="doctor-foto">  
                           <div class="item-overlay"></div>
                           <!-- Profile Link -->       
                           <div class="profile-link">
                              <a class="btn btn-sm btn-tra-white black-hover" href="#" title="">View More Info</a>
                           </div>
                        </div>
                        <!-- Doctor Meta -->      
                        <div class="doctor-meta">
                           <h5 class="h5-sm steelblue-color">Dr. Lorem</h5>
                           <span class="blue-color">M.B.B.S (Gujarat)</span>
                        </div>
                     </div>
                  </div>
                  <!-- END DOCTOR #2 -->
                  <!-- DOCTOR #3 -->
                  <div class="col-md-6 col-lg-4">
                     <div class="doctor-1">
                        <!-- Doctor Photo -->
                        <div class="hover-overlay text-center">
                           <!-- Photo -->
                           <img class="img-fluid" src="<?php echo get_template_directory_uri(); ?>/images/doctor-2.jpg" alt="doctor-foto">  
                           <div class="item-overlay"></div>
                           <!-- Profile Link -->       
                           <div class="profile-link">
                              <a class="btn btn-sm btn-tra-white black-hover" href="#" title="">View More Info</a>
                           </div>
                        </div>
                        <!-- Doctor Meta -->      
                        <div class="doctor-meta">
                           <h5 class="h5-sm steelblue-color">Dr. Lorem</h5>
                           <span class="blue-color"> M.B.B.S (Gujarat)</span>
                        </div>
                     </div>
                  </div>
                  <!-- END DOCTOR #3 -->
               </div>
               <!-- End row -->
            </div>
            <!-- End container -->
         </section>


          



               <!-- BANNER-8
               ============================================= -->
               <section id="banner-8" class="bg-fixed banner-section division">
                    <div class="container white-color">
                         <div class="row d-flex align-items-center">


                              <!-- BANNER TEXT -->
                              <div class="col-lg-8 offset-lg-2">
                                   <div class="banner-txt icon-lg text-center">

                                        <!-- Title  -->
                                        <h3 class="h3-sm"><?php echo $p2h_theme_options['health-head']; ?></h3>

                                       <br>
                                     <h2 class="h3-lg"><i class="fa fa-phone" style="transform: rotate(90deg);" ></i> <?php echo $p2h_theme_options['health-no']; ?></h2>

                                   </div>
                              </div>


                         </div>      <!-- End row -->
                    </div>        <!-- End container -->         
               </section>     <!-- END BANNER-8 -->


<?php get_footer();?>

          