25Khz PWM with digitalWrite...

Hi,

The fan motor probably is not highly sensitive.

Maybe try the available 31372.55 Hz PWM

See: Arduino-PWM-Frequency - ArduinoInfo for all the possible settings..