/* Floating Contact Icons */
.floating-contacts {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    z-index: 1000;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-decoration: none;
    transform-origin: center;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    will-change: transform;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.25),
        0 2px 4px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    /* Pulse animation for visibility */
    animation: iconPulse 2s ease-in-out infinite;
}

/* Pulse animation for floating icons */
@keyframes iconPulse {
    0%, 100% {
        box-shadow:
            0 4px 12px rgba(0, 0, 0, 0.25),
            0 2px 4px rgba(0, 0, 0, 0.15),
            0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    }
    50% {
        box-shadow:
            0 6px 16px rgba(0, 0, 0, 0.3),
            0 3px 6px rgba(0, 0, 0, 0.2),
            0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    }
}

/* Stop pulse on hover */
.contact-icon:hover {
    animation: none;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.35),
        0 4px 8px rgba(0, 0, 0, 0.25),
        0 0 0 2px rgba(255, 255, 255, 0.2) inset;
}

.contact-icon:hover {
    transform: scale(1.1);
    color: white;
}

.telegram {
    background: #0088cc;
}

.whatsapp {
    background: #25d366;
}
@media (max-width: 576px) {
    .floating-contacts {
        flex-direction: column;
        gap: 8px;
        bottom: calc(80px + env(safe-area-inset-bottom, 0));
        left: 15px;
        z-index: 1040;
    }

    .contact-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
}
