/* Language Icon Style */
.Language-float {
    position: fixed;
    width: auto;
    height: 45px;
    padding: 2px;
    bottom: 100px;
    right: 20px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000000;
    transition: transform 0.3s ease-in-out;
    animation: slide-in 0.8s ease-out; /* Initial slide-in animation */
}

.Language-float img {
    width: 40px;
    height: 40px;
}

a {
    text-decoration: none;
}

#language-para {
    display: none;
    color: #001124;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    padding: 10px 15px;
    border-radius: 10px 0 0 10px;
    border-right: 1px solid #001a38;
    opacity: 0; /* Initially hidden */
    position: absolute;
    right: 44px; /* Initial position (outside view) */
    white-space: nowrap; /* Prevent text wrapping */
}

.Language-float:hover #language-para {
    display: block;
    animation: show-right-to-left 0.5s forwards; /* Trigger the animation */
}

.Language-float:hover{
    border-radius: 0 10px 10px 0;
}


/* Keyframes for right-to-left animation */
@keyframes show-right-to-left {
    0% {
        opacity: 0;
        transform: translateX(50px); /* Start from right */
    }
    100% {
        opacity: 1;
        transform: translateX(0); /* Final position */
    }
}

@keyframes slide-in {
    0% {
        transform: translateY(100px); /* Start outside screen (right) */
        opacity: 0;
    }
    100% {
        transform: translateY(0); /* Final position */
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .Language-float {
        padding: 10px;
        height: 110px;
        width: 110px;
        right: 20px;
        bottom: 170px;
    }
    .Language-float img{
        height: 100px;
        width: 100px;
    }
    .Language-icon {
        width: 65px;
        height: 65px;
    }
    #language-para{
        font-size: 35px;
    }
}





/* ////// navmessage Language btn////// */

.subnav-btn select{
    padding: 5px 10px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
}



@media (max-width: 600px){
    .subnav-btn select{
        font-size: 40px;
        padding: 10px 25px;
    }
}