Part of the blue turn in Virginia was the huge expansion of federal government. I believe the other half was the infusion of leftists board members and professors at the state universities.
Over the last thirty years there has been an increasing flood of people from Maryland moving into Northern Virginia to take advantage of lower taxes, less regulation, and lower home prices. They flee to leave those problems behind and then methodicalcally elect officials who promise to replicate the very conditions they fled from.