<div class="gallery-sec">
    <div class="container">
        <div class="sec_bx">
            <div class="sec_h">From Concept to Creation: <span>Our Factory Tour</span></div>
            <p>Step inside our manufacturing facility and witness the journey from concept to creation. Our factory tour offers a behind-the-scenes look at the entire production process, from raw materials to finished scaffolding solutions. Experience the expertise, precision, and dedication that ensure every product meets the highest standards. See innovation come to life!</p>
        </div>
        <div class="row g-2 g-lg-3 row-cols-2 row-cols-md-3 row-cols-lg-5 justify-content-center">
            <?php $gallery_tbl = mysqli_query($GLOBALS['dbconn'], "select * from gallery_tbl");
            while ($gallery_res = mysqli_fetch_assoc($gallery_tbl)) {
                $galleryImg = getImage($gallery_res["gallery_image"], 500, 500, $gallery_res["gallery_title"] . $gallery_res["id"], "/uploaded-files/gallery/");
                $galleryImg1 = getImage($gallery_res["gallery_image"], 1200, 1600, $gallery_res["gallery_title"] . $gallery_res["id"], "/uploaded-files/gallery/"); ?>
                <div class="col">
                    <div class="gallery-bx wow fadeInUp">
                        <a href="<?= $galleryImg1; ?>" title="<?= $gallery_res['gallery_title']; ?>" data-fancybox="Gallery" class="img-bx">
                            <img loading="lazy" src="<?= $galleryImg; ?>" alt="<?= $gallery_res['gallery_title']; ?>" title="<?= $gallery_res['gallery_title']; ?>">
                        </a>
                        <span class="link-wrap">
                            <svg class="w-6 h-6 text-gray-800 dark:text-white" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
                                <path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="m21 21-3.5-3.5M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z"></path>
                            </svg>
                        </span>
                    </div>
                </div>
            <?php } ?>
        </div>
    </div>
</div>