  <?php
    $phone = "+91 91009 56577";
    $whatsapp = "+91 91001 56577";
    $whatsapplink = "https://wa.me/919100156577";
    $email = "packingomoversindia@gmail.com";
    ?>
  <div class="header-top">
      <div class="container d-flex justify-content-between align-items-center">
          <div class="contact-info">
              <span>
                  <i class="fab fa-whatsapp"></i>
                <a href="<?php echo $whatsapplink; ?>"><?php echo $whatsapp; ?></a> |
                  <i class="fas fa-phone"></i>

                  <a href="tel:<?php echo $phone; ?>"><?php echo $phone; ?></a>
              </span>
              <span>
                  <i class="fas fa-envelope"></i>
                  <a href="mailto:<?php echo $email; ?>"><?php echo $email; ?></a>
              </span>
          </div>
            <div class="social-icons">
        <a href="https://www.facebook.com/packingo" target="_blank" aria-label="Facebook"><i class="fab fa-facebook"></i></a>
        <a href="https://www.instagram.com/packingo.movers" target="_blank" aria-label="Instagram"><i class="fab fa-instagram"></i></a>
        <a href="https://www.linkedin.com/company/packingo" target="_blank" aria-label="LinkedIn"><i class="fab fa-linkedin"></i></a>
        <a href="https://www.twitter.com/packingo" target="_blank" aria-label="Twitter"><i class="fab fa-twitter"></i></a>
        <a href="<?php echo $whatsapplink; ?>" target="_blank" aria-label="WhatsApp">
            <i class="fab fa-whatsapp"></i>
        </a>

          </div>
          <a href="/" class="btn btn-quote"> <i class="fas fa-quote-left"></i> Get Quote</a>

      </div>
  </div>
  <header class="header">
      <div class="logo-container">
          <a href="/">
              <img src="/assets/images/logo-nobg.png" alt="Packingo Logo" class="logo">
          </a>
      </div>
      <nav class="nav-menu">
          <?php
            $current_page = $_SERVER['REQUEST_URI'];
            echo $current_page;
            $links = [
                '/' => 'Home',
                '/about-us' => 'About',
                '/services' => 'Services',
                '/gallery' => 'Gallery',
                '/contact-us' => 'Contact',
                '/faq' => 'FAQ'
            ];

            foreach ($links as $url => $text) {
                if ($url === '/') {
                    $active_class = ($current_page === '/' || $current_page === '/') ? 'active' : '';
                } else {
                    $active_class = (strpos($current_page, $url) === 0) ? 'active' : '';
                }
                echo "<a href='$url' class='$active_class'>$text</a>";
            }    ?>
      </nav>

      <div class="hamburger">
          <i class="fas fa-bars"></i>
      </div>
  </header>

  <script>
      document.querySelector('.hamburger').addEventListener('click', function() {
          document.querySelector('.nav-menu').classList.toggle('active');
      });
  </script>