Text this: Heat transfer optimization in power-law ferrofluids under gravitational and microgravity conditions