/* WhatsApp Container */
.whatsapp-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
}

/* WhatsApp message bubble */
.whatsapp-msg {
    position: absolute;
    bottom: 70px;
    /* above the button */
    right: 0;
    /* align with button's right edge */
    background-color: #333;
    /* dark gray background */
    color: #FFD700;
    /* gold text */
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    white-space: nowrap;
}

/* Show the message */
.whatsapp-msg.show {
    opacity: 1;
    transform: translateY(0);
}

/* WhatsApp button */
.whatsapp-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #FFD700;
    /* gold button */
}

.whatsapp-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.whatsapp-btn img {
    width: 28px;
    height: 28px;
    filter: invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg);
    /* ensures icon stays default or adjust */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-container {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
    }

    .whatsapp-btn img {
        width: 24px;
        height: 24px;
    }

    .whatsapp-msg {
        font-size: 13px;
        bottom: 65px;
    }
}