A chef is preparing a special dessert that requires two types of ingredients: flour and sugar. The recipe states that for every $\frac{3}{4}$ cup of flour, she needs $\frac{1}{2}$ cup of sugar. If the chef has a total of 4 cups of flour, how much sugar will she need in total to maintain the same ratio?