/* edf0f7
e5e4e2
516e8f
917f9c
23252f

 */

** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #edf0f7; /* Light background */
}

.neo-header {
    position: fixed;
    top: 20px;
    width: 90%;
    max-width: 1300px;
    left: 50%;
    transform: translateX(-50%);
    background: #e5e4e2; /* Base color */
    border-radius: 20px;
    padding: 15px 20px;
    box-shadow: 10px 10px 20px rgba(81, 110, 143, 0.2), /* #516e8f shadow */
                -10px -10px 20px rgba(255, 255, 255, 0.7);
    z-index: 1000;
    transition: all 0.3s ease;
}

.neo-header.scrolled {
    top: 10px;
    box-shadow: 5px 5px 15px rgba(81, 110, 143, 0.3), 
                -5px -5px 15px rgba(255, 255, 255, 0.8);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.neo-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.neo-logo:hover {
    transform: scale(1.05);
}

.logo-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #917f9c, #516e8f);
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: inset 2px 2px 5px rgba(81, 110, 143, 0.5),
                inset -2px -2px 5px rgba(145, 127, 156, 0.5);
}

.logo-text {
    color: #23252f; /* Dark text */
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.neo-nav {
    display: flex;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-item {
    margin: 0 10px;
    position: relative;
}

.neo-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #23252f;
    text-decoration: none;
    font-size: 16px;
    background: #e5e4e2;
    border-radius: 15px;
    /* box-shadow: 5px 5px 10px rgba(81, 110, 143, 0.2),
                -5px -5px 10px rgba(255, 255, 255, 0.7); */
    transition: all 0.3s ease;
}

.neo-link:hover, .neo-link.active {
    box-shadow: inset 3px 3px 6px rgba(81, 110, 143, 0.3),
                inset -3px -3px 6px rgba(255, 255, 255, 0.8);
    color: #917f9c; /* Accent color */
}

.dropdown-icon {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.neo-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.neo-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #e5e4e2;
    border-radius: 15px;
    min-width: 250px;
    padding: 10px 0;
    box-shadow: 5px 5px 15px rgba(81, 110, 143, 0.2),
                -5px -5px 15px rgba(255, 255, 255, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.neo-dropdown:hover .neo-dropdown-menu {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 5px);
}

.neo-dropdown-item {
    display: block;
    padding: 10px 20px;
    color: #23252f;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.neo-dropdown-item:hover {
    background: linear-gradient(135deg, #917f9c, #516e8f);
    color: white;
    border-radius: 10px;
    margin: 0 10px;
}

.neo-toggle {
    display: none;
    background: #e5e4e2;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 5px 5px 10px rgba(81, 110, 143, 0.2),
                -5px -5px 10px rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.neo-toggle:hover {
    box-shadow: inset 3px 3px 6px rgba(81, 110, 143, 0.3),
                inset -3px -3px 6px rgba(255, 255, 255, 0.8);
}

.toggle-icon i {
    color: #23252f;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.neo-toggle.active .toggle-icon i {
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .neo-toggle {
        display: block;
    }

    .neo-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #e5e4e2;
        padding: 20px;
        border-radius: 0 0 20px 20px;
        box-shadow: 5px 5px 15px rgba(81, 110, 143, 0.2),
                    -5px -5px 15px rgba(255, 255, 255, 0.7);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .neo-nav.active {
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
    }

    .nav-item {
        width: 100%;
        margin: 10px 0;
    }

    .neo-dropdown-menu {
        position: static;
        transform: none;
        width: 100%;
        background: #e5e4e2;
        box-shadow: none;
        opacity: 1;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        border-radius: 0;
    }

    .neo-dropdown.active .neo-dropdown-menu {
        visibility: visible;
        max-height: 500px; /* Adjust as needed */
    }
}

@media (max-width: 480px) {
    .neo-header {
        padding: 10px 15px;
    }

    .logo-text {
        font-size: 20px;
    }

    .logo-circle {
        width: 30px;
        height: 30px;
    }

    .neo-link {
        font-size: 14px;
        padding: 10px 15px;
    }

    .neo-toggle {
        padding: 8px;
    }

    .toggle-icon i {
        font-size: 20px;
    }
}