Explore the principles of earthquake-resistant design and their applications in designing structures to withstand seismic forces. Discuss the factors influencing the seismic performance of buildings and infrastructure, and propose measures for improving earthquake resilience.