Correct the grammar issues in the following text
I had thought that it is difficult and takes many time to apply for a passport.
I had thought that it is difficult and takes much time to apply for a passport.