As per Maternity Benefits Act, your maternity leave shall precede 8 weeks of child birth. That means if the expected date is 31st December, 2025, you can vail maternity leave from 1st November 2025 only. Before that your contract of employment will come to an end. In this scenario, you may not be getting the benefits offered. Along with this, I would like to highlight another possibility. Suppose that your maternity leave starts while your contract is live, ie, some time before the end of your contract tenure. Then even if though the contract of employment comes to an end during the leave period, you will be entitled to get the benefit of leave for six months. To explain further, suppose your FTC ends on 30th September. Your expected date of child birth is November 19th. As per law your maternity leave is for six months and out of this six months 8 weeks shall precede the date of delivery, and therefore, you start your leave on 29th Sept, the day just before the end of your contract. Then you will get the full 26 weeks leave. In your case, you cannot take leave before your contract period comes to an end because your expected date of birth is in December. Suppose the date is 15th December, then you can avail maternity leave from 20th October only. Before that your employment should have come to an end. If you have already started your maternity leave, then you will continue to get it even after the date of termination of contract of employment. This was confirmed by the Apex Court in a recent judgement. Please follow the article for details:
https://madhu-t-k.blogspot.com/2023/12/maternity-benefits-can-be-extended.html
It is unfortunate that you may lose the benefits. In this circumstance, it is good if you sign a mutual separation agreement and collect the amount offered. Alternatively, you can also consult a lawyer. But I believe that lawyers will always be positive and they will not say NO to any of their clients.