 <section class="sec-products padding-70" style="background: #eee">
          <div class="container">

            <div class="row">

              
              
                               

              <?php
                foreach($services as $row):
                $s_id = $row->s_id;
                $surl = base_url().'service/'.rm_blank($row->s_name).'/'.base64_encode($s_id);
                ?>

                <div class="col-12 col-md-4 col-lg-4">
                <div class="card">
              <img src="<?php echo base_url();?>assets/uploads/services/service_<?php echo $s_id.'.jpg';?>" class="card-img-top" alt="<?php echo $row->s_name; ?>">
              <div class="card-body card-service ">              
             
                 <p class="card-text "><a href="<?php echo $surl;  ?>"><?php echo $row->s_name; ?></a></p>
                 <p><?php echo strip_tags(character_limiter($row->s_description,100)); ?></p>
                   <a href="<?php echo $surl;  ?>" class="btn btn-danger ">Read More</a> 
              </div>
            </div>
                
              </div>



              
              <?php
                endforeach;
                ?> 

                
              </div>
              
              
            </div>

            
            
          
        </section>