.krosfou-menu {
    position: relative;
    background: #02197A;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 15px 20px;
    background: transparent;
    color: white;
    align-items: center;
    gap: 10px;
    border: none;
    justify-content: flex-start;
    float: left;
    margin-top: -100px;
}


.main-menu {
    list-style: none;
    padding: 15px 0px;
    margin: 0;
    display: flex;
    align-items: center;
    max-width: 1280px;
    margin:auto;
}

.menu-item {
    position: relative;
    display: inline-block;
}

.menu-item.has-submenu:hover .submenu {
    display: block;
}

.menu-link, .submenu-link {
    display: block;
    padding: 5px 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 16px;
    
}
@media (min-width:769px)
{
    .menu-link
    {
    color: #fff !important;
    }
}


.menu-link:hover, .submenu-link:hover {
    color: #FF6F20 !important;
}

.menu-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.menu-arrow {
    margin-left: auto;
}

.menu-arrow:after {
    content: "▼";
    font-size: 12px;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    z-index: 1000;
    min-width: 500px;
}

.submenu-item {
    border-bottom: 1px solid #f0f0f0;
    list-style: none;
}

.submenu-item:last-child {
    border-bottom: none;
}

.submenu .menu-link, .submenu .submenu-link {
    padding: 12px 20px;
}

.close-menu {
    display: none;
}

.mobile-only {
    display: none;
}

/* Icon styles */
.icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: currentColor;
    margin: 4px 0;
    transition: 0.3s;
}

.fa {
    margin-right: 8px;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #c3c3c3c3;
    border-bottom: 1px solid #e0e0e0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: stretch;
        overflow-y: auto;
        z-index: 9999;
    }
    
    .main-menu.active {
        display: flex;
    }
    
    .mobile-only {
        display: block !important;
    }
    
    .close-menu {
        display: block;
    }
    
    .menu-item {
        display: block;
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .submenu {
        position: static;
        display: none;
        width: 100% !important;
        box-shadow: none;
        border: none;
        background: #f8f8f8;
    }
    
    .menu-item.has-submenu.active .submenu {
        display: block;
    }
    
    .menu-link,.submenu-link {
        padding: 18px 20px;
        border: none;
        position: relative;
    }
    
    .mobile-arrow {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        padding: 10px;
        background: none;
        border: none;
        font-size: 16px;
    }
    
    .mobile-arrow:after {
        content: "▼";
        transition: transform 0.3s ease;
    }
    
    .mobile-arrow.opened:after {
        transform: rotate(180deg);
    }
}
@media (max-width: 768px) {
    .main-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: stretch;
        overflow-y: auto;
        z-index: 9999;
    }

    .main-menu.active {
        display: flex;
        flex-direction: column;
    }

    .menu-item.has-submenu .submenu {
        display: none;
    }

    .menu-item.has-submenu.active .submenu {
        display: block;
    }
}
