You just need a Schengen uniform visa (C) for two or multiple entries.
Do I need to apply for Croatian visa if I have a valid Schengen visa?
If you hold a valid Schengen uniform visa (C) for two or multiple
entries, valid for all Schengen Area member states, whose period of
validity covers your stay in Croatia, and if you have not used all of
the days in the Schengen Area (i.e. you need to have at least one day
left of the approved number of days; and at least one entry in case of
a double-entry visa), you do not require an (additional) Croatian visa
for transit through or intended stays in the territory of the Republic
of Croatia not exceeding 90 days in any 180-day period.
Link