@UmarMakhzumi.
Dear Engr i would to disagree regarding your statement of design of Pile cap as a typical Slab.
Normally pile cap behaves like a Deep Beam action, normal bending/flexural theory is not applicable to Pile Cap design. ACI and AASHTO recommends to use STRUT n Tie model for Pile Cap.
However for ease of analysis and design, due to absence of expertise on STM, structural engineers design it the other way.
The behaviour of Pile cap supported on Pile follows Bolt Analogy.
Furthermore, for modelling in FEM softwares, In Usual analysis of raft slab, you put soil springs under the raft, however for pile cap we ignore effect of soil and pile cap is supported only on piles.
Thank You