To become a sport pilot, you need at least 20 hours of flight coaching
https://zlato.blob.core.windows.net/aviation/sport-pilot/sport-pilot-vs-private-pilot-how-long-does-it-take-to-get.html
To be a Activity pilot, you require no less than twenty hours of flight schooling, While personal pilots require at least 40 hrs of flight education