Wrongful Employment termination

Till last week I was working with a private Company in their IT division as Architect(Not Managerial grade), there is a team of people who report to me and one of the female subordinate had alleged false sexual allegation against me 2 weeks back and after submitting my report against allegations I was terminated by the Company citing(exact words being) - During the investigation, the Company has discovered that you disregarded the safety of your subordinate. You did not avoid the appearance of impropriety, and as such showed lack of judgment as a line manager. The allegation was put on a day when we were in US in a hotel's social evening hours where there was another male subordinate who was there with us throughout the evening and for a brief period during the evening he had moved out to make a call(which is where the allegation is put) and had rejoined us till we all had amicably dispersed. The female subordinate had been drinking throughout the evening. The Company when terminating has offered me 3 months of pay and has given me a clean certificate of employment. I am very confused with all this and trying to find if the Company is within its rights to terminate me or this can be challenged, definitely not understanding the Company’s use of word ‘safety’ in termination letter. Also, if challenged then what should I expect towards compensation and do such cases drag for a long time, is it worth to fight? Please advice.