I am facing a challenge with my webpage layout. I have a fixed-top navbar at the top, followed by 3 sections. The second section contains nav-tabs. What I want is for the nav-tabs navbar to stick to the top of the page below the fixed-top navbar when the user scrolls into the second section. Once the user scrolls out of the second section, I want the nav-tabs navbar to disappear and only the fixed-top navbar should remain visible.
I have searched online for tutorials or guidance on how to achieve this in Bootstrap 5 using jQuery but have not found any relevant information. Does anyone have any ideas on how to implement this functionality?