Foreign investors remain attracted by the country 's political stability and relatively high education levels , as well as the fiscal incentives offered in the free-trade zones ; and Costa Rica has attracted one of the highest levels of foreign direct investment per capita in Latin America .