Hardtail mountain bikes are excellent for maneuvering rough terrain.
You’ll need to master your body positioning and readjust your ride style.
Instead of relying on suspension, use strong tires and your legs to absorb shocks (Source).