Hey @nazmul,
Exemption u/s 54EC is allowed only in case of capital gains from immovable property (land or building).
In your case, you can claim the indexation benefit on the capital gains from debt mutual funds.
Moreover, you can claim an exemption u/s 54F if you reinvest the gains into the purchase of a residential house property.
Hope this helps!