<section class="services-wrapper service-2 section-padding section-bg bg-contain" style="background-image: url('assets/img/circle-bg.png')">
        <div class="container">
            <div class="row mb-50">
                <div class="col-12 col-lg-12">
                    <div class="section-title text-white text-center">
                        <p><?=$ayar['site_title']?></p>
                        <h1>Hizmetler</h1>
                    </div>
                </div>
            </div>

            <div class="row">
            
            <?php
            $hizmetcek=$db->query("select * from hizmetler where durum='on' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
			foreach($hizmetcek as $hizmet){
			?>
                <div class="col-md-6 col-xl-4 col-12">
                    <div class="single-service-box">
                        <div class="icon bg-cover" style="background-image: url('resimler/<?=$hizmet['resim']?>')">
                        </div>
                        <div class="content-visible">
                            <h4><a href="<?=$hizmet['seo']?>"><?=$hizmet['adi']?></a></h4>
                            <p><?=$hizmet['onaciklama']?></p>
                        </div>
                        <div class="content-overlay">
                            <h4><a href="<?=$hizmet['seo']?>"><?=$hizmet['adi']?></a></h4>
                            <p><?=$hizmet['onaciklama']?></p>
                            <a href="<?=$hizmet['seo']?>" class="read-link">İnceleyin <i class="fas fa-arrow-right"></i></a>
                        </div> 
                    </div>
                </div>
                
              <?php }?>  
            </div>
        </div>
    </section>