<?php $categories = db_query("select * from tbl_category where category_status='Active' and category_for_home='Yes' order by category_order_by");
if(mysqli_num_rows($categories)>0){?>
<section class="services-section">
<div class="anim-icons">
<span class="icon icon-object-2"></span>
<span class="icon icon-object-3"></span>
</div>
<div class="auto-container">
<div class="sec-title text-center">
<div class="row">
<div class="col-lg-12">
<span class="sub-title" style="color:#333;">What do we offer</span>
<h3>Outstanding Immigration Visa Services.</h3>
</div>
</div>
</div>

<div class="row">

<?php while($row=mysqli_fetch_array($categories)){
$name = wordLimit($row['category_name'],20);
$desc = wordLimit(strip_tags($row['category_description']),85);
?>
<div class="service-block col-lg-4 col-md-6 col-sm-12 wow fadeInUp">
<div class="inner-box">
<div class="image-box">
<figure class="image"><a href="immigration-service-details.php" title="Puneet Immigration Services" ><img src="<?=showImage($row['category_image_name'],"uploaded_files")?>" alt="<?=altTitle($row['image_alt'],$row['category_name'])?>" title="<?=altTitle($row['image_title'],$row['category_name'])?>"></a></figure>
<!--<div class="icon-box"><i class="icon fa fa-graduation-cap"></i></div>-->
</div>
<div class="content-box">
<div class="title"><a href="<?=url($row['category_url'])?>" title="Puneet Immigration Services" ><?=$name?></a></div>
<div class="text"><?=$desc?></div>
<a href="<?=url($row['category_url'])?>" title="Puneet Immigration Services" class="read-more">Read More <i class="fa fa-long-arrow-alt-right"></i></a>
</div>
</div>
</div>
<?php }?>

</div>
</div>
</section>
<?php }?>