I've had a similar problem just yesterday. Basically my camera was not able to zoom in or pan at a certain point. There was a basic fix I used. (this was done in Blender 3.0.1)

On the top left of your screen, next to where you switch between object mode and edit mode there is a tab that says "View". Click on it then go down to "Align View" and hover over it. More options will show up and then select either "Center Cursor and Frame All" (keyboard shortcut is Shift C) or "Center View to Cursor"

That fixed it for me .-.