/* Floating Icons */
.floating-icons {
    position: fixed;
    right: 15px;
    top: 20px;
    display: flex;
    z-index: 1000;
    flex-direction: column;
}

.floating-icons a {
    position: relative;
    margin-bottom: 10px;
    color: #333;
    text-decoration: none;
    font-size: 24px;
    background-color: #fff;
    padding: 10px;
    border-radius: 5%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s, transform 0.3s;
}

.floating-icons a:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}
/* Animation for info text */
.floating-icons a::after {
    content: attr(data-info);
    position: absolute;
    top: 50%;
    right: 120%; /* Start the text outside to the left */
    transform: translateY(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    opacity: 0;
    white-space: nowrap;
    font-size: 14px;
    font-weight: bold;
    pointer-events: none;
    transition: opacity 0.5s ease, right 0.5s ease;
}

.floating-icons a:hover::after {
    right: calc(100% + 10px); /* Move text into view */
    opacity: 1;
}


