You’ve forgotten (?) a convenient fact here. Secretary Clinton won the popular vote by 2.8 million votes. The array of voters in the various states that “went red” in the Electoral College is the reason that Trump won and Clinton lost.
Also, there are always statistical margins of error in polling.