<a id="web-pulse-scroll-up" title="Go to Top"><i class="fa fa-angle-up"></i></a>
<!-- Header -->
<header class="web-pulse-header">
    <div class=webpulse-soluction>
        <div class="container">
            <div class="row">
                <div class="col-lg-3 col-md-3">
                    <div class="w-p-s-logo">
                        <a href="<?=site_url?>" title="<?=$admin_res['companyName']?>">
                            <img id="logo" src="<?=theme_url?>images/logo.png"
                                alt="<?=$admin_res['companyName']?>" title="<?=$admin_res['companyName']?>"></a>
                    </div>
                </div>
                <div class="col-lg-7 col-md-7">
                    <div class="web-pulse-navigation-wps">
                        <div class="navbar">
                            <button><i class="fa fa-bars"></i></button>
                        </div>
                        <div class="web-p-u-l-s-e-menu">
                            <ul class="nav">
                                <li class="<?php if($pg=='home'){ echo "active";}?>"><a href="<?=site_url?>" title="Home">Home</a></li>
                                <li class="<?php if($pg=='about'){ echo "active";}?>"><a   href="<?=site_url?>/about.htm" title="Company Profile">Company Profile</a></li>
           <?php $catSql = mysqli_query($dbconn,"select * from category_tbl where parentID='0' and status='Y' order by catID asc" );
        while($rescat=mysqli_fetch_array($catSql)) {
            $parentid = $rescat['catID'];
           $subcatSql =  mysqli_query($dbconn,"select * from category_tbl where parentID='$parentid' and status='Y' order by catID asc" );?>                          
                                <li class="cs-submenu <?php if($pg=='category'){ echo "active";}?>"><a href="#"
                                        title="<?=$rescat['displayName']?>"><?=$rescat['displayName']?><i class="fa fa-angle-down hidden-xs hidden-sm"></i></a>
                                    <ul class="cs-dropdown">
                                <?php   while($subcat_res=mysqli_fetch_array($subcatSql)) { ?>        
                                        <li><a href="<?=site_url;?>/<?=getValidFileName($ca_nam1);?>/<?=getValidFileName($subcat_res['catName']);?>.htm" title="<?=$subcat_res['displayName']?>"><?=$subcat_res['displayName']?></a></li>
                                            <?php  } ?>
                                    </ul>
                                </li>
                                <?php  } ?>
                                <li class="<?php if($pg=='blog'){ echo "active";}?>"><a   href="<?=site_url?>/blogs.htm" title="Blogs">Blogs</a></li>
                                <li class="<?php if($pg=='contact'){ echo "active";}?>"><a   href="<?=site_url?>/contact-us.htm" title="Contact Us">Contact Us</a></li>

                            </ul>
                        </div>
                    </div>
                </div>
                <div class="col-lg-2 col-md-2">
                    <div class="right_menu">
                        <ul class="top_right">
                            <li>
                                <div class="search-top">
                                    <div class="icon-search"><i class="fa fa-search"></i></div>
                             <form method="get" action="<?=site_url?>/search.htm">
                                        <div id="sw_search" class="search input-group">
                                            <div class="content-search">
                                                <input class="autosearch-input" type="text" value="" size="50"
                                                    placeholder="Search..." name="keyword" required>
                                                <span class="input-group-btn">
                                                    <button type="submit"
                                                        class="fa fa-search button-search-pro form-button"></button>
                                                </span>
                                            </div>
                                        </div>
                                    </form>
                                </div>
                            </li>


                        </ul>
                        <a href="javascript:void();" class="get_quote hidden-xs" data-bs-toggle="modal"
                            data-bs-target="#myModal" title="Send Enquiry">Get<br>Quote</a>
                    </div>
                </div>
            </div>
        </div>
        <div class="container hidden-xs">
            <div class="call_us">
                <p><span><i class="fa fa-phone"></i></span><a href="tel:<?=$admin_res[mobile]?>" title="<?=$admin_res[mobile]?>"><?=$admin_res[mobile]?> </a></p>

            </div>
        </div>
    </div>
</header>
<div class="clearfix"></div>