Literacy and health care improved dramatically at first but mismanagement and the war then plunged the country into years of economic chaos.