Foundations are the unseen but essential base of any structure,…