.header-container {
    transition: all 0.4s ease-in-out, height 0.4s ease-in-out, background-color 0.4s ease-in-out, border-bottom-width 0.4s ease-in-out, border-bottom-color 0.4s ease-in-out, margin 0s !important;
    width: 100% !important;
    max-width: 100%;
    z-index: 9999;
    box-sizing: border-box;
    position: relative;

    .scrolled {
        background-color: var(--siteprimary) !important;
    }

    .header-section {
        background-color: transparent;
        box-sizing: border-box;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 8px;
        padding-bottom: 8px;
        position: fixed;



        .header-logo {
            box-sizing: border-box;
            padding: 0px;
            margin: auto;

            img {
                width: 80%;
            }
        }

        .menu {
            display: none;
        }

        #mobile-menu {
            display: block;
        }

        .menu-toggle {
            display: none !important;
            flex-direction: column;
            cursor: pointer;
            box-sizing: border-box !important;

            .bar {
                width: 25px;
                height: 3px;
                background-color: white !important;
                margin: 3px 0;
                display: block;
            }
        }

        .header-nav {
            box-sizing: border-box;
            padding: 0px;
            display: flex;
            align-items: center;
            justify-content: flex-end;

            ul {
                display: flex;
                margin-left: auto;
                margin-right: auto;
                justify-content: center;
                flex-wrap: wrap;
                margin-bottom: 0px !important;
                padding: 0px !important;
                margin-left: 20px;
                margin-bottom: 20px;

                li {
                    list-style: none;
                    padding-left: 10px;
                    padding-right: 10px;
                    padding-top: 12px;
                    padding-bottom: 12px;

                    a {
                        font-family: "Mulish", Sans-serif;
                        font-size: 13px;
                        font-weight: 700;
                        letter-spacing: 0px;
                        color: var(--white);

                        &:hover {
                            text-decoration: none !important;
                        }
                    }

                    &:hover {
                        border-bottom: 3px solid #3f444b;
                        z-index: 2;
                    }
                }
            }
        }
    }

}

@media (min-width: 280px) and (max-width: 1149.5px) {
    .header-section {
        padding-top: 8px !important;

        .container-fluid {
            padding: 0px !important;
        }
    }

    .header-logo {
        max-width: 100% !important;
        flex: 0 0 100% !important;
        display: flex;
        align-items: center;
        justify-content: space-between;

        img {
            width: 85% !important;
        }
    }

    .header-nav {
        display: none !important;
    }
    
    #mobile-menu {
        display: block !important;
    }

    .menu-toggle {
        display: block !important;
        padding: 8px;
    }


    .menu {
        display: block;
        /* Initially hidden */
        position: absolute;
        top: 35px;
        // right: 10px;
        background-color: var(--white);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        width: 100%;
        border-radius: 5px;
    }

    .menu ul {
        list-style: none;
        padding: 10px !important;
    }

    .menu li:last-child {
        border-bottom: none;
    }

    .menu a {
        display: block;
        color: #5e5c5c;
        text-decoration: none;
        padding: 3px;
        cursor: pointer;
    }

    .menu a:hover {
        background-color: var(--siteprimary);
        color: var(--white);
    }

    /* Show menu when active */
    .menu.active {
        display: block !important;
    }

}