After sexual intercourse I made ghusl the the way of sunnah and made sure it was valid. I put water over my hair, body, private parts (which had semen on them) and made sure I was wet all over my body. I only used water (no soap). After finishing my ghusl, I put on some clothes and then went to pray salah.
After I finished with my salah I noticed that my penis was sticky. It turns out that semen and water react to a sticky substance (I did research on this). It is almost like glue and is very, very hard to wash of.
After that I quickly went and made ghusl again, but the substance did not come of with only water. After putting some soap more than once it finally came of, and after my penis dried it was not sticky.
Since I did ghusl with water and fulfilled all the fards (I put water all over my body, washed my private parts, etc.) was it valid?