#floating-cta-button {
    position: fixed;
    right: -200px; /* Start off-screen */
    z-index: 9999;
    color: #fff;
    padding: 6px 15px;
    border-radius: 5px;
    box-shadow: 2px 4px 18px rgba(0, 0, 0, 0.4);
    text-align: center;
    transition: right 0.3s linear; /* Linear transition for x second */
    background-color: inherit; /* Ensure the background color is inherited */
    cursor: pointer; /* Change cursor to pointer */
}

#floating-cta-button.visible {
    right: 20px; /* Move to final position */
}

#floating-cta-button a {
    color: #fff;
    text-decoration: none;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    display: block; /* Ensure the link covers the entire button */
    width: 100%;
    height: 100%;
}

#floating-cta-button:hover {
    background-color: #005177;
}

/* Media query for mobile devices */
@media (max-width: 600px) {
    #floating-cta-button {
       right: -170px; /* Start off-screen for mobile */
        padding: 5px 10px; /* Smaller padding */
    }

    #floating-cta-button.visible {
        right: 10px; /* Closer to the edge for mobile */
    }
}
