Antenatal care ( ANC ) reduces maternal and perinatal morbidity and mortality directly through the detection and treatment of pregnancy-related illnesses , and indirectly through the detection of women at increased risk of delivery complications .