Someone wanted to learn this too, so Grasp built them a personal learning path.
You can keep exploring this one or create a path like this one shaped around you.
Recommended resources
Module 3
Linear Diophantine Equations
Module 4
Modular Arithmetic: Structure and Operations
Module 5
Key Theorems of Modular Arithmetic
Module 6
Multiplicative Order and Primitive Roots
Module 7
Techniques for Non-Linear Diophantine Equations
Module 8
Advanced Topics for RMO/INMO
Module 9