I don't know how long you've had pets, especially cats, but I've had them for about 40 years now. And I can tell you, they are far from STUPID!
Cats and kittens are very far from being stupid. They are very smart in fact.
Some of the smartest cats I know are ferals. Cats are very smart and there is even a circus-like show that you can see how smart they are.
Yes. Cats and dogs are very intelligent creatures.