Text this: Enhanced energy management in smart microgrids using hybrid optimization and demand response strategies