<?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
//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."img/breatcome_bg.jpg"; 
   } 
?>
<!-- Start Breadcrumbs -->
<div class="breadcrumbs overlay" style="background-image:url(<?=$img?>)">
   <div class="container">
      <div class="bread-inner">
         <div class="row">
            <div class="col-12">
               <h2><?php the_title();?></h2>
               <ul class="bread-list">
                  <li><a href="<?php echo esc_url( home_url( '/' ) ); ?>">Home</a></li>
                  <li><i class="icofont-simple-right"></i></li>
                  <li class="active"><?php the_title();?></li>
               </ul>
            </div>
         </div>
      </div>
   </div>
</div>
<!-- End Breadcrumbs -->

<div class="review" id="reviewpage">
   <div class="container">
      <div class="row">
         <div class="col-lg-12 col-md-12 col-sm-12 col-12 text-center">
            <div class="section-heading pb-4">
               <?php the_content();?>
            </div>
         </div>
      </div>
      <div class="row">
         <div class="col-lg-5 col-md-12 col-sm-12 col-12">
            <div id="career">
               <div class="section-head left">
                  <font> <?php the_field('left_short_title');?></font>
                  <h2 class="aon-title"><?php the_field('left_title');?></h2>
                  <?php the_field('left_content');?>
               </div>
            </div>
         </div>
         <div class="col-lg-7 col-md-12 col-sm-12 col-12 text-center">
            <divclass="bg-white p-5">
               <?php echo do_shortcode('[contact-form-7 id="00fce12" title="Careers Form"]');?>
            </div>
         </div>
      </div>
   </div>
</div>
<?php get_footer(); ?>