<div class="certificateSection">
        <div class="container">
            <div class="tt-bx">
                <div class="tt">Our <span>Certificates</span></div>
                <p>Trust in quality! Explore our certificates showcasing our commitment to excellence, safety, and health standards. Your well-being is our priority.</p>
            </div>
            <div class="row align-items-stretch justify-content-center">
            <?php $certificate_sql= mysqli_query($GLOBALS['dbconn'], "select gallery_title,gallery_image,image_name,id from gallery_tbl order by id ASC limit 0,3"); 

while($certificate_res= mysqli_fetch_assoc($certificate_sql)){ 
   $certificateImg=getImage($certificate_res[gallery_image], 300, 400, $certificate_res[gallery_title].$certificate_res[id],"/uploaded-files/gallery/");
   $certificateImg1= getImage($certificate_res[gallery_image], 600, 600, $certificate_res[gallery_title].$certificate_res[id],"/uploaded-files/gallery/");
   ?>
                <div class="col-md-3 col-12">
                    <div class="certificateBox">
                        <div class="certificateImg">
                            <a data-fancybox="" href="<?=site_url;?>/uploaded-files/gallery/<?=$certificate_res['gallery_image'];?>" title="<?=$certificate_res['gallery_title'];?>">
                                <img  loading="lazy" src="<?=$certificateImg;?>" alt="<?=$certificate_res['gallery_title'];?>" title="<?=$certificate_res['gallery_title'];?>" width="283" height="400">
                            </a>
                            <a href="<?=site_url;?>/uploaded-files/gallery/<?=$certificate_res['gallery_image'];?>" class="link" data-fancybox="" title="<?=$certificate_res['gallery_title'];?>">
                                <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
                                    class="bi bi-zoom-in" viewBox="0 0 16 16">
                                    <path fill-rule="evenodd"
                                        d="M6.5 12a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11M13 6.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0" />
                                    <path
                                        d="M10.344 11.742q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1 6.5 6.5 0 0 1-1.398 1.4z" />
                                    <path fill-rule="evenodd"
                                        d="M6.5 3a.5.5 0 0 1 .5.5V6h2.5a.5.5 0 0 1 0 1H7v2.5a.5.5 0 0 1-1 0V7H3.5a.5.5 0 0 1 0-1H6V3.5a.5.5 0 0 1 .5-.5" />
                                </svg>
                            </a>
                        </div>

                        <div class="certificateContent">
                            <div class="certificateTitle"><?=$certificate_res['gallery_title'];?></div>
                        </div>
                    </div>
                </div>
                <?php } ?>
             
            </div>
        </div>
    </div>
