
    #whtbtn {
        position: fixed;
        bottom: 10%;
        right: 18px;
        width: 62px;
        height: 62px;
        z-index: 9999;
        /* background-color: #ffffff; */
        border-radius: 50%;
        /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); */
        display: flex;
        justify-content: center;
        align-items: center;
        transition: transform 0.3s ease;
    }

    #whtbtn:hover {
        transform: scale(1.1);
    }

    #whtbtn img {
        width: 48px;
        height: 48px;
    }
    

    @media (max-width: 768px) {
        #whtbtn {
            bottom: 10%;
            right: 30px;
            width: 50px;
            height: 50px;
        }
        #whtbtn img {
            width: 49px;
            height: 49px;
        }
    }

     /* Voice Reader Floating Button */
    #voicebtn {
        position: fixed;
        bottom: 19%;
        right: 25px;
        z-index: 9999;
        border-radius: 50%;
        /* background-color: #ffffff; */
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 42px;
        /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); */
        cursor: pointer;
        transition: transform 0.3s ease, background-color 0.3s ease;
    }

    #voicebtn:hover {
        transform: scale(1.1);
        
    }

    #voicebtn a {
        text-decoration: none;
        color: inherit;
    }

    @media (max-width: 768px) {
        #voicebtn {
            width: 50px;
            height: 50px;
            right: 28px;
            bottom: 20%;
            font-size: 41px;
        }
    }

   
/* Toggle Button Styling */
#langToggleBtn {
    position: fixed;
    bottom: 27%;
    right: 32px;
    z-index: 9999;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

#langToggleBtn:hover {
    transform: scale(1.1);
}

#langToggleBtn img {
    width: 45px;
    height: 45px;
}


#translateWidget {
    position: fixed;
    right: 37px;
    bottom: calc(28% + 70px); /* Adjusted to be ABOVE the icon */
    z-index: 9998;
    display: none !important;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
 
}

#translateWidget.active {
    display: block !important;
}



/* Responsive for Mobile */
@media (max-width: 768px) {
    #langToggleBtn {
        bottom: 27%;
        right: 30px;
        width: 50px;
        height: 50px;
    }

    #langToggleBtn img {
        width: 44px;
        height: 44px;
    }

     #translateWidget {
        position: fixed;
        bottom: calc(27% + 60px); /* Slightly above the icon */
        right: 50px;
        transform: translateX(50%); /* Move it slightly left to center */
        max-width: 180px;
        font-size: 14px;
        padding: 8px;
        border-radius: 8px;
       
    }
}