If using basmati rice, rinse it in several changes of water until the water runs clear, then let it soak for 20-30 minutes before draining completely.
Heat the ghee or oil in a heavy-bottomed saucepan over medium heat.
Once hot, add the green chilies, ginger, cumin seeds, mustard seeds, and crushed cardamom pods. Sizzle the spices until the mustard seeds begin to pop.
Carefully add the curry leaves and fry for a few seconds, then add the panir cubes.
Fry for 5–7 minutes, turning gently and frequently, until the cubes are golden brown on all sides.
Add the cubed zucchini and stir-fry for another 1–2 minutes.
Stir in the drained rice, turmeric, salt, water, fresh herbs, and tomato pieces. Increase the heat to high and bring the mixture to a rolling boil.
Immediately reduce the heat to the lowest possible setting, cover the pan with a tight-fitting lid, and simmer gently.
Cook for 20–25 minutes for white rice or 30–40 minutes for brown rice, until all the water is absorbed.
Remove the pan from the heat and let it stand, still covered, for at least 5 minutes. This allows the rice grains to firm up.
Uncover the pilaf and gently fluff the rice with a fork before serving hot.
Don't skip the final 5-minute resting period for the rice. This step is crucial for letting the grains firm up and become perfectly fluffy instead of mushy.