Participants planning pregnancy or in the first half of pregnancy were parallel-group randomized into an intervention arm which received lifestyle counseling and a control arm which received usual care given at their local antenatal clinics .