<div class="faq_section pt-0">
    <div class="container">
    <div class="title_21 h2_title  aboutTitle">FAQs <span> </span></div>
                <p class="mx-auto   text-center mb-4 w-75">Discover our FAQ section for rapid and concise responses to your queries. Uncover solutions, advice, and useful information to ensure your experience is seamless and straightforward. Start exploring today!</p>
            
            <div class="clearfix"></div>

        <div class="accordion" id="accordionExample">
        <?php  $i = 1;

$faq_sql =mysqli_query($GLOBALS['dbconn'],"select answer, slno, question 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 <?= $i==1 ? '': 'collapsed';?>" role="button" data-bs-toggle="collapse" data-bs-target="#faq_<?=$faq_res['slno'];?>" 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>