Some WordPress themes come with the capability to create a mega menu. If you're not using a theme with this capability, there are some WordPress plugins that will do the same. And if you're not using WordPress, you can download or customize a script if you are not comfortable designing and coding it from scratch.