Although the train was delayed, we managed to make it on time.

Literal

Train [subject-が] late [even-though-けれども], somehow in-time made-it.

The concessive けれども ('although, even though') links the late train to the successful arrival. なんとか ('somehow, in some way') modifies the outcome with a 'barely, through effort' flavor. 間に合った ('made it in time') is a set idiom literally 'meet the gap' — the standard way to talk about catching a deadline or scheduled event. A clean narrative structure.