.container{
    max-width: 1300px;
}

.container-xxl{
    max-width: 1400px;
    display: flex;
    align-items: center;
    position: relative;
}

.button {
    display: flex;
    text-decoration: none;
    background: #8CD652;
    color: #000;
    align-items: center;
    justify-content: center;
    padding: 1rem 3rem;
    border-radius: .5rem;
    transition: opacity .4s;


    &:hover {
        color: #000;
        opacity: .75;
    }

    &.secondary{
        background-color: #F4F4F4;
    }
}

/* Header Styles */
.site-header {
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 9999;
}

.site-header .top, .site-header .bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
}

.site-header .top .logo {
    width: auto;
    height: 70px;
}

.site-header .top .hamburger {
    width: 30px;
    height: 40px;
}

.site-header .top .hamburger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-header .top .menu-container {
    margin-left: auto;
    margin-right: 2rem;
}

.site-header .top .menu {
    gap: 1rem;
}

.site-header .top .menu a {
    color: #000;
    font-size: 16px;
    font-weight: 600;
    transition: font-size .2s ease-in-out;
}

.site-header .top .menu .button {
    padding: 1rem;
}

.site-header .top .menu .button a {
    font-size: 13px;
}

.site-header .top .menu .button.primary {
    background-color: #8CD652;
}

.site-header .top .menu .button.primary a {
    color: #000;
}

.site-header .top .menu .button.dark {
    background-color: #000;
}

.site-header .top .menu .button.dark a {
    color: #fff;
}

.site-header .top .menu .button.mobile {
    display: none;
}

.site-header .top .menu .button.desktop {
    display: block;
}

.site-header .top .header-top-menu-buttons {
    gap: 1rem;
}

.site-header .bottom {
    background-color: #000;
}

.site-header .bottom .menu-container {
    flex: 1 1 auto;
}

.site-header .bottom .menu li {
    max-width: fit-content;
}

.site-header .bottom .menu a {
    color: #fff;
    font-size: 13px;
}

.site-header .menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-header .menu a {
    text-decoration: none;
}

#header-upper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    margin: 0;
    list-style: none;
}

#header-upper a {
    font-size: 12.8px;
    font-weight: 600;
}

#header-upper .menu-item-has-children {
    position: relative;
}

#header-upper .menu-item-has-children:hover .sub-menu {
    display: block;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

#header-upper .menu-item-has-children > a {
    position: relative;
    z-index: 2;
    padding: 0.75rem 1rem;
    transition: background-color 0.2s ease;
    text-decoration: none;
}

#header-upper .menu-item-has-children > a:after {
    content: '\f078';
    font-family: "Font Awesome 6 Free", sans-serif;
    font-weight: 900;
    font-size: 0.8em;
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

#header-upper .menu-item-has-children:hover > a {
    background-color: #F4F4F4;
}

#header-upper .menu-item-has-children:hover > a:after {
    transform: rotate(180deg);
}

#header-upper .menu-item-has-children .sub-menu {
    display: none;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #F4F4F4;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 1000;
    transition: all 0.3s ease;
    transform: translateY(-10px);
    list-style: none;
    padding: 0;
    margin: 0;
}

#header-upper .menu-item-has-children .sub-menu .menu-item {
    margin: 0;
}

#header-upper .menu-item-has-children .sub-menu .menu-item a {
    color: #000;
    padding: 0.75rem 1.25rem;
    display: block;
    white-space: nowrap;
    transition: all 0.2s ease;
    border-bottom: none;
    text-decoration: none;
}

#header-upper .menu-item-has-children .sub-menu .menu-item a:hover {
    background: #F4F4F4;
    padding-left: 1.5rem;
}

#header-upper .menu-item-has-children .sub-menu .menu-item + .menu-item {
    border-top: 1px solid #F4F4F4;
}

#header-upper .menu-item:not(.menu-item-has-children) a {
    padding: 0.75rem 1rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

#header-upper .menu-item:not(.menu-item-has-children) a:hover {
    background-color: #F4F4F4;
}

.mobile-menu {
    width: 100%;
    background-color: #fff;
    position: fixed;
    pointer-events: none;
    opacity: 0;
    transition: all .2s ease-in-out;
    transform: translate(0, 1px);
    z-index: 999;
}

.mobile-menu.open {
    top: 76px;
    opacity: 1;
    pointer-events: all;
    left: 0;
}

.mobile-menu .menu {
    list-style: none;
    display: block;
    padding: 0;
    margin: 0;
}

.mobile-menu .menu .menu-item {
    position: relative;
    padding: 0;
    margin: 0;
}

.mobile-menu .menu .menu-item a {
    text-decoration: none;
    font-size: 16px;
    color: #000;
    font-weight: 400;
    border-bottom: solid 1px #F4F4F4;
    display: block;
    padding: 1rem;
}

.mobile-menu .menu .menu-item.submenu-open > a {
    display: none !important;
}

.mobile-menu .menu .menu-item.submenu-open:after {
    display: none;
}

.mobile-menu .menu .menu-item .sub-menu {
    display: none;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu .menu .menu-item .sub-menu li a {
    font-size: 13px;
    border-bottom: 0;
    padding: .5rem 1rem;
}

.mobile-menu .menu .menu-item .sub-menu .submenu-title .back-link {
    font-size: 16px;
    color: #000;
    font-weight: 400;
    border-bottom: solid 1px #F4F4F4;
    padding: 1rem;
}

.mobile-menu .menu .menu-item.menu-item-has-children:after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-size: 1.2rem;
    font-weight: 900;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.mobile-menu .menu .menu-item.menu-item-has-children > a {
    cursor: pointer;
}

.mobile-menu .mobile-button a {
    text-align: center;
    margin: 1rem;
}

.mobile-menu .mobile-button.primary a{
    background-color: #8CD652;
    color: #000;
    display: flex;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    border-radius: .5rem;
    transition: opacity .4s;
}

.desktop-dropdown {
    position: absolute;
    width: 400px;
    background: #fff;
    flex-wrap: wrap;
    display: flex;
    left: 1rem;
    top: 6rem;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: .5rem;
    z-index: 9999;
    opacity: 0;
    transition: all .2s ease-in-out;
    pointer-events: none;
}

.desktop-dropdown.open {
    opacity: 1;
    pointer-events: all;
}

.desktop-dropdown .menu {
    flex-wrap: wrap;
    gap: 0 !important;
}

.desktop-dropdown .menu li {
    flex: 0 0 100%;
    padding: 0;
    margin: 0;
}

.desktop-dropdown .menu li a {
    font-size: 14px !important;
    border-bottom: solid 1px #F4F4F4;
    display: block;
    padding: 1rem;
    transition: all .2s ease-in-out;
}

.desktop-dropdown .menu li a:hover {
    background-color: #F4F4F4;
}

.desktop-dropdown .menu li:last-of-type a {
    border-bottom: 0;
}

@media only screen and (max-width: 1300px) {
    .site-header .top .hamburger {
        width: 30px;
        height: 40px;
    }
    .site-header .top .logo {
        width: auto;
        height: 55px;
    }
    .site-header .top .menu a {
        font-size: 13px;
    }
    .site-header .top .menu .button a {
        font-size: 13px;
    }
}

@media only screen and (max-width: 1100px) {
    #header-upper {
        display: none;
    }
    .button.desktop {
        display: none;
    }
    .button.mobile {
        display: block;
    }
}

@media only screen and (max-width: 576px) {
    .site-header{
        overflow: hidden;
    }
    .site-header .top {
        border-bottom: solid 1px #F4F4F4;
    }
    .site-header .top .container-xxl {
        padding-top: 0;
        padding-bottom: 0;
    }
    .site-header .top .hamburger {
        width: 24px;
        height: 30px;
    }
    .site-header .top .logo-container .logo {
        height: 50px;
    }
    .site-header .top .menu.header-top-menu-buttons {
        margin-left: 0;
    }
    .site-header .top .menu.header-top-menu-buttons .button {
        text-align: center;
        padding: .5rem;
    }
    .site-header .top .menu.header-top-menu-buttons .button a {
        font-size: 10px;
    }
    .site-header .top .menu.header-top-menu-buttons .button.desktop {
        display: none;
    }
    .site-header .top .menu.header-top-menu-buttons .button.mobile {
        display: block;
    }
}