Magnetic properties of a tri-layer superlattice: Mean field study and Monte Carlo simulation