
<section class="ft_form">
    <div class="container-fluid befo-foo">
        <div class="row">
            <div class="col-6 full-width" data-aos="fade-right" data-aos-duration="1000">
                <?php
                $faqs = file_get_contents('assets/json/ft-form.json');
                $faq = json_decode($faqs, true);
                $currentUrl = basename($_SERVER['REQUEST_URI'], ".php");
                $pageID = 'index';
                if ($currentUrl == '' || $currentUrl == 'index') {
                    $pageID = 'index';
                } elseif ($currentUrl == 'mobile-app-development-company') {
                    $pageID = 'mobile-app-development-company';
                } elseif ($currentUrl == 'android-app-development-company') {
                    $pageID = 'android-app-development-company';
                } elseif ($currentUrl == 'ios-app-development-services') {
                    $pageID = 'ios-app-development-services';
                } elseif ($currentUrl == 'game-app-development-company') {
                    $pageID = 'game-app-development-company';
                } elseif ($currentUrl == 'flutter-app-development-company') {
                    $pageID = 'flutter-app-development-company';
                } elseif ($currentUrl == 'react-native-app-development-company') {
                    $pageID = 'react-native-app-development-company';
                } elseif ($currentUrl == 'cross-platform-app-development-company') {
                    $pageID = 'cross-platform-app-development-company';
                } elseif ($currentUrl == 'mvp-development-company') {
                    $pageID = 'mvp-development-company';
                } elseif ($currentUrl == 'ar-app-development-company') {
                    $pageID = 'ar-app-development-company';
                } elseif ($currentUrl == 'vr-app-development-company') {
                    $pageID = 'vr-app-development-company';
                } elseif ($currentUrl == 'travel-app-development') {
                    $pageID = 'travel-app-development';
                } elseif ($currentUrl == 'sports-app-development-company') {
                    $pageID = 'sports-app-development-company';
                } elseif ($currentUrl == 'dating-app-development-company') {
                    $pageID = 'dating-app-development-company';
                } elseif ($currentUrl == 'restaurant-app-development-company') {
                    $pageID = 'restaurant-app-development-company';
                } elseif ($currentUrl == 'taxi-app-development-company') {
                    $pageID = 'taxi-app-development-company';   
                }elseif ($currentUrl == 'grocery-app-development-company') {
                    $pageID = 'grocery-app-development-company';   
                }elseif ($currentUrl == 'healthcare-app-development-company') {
                    $pageID = 'healthcare-app-development-company';   
                }elseif ($currentUrl == 'retail-app-development-company') {
                    $pageID = 'retail-app-development-company';   
                }elseif ($currentUrl == 'real-estate-app-development-company') {
                    $pageID = 'real-estate-app-development-company';   
                }elseif ($currentUrl == 'education-app-development-company') {
                    $pageID = 'education-app-development-company';   
                }elseif ($currentUrl == 'logistics-app-development-company') {
                    $pageID = 'logistics-app-development-company';   
                }elseif ($currentUrl == 'ecommerce-app-development-company') {
                    $pageID = 'ecommerce-app-development-company';   
                }elseif ($currentUrl == 'food-app-development-company') {
                    $pageID = 'food-app-development-company';   
                }elseif ($currentUrl == 'about-us') {
                    $pageID = 'about-us';   
                }
                if (isset($faq[$pageID])) {
                    foreach ($faq[$pageID] as $key => $faqItem) {
                        $isFirst = ($key == 0);
                ?>
                    <h2 class="befo-head">
                        <?php echo htmlspecialchars($faqItem['heading']); ?>
                    </h2>
                    <h6 class="befo-para"><?php echo htmlspecialchars($desc); ?>
                        <?php echo htmlspecialchars($faqItem['description']); ?>
                    </h6>
                <?php
                    } // End of foreach
                } else {
                    echo "<p>No FAQs found for this page.</p>";
                }
                ?>

                <div class="col-6 full-width">
                    <div class="row contact-foo phone">

                        <div class="col-2">

                            <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"
                                fill="none">

                                <path
                                    d="M8.82667 14.3867C10.7467 18.16 13.84 21.24 17.6133 23.1733L20.5467 20.24C20.9067 19.88 21.44 19.76 21.9067 19.92C23.4 20.4133 25.0133 20.68 26.6667 20.68C27.4 20.68 28 21.28 28 22.0133V26.6667C28 27.4 27.4 28 26.6667 28C14.1467 28 4 17.8533 4 5.33333C4 4.6 4.6 4 5.33333 4H10C10.7333 4 11.3333 4.6 11.3333 5.33333C11.3333 7 11.6 8.6 12.0933 10.0933C12.24 10.56 12.1333 11.08 11.76 11.4533L8.82667 14.3867Z"
                                    fill="#20b8f9" />

                            </svg>

                        </div>

                        <div class="col-6">
                            <p>Call Now:</p>
                            <a href="tel:<?php echo $locNumber; ?>">
                                <h5><?php echo $locNumber; ?></h5>
                            </a>
                        </div>

                    </div>
                    <div class="row contact-foo phone">

                        <div class="col-2">

                            <svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36"
                                fill="none">

                                <g clip-path="url(#clip0_204_730)">

                                    <path
                                        d="M32.3299 5.99979C32.1936 5.98575 32.0562 5.98575 31.9199 5.99979H3.91989C3.74044 6.00256 3.56217 6.02947 3.38989 6.07979L17.8399 20.4698L32.3299 5.99979Z"
                                        fill="#20b8f9" />

                                    <path
                                        d="M33.8099 7.39014L19.2499 21.8901C18.8752 22.2626 18.3683 22.4717 17.8399 22.4717C17.3116 22.4717 16.8047 22.2626 16.4299 21.8901L1.99993 7.50014C1.95557 7.66318 1.93205 7.83118 1.92993 8.00014V28.0001C1.92993 28.5306 2.14065 29.0393 2.51572 29.4144C2.89079 29.7894 3.3995 30.0001 3.92993 30.0001H31.9299C32.4604 30.0001 32.9691 29.7894 33.3441 29.4144C33.7192 29.0393 33.9299 28.5306 33.9299 28.0001V8.00014C33.922 7.79179 33.8815 7.58597 33.8099 7.39014ZM5.29993 28.0001H3.90993V26.5701L11.1799 19.3601L12.5899 20.7701L5.29993 28.0001ZM31.9099 28.0001H30.5099L23.2199 20.7701L24.6299 19.3601L31.8999 26.5701L31.9099 28.0001Z"
                                        fill="#20b8f9" />

                                </g>

                                <defs>

                                    <clipPath id="clip0_204_730">

                                        <rect width="36" height="36" fill="white" />

                                    </clipPath>

                                </defs>

                            </svg>

                        </div>

                        <div class="col-6">

                            <p>Email Now:</p>

                            <a href="mailto:<?php echo $locEmail; ?>">
                                <h5><?php echo $locEmail; ?></h5>
                            </a>

                        </div>

                    </div>
                    <div class="row contact-foo">
                        <div class="col-2">
                            <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
                                class="bi bi-geo-alt-fill" viewBox="0 0 16 16">
                                <path
                                    d="M8 16s6-5.686 6-10A6 6 0 0 0 2 6c0 4.314 6 10 6 10m0-7a3 3 0 1 1 0-6 3 3 0 0 1 0 6" />
                            </svg>
                        </div>
                        <div class="col-6">
                            <p>Address:</p>
                            <a href="javascript:;" rel="nofollow noopener" target="_blank">
                                <h5><?php echo $locAddress; ?></h5>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
            
            <div class="col-6 full-width" data-aos="fade-up" data-aos-duration="1000">
                <div class='gf_browser_chrome gform_wrapper gravity-theme' id='gform_wrapper_2'>
                    <div id='gf_2' class='gform_anchor' tabindex='-1'></div>
                    <?php include 'includes/forms/contact-pg-from.php'; ?>
                </div>
            </div>
        </div>
    </div>
</section>


