A powerful earthquake devastated villages in the Hindu Kush mountains of northern Afghanistan, where Afghan officials today estimated that 1,800 people had died and thousands more were injured in a region already afflicted by drought, war and food shortages.