Lying at the heart of central Europe, Hungary is landlocked and has borders with seven states. Historically, Hungary has been a cosmopolitan cultural center, and during its years of market socialism was more prosperous than the other Eastern Bloc countries. Hungary's economic and political reforms have brought it closer to the EU and NATO membership. It now receives the lion's share of overseas investment in the former COMECON states. Hungarian foreign policy is particularly sensitive about the treatment of Hungarian minorities in neighboring Romanian Transylvania, Serbian Vojvodina, and Slovakia.