Here's why:
* "Anywhere" is an adverb. It modifies the verb, indicating a place.
* "Almost" is an adverb too. It modifies the adverb "anywhere," indicating a degree or extent.
Think of it this way:
* "Almost anywhere" means "nearly in any place."
Let me know if you have any other grammar questions!