Something is bugging my layout

I recently purchased a responsive template and started updating it with my own content. There is section “CERTIFICATIONS” that seems to be bugging out.
http://www.centreholidays.com/spacer/agent-index2.php#section6

If you scroll all the way down you will notice the issue. Instead of showcasing 4 in a row, it is showing 3 and pushing the 4th down to a new row. Also if you mouse over each one, you will notice that only 2 items get highlighted while the other 2 don’t.

The Certifications section needs to look like the “What We Do Section”. 4 items in a row.
http://www.centreholidays.com/spacer/index2.html#section6

The certifications is a server side include and here is the code on that page. If someone could help me, it would be appreciated.

<?php
//ViewVar
if(isset($_SESSION['M_Email'])){
$viewVar = "View = 'Member' OR View = 'Home'";
}else{
$viewVar = "View = 'Home'";}

//include_once($_SERVER['DOCUMENT_ROOT'].'/library/sanatize.php');
//if(!empty($_POST['DepartLoc'])) $_SESSION['DepartLoc'] = sanitize_sql_string($_POST['DepartLoc']);?>
<!--Section 6 Services-->
	<div id="section6" class="">
		<div class="container">
			<header>
	  			<h3>Certifications</h3>
                <?
	include($_SERVER['DOCUMENT_ROOT'].'/library/opendbi.php');
	if(isset($_SESSION['id'])) $AID = $_SESSION['id'];
	$result = $db->query("SELECT certs.Title,certs.SubTitle,certs.AltTag,certs.ThumbImageURL FROM certifications certs INNER JOIN agent_certs ac ON certs.Title = ac.Certification AND ac.AgentID = '$AID' ORDER BY certs.CID DESC LIMIT 4");
	$result_ct = $db->query("SELECT certs.Title,certs.SubTitle,certs.AltTag,certs.ThumbImageURL FROM certifications certs INNER JOIN agent_certs ac ON certs.Title = ac.Certification AND ac.AgentID = '$AID' ORDER BY certs.CID DESC");
	$tcount = $result_ct->num_rows;
	
if($tcount > 4){
?>	  			<p><a href="/agents/312/certifications-and-awards.php?id=<?php echo $AID;?>">View all certifications</a></p><? }?>	  			
              <div class="divider">
	  				<div class="line"></div>
	  				<i class="fa fa-rocket"></i>
	  				<div class="line"></div>
	  			</div>
	  		</header>
	  		<!--Services-->
            <? if(!$tcount){
	echo "No Results.";
  }else{
$count = 0;
while ($row = $result->fetch_assoc()) {
$count++;

//if(strlen($row['Title']) > 15) $row['Title'] = substr($row['Title'], 0 , 15) . '...';
//if(strlen($row['Description']) > 130) $row['Description'] = substr($row['Description'], 0 , 130) . '...';

?>
<?php if($count < 4){?>
  		  <div class="row services">
	  			<div class="col-md-3 col-sm-6 service">
	  				<div>
	  			  <img src="<?echo$row['ThumbImageURL'];?>" alt="<?echo$row['AltTag'];?>" /></div>	  				
  				  <p><a class="xs-product-wrapper"><span class="s16"><?echo $row['Title'];?></span></a></p>
  				  <a class="xs-product-wrapper"><span class="s12Leading"><?echo $row['SubTitle'];?></span></a></div>
                    <?php }else{ ?>
		    <div class="col-md-3 col-sm-6 service">
	  			  <div> <img src="<?echo$row['ThumbImageURL'];?>" alt="<?echo$row['AltTag'];?>" /></div>
	  			  <p><a class="xs-product-wrapper"><span class="s16"><?echo $row['Title'];?></span></a></p>
	  			  <a class="xs-product-wrapper"><span class="s12Leading"><?echo $row['SubTitle'];?></span></a></div><?php }
}}
$db->close;?>
  		  </div>
  		<!--End Services--></div>
	</div>
	<!--End Section 6 Services-->

The Certifications section seems to be empty. :-/