The 宁可…也… and 宁愿…也… structures are used in two ways:
1) in the meaning "would rather..., just to...".
In this case, the modal verb 要 is placed after 也.
Scheme
宁可/宁愿
A
也
要
B
Pay attention
These structures indicate that we have to resort to “A” to let “B” happen.
Examples
父母宁可自己不吃不穿,也要让孩子上最好的学校
Parents won’t buy food or clothes for themselves, just so they can send their child to a good school