Describe the importance of seismic design in civil engineering. How do engineers ensure the resilience of structures in earthquake-prone areas?