How Smart Engineering Protects Communities from Floods