Stuck at detecting Phone

As u can see it is stuck there usb debugging is enable and all other permission granted
btw My device is Realme 7 pro with android 11

Only way to go my friend.
Yours is one of many devices, mine was the same.
Follow this guide it worked for me and many others.

Try this method for realme devices