/* WhatsApp Button Keyframe Animation */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes whatsapp-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* WhatsApp Button Styles */
.whatsapp-button {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 0 0 2px #ffffff;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    animation: whatsapp-pulse 2.5s infinite, whatsapp-float 3s ease-in-out infinite;
}

.whatsapp-button:hover {
    background: linear-gradient(135deg, #20ba5a 0%, #1aa34a 100%);
    transform: scale(1.15) translateY(-8px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5), 0 0 0 2px #ffffff;
    animation: whatsapp-float 3s ease-in-out infinite;
}

.whatsapp-button:active {
    transform: scale(0.92);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 0 0 2px #ffffff;
}

.whatsapp-button svg {
    width: 1.8rem;
    height: 1.8rem;
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Tablet Styles */
@media (max-width: 768px) {
    .whatsapp-button {
        bottom: 1.2rem;
        right: 1.2rem;
        width: 3.2rem;
        height: 3.2rem;
    }

    .whatsapp-button svg {
        width: 1.6rem;
        height: 1.6rem;
    }

    .whatsapp-button:hover {
        transform: scale(1.12) translateY(-6px);
    }
}

/* Mobile Styles */
@media (max-width: 480px) {
    .whatsapp-button {
        bottom: 1rem;
        right: 1rem;
        width: 2.9rem;
        height: 2.9rem;
    }

    .whatsapp-button svg {
        width: 1.45rem;
        height: 1.45rem;
    }

    .whatsapp-button:hover {
        transform: scale(1.1) translateY(-6px);
    }
}

/* Smaller phones */
@media (max-width: 360px) {
    .whatsapp-button {
        bottom: 0.8rem;
        right: 0.8rem;
        width: 2.6rem;
        height: 2.6rem;
    }

    .whatsapp-button svg {
        width: 1.3rem;
        height: 1.3rem;
    }

    .whatsapp-button:hover {
        transform: scale(1.08) translateY(-4px);
    }
}

/* Accessibility */
.whatsapp-button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: -6px;
}

/* Print - hide when printing */
@media print {
    .whatsapp-button {
        display: none;
    }
}
