Changing the direction of dropdown icon when I click on dropdown menu

Hi, I am trying to execute animation where I click on dropdown menu, the dropdown icon direction changes, It works when I click on dropdown link on the nav bar, but it doesn’t work on dropdown menu. (Which shows up after hovering at that link).

Can anyone help me with this issue?

Here is my public share link: Webflow - Sarthak's Dynamite Site