<?php
function getCurrentPage() {
    return basename($_SERVER['PHP_SELF']);
}
?>

<header class="main-header header-style-one">
    <!-- Header Top -->
    <div class="header-top">
        <div class="container">
            <div class="clearfix">

                <!--Top Right-->
                <div class="top-left ">
                    <ul class="clearfix">
                        <li><span class="icon flaticon-technology-1"></span>+91 8239330086</li>
                        <li><span class="icon flaticon-envelope-3"></span>info@a1classictravels.com</li>
                    </ul>
                </div>

                <!--Top Left-->
                <div class="top-right">
                    <!--social-icon-->
                    <div class="social-icon">
                        <a href="#"><i class="fa-brands fa-facebook"></i></a>
                        <a href="#"><i class="fa-brands fa-instagram"></i></a>
                        <a href="#"><i class="fa-brands fa-twitter"></i></a>
                        <a href="#"><i class="fa-brands fa-linkedin"></i></a>
                    </div>
                </div>

            </div>
        </div>
    </div>
    <!-- Header Top End -->

    <!-- Main Box -->
    <div class="main-box">
        <div class="container">
            <div class="outer-container clearfix">
                <!--Logo Box-->
                <div class="logo-box">
                    <div class="logo"><a href="index.php"><img src="images/Logo.webp" alt=""></a></div>
                </div>

                <!--Nav Outer-->
                <div class="nav-outer clearfix">
                    <!-- Main Menu -->
                    <nav class="main-menu">
                        <div class="navbar-header">
                            <!-- Toggle Button -->
                            <button type="button" class="navbar-toggle" data-toggle="collapse"
                                data-target=".navbar-collapse">
                                <span class="icon-bar"></span>
                                <span class="icon-bar"></span>
                                <span class="icon-bar"></span>
                            </button>
                        </div>

                        <div class="navbar-collapse collapse clearfix">
                            <ul class="navigation clearfix">
                                <li class="<?php echo (getCurrentPage() == 'index.php') ? 'current dropdown' : 'dropdown'; ?>"><a href="index.php">Home</a></li>
                                <li class="<?php echo (getCurrentPage() == 'about.php') ? 'current' : ''; ?>"><a href="about.php">About Us</a></li>
                                <li class="<?php echo (getCurrentPage() == 'our-fleets.php') ? 'current dropdown' : 'dropdown'; ?>"><a href="our-fleets.php">Cars</a></li>
                                <li class="<?php echo (getCurrentPage() == 'helicopter.php') ? 'current' : ''; ?>"><a href="helicopter.php">Helicopter</a></li>
                                <li class="<?php echo (getCurrentPage() == 'private-jate.php') ? 'current' : ''; ?>"><a href="private-jate.php">Private Jet</a></li>
                                <li class="<?php echo (getCurrentPage() == 'blog.php') ? 'current' : ''; ?>"><a href="blog.php">Blog</a></li>
                                <li class="<?php echo (getCurrentPage() == 'faqs.php') ? 'current' : ''; ?>"><a href="faqs.php">FAQs</a></li>
                                <li class="<?php echo (getCurrentPage() == 'contact.php') ? 'current' : ''; ?>"><a href="contact.php">Contact</a></li>
                                <!--<button class="whatsapp-button"><span class="whatsapp-icon"><i class="fa-brands fa-whatsapp"></i></span>BOOK ON WHATSAPP</button>-->
                                <a class="elementor-button elementor-button-link elementor-size-sm" href="https://api.whatsapp.com/send/?phone=918239330086&amp;text&amp;type=phone_number&amp;app_absent=0"><button class="whatsapp-button"><span class="whatsapp-icon"><i class="fa-brands fa-whatsapp"></i></span>BOOK ON WHATSAPP</button></a>
                            </ul>
                        </div>
                    </nav><!-- Main Menu End-->
                </div>
                <!--Nav Outer End-->

                <!-- Hidden Nav Toggler -->
                <div class="nav-toggler">
                    <button class="hidden-bar-opener"><span class="icon fa fa-bars"></span></button>
                </div><!-- / Hidden Nav Toggler -->
            </div>
        </div>
    </div>
</header>
<!--End Main Header -->

<!-- Hidden Navigation Bar -->
<section class="hidden-bar right-align">
    <div class="hidden-bar-closer">
        <button class="btn"><i class="fa fa-close"></i></button>
    </div>

    <!-- Hidden Bar Wrapper -->
    <div class="hidden-bar-wrapper">

        <!-- .logo -->
        <div class="logo text-center">
            <a href="index.php"><img src="images/Logo.webp" alt=""></a>
        </div><!-- /.logo -->

        <!-- .Side-menu -->
        <div class="side-menu">
            <!-- .navigation -->
            <ul class="navigation clearfix">
                <li class="<?php echo (getCurrentPage() == 'index.php') ? 'current' : ''; ?>"><a href="index.php">Home</a></li>
                <li class="<?php echo (getCurrentPage() == 'about.php') ? 'current' : ''; ?>"><a href="about.php">About Us</a></li>
                <li class="<?php echo (getCurrentPage() == 'our-fleets.php') ? 'current' : ''; ?>"><a href="our-fleets.php">Cars</a></li>
                <li class="<?php echo (getCurrentPage() == 'helicopter.php') ? 'current' : ''; ?>"><a href="helicopter.php">Helicopter</a></li>
                <li class="<?php echo (getCurrentPage() == 'private-jate.php') ? 'current' : ''; ?>"><a href="private-jate.php">Private Jet</a></li>
                <li class="<?php echo (getCurrentPage() == 'blog.php') ? 'current' : ''; ?>"><a href="blog.php">Blog</a></li>
                <li class="<?php echo (getCurrentPage() == 'faqs.php') ? 'current' : ''; ?>"><a href="faqs.php">FAQs</a></li>
                <li class="<?php echo (getCurrentPage() == 'contact.php') ? 'current' : ''; ?>"><a href="contact.php">Contact</a></li>
            </ul>
        </div><!-- /.Side-menu -->

        <div class="social-icons">
            <ul>
                <li><a href="#"><i class="fa-brands fa-facebook"></i></a></li>
                <li><a href="#"><i class="fa-brands fa-instagram"></i></a></li>
                <li><a href="#"><i class="fa-brands fa-twitter"></i></a></li>
                <li><a href="#"><i class="fa-brands fa-linkedin"></i></a></li>
            </ul>
        </div>

    </div><!-- / Hidden Bar Wrapper -->
</section>
<!-- / Hidden Bar -->
