Harnessing bacterial endophytes for environmental resilience and agricultural sustainability.