Anna, welcome to Scuba Board!
When I visited in May 2007, I didn't find any dive centers in the cities of Agadir, Casablanca and Tangier, only found one in Marina Smir, near the city of Tetouan. You can go from Tangier to Tetouan by bus (one hour), and then take a collective taxi to Marina...