I don't remember much of anything about this game, but looking at the walkthrough, it looks like you might be on a long timer as well as shorter ones -- and the long timer may have run out.
You might want to try to replay from the beginning of the timed sequences (possibly from the beginning of Level 3) and get through everything as quickly as possible.