/* FlowingMenu.css */
.flowing-menu-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #f5f5f5;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 20px;
}

.flowing-menu-scroll-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    /* Horizontal layout for columns */
    align-items: flex-start;
    justify-content: flex-start;
    height: 100%;
    width: 100%;
    overflow: auto;
    /* Enable both X and Y scroll */
    padding: 40px;
    gap: 60px;
    /* Space between columns */

    /* Custom Scrollbar Styling for Firefox */
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}

/* Custom Scrollbar Styling for Webkit (Chrome, Safari, Edge) */
.flowing-menu-scroll-wrapper::-webkit-scrollbar {
    width: 8px;
    /* Vertical scrollbar width */
    height: 8px;
    /* Horizontal scrollbar height */
    display: block;
}

.flowing-menu-scroll-wrapper::-webkit-scrollbar-track {
    background: transparent;
    margin: 10px;
}

.flowing-menu-scroll-wrapper::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    border: 2px solid #f5f5f5;
}

.flowing-menu-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.flowing-menu-scroll-wrapper::-webkit-scrollbar-corner {
    background: transparent;
}

.flowing-menu-column {
    display: flex;
    flex-direction: column;
    min-width: 200px;
    flex-shrink: 0;
}

.flowing-menu-header {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 10px;
}

.flowing-menu-list-column {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.flowing-menu-item {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    line-height: 1.4;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
    color: #333;
    text-align: left;
    padding: 6px 16px;
    margin-left: -16px;
    border-radius: 8px;
    display: inline-block;
    width: fit-content;
    background: transparent;
}

.flowing-menu-item:hover {
    opacity: 1;
    background: #e0e0e0;
    transform: translateX(8px);
    color: #000;
}

.flowing-menu-item.active {
    opacity: 1 !important;
    background: #e0e0e0 !important;
    color: #000 !important;
    transform: translateX(10px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.flowing-menu-background {
    display: none;
}

.flowing-image {
    display: none;
}

.flowing-image.active {
    display: none;
}

@media (max-width: 768px) {
    .flowing-menu-column {
        min-width: 160px;
    }

    .flowing-menu-header {
        font-size: 1.2rem;
    }

    .flowing-menu-item {
        font-size: 1rem;
    }
}