<?php
require_once("header.php");
require_once("menu.php");
?>
<style>
h2.industry-title {
    text-transform: uppercase;
    color: #252525;
	margin-top: 0;
}
h3.industry-title {
    text-transform: uppercase;
    font-size: 36px;
	color: #252525;
	margin-top: 0;
}
@media only screen and (max-width: 600px) {
  h2.industry-title {
    text-transform: uppercase;
    color: #252525;
	margin-top: 0;
	font-size: 16px;
}
h3.industry-title {
    text-transform: uppercase;
    font-size: 16px;
	color: #252525;
	
}
}
</style>

    <!-- Breadcrumbs Start -->
        <div class="rs-breadcrumbs sec-spacer">
            <div class="overlay"></div>
            <div class="container">
                <div class="row">
                    <div class="col-md-12 text-center">
                        <div class="breadcrumbs-inner">
                            <h1 class="page-title">INDUSTRIES</h1>
                            <ul>
                                <li>
                                    <a class="active" href="https://ethicsprosperity.com">Home</a>
                                </li>
                                <li>INDUSTRIES</li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- Breadcrumbs End -->
<?php
                  $ex = $obj->get_why_us();
                  $row=mysqli_fetch_array($ex)
                ?>      <!-- About Us Start -->
				
				<?php
				            $i =0;
                            $ex = $obj->view_industryservice();
                            while($row=mysqli_fetch_array($ex))
                            {
                            ?>
							
							<?php
							$i++;
							
							if($i % 2 != 0){
       ?>
   
							
   <div id="rs-about" class="rs-about sec-spacer loaded">
        <div class="container">
            <div class="row">
                <div class="hidden-lg hidden-md col-sm-12">
                    <div class="about-img">
                        <img src="<?php echo $row['bg_img'];?>"   alt="Industries">
                    </div>
                </div>
                
                <div class="col-lg-7 col-md-7 col-sm-12 pr-md-65" id="text">
                  <h2 class="industry-title"><?php echo $row['icon'];?></h2>
				 <?php echo $row['title'];?>
                </div>
                <div class="col-lg-5 col-md-5 hidden-xs hidden-sm">
                    <div class="about-img">
                        <img src="<?php echo $row['bg_img'];?>"   alt="<?php echo $row['icon'];?>">
                    </div>
                </div>
            </div>
        </div>
        </div>
		<?php
		}
		else{?>
		 <div id="rs-about" class="rs-about sec-spacer loaded" style="background: #ededed;">
        <div class="container">
            <div class="row">
                 <div class="col-lg-5 col-md-5 col-sm-12 pr-md-65">
                    <div class="about-img">
                        <img src="<?php echo $row['bg_img'];?>" alt="<?php echo $row['icon'];?>">
                    </div>
                </div>
                
                <div class="col-lg-7 col-md-7 col-sm-12" id="text">
                   <h3 class="industry-title"><?php echo $row['icon'];?> </h3>
				   <?php echo $row['title'];?>
				</div>
               
            </div>
        </div>
        </div>
		<?php
		}
		?>
		
		
		   <?php } ?>
        
    
<?php
require_once("footer.php");
?>
 