.whatsapp-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 1000;
}

.contact-box {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    position: relative;
    max-width: 400px;
}

.contact-box .contact-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    margin-right: 10px;
}

.contact-box .contact-text > p {
    font-size: 14px;
    font-weight: bold;
    background-color: #e0ff80; /* Light green background color */
    padding: 10px 15px; /* Adds padding around the text */
    border-radius: 15px 30px 30px 15px; /* Custom radius for cloud shape */
    display: inline-block; /* Ensures the background only covers the text */
    line-height: 1.2; /* Adjust line height to fit the text */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */
    position: relative; /* For pseudo-element positioning */
}

.contact-box .contact-text > p::before,
.contact-box .contact-text > p::after {
    content: '';
    position: absolute;
    background-color: #e0ff80;
    border-radius: 50%;
}

/* Adding cloud "bubbles" */
.contact-box .contact-text > p::before {
    width: 20px;
    height: 20px;
    top: -10px;
    left: -10px;
}

.contact-box .contact-text > p::after {
    width: 25px;
    height: 25px;
    bottom: -10px;
    right: -10px;
}

.contact-box .close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #333;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    background-color: #25d366;
    color: #fff;
    padding: 10px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

.whatsapp-button:hover {
    background-color: #22b95f;
}

.whatsapp-button .whatsapp-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

@media (max-width: 480px) {
    .contact-box {
        max-width: 300px;
        padding: 8px;
    }

    .contact-box .contact-image {
        width: 200px;
        height: 200px;
    }

    .whatsapp-button {
        font-size: 12px;
        padding: 8px 12px;
    }

    .contact-box .contact-text > p{
        font-size: 10px;
    }
}
