(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[93,301,385,571],{506:function(e,t,l){Promise.resolve().then(l.bind(l,1211)),Promise.resolve().then(l.t.bind(l,2972,23))},1211:function(e,t,l){"use strict";var a=l(7437),s=l(2265),o=l(7648),r=l(9376);t.default=()=>{let[e,t]=(0,s.useState)(!1),[l,n]=(0,s.useState)(!1),c=(0,r.usePathname)();return(0,s.useEffect)(()=>{let e=()=>{n(window.scrollY>10)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),(0,a.jsx)("nav",{className:"w-full py-4 px-4 md:px-8 transition-all duration-300 ".concat(l||"/"!==c?"bg-white shadow-md fixed top-0 z-50":"bg-transparent absolute top-0 left-0 right-0 z-50"),role:"navigation","aria-label":"Main navigation",children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto flex justify-between items-center",children:[(0,a.jsx)("div",{className:"flex items-center",children:(0,a.jsxs)(o.default,{href:"/",className:"text-2xl font-bold","aria-label":"PharmaPresence Home",children:[(0,a.jsx)("span",{className:"".concat("/"!==c||l?"text-blue-600":"text-blue-400"),children:"Pharma"}),(0,a.jsx)("span",{className:"".concat("/"!==c||l?"text-yellow-500":"text-yellow-400"),children:"Presence"})]})}),(0,a.jsx)("button",{className:"md:hidden p-2 rounded-md text-slate-700 hover:bg-slate-100 focus:outline-none focus:ring-2 focus:ring-blue-500",onClick:()=>t(!e),"aria-expanded":e,"aria-controls":"mobile-menu","aria-label":"Toggle menu",children:(0,a.jsx)("svg",{className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e?(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"}):(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})})}),(0,a.jsxs)("div",{className:"hidden md:flex space-x-8",children:[(0,a.jsx)(o.default,{href:"/",className:"text-xl ".concat("/"===c?"text-yellow-500":"/"!==c||l?"text-slate-700":"text-yellow-400"," hover:text-yellow-500 font-medium"),children:"Home"}),(0,a.jsx)(o.default,{href:"/plans",className:"text-xl ".concat("/plans"===c?"text-yellow-500":"/"!==c||l?"text-slate-700":"text-yellow-400"," hover:text-yellow-500 font-medium"),children:"Our Plans"}),(0,a.jsx)(o.default,{href:"/about",className:"text-xl ".concat("/about"===c?"text-yellow-500":"/"!==c||l?"text-slate-700":"text-yellow-400"," hover:text-yellow-500 font-medium"),children:"About Us"}),(0,a.jsx)(o.default,{href:"/our-work",className:"text-xl ".concat("/our-work"===c?"text-yellow-500":"/"!==c||l?"text-slate-700":"text-yellow-400"," hover:text-yellow-500 font-medium"),children:"Our Work"}),(0,a.jsx)(o.default,{href:"/our-digital-services",className:"text-xl ".concat("/our-digital-services"===c?"text-yellow-500":"/"!==c||l?"text-slate-700":"text-yellow-400"," hover:text-yellow-500 font-medium"),children:"Our Digital Services"}),(0,a.jsx)(o.default,{href:"/contact",className:"text-xl ".concat("/contact"===c?"text-yellow-500":"/"!==c||l?"text-slate-700":"text-yellow-400"," hover:text-yellow-500 font-medium"),children:"Contact"})]}),e&&(0,a.jsxs)("div",{id:"mobile-menu",className:"md:hidden mt-2 bg-white rounded-md shadow-lg py-2",children:[(0,a.jsx)(o.default,{href:"/",className:"block px-4 py-2 text-xl text-slate-700 hover:bg-slate-100",children:"Home"}),(0,a.jsx)(o.default,{href:"/plans",className:"block px-4 py-2 text-xl text-slate-700 hover:bg-slate-100",children:"Our Plans"}),(0,a.jsx)(o.default,{href:"/about",className:"block px-4 py-2 text-xl text-slate-700 hover:bg-slate-100",children:"About Us"}),(0,a.jsx)(o.default,{href:"/our-work",className:"block px-4 py-2 text-xl text-slate-700 hover:bg-slate-100",children:"Our Work"}),(0,a.jsx)(o.default,{href:"/our-digital-services",className:"block px-4 py-2 text-xl text-slate-700 hover:bg-slate-100",children:"Our Digital Services"}),(0,a.jsx)(o.default,{href:"/contact",className:"block px-4 py-2 text-xl text-slate-700 hover:bg-slate-100",children:"Contact"})]})]})})}}},function(e){e.O(0,[448,971,117,744],function(){return e(e.s=506)}),_N_E=e.O()}]);