customs and immigration – Sri Lanka – PCR 96 hours within first flight clarification

Sri Lanka COVID restrictions are as follows:

Passengers must have a printed negative COVID-19 PCR test taken at most 96 hours before departure from the first embarkation point. The test result must be in English.

My flight route is:

Nassau, Bahamas (NAS) to Panama (PTY) on 06/20 (Ticket #1)
Panama (PTY) to Istanbul (IST) on 06/21 (Part of Single Ticket #2)
Istanbul (IST) to Maldives (MAL) on 06/22 (Part of Single Ticket #2)
Maldives (MAL) to Sri Lanka (CMB) on 06/22 (Part of Single Ticket #2)

Does that mean I can take the RT PCR test anytime on 05/17 to 05/20? Most countries is PCR results must be within 96 hours of landing but according to Timtac, for Sri Lanka it’s 96 hours of the first flight (which I assume is going to be PTY to IST).