nav.mainnav>.container {
    display: flex;
}

.main-nav {
    width: 100%;
    background: #07074E;
    position: relative;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
}

.nav-list>li {
    position: static;
}

.nav-list>li>a,
.nav-list>li>button {
    font-size: inherit;
    display: flex;
    padding: 20px 25px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    align-items: center;
}

.nav-list>li>a:hover,
.nav-list>li>button:hover,
.nav-list>li.active>a {
    color: #ED2E53 !important;
    background: rgba(255, 255, 255, 0.1);
}

.submenu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleY(0);
    transform-origin: top;
    width: 100vw;
    background: #07074E;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    visibility: hidden;
    z-index: 100;
    transition: transform 0.4s ease, visibility 0s linear 0.4s;
}

.submenu-content {
    transform: translateY(40px);
    opacity: 0;
}

.submenu .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 15px 30px;
    height: 100%;
}

.submenu-intro h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 15px;
}

.submenu-intro p {
    color: #fff;
    margin-bottom: 20px;
}

.submenu-intro img {
    max-width: 100%;
    height: auto;
}

.submenu-section.b-bottom {
    border-bottom: 1px solid #393971;
    padding-bottom: 20px;
}

.submenu-section h3,
.submenu-section h3 a {
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.multi-column-list {
    list-style: none;
    padding: 0;
    margin: 0;
    column-count: 4;
    column-gap: 2em;
}

.multi-column-list li {
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
    padding: 4px 0;
}

.multi-column-list li a {
    color: #fff;
    text-decoration: none;
    padding: 8px 0;
    display: block;
    transition: color 0.1s ease;
}

.multi-column-list li a:hover {
    color: #ED2E53;
    text-decoration: underline;
}

.arrow {
    display: inline-block;
    margin-left: 5px;
    width: 6px;
    height: 6px;
    border: 2px solid currentColor;
    border-left: none;
    border-top: none;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

[aria-expanded="true"] .arrow {
    transform: rotate(225deg);
}

[aria-expanded="true"]+.submenu {
    transform: translateX(-50%) scaleY(1);
    visibility: visible;
    transition: transform 0.4s ease, visibility 0s;
}

[aria-expanded="true"]+.submenu .submenu-content {
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.3s ease 0.3s, opacity 0.3s ease 0.3s;
}

.menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #07074E;
    transition: all 0.3s ease;
}

.menu-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.mobile-submenu-toggle {
    display: none;
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-submenu-toggle:hover {
    color: #ED2E53;
}

.mobile-submenu-toggle .arrow {
    float: right;
    transition: transform 0.3s ease;
}

.mobile-submenu-toggle[aria-expanded="true"] .arrow {
    transform: rotate(225deg);
}

.submenu-section,
.submenu-intro {
    transition: max-height 0.4s ease;
}

.nav-list>li {
    transition: max-height 0.4s ease;
}

@media (min-width: 1024px) {
    .arrow {
        display: none;
    }
    .nav-list {
        align-items: baseline;
    }
    [aria-expanded="true"]+.submenu .submenu-content {
        height: calc(90vh - 59px);
        max-height: calc(90vh - 59px);
        overflow-y: auto;
    }
    .navbar-collapse {
        width: 100%;
    }
    .submenu-section,
    .submenu-intro {
        max-height: 100% !important;
        padding: 15px 20px 30px;
    }
    .submenu-section {
        margin-bottom: 30px;
        padding: 0 20px;
    }
}

@media (max-width: 1023px) {
    .arrow {
        width: 10px;
        height: 10px;
    }
    .nav-list>li>a,
    .nav-list>li>button {
        color: #ffffff;
    }
    .mobile-submenu-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0;
    }
    .submenu-section h3 {
        display: none;
    }
    .submenu-intro {
        padding: 10px 15px;
    }
    .submenu-intro h3 {
        font-size: 20px;
        line-height: 33px;
    }
    .mobile-submenu-toggle+ul {
        display: none;
        padding: 0 0px;
    }
    .mobile-submenu-toggle[aria-expanded="true"]+ul {
        display: block;
    }
    .submenu-section,
    .submenu-intro {
        transition: max-height 0.4s ease;
        overflow: hidden;
    }
    .nav-list>li {
        transition: max-height 0.3s ease-in-out;
        overflow: hidden;
        max-height: 56px;
    }
    .nav-list>li[aria-expanded="true"] {
        max-height: none;
    }
    .mobile-submenu-toggle[aria-expanded="true"]+p,
    .mobile-submenu-toggle[aria-expanded="true"]+img {
        display: block;
    }
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        top: 14px;
        right: 30px;
        z-index: 999;
        cursor: pointer;
        padding: 10px;
        background: none;
        border: none;
        width: 40px;
        height: 40px;
    }
    .menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: #07074E;
        transition: all 0.3s ease;
        transform-origin: center;
    }
    .menu-toggle span:nth-child(1) {
        transform: translateY(0) rotate(0);
    }
    .menu-toggle span:nth-child(2) {
        opacity: 1;
    }
    .menu-toggle span:nth-child(3) {
        transform: translateY(0) rotate(0);
    }
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.2s ease;
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transition: opacity 0.2s ease;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.2s ease;
    }
    .menu-toggle.active::before,
    .menu-toggle.active::after {
        content: '';
        position: absolute;
        width: 25px;
        height: 3px;
        background: #07074E;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(0);
        opacity: 0;
        transition: opacity 0.3s ease 0.3s, transform 0.3s ease 0.3s;
    }
    .menu-toggle.active::before {
        transform: translate(-50%, -50%) rotate(45deg);
        opacity: 1;
    }
    .menu-toggle.active::after {
        transform: translate(-50%, -50%) rotate(-45deg);
        opacity: 1;
    }
    .menu-toggle.active span {
        display: none;
    }
    .navbar-collapse .menu-close {
        display: flex;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 1001;
    }
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        width: 100%;
        background: #07074E;
        transition: left 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        padding: 80px 20px 20px;
    }
    .navbar-collapse.show {
        left: 0;
    }
    .nav-list {
        flex-direction: column;
        padding: 0;
    }
    .nav-list>li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .nav-list>li[aria-expanded="true"] {
        max-height: 500px;
    }
    .nav-list>li>a,
    .nav-list>li>button {
        padding: 15px;
        font-size: 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .submenu {
        position: relative;
        width: 100%;
        transform: scaleY(0);
        box-shadow: none;
        min-height: auto;
        padding: 0;
    }
    .multi-column-list {
        column-count: 1;
    }
    .submenu .container {
        padding: 0;
    }
    .submenu-section {
        padding: 10px 15px;
    }
    .submenu-section.b-bottom {
        border-bottom-color: transparent;
    }
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    body.menu-open {
        overflow: hidden;
    }
    nav.navbar.bootsnav .navbar-nav>li>a {
        color: #fff !important;
        border: none;
    }
    .multi-column-list {
        margin-top: 15px;
    }
    .multi-column-list li {
        padding: 6px 0;
    }
    .multi-column-list li a {
        font-size: 14px;
        padding: 0;
        color: #e7e7e7;
        text-decoration: underline;
    }
}

@media (min-width: 1400px) {
    .multi-column-list {
        column-count: 5;
    }
}

@media (max-width: 1200px) {
    .multi-column-list {
        column-count: 3;
    }
}

@media (max-width: 992px) {
    .multi-column-list {
        column-count: 2;
    }
}

@media (max-width: 767px) {
    .multi-column-list {
        column-count: 1;
    }
    .submenu-section,
    .submenu-intro {
        padding: 15px;
        margin: 0;
    }
    .submenu-section.b-bottom {
        padding-bottom: 15px;
    }
}