Which of the following best describes the behavior of a light ray as it travels through three parallel slabs having different indices of refraction?
A) The light ray bends towards the normal when entering a slab with a lower index of refraction.
B) The light ray bends away from the normal when entering a slab with a higher index of refraction.
C) The light ray changes direction at each interface according to Snell's law, depending on the indices of refraction of the slabs.
D) The light ray continues in a straight path, unaffected by the different indices of refraction of the slabs.