validations and integrated CSS for contact-details page and thank-you page