.elegant-menu-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.elegant-menu-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.elegant-menu-item {
    position: relative;
}

.elegant-menu-link {
    display: inline-block;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    z-index: 2;
}

/* Elegant Underline Hover Effect */
.elegant-menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    transition: width 0.3s ease, left 0.3s ease;
    z-index: 1;
}

.elegant-menu-link:hover::after,
.elegant-menu-item.active .elegant-menu-link::after {
    width: 100%;
    left: 0;
}

/* Minor elegant feedback on hover */
.elegant-menu-link:hover {
    transform: translateY(-2px);
}
