Preheat your oven to 350°F (175°C). Grease your 9x13 inch baking pan and line it with parchment paper to ensure easy removal later.
In a large bowl, sift together the all-purpose flour, baking powder, baking soda, cinnamon, ginger, cardamom, cloves, and salt. Whisk to evenly distribute the spices throughout the flour mixture.
In another bowl, beat the granulated sugar, brown sugar, and eggs together until smooth and slightly fluffy. Gradually add the vegetable oil and vanilla extract, mixing until fully incorporated.
Slowly add the dry ingredients to the wet mixture, folding gently with a spatula. Be careful not to overmix; you want a tender crumb, not a dense cake.
Fold in the grated carrots, crushed walnuts, and raisins evenly throughout the batter. These add wonderful texture and bursts of flavor in every bite.
Pour the batter into your prepared pan and smooth the top. Bake for 45-50 minutes or until a toothpick inserted comes out clean. Let the cake cool completely on a wire rack before frosting.
Once cooled, generously spread your cream cheese frosting over the top. The tangy frosting cuts through the sweetness and spices, creating a perfect balance.