I love mysteries, so I’ve read a lot of like James Patterson and Janet Evanovich, and the like, starting from when I was pretty young.
Is Prey the one with the nanobots? I think I read it around middle school as well, along with Congo.
Have you read any James Rollins or Douglas Preston and Lincoln Child? Some of their stuff might be up your alley.