After 8...d6 that looks exactly like a Najdorf. I think 10...Nd7 was a mistake, usually black plays his queen to c7 or b6 in that situation.
17...Nxc5 might have been good, after 18.Qxc5 Bb7 you're threatening to pin his queen, and I think you can at the very least win the knight on d6 to equalize and get that pesky knight out of the way.
I think 25...f3 might have been better for you, that pawn on h2 isn't threatening anything and you need to counterattack.
Any feedback is welcome! thank you
!!!