<header class="header-section">
    <!-- Desktop Top Bar (Hidden on Mobile) -->
    <div class="top-bar d-none d-lg-block">
        <div class="container">
            <div class="row align-items-center">
                <div class="col-lg-4 col-md-6 col-12 text-center text-md-start mb-2 mb-md-0">
                    <a href="index.php" class="logo">
                        <img src="./assets/images/logoheader.png" alt="Institute of Somatic Therapy" class="img-fluid">
                    </a>
                </div>
                <div class="col-lg-8 col-md-6 col-12">
                    <div class="top-info d-flex justify-content-center justify-content-md-end align-items-center gap-4 flex-wrap">
                        <div class="info-item d-flex align-items-center">
                            <div class="icon me-2">
                                <img src="./assets/images/email.png" alt="Email" height="40">
                            </div>
                            <span class="text">info@massagecredits.com</span>
                        </div>
                        <div class="info-item d-flex align-items-center">
                            <div class="icon me-2">
                                <img src="./assets/images/phone.png" alt="Phone" height="40">
                            </div>
                            <span class="text">Call Us +888 888 8888</span>
                        </div>
                        <a href="javascript:void(0);" class="btn btn-login d-flex align-items-center" data-bs-toggle="modal" data-bs-target="#loginRegisterModal">
                            <i class="fas fa-user me-2"></i> LOGIN
                        </a>
                        <div class="cart-icon position-relative" style="cursor: pointer;" data-bs-toggle="offcanvas" data-bs-target="#cartSidebar">
                            <img src="./assets/images/cart.png" alt="Cart" height="40">
                            <span class="badge rounded-pill bg-secondary">
                                2
                            </span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <nav class="navbar navbar-expand-lg navbar-light bg-white border-top border-bottom">
        <div class="container mobile-header-container">
            <!-- Mobile Logo (Visible only on lg and below) -->
            <a class="navbar-brand d-lg-none mobile-logo" href="index.php">
                <img src="./assets/images/logoheader.png" alt="Institute of Somatic Therapy" class="img-fluid">
            </a>

            <!-- Mobile Toggler -->
            <button class="navbar-toggler ms-auto" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>

            <div class="collapse navbar-collapse justify-content-center" id="navbarNav">
                <ul class="navbar-nav gap-lg-4">
                    <li class="nav-item">
                        <a class="nav-link active" aria-current="page" href="index.php">HOME</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="./about-us.php">ABOUT</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">COURSES</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">GUIDELINES</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">FAQS</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">POLICIES</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">CONTACT</a>
                    </li>
                </ul>

                <!-- Mobile Contact Info (Visible only inside collapsed menu on mobile) -->
                <div class="d-lg-none mt-4 mobile-contact-info">
                    <div class="d-flex flex-column gap-3 align-items-center">
                         <div class="info-item d-flex align-items-center">
                            <div class="icon me-2">
                                <img src="./assets/images/email.png" alt="Email" height="30">
                            </div>
                            <span class="text">info@massagecredits.com</span>
                        </div>
                        <div class="info-item d-flex align-items-center">
                            <div class="icon me-2">
                                <img src="./assets/images/phone.png" alt="Phone" height="30">
                            </div>
                            <span class="text">Call Us +888 888 8888</span>
                        </div>
                        <a href="javascript:void(0);" class="btn btn-login d-flex align-items-center" data-bs-toggle="modal" data-bs-target="#loginRegisterModal">
                            <i class="fas fa-user me-2"></i> LOGIN
                        </a>
                         <div class="cart-icon position-relative mt-2" style="cursor: pointer;" data-bs-toggle="offcanvas" data-bs-target="#cartSidebar">
                            <img src="./assets/images/cart.png" alt="Cart" height="30">
                            <span class="badge rounded-pill bg-secondary">
                                2
                            </span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </nav>
</header>
