<div class="col-md-12 col-sm-12 col-xs-12 infobox">
    <div class="container" align="center">
        <h1>ADVANCED TECHNOLOGY SOLUTION</h1>
        <span class='custom-blockquote'>"ATS is poised to be a leading solution provider of software simulation <br/> & specialized consultancy services to the oil and gas industry"</span>
    </div>
</div>

<div class="col-md-12 content-box">
    <div class="container-fluid">
        <div class="col-md-6">
            <div class="row">
                <div class="col-md-12 col-sm-12 col-xs-12">
                    <h3 class="title"><span>SOFTWARE</span></h3>
                    <p align="center">Let’s Embrace the Benefits Offered by the Following Global Software Leaders</p>
                </div>
            </div>
            <div class="row">
            <?php
            if(!empty($software_category)){
                for($i=0;$i<count($software_category);$i++){
                    if($i < 2){
                    ?>
                    <div class="col-md-6 col-sm-6 col-xs-12">
                        <div class="item-top">
                            <div class="col-md-3 col-sm-3 col-xs-3">
                                <div class='row'>
                                    <img src="<?php echo $software_category[$i]->image;?>" class='img-responsive'/> 
                                </div>
                            </div>
                            <div class="col-md-9 col-sm-9 col-xs-9">
                                <a href="<?php echo base_url().'software/view/'.$software_category[$i]->id;?>" class="content-box-link"><?php echo $software_category[$i]->title;?></a>
                                <?php echo $software_category[$i]->summary;?>
                            </div>
                        </div>
                    </div>
                    
                    <?php
                    }
                    elseif($i >= 2){
                    ?>
                    <div class="col-md-6 col-sm-6 col-xs-12">
                        <div class="item-bottom">
                            <div class="col-md-3 col-sm-3 col-xs-3">
                                <div class='row'>
                                    <img src="<?php echo $software_category[$i]->image;?>" class='img-responsive'/> 
                                </div>
                            </div>
                            <div class="col-md-9 col-sm-9 col-xs-9">
                                <a href="<?php echo base_url().'software/view/'.$software_category[$i]->id;?>" class="content-box-link"><?php echo $software_category[$i]->title;?></a>
                                <?php echo $software_category[$i]->summary;?>
                            </div>
                        </div>
                    </div>
                    <?php
                    }
                }
            }
            else{
            ?>
            <div class="col-md-12 col-sm-6 col-xs-12">
                <div class="item-top">
                    <div class="col-md-12 col-sm-12 col-xs-12">
                        <div class='row' align="center">
                            <p>No data available</p>
                        </div>
                    </div>
                </div>
            </div>
            <?php
            }
            ?>
                <div class="col-md-12 col-sm-12 col-xs-12" align="center">
                    <div class="row">
                        <a href="<?php echo base_url().'software_products';?>" class="btn btn-warning btn-item">More ></a>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-md-6">
            <div class="row">
                <div class="col-md-12 col-sm-12 col-xs-12">
                    <h3 class="title"><span>PRODUCTS</span></h3>
                    <p align="center">From Right Technology to Increase Efficiency and Productivity</p>
                </div>
            </div>
            <div class="row">
            <?php
            if(!empty($product_category)){
                for($i=0;$i<count($product_category);$i++){
                    if($i < 2){
                    ?>
                    <div class="col-md-6 col-sm-6 col-xs-12">
                        <div class="item-top">
                            <div class="col-md-3 col-sm-3 col-xs-3">
                                <div class='row'>
                                    <img src="<?php echo $product_category[$i]->image;?>" class='img-responsive'/> 
                                </div>
                            </div>
                            <div class="col-md-9 col-sm-9 col-xs-9">
                                <a href="<?php echo base_url().'products/view/'.$product_category[$i]->id;?>" class="content-box-link"><?php echo $product_category[$i]->title;?></a>
                                <?php echo $product_category[$i]->summary;?>
                            </div>
                        </div>
                    </div>
                    <?php
                    }
                    elseif($i >= 2){
                    ?>
                    <div class="col-md-6 col-sm-6 col-xs-12">
                        <div class="item-bottom">
                            <div class="col-md-3 col-sm-3 col-xs-3">
                                <div class='row'>
                                    <img src="<?php echo $product_category[$i]->image;?>" class='img-responsive'/> 
                                </div>
                            </div>
                            <div class="col-md-9 col-sm-3 col-xs-9">
                                <a href="<?php echo base_url().'products/view/'.$product_category[$i]->id;?>" class="content-box-link"><?php echo $product_category[$i]->title;?></a>
                                <?php echo $product_category[$i]->summary;?>
                            </div>
                        </div>
                    </div>
                    <?php
                    }
                }
            }
            else{
            ?>
                <div class="col-md-12 col-sm-12 col-xs-12">
                    <div class="item-top">
                        <div class="col-md-12 col-sm-12 col-xs-12">
                            <div class='row' align="center">
                                <p>No data available</p>
                            </div>
                        </div>
                    </div>
                </div>
            <?php
            }
            ?>
                <div class="col-md-12 col-sm-12 col-xs-12">
                    <div class="row" align="center">
                        <a href="<?php echo base_url().'software_products';?>" class="btn btn-warning btn-item">More ></a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>