<!-- Page Header Start -->
<div class="page-header parallaxie">
    <div class="container">
        <div class="row align-items-center">
            <div class="col-lg-12">
                <!-- Page Header Box Start -->
                <div class="page-header-box">
                    <h1 class="wow fadeInUp">Testimonies</h1>
                </div>
                <!-- Page Header Box End -->
            </div>
        </div>
    </div>
</div>
<!-- Page Header End -->

<!-- Page Testimonials Start -->
<div class="page-testimonials">
    <div class="container">
        <div class="row">
            <?php if (!empty($testimonial_list)): ?>
            <?php foreach ($testimonial_list as $testimonial): ?>
            <div class="col-lg-6">
                <div class="testimonial-item">
                    <div class="testimonial-header">
                        <div class="testimonial-author-box">
                            <div class="author-content">
                                <h3><?= esc($testimonial['name']) ?></h3>
                                <p><?= esc($testimonial['city']) ?></p>
                            </div>  
                        </div>        
                        <div class="testimonial-quote">
                            <img src="images/testimonial-quote.svg" alt="<?= esc($testimonial['name']) ?>">
                        </div>
                    </div>
                    <div class="testimonial-rating">
                        <i class="fa-solid fa-star"></i>
                        <i class="fa-solid fa-star"></i>
                        <i class="fa-solid fa-star"></i>
                        <i class="fa-solid fa-star"></i>
                        <i class="fa-solid fa-star"></i>                                             
                    </div>                              
                    <div class="testimonial-content">
                        <p><?= esc($testimonial['description']) ?></p>
                    </div>                              
                </div>
            </div>
            <?php endforeach; ?>
            <?php else: ?>
                <p class="text-center">No testimonials available at the moment.</p>
            <?php endif; ?>

        </div>
    </div>
</div>
<!-- Page Testimonials End -->

