1. Did you work in India or USA?.
2. Assuming that you had worked in India, then you are entitled for gratuity.
3. Since you had availed 5 months' maternity leave, 5 months' LWP and 5 months' LWP for Childcare with specific sanction from the competent authority, i.e., from Reporting Manager and HR, the period of leave has to be considered as continuous service and not as break-in service.
4. In view of all these sanctioned leave from the Competent authority, your absence will have to be considered as continuous service and cannot be considered as break-in service. To qualify for break-in service, an employee should have absented for duty without obtaining proper sanction for availing leave.
5. To conclude, you are entitled for gratuity and if you are denied gratuity by your employer, send a legal notice and wait for positive response from your ex-employer. If there's no positive response, file a case against your ex-employer with the jurisdictional Labour Commissioner/Labour Court.