     <?php $review = get_by_section_name('reviews'); ?>

     <!-- Testimonial section -->
     <section class="testimonials-section" id="testimonials">
         <div class="container py-lg-5 py-4">
             <?php if (!empty($review['heading'])): ?>
                 <div class="text-center mb-4 mb-lg-5">
                     <h2 class="ops-section-title"><?= highlight_word($review['heading']); ?></span></h2>
                     <p class="biz-types-lead mb-0"><?= html_escape($review['sub_heading']); ?></p>
                 </div>

                 <div class="testimonials-scroll mt-4 pt-1">
                     <?php foreach ($reviews as $key => $row): ?>
                         <article class="testimonial-card">
                             <div class="test-stars" aria-label="5 out of 5 stars">

                                 <?php for ($i = 1; $i <= 5; $i++) { ?>
                                     <?php if ($i > $row['rating']): ?>
                                         <i class="fa fa-star-o"></i>
                                     <?php else: ?>
                                         <i class="fa fa-star"></i>
                                     <?php endif; ?>
                                 <?php } ?>
                             </div>
                             <?php if (!empty($row['msg'])): ?>
                                 <p class="test-quote">
                                     <?= html_escape($row['msg']) ?>
                                 </p>
                             <?php endif; ?>
                             <hr class="test-divider" />
                             <div class="test-footer">
                                 <div class="test-avatar" aria-hidden="true">
                                     <?= substr($row['username'], 0, 1) ?>
                                 </div>
                                 <div>
                                     <div class="test-biz"><?= html_escape($row['username']) ?></div>
                                     <div class="test-loc"><i class="fa fa-clock"></i> <?= get_time_ago($row['created_at']); ?></div>
                                 </div>
                             </div>
                         </article>
                     <?php endforeach; ?>
                     <article class="testimonial-card">
                         <div class="test-stars" aria-label="5 out of 5 stars">
                             <i class="fa fa-star" aria-hidden="true"></i><i class="fa fa-star" aria-hidden="true"></i><i class="fa fa-star" aria-hidden="true"></i><i class="fa fa-star" aria-hidden="true"></i><i class="fa fa-star" aria-hidden="true"></i>
                         </div>
                         <p class="test-quote">
                             We have 3 branches and now I can monitor all from one place. Reports and branch comparison are
                             excellent 📊
                         </p>
                         <hr class="test-divider" />
                         <div class="test-footer">
                             <div class="test-avatar" aria-hidden="true">P</div>
                             <div>
                                 <div class="test-biz">Pizza King</div>
                                 <div class="test-loc">Khobar</div>
                             </div>
                         </div>
                     </article>
                     <article class="testimonial-card">
                         <div class="test-stars" aria-label="4 out of 5 stars">
                             <i class="fa fa-star" aria-hidden="true"></i><i class="fa fa-star" aria-hidden="true"></i><i class="fa fa-star" aria-hidden="true"></i><i class="fa fa-star" aria-hidden="true"></i><i class="fa fa-star-o" aria-hidden="true"></i>
                         </div>
                         <p class="test-quote">
                             WhatsApp bot saved us a full employee! Auto replies and orders from WhatsApp is amazing 🤖
                         </p>
                         <hr class="test-divider" />
                         <div class="test-footer">
                             <div class="test-avatar" aria-hidden="true">G</div>
                             <div>
                                 <div class="test-biz">Golden Oven Bakery</div>
                                 <div class="test-loc">Abha</div>
                             </div>
                         </div>
                     </article>
                     <article class="testimonial-card">
                         <div class="test-stars" aria-label="5 out of 5 stars">
                             <i class="fa fa-star" aria-hidden="true"></i><i class="fa fa-star" aria-hidden="true"></i><i class="fa fa-star" aria-hidden="true"></i><i class="fa fa-star" aria-hidden="true"></i><i class="fa fa-star" aria-hidden="true"></i>
                         </div>
                         <p class="test-quote">
                             We activated the loyalty system and customers are buying more! Points and offers work perfectly
                             💪
                         </p>
                         <hr class="test-divider" />
                         <div class="test-footer">
                             <div class="test-avatar" aria-hidden="true">A</div>
                             <div>
                                 <div class="test-biz">Al Wafaa Supermarket</div>
                                 <div class="test-loc">Madinah</div>
                             </div>
                         </div>
                     </article>
                 </div>
             <?php endif; ?>
         </div>
     </section>