Text this: Optimizing pigment production from agricultural waste using metaheuristic-based algorithms