<?php include_once("include/main.inc.php");
$admin_res=getAdminDetails();
$pg= "faq";
$page_metatitle = "FAQs | Sunshine Fertility & IVF Center in Mumbai";
$page_metakey = "FAQs | Sunshine Fertility & IVF Center in Mumbai";
$page_metadesc = "FAQs | Sunshine Fertility & IVF Center in Mumbai";
?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
  <title><?=$page_metatitle?></title>
 <meta name="description" content="<?=$page_metadesc?>" >
 <meta name="keywords" content="<?=$page_metakey?>" >
    <?php include "app_top.php"; ?>
</head>

<body>

    <?php include "app_header.php"; ?>



    <section class="heading_banner" style="background-image: url(<?=theme_url?>images/faqs.jpg)">
        <div class="container">
            <div class="row">
                <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 text-center">
                    <h1 class="cat_title">FAQs</h1>
                    <div class="clearfix"></div>

                </div>
            </div>
        </div>
    </section>

    <!-- Breadcrumb-->
    <section class="inner_breadcrumb hidden_xs">
        <div class="container">
            <div class="row">
                <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                    <ul class="breadcrumb">
                        <li><a href="<?=site_url?>" title="Home">Home</a></li>
                        <li class="active">FAQs</li>
                    </ul>
                </div>
            </div>
        </div>
    </section>


    <!-- Home About-->
    <section class="about_page">
        <div class="container">
            <div class="row">
                
                <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                    <div class="right_side">
                        <h2 class="faqTitle">FAQs</h2>
                        <div class="wps_right">

                            <div class="accordion" id="accordionExample">
                                <?php 
                                 
                                 $faq_query=mysqli_query($dbconn,'SELECT * FROM `faq_tbl` WHERE `category_id`=0 order by slno asc');
            $i=1;   while($faq = mysqli_fetch_array($faq_query)){ ?>
                                <div class="accordion-item">
                                    <div class="accordion-header" id="heading_<?=$i;?>">
                                        <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#faq_<?=$i;?>" aria-expanded="true" aria-controls="heading_<?=$i;?>"><?=$faq['question']?>
                                        </button>
                                    </div>
                                    <div id="faq_<?=$i;?>" class="accordion-collapse collapse <?php if($i=="1"){echo "show";}?>" aria-labelledby="heading_<?=$i;?>" data-bs-parent="#accordionExample">
                                        <div class="accordion-body">
                                            <p><?=$faq['answer']?></p>
                                        </div>
                                    </div>
                                </div>
                                <?php $i++; } ?>
                            </div>
                            <div class="clearfix"></div>

                        </div>
                    </div>
                </div>

            </div>
        </div>
    </section>


    <?php include "app_footer.php";?>
    <?php include "app_bottom.php"; ?>
</body>

</html>
