<?php include_once("include/main.inc.php");
$about_page = mysqli_query($GLOBALS['dbconn'], "select pageDesc, pageDesc1, pageImage, page_keyword, page_metadesc, page_metatitle,pageTitle from static_pages where pageID='2'");
$about_res = mysqli_fetch_array($about_page);
?>
<a href="javascript:void(0);" id="scrollUp" title="Go to Top"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"
        fill="currentColor" viewBox="0 0 16 16">
        <path fill-rule="evenodd"
            d="M8 15a.5.5 0 0 0 .5-.5V2.707l3.146 3.147a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 1 0 .708.708L7.5 2.707V14.5a.5.5 0 0 0 .5.5z">
        </path>
    </svg></a>
<header class="header">
    <div class="container">
        <div class="row align-items-center">
            <div class="col-xxl-2 col-xl-2 col-lg-2 col-md-2 col-sm-4 col-5">
                <div class="logo">
                    <a href="<?= site_url; ?>" title="<?= $admin_res['companyName']; ?>">
                        <img src="<?= site_url; ?>/designer/images/logo1a.png" alt="<?= $admin_res['companyName']; ?>"
                            title="<?= $admin_res['companyName']; ?>" width="600" height="202">
                    </a>
                </div>
            </div>
            <div class="col-xxl-9 col-xl-9 col-lg-9 col-md-10 col-sm-8 col-7 pe-4">
                <div class="navigation">
                    <div class="navbar">
                        <button class="toggle_menu menu_show" id="menubar" title="menubar">
                            <span></span>
                            <span></span>
                            <span></span>
                        </button>
                    </div>
                    <div class="menu">
                        <ul class="nav">
                            <li class="active hidden-md"><a href="<?= site_url; ?>" title="Home">Home</a></li>
                            <li><a href="<?= site_url; ?>/about-us.htm" title="About Us">About Us</a></li>
                            <?php $sql=mysqli_query($GLOBALS['dbconn'],"select displayName, catName, catID, parentID from category_tbl where parentID='0'  && status='Y' order by catOrder");
                                while($res=mysqli_fetch_array($sql)){
                                 $catID=$res['catID'];
                                $sql_sub=mysqli_query($GLOBALS['dbconn'],"select displayName, catName, catID, parentID from category_tbl where parentID='$catID' && status='Y' order by catOrder");
                                $num11 = mysqli_num_rows($sql_sub);
                                ?>
                            <li class="<?=$num11>0?'cs-submenu megaui':'';?>">
                            <a href="<?= site_url; ?>/<?= getValidFileName($res['catName']); ?>.htm"
                            title="<?php echo $res['displayName']; ?>"><?php echo $res['displayName']; ?></a>

                                <ul class="cs-dropdown">
                                    <?php while($sub_res=mysqli_fetch_array($sql_sub)){  ?>
                                    <li class=""> <a
                                            href="<?= site_url; ?>/<?= getValidFileName($sub_res['catName']); ?>.htm"
                                            title="<?php echo $sub_res['displayName']; ?>"><?php echo $sub_res['displayName']; ?></a>
                                    </li>

                                    <?php } ?>
                                </ul>

                            </li>
                            <?php } ?>

                            <li class="">
                                <a href="<?=site_url;?>/service.htm" title="Services">Services </a>

                            </li>


                            <li class="hidden-sm2"><a href="<?=site_url;?>/blog.htm" title="Blogs">Blogs</a></li>
                            <li><a href="<?=site_url;?>/contact-us.htm" title="Contact Us">Contact Us</a></li>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="col-xxl-1 col-xl-1 col-lg-1 col-md-1 col-sm-5 col-4 px-0 d-none d-lg-block">
                <div class="logo-mobile">
                    <a href="tel:18008907557" title="1800 890 7557">
                        <svg version="1.1" fill="currentColor" xmlns="http://www.w3.org/2000/svg"
                            viewBox="0 0 32 32" width="20px" height="20px">
                            <style type="text/css">
                            .st0 {
                                fill: currentColor;
                            }

                            .st1 {
                                fill: none;
                            }
                            </style>
                            <path d="M26,29h-0.2C6.2,27.9,3.4,11.3,3,6.2C2.9,4.6,4.1,3.1,5.8,3C5.8,3,5.9,3,6,3h5.3c0.8,0,1.6,0.5,1.9,1.3L14.6,8
                                    c0.3,0.7,0.1,1.6-0.4,2.2l-2.1,2.1c0.7,3.9,3.7,6.9,7.6,7.6l2.2-2.1c0.6-0.6,1.4-0.7,2.2-0.4l3.8,1.5c0.7,0.3,1.2,1,1.2,1.9V26
                                    C29,27.7,27.7,29,26,29z M6,5C5.4,5,5,5.4,5,6c0,0,0,0.1,0,0.1C5.5,12,8.4,26,25.9,27c0.6,0,1-0.4,1.1-0.9c0,0,0,0,0-0.1v-5.3
                                    l-3.8-1.5l-2.9,2.9L19.9,22c-8.7-1.1-9.9-9.8-9.9-9.9l-0.1-0.5l2.8-2.9L11.3,5H6z" />
                                                            <polygon class="st0" points="20,4 20,6 24.6,6 18,12.6 19.4,14 26,7.4 26,12 28,12 28,4 " />
                                </svg>
                        1800 890 7557 </a>
                </div>
            </div>
        </div>
    </div>
</header>