<?php
/**
 *  For Displaying Achieve 
 *
 *
 * @package Felicityhealth
 * @since Felicityhealth 1.0
 */
?>
<?php get_header(); ?>
<section class="position-relative pt-5">
    <!-- Background -->
    <div class="position-absolute top-0 start-0 w-100 bg-position-bottom-center bg-size-cover bg-repeat-0" style="background-image: url(assets/img/about/hero-bg.svg);">
        <div class="d-lg-none" style="height: 960px;"></div>
        <div class="d-none d-lg-block" style="height: 768px;"></div>
    </div>
    <!-- Content -->
    <div class="container position-relative zindex-5 pt-5">
        <div class="row">
        <div class="col-lg-9">
            <!-- Text -->
            <h1 class="pb-2 pb-md-3"><?php  echo __( 'Our Leadership', 'felicityhealth' );?></h1>
            <p class="fs-xl pb-4 mb-1 mb-md-2 mb-lg-3"  >We are a dedicated team of passionate product managers, full stack developers, UX/UI designers, QA engineers and marketing experts helping businesses of every size — from new startups to public companies — launch their projects using our software.</p>
        </div>
        <!-- Images -->
        <div class="col-lg-3 mt-xl-3 pt-5 pt-lg-4">
        <!-- <img src="http://localhost:8888/workspace/felicitywebsite/wp-content/uploads/2022/04/cover.jpg" class="d-block rounded-3 mb-3 mb-lg-4" alt="Image"> -->
        </div>
        </div>
    </div>
</section>
<section class="container py-1 my-md-3 my-lg-5">
    <div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 row-cols-lg-4 g-4">
    <?php
        // query the figures
        $the_query = new WP_Query(array(
            'post_type'			=> 'leaders',
            'posts_per_page'	=> -1,
            'meta_key'			=> 'order_no',
            'orderby'			=> 'meta_value_num',
            // 'order'				=> 'DESC',
        ));
    ?>

    <?php  if ( $the_query->have_posts() ) : ?>
    <?php while ( $the_query->have_posts() )  : $the_query->the_post(); ?>
    <?php get_template_part( 'template-parts/content-single-leader' );?>
    <?php endwhile; ?>
    <?php endif; ?> 
    </div>
</section>
 
<!-- Load Promo Banner -->
<?php //get_template_part( 'template-parts/snippets/industries' );?>
<?php get_footer(); ?>