<div class="faq_section">
    <div class="container">
        <div class="title_2">FAQs</div>
        <div class="maxWidth">
                <p>Got questions? We’ve got answers! Dive into our FAQs for insights that clear up the mysteries of our machines and services. From curious queries to in-depth details, we’ve compiled the most common questions to guide you smoothly through your experience with us. Let’s turn your curiosity into confidence—explore and discover what makes Jackson Machine stand out!</p>
            </div>
            <div class="clearfix"></div>

        <div class="accordion" id="accordionExample">
        <?php  $i = 1;
         $faq_sql =mysqli_query($GLOBALS['dbconn'],"select * from faq_tbl  order by slno ASC");
         while($faq_res=mysqli_fetch_array($faq_sql)){ ?>

            <div class="accordion-item wow fadeInLeft" data-wow-delay=".<?=$i;?>s">
                <div class="accordion-header" id="heading_<?=$faq_res['slno'];?>">
                    <span class="accordion-button" role="button" data-bs-toggle="collapse" data-bs-target="#faq_<?=$faq_res['slno'];?>" aria-expanded="true" aria-controls="heading_<?=$faq_res['slno'];?>"><?=$faq_res['question'];?>
                    </span>
                </div>
                <div id="faq_<?=$faq_res['slno'];?>" class="accordion-collapse <?= $i==1 ? 'in': '';?> collapse <?= $i==1 ? 'show': '';?>" aria-labelledby="heading_<?=$faq_res['slno'];?>" data-bs-parent="#accordionExample">
                    <div class="accordion-body">
                    <p><?=$faq_res['answer'];?></p>
                    </div>
                </div>
            </div>
            <?php $i++; } ?>

        </div>
    </div>

</div>