Harnessing endophytic fungi for sustainable agriculture: ecological roles, mechanisms, and future prospects | Synapse