AV 9521 then JA 5185 at Bogotá
Barranquilla → Bogota → Santa Marta
Timetable, Bogota time
08:40AV 9521 from Barranquilla at the gate
06:50JA 5185 to Santa Marta leaves the gate
22 h 10 apart on the timetable, overnight
JA 5185 leaves 22 h 10 after AV 9521 arrives on the timetable: more than half a day, so not a connection we count.