it crossed my mind.

listen to the pronunciation of it crossed my mind.
الإنجليزية - الإنجليزية
it occurred to me, I thought, the idea struck me