
/* Floating Telegram Icon */
.floating-telegram {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    text-decoration: none !important;
    cursor: pointer;
}

.contact-text {
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    max-width: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
    transition: all 0.4s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.floating-telegram:hover .contact-text {
    max-width: 150px;
    opacity: 1;
    margin-right: 10px;
}

.telegram-icon-container {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pulse 2s infinite;
    overflow: hidden;
    border: 2px solid #fff;
    background-color: #fff; /* Added to prevent background show-through */
}

.telegram-icon-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 136, 204, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 136, 204, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 136, 204, 0);
    }
}

.floating-telegram:hover .contact-text {
    transform: translateX(-5px);
}
