Getting air in the lines somehow

My only thoughts are if it brakes normal under normal driving but is spongey under hard braking. I have had this previously is the master cylinder is too small of a bore, Under hard braking you push past the point where is effective. If there are no leaks then air can not get into the system.
Good Luck, trouble shooting brakes can be difficult sometimes.