South Africa since then has struggled to address apartheid-era imbalances in decent housing , education , and health care .