<?php
   if ( ! defined( 'ABSPATH' ) ) {
     exit; // Exit if accessed directly
   }
   ?>
<?php get_header(); ?>
<?php $template_url = get_bloginfo ( 'template_url' ) . '/'; ?>
<?php 
   //to check if there is a post regarding the url access the page
   if (have_posts ()) :
     the_post(); 
   endif;
   $url = wp_get_attachment_url( get_post_thumbnail_id($post->ID), 'thumbnail' );
   if($url != "")
   {
   $img = $url; 
   }else{
   $img = $template_url."assets/images/breadcrumb/contactus.jpg"; 
   }
?>
<section class="breadcrumb-area" style="background-image: url(<?=$img?>);">
    <div class="banner-curve"></div>
    <div class="container">
        <div class="row">
            <div class="col-xl-12">
                <div class="inner-content clearfix text-center">
                    <div class="title wow slideInUp animated" data-wow-delay="0.3s" data-wow-duration="1500ms">
                       <h2><?php the_title();?><span class="dotted"></span></h2>
                    </div>
                    <div class="breadcrumb-menu wow slideInDown animated" data-wow-delay="0.3s" data-wow-duration="1500ms">
                        <ul class="clearfix">
                            <li><a href="<?php echo esc_url( home_url( '/' ) ); ?>">Home</a></li>
                            <li class="active"><?php the_title();?></li>
                        </ul>    
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
<!--End breadcrumb area-->

<!--Start Contact Form Style1 Area-->
<section class="contact-form-style1-area">
    <div class="contact-form-style1-bg" style="background-image: url(<?php echo get_stylesheet_directory_uri();?>/assets/images/shape/contact-form-style1-bg.png)"></div>
    <div class="container">
        <div class="sec-title text-center">
            <h5>//<span>Contact Us</span>//</h5>
            <h2>Get In Touch<span class="round-box zoominout"></span></h2>
        </div>
        <div class="row">
            <div class="col-xl-12">
                <div class="contact-form contact-page">
                    <div id="contact-form" name="contact_form" class="default-form2">
                         <?php echo do_shortcode('[contact-form-7 id="9cfac35" title="Contact form"]');?>
                    </div>
                </div>   
            </div>
        </div>
    </div>
</section>
<!--End Contact Form Style1 Area-->


<!--Start Contact Info Area-->
<section class="contact-info-area style3">
    <div class="container">
        <div class="row">
           
            <div class="col-xl-4 col-lg-4 col-md-6 wow fadeInUp">
                <div class="single-contact-info-box">
                    <span class="icon-envelope"></span>
                    <div class="title">
                        <h3>Email Address<span class="dotted"></span></h3>
                    </div>
                    <ul>
                        <li><a href="mailto:<?=html_entity_decode( get_option( 'option_8' ) )?>"><?=html_entity_decode( get_option( 'option_8' ) )?></a></li>
                    </ul>
                </div>
            </div>
            
            <div class="col-xl-4 col-lg-4 col-md-6 wow fadeInUp" data-wow-delay="200ms">
                <div class="single-contact-info-box">
                    <span class="icon-call"></span>
                    <div class="title">
                        <h3>Phone Number<span class="dotted"></span></h3>
                    </div>
                    <ul>
                        <li><a href="tel:<?=html_entity_decode( get_option( 'option_9' ) )?>"><?=html_entity_decode( get_option( 'option_9' ) )?></a></li>
                    </ul>
                </div>
            </div>
            <div class="col-xl-4 col-lg-4 col-md-6 wow fadeInUp" data-wow-delay="400ms">
                <div class="single-contact-info-box">
                    <span class="icon-pin-2"></span>
                    <div class="title">
                        <h3>Office Address<span class="dotted"></span></h3>
                    </div>
                    <p><?=html_entity_decode( get_option( 'option_7' ) )?></p>
                </div>
            </div>
     
        </div>
    </div>
</section>     
<!--End Contact Info Area-->    

	
	
<section class="feautres-area">
    <div class="container">
        <div class="row">
            <div class="col-xl-6 col-lg-6 col-md-12">
                  <iframe src="<?=html_entity_decode( get_option( 'option_10' ) )?>" width="100%" height="520px" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>   
            </div>
			    <div class="col-xl-6 col-lg-6 col-md-12">
                <div class="working-hours-box" style="background-image: url(<?php echo get_stylesheet_directory_uri();?>/assets/images/resources/working-hours-box-bg.jpg)">
                    <div class="inner-content">
                        <div class="title">
                            <h3><?php the_field('working_hours_title'); ?><span></span></h3>
                            <p><?php the_field('working_hours_short_content'); ?></p>
                        </div>
                        <?php the_field('working_hours_content'); ?>
                    </div>
                </div>    
            </div>
            
        </div>
    </div>    
</section>	
	
	
	
	
	
	
	

<!--Start Contact Form Style1 Area-->
<!-- <section class="contact-form-style1-area">
    <div class="contact-form-style1-bg" style="background-image: url(<?php echo get_stylesheet_directory_uri();?>/assets/images/shape/contact-form-style1-bg.png)"></div>
    <div class="container">
        <div class="sec-title text-center">
            <h5>//<span>Contact Us</span>//</h5>
            <h2>Get In Touch<span class="round-box zoominout"></span></h2>
        </div>
        <div class="row">
            <div class="col-xl-12">
                <div class="contact-form contact-page">
                    <div id="contact-form" name="contact_form" class="default-form2">
                         <?php echo do_shortcode('[contact-form-7 id="9cfac35" title="Contact form"]');?>
                    </div>
                </div>   
            </div>
        </div>
    </div>
</section> -->
<!--End Contact Form Style1 Area-->
<?php get_footer(); ?>