.floating-menu {
    position: fixed;
    left: 0;
    top: 70%;
    transform: translateY(-50%);
    z-index: 1000;
}

.menu-button {
    width: 35px;
    height: 135px;
    background: #007bff;
    border: none;
    border-radius: 0 5px 5px 0;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
    writing-mode: vertical-lr;
    text-orientation: mixed;
}

.menu-button:hover {
    /*transform: translateX(5px);
    background: #0056b3; */
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.6);
}

.menu-button .btn-text {
    color: white;
    font-size: 15px;
    letter-spacing: 1px;
    transform: rotate(180deg);
    margin-top: 5px;
    margin-left: 7px;
}

.sliding-menu {
    position: absolute;
    left: 40px;
    top: 0;
    width: 0;
    height: 220px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    visibility: hidden;
}

.floating-menu:hover .sliding-menu {
    width: 250px;
    opacity: 1;
    visibility: visible;
}



.menu-item {
    padding: 8px 10px;
    margin: 6px 15px;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    transition: all 0.1s ease;
    transform: translateX(30px);
    opacity: 0;
}

.floating-menu:hover .menu-item {
    transform: translateX(0);
    opacity: 1;
}

.floating-menu:hover .menu-item:nth-child(1) { transition-delay: 0.1s; }
.floating-menu:hover .menu-item:nth-child(2) { transition-delay: 0.2s; }
.floating-menu:hover .menu-item:nth-child(3) { transition-delay: 0.3s; }
.floating-menu:hover .menu-item:nth-child(4) { transition-delay: 0.4s; }
.floating-menu:hover .menu-item:nth-child(5) { transition-delay: 0.5s; }

.menu-item:hover {
    background: #007bff;
    color: white;
    transform: translateX(-10px);
}

.menu-item i {
    width: 25px;
    margin-right: 10px;
    text-align: center;
    font-size: 16px;
}

.menu-item span {
    font-weight: 500;
    font-size: 14px;
}

.menu-button .arrow {
    color:  #007bff;
    font-size: 15px;
    transition: transform 0.3s ease;
    animation: bounce-right 1.0s ease-in-out infinite alternate;
}

.menu-button:hover .arrow {
    animation: bounce-right 0.9s ease-in-out infinite alternate;
}

@keyframes bounce-right {
    0% { transform: translateX(0); }
    100% { transform: translateX(5px); }
}

 
/* Floating button */
.complaint-btn {
    position: fixed;
    right: 0;
    top: 70%;
    transform: translateY(-50%);
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px 0 0 5px;
    padding: 10px 5px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-align: center;
    cursor: pointer;
    z-index: 1050;
}