
<nav class="main-navbar">

    <!-- LOGO -->
    <div class="logo-area">
       
            <img src="<?php echo e(asset('images/logo.jpg')); ?>" alt="PF ESIC Logo">
       
    </div>

    <!-- MOBILE MENU ICON -->
    <div class="menu-toggle" id="menuToggle">
        <i class="fa fa-bars"></i>
    </div>

    <!-- MENU -->
    <ul class="menu" id="mobileMenu">

        <li><a href="<?php echo e(route('home')); ?>">Home</a></li>

        <li>
            <a href="<?php echo e(route('about')); ?>">
                About
            </a>
        </li>

        <li>
            <a href="<?php echo e(route('services')); ?>">
                Services
            </a>
        </li>

        <li>
            <a href="<?php echo e(route('industries')); ?>">
                Industries
            </a>
        </li>

        <li>
            <a href="<?php echo e(route('contact')); ?>">
                Contact
            </a>
        </li>

        <!-- MOBILE BUTTON -->
        <li class="mobile-btn">
            <a href="<?php echo e(route('contact')); ?>" class="consult-btn">
                Get Consultation
            </a>
        </li>

    </ul>

    <!-- DESKTOP BUTTON -->
    <div class="nav-btn-area">
        <a href="<?php echo e(route('contact')); ?>" class="consult-btn">
            Get Consultation
        </a>
    </div>

</nav>


<!-- ================= MOBILE MENU JS ================= -->

<script>

const menuToggle = document.getElementById('menuToggle');
const mobileMenu = document.getElementById('mobileMenu');

menuToggle.addEventListener('click', () => {
    mobileMenu.classList.toggle('active');
});

</script>



<style>

    
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

html, body{
    background:#f5f7fb;
    overflow-x:hidden;
}
.main-navbar{
    width:100%;
    height:85px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:2px 10px;
    background:#ffffff;

    position:fixed;   /* ✅ FIXED HERE */
    top:0;
    left:0;
    z-index:999;

    box-shadow:0 2px 10px rgba(0,0,0,0.05);

}

/* LOGO */

.logo-area img{
    width:140px;
    height: 85px;
    padding: 5px 10px;
    margin-left: 10px;
}

/* MENU */

.menu{
    display:flex;
    align-items:center;
    gap:35px;
    list-style:none;
}
.menu li a{
    text-decoration:none;
    color:#001d5c;
    font-size:20px;
    font-weight:600;
    position:relative;
    padding-bottom:6px;
    transition:0.3s;
}

/* HOVER UNDERLINE */

.menu li a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:0%;
    height:2px;
    background:#003b9b;
    transition:0.3s ease;
}

.menu li a:hover::after{
    width:100%;
}

/* ACTIVE LINK */

.menu li a.active::after{
    width:100%;
}

.menu li a.active{
    color:#003b9b;
}

/* BUTTON */

.consult-btn{
    display:inline-block;
    background:#001d5c;
    color:#ffffff !important;
    padding:14px 28px;
    border-radius:10px;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    transition:0.3s;
}

.consult-btn:hover{
    background:#003b9b;
}

/* MOBILE ICON */

.menu-toggle{
    display:none;
    font-size:28px;
    color:#001d5c;
    cursor:pointer;
}

/* MOBILE BUTTON HIDE */

.mobile-btn{
    display:none;
}


@media(max-width:991px){

    .main-navbar{
        padding:18px 25px;
    }

    .menu-toggle{
        display:block;
    }

    .nav-btn-area{
        display:none;
    }

    .menu{
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:#ffffff;
        flex-direction:column;
        align-items:flex-start;
        gap:0;
        padding:0;
        max-height:0;
        overflow:hidden;
        transition:0.4s ease;
        box-shadow:0 10px 20px rgba(0,0,0,0.05);
    }

    .menu.active{
        max-height:500px;
        padding:20px 0;
    }

    .menu li{
        width:100%;
    }

    .menu li a{
        display:block;
        width:100%;
        padding:15px 25px;
        border-bottom:1px solid #f1f1f1;
        text-align:center;

    }

    .mobile-btn{
        display:block;
        width:100%;
        padding:15px 25px 5px;
    }

    .mobile-btn .consult-btn{
        width:100%;
        text-align:center;
    }

    .logo-area img{
        width:120px;
    }

}



@media (max-width:768px){

    .main-navbar{
        height:90px;
        padding:15px 25px;
    }

    .logo-area img{
        width:200px;   /* Logo bada */
    }

    .menu-toggle{
        font-size:32px; /* Menu icon bhi thoda bada */
    }

}

/* SMALL MOBILE */

@media(max-width:480px){

    .main-navbar{
        padding:15px 18px;
    }

    .logo-area img{
        width:120px;
    }

    .menu-toggle{
        font-size:24px;
    }

}


</style><?php /**PATH C:\xampp\htdocs\pf_esic\resources\views/frontend_layout/navbar.blade.php ENDPATH**/ ?>