@php $isHome = request()->routeIs('home'); $serviceLinks = ($sections['features'] ?? null)?->items->filter(fn ($item) => filled($item->link)) ?? collect(); @endphp {{-- `scrolling-navbar` is the JS hook (main.js) that toggles `top-nav-collapse` on/off based on scroll position, for the transparent-over-hero effect — only relevant on the homepage. On other pages it's applied statically below instead, and must NOT carry `scrolling-navbar`, or that same JS scroll handler strips it back off (matching on class name, not page) the moment scrollY drops near the top. --}}