Sticky navigation progress bar glitch

Hey guys
I hope you are well

I was working on a sticky navigation progress bar; however, it’s glitching. It works pretty well in safari; however, the progress bar isn’t accurate(relative to the sections), and the nav link ( 3. Solution) is glitching when I open it in chrome.

Here’s the link: Webflow - Final Design Portfolio

Here’s a loom Video: Loom | Free Screen & Video Recording Software

You can see the progress bar isn’t accurate and for the solutions section it first goes to the end of that section and once I click on it again it gets corrected

Would you please help with this?