Evaluate the ethical and legal responsibilities of civil engineers in ensuring public safety and welfare, particularly in the context of infrastructure design, construction, and maintenance.