<html>
<?php
	$data = luxia_el()->merge_options([
        
    'service_section_var' => [],
    'background_img' => [],
    'text_heading' => [],
    'symbol' => [],
    'symbol_img' => [],
    'posts_per_page' => [],
   
        
		], $data);
?>





<!-- services-area -->   


<section id="services" class="services-area pt-120 pb-90 fix" style=" background-image: url(<?php echo esc_url ($data['background_img']['url']) ?>); background-size: cover; background-repeat: no-repeat;">
<div class="container">
    <div class="row">
        <div class="col-lg-12">
            <div class="section-title center-align mb-50 text-center">
                <h2>
                 <?php echo html_entity_decode ( $data['text_heading'] )?>
                </h2>
                <span class="line5"><img src="<?php echo esc_url ($data ['symbol_img']['url'])?>" alt="<?php echo esc_url ($data ['symbol_img']['url'])?>"></span>
            </div>
        </div>
    </div>
    <div class="row">
        <?php $advanced= new wp_Query(array(
           'post_type'=>'service',  
           'posts_per_page' => $data['posts_per_page'],
));
while( $advanced->have_posts() ) : $advanced->the_post();
$terms_area = get_the_terms(get_the_id(),'category');
$terms   = array();
foreach($terms_area as $term) :
$terms[] = $term->slug;
    
 ?>
<?php endforeach; ?> 
                        
     <div class="col-lg-4 col-md-12">
      <div class="services-box text-center" >
          <div class="services-icon">
              <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
            </div>
           <div class="services-content2">
                <h5><a href="<?php the_permalink(); ?>"><?php the_title();  ?></a> <span class="line5"> <img src="<?php echo esc_url( $data ['symbol']['url'] ) ?>"  alt="<?php echo esc_url( $data ['symbol']['url'] ) ?>"></span></h5>

                 <?php the_excerpt();?>
            </div>
        </div>  
    </div>
     <?php  endwhile;  ?>

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


<!-- services-area-end -->