/* --- MODERN EXECUTIVE FLOATING MENU --- */
.floating-menu {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.floating-menu-button {
    width: 60px;
    height: 60px;
    background: #1e293b;
    color: white;
    border-radius: 0; /* Sharp Executive Edges */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.floating-menu-button:hover {
    background: #2563eb;
    transform: translateY(-5px);
}

.floating-menu-content {
    display: none;
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    max-height: 500px;
    overflow-y: auto;
    /* Custom Scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #2563eb #f1f5f9;
}

/* Scrollbar styling for Chrome/Safari */
.floating-menu-content::-webkit-scrollbar { width: 6px; }
.floating-menu-content::-webkit-scrollbar-track { background: #f1f5f9; }
.floating-menu-content::-webkit-scrollbar-thumb { background: #cbd5e1; }

.floating-menu-content .menu-header {
    background: #1e293b;
    color: white;
    padding: 15px 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* SEPARATE ROW LINKS */
.floating-menu-content a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #1e293b;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s ease;
    position: relative;
}

.floating-menu-content a .link-num {
    color: #94a3b8;
    font-size: 0.7rem;
    margin-right: 15px;
    width: 20px;
}

.floating-menu-content a:hover {
    background: #f8fafc;
    color: #2563eb;
    padding-left: 30px; /* Slide effect */
}

/* Sharp accent border on hover */
.floating-menu-content a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: #2563eb;
    transition: width 0.2s ease;
}

.floating-menu-content a:hover::before {
    width: 5px;
}

/* Active State for current page */
.floating-menu-content a.active-link {
    background: #eff6ff;
    color: #2563eb;
    border-left: 5px solid #2563eb;
}

.menu-active {
    display: block !important;
    animation: menuFadeUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes menuFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
