For nearly four centuries, a massive stone fortress stood just off India’s western coast and refused to bend to any empire ...