Dear Student
Gases possess the property of diffusion which is independent of the force of gravitation.
Though carbon dioxide is heavier than oxygen and nitrogen, but it has a tendency to mix (diffusion) with other gases of air and remain almost uniformly distributed in the atmosphere.
So the carbon dioxide could not be able to be in the lower layer of atmosphere.
Regards