@props(['activePage' => 'home'])
<header class="main-header">
    <div class="header-top">
        <div class="large-container">
            <div class="top-inner">
                <ul class="links-list clearfix">
                    <li><a href="{{ route('guest.about') }}">Who We Are</a></li>
                    <li><a href="{{ route('guest.faq') }}">FAQ</a></li>
                    <li><a href="{{ route('guest.contact') }}">Support</a></li>
                </ul>
                <ul class="info-list clearfix">
                    <li>
                        <i class="icon-1"></i>
                        <a href="mailto:{{ config('mail.from.address') }}">{{ config('mail.from.address') }}</a>
                    </li>
                    <li>
                        <i class="icon-2"></i>
                        Nationwide Branch and ATM Network
                    </li>
                </ul>
            </div>
        </div>
    </div>

    <div class="header-lower">
        <div class="large-container">
            <div class="outer-box">
                <div class="logo-box">
                    <div class="shape"></div>
                    <figure class="logo">
                        <a href="{{ route('guest.home') }}"><img src="{{ asset(config('app.logo') ?: 'assets/images/logo.png') }}" alt="{{ config('app.name') }}" style="max-height: 50px; width: auto; object-fit: contain;"></a>
                    </figure>
                </div>
                <div class="menu-area">
                    <div class="mobile-nav-toggler">
                        <i class="icon-bar"></i>
                        <i class="icon-bar"></i>
                        <i class="icon-bar"></i>
                    </div>
                    <nav class="main-menu navbar-expand-md navbar-light clearfix">
                        <div class="collapse navbar-collapse show clearfix" id="navbarSupportedContent">
                            <ul class="navigation clearfix">
                                <li class="{{ $activePage === 'home' ? 'current' : '' }}"><a href="{{ route('guest.home') }}">Home</a></li>
                                <li class="{{ $activePage === 'about' ? 'current' : '' }}"><a href="{{ route('guest.about') }}">About</a></li>
                                <li class="{{ $activePage === 'faq' ? 'current' : '' }}"><a href="{{ route('guest.faq') }}">FAQ</a></li>
                                <li class="{{ $activePage === 'contact' ? 'current' : '' }}"><a href="{{ route('guest.contact') }}">Contact Us</a></li>
                            </ul>
                        </div>
                    </nav>
                    <div class="menu-right-content ml_70">
                        <a href="{{ route('login') }}" class="theme-btn btn-two mr_20">Login</a>
                        <a href="{{ route('register') }}" class="theme-btn btn-one">Open Account</a>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="sticky-header">
        <div class="large-container">
            <div class="outer-box">
                <div class="logo-box">
                    <div class="shape"></div>
                    <figure class="logo">
                        <a href="{{ route('guest.home') }}"><img src="{{ asset(config('app.logo') ?: 'assets/images/logo.png') }}" alt="{{ config('app.name') }}" style="max-height: 50px; width: auto; object-fit: contain;"></a>
                    </figure>
                </div>
                <div class="menu-area">
                    <nav class="main-menu clearfix"></nav>
                    <div class="menu-right-content ml_70">
                        <a href="{{ route('login') }}" class="theme-btn btn-two mr_20">Login</a>
                        <a href="{{ route('register') }}" class="theme-btn btn-one">Open Account</a>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="mobile-menu">
        <div class="menu-backdrop"></div>
        <div class="close-btn"><i class="fas fa-times"></i></div>
        <nav class="menu-box">
            <div class="nav-logo"><a href="{{ route('guest.home') }}"><img src="{{ asset(config('app.logo') ?: 'assets/images/logo.png') }}" alt="{{ config('app.name') }}" style="max-height: 40px; width: auto; object-fit: contain;"></a></div>
            <div class="menu-outer"></div>
            <div class="contact-info" style="margin-bottom: 20px;">
                <div style="display: flex; flex-direction: column; gap: 10px;">
                    <a href="{{ route('login') }}" class="theme-btn btn-two" style="text-align: center;">Login</a>
                    <a href="{{ route('register') }}" class="theme-btn btn-one" style="text-align: center;">Open Account</a>
                </div>
            </div>
            <div class="contact-info">
                <h4>Contact Info</h4>
                <ul>
                    <li>Global Service Center</li>
                    <li><a href="tel:{{ config('app.phone') }}">{{ config('app.phone') }}</a></li>
                    <li><a href="mailto:{{ config('mail.from.address') }}">{{ config('mail.from.address') }}</a></li>
                </ul>
            </div>
        </nav>
    </div>
</header>
