Problem With SD card Pins on mega 2560R3

SD card module needs to connect to MISO, MOSI, SCK for SPI interaction with a slave select pin.

If the HC-05 is not using SPI, then move those signals someplace else.

If the HC-05 is using SPI, then it will connect to MISO, MOSI, and SCK in parallel, and both will need their own unique slave select pin.