<?php require("core/data.php");
foreach ($services as $service): ?>
    <div class="col-lg-4 col-md-6 col-sm-12 col-12">
        <!-- single blog area start -->
        <div class="blog-style-four">
            <a href="service.php" class="thumbanil">
                <!-- <img src="assets/images/blog/30.jpg" alt="blog"> -->
                <img src="<?php echo $service['image']; ?>" alt="<?php echo $service['title']; ?>" class="service-card-img">
            </a>
            <div class="inner-content-blog">
                <div class="head">
                    <!-- <div class="date">
                                    <i class="fa-regular fa-clock"></i>
                                    <div class="info">
                                        25 Jan, 2023
                                    </div>
                                </div>
                                <div class="date time">
                                    <i class="fa-regular fa-calculator"></i>
                                    <div class="info">
                                        25 Jan, 2023
                                    </div>
                                </div> -->
                </div>
                <a href="service.php">
                    <h4 class="title"><?php echo $service['title'] ?></h4>
                </a>
            </div>
        </div>
        <!-- single blog area start -->
    </div>
<?php endforeach; ?>
</div>