 <?php /****************************************** استدعاء الخدمات فى الصفحة الرئيسية ***************************************/ ?>
 <section  class="header_back " id='acheivements' style='background:linear-gradient(to right, #0d47a1, #347b9f)'>
    	<div class="container" style='max-width:1200px;padding:0px 15px !important;'>

			 <div class="row" style='padding-top:50px;padding-bottom:50px;'>
				 
				
						<div class="section-header" style="text-align:center;">
			<h2 class="section-title slide" style="visibility: visible; animation-duration: 1000ms; animation-delay: 0.3s; animation-name: fadeIn;">
			  <span class='title_icon_right_cont'>
				<i class="las la-braille title_icon" ></i>	
				<i class="las la-braille title_icon" ></i>	
				<i class="las la-braille title_icon" ></i>	
				<i class="las la-braille title_icon" ></i>					
			  </span>			  
			  <span style='margin: 0 auto;display: inline-block;font-size: 26px;line-height: 30px;color:var(--white);'>انجازاتنا
					<br> 
					<span style='color:var(--light2);font-weight:200;font-size: 14px'>احصائيات الجمعية</span>
			  </span>
			  <span class='title_icon_left_cont'>
				<i class="las la-braille title_icon" ></i>	
				<i class="las la-braille title_icon" ></i>	
				<i class="las la-braille title_icon" ></i>	
				<i class="las la-braille title_icon" ></i>					
			  </span>
			</h2>
		</div>
				
			

			
				<div class='col col-12 ' >    
					<div class="row" >

						<?php
								//اعادة استخدام الاستعلام السابق الخاص بالخدمات
								$query_achievements="select `id`,`title`,`achieve`,`desc`,`icon` from achievements";		
								$result_achievements=mysqli_query($conn,$query_achievements);
								$i=0;
								// ايكونات الخدمات فى مصفوفة
						$icons=['<i class="las la-hands-helping"></i>','<i class="las la-wheelchair"></i>','<i class="las la-chalkboard-teacher"></i>','<i class="las la-lightbulb"></i>','<i class="las la-business-time"></i>','<i class="las la-rocket"></i>',];
								//بداية التكرار وطباعة الخدمات
								while($fetch_achievements = mysqli_fetch_array($result_achievements)) {
   		 $fetch_achievements = clean_array($fetch_achievements);	
	
									   
									  $page_title=$fetch_achievements['title'];

						?>

						
							<div class='col-lg-3 col-md-4 col-sm-6 col-12 big_div_noborder' >
								 
									
									
									
										<div style='text-align:center;'>

											<span class='service_icon <?php echo $fetch_achievements['icon']; ?>' ></span>
											<div class='acheive_num counter-box'><span class='acheivements_count' data-target="<?php echo $fetch_achievements['achieve']; ?>">0</span><span>+</span></div>
											<div class='acheive_title'><?php echo $fetch_achievements['title']; ?></div>
											
										</div>
									

			
								
	 
							</div>

							
						<?php $i++; } ?>
						
						
					
										
					</div>
                       
				</div>
			
			</div>

                
				
			
 
			
        </div>
    </section>