/* Basic styling for the body to show scrolling */
body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    min-height: 200vh; /* Make the page scrollable for demonstration */
}

/* Styling for the WhatsApp floating button container */
.whatsapp-button-container {
    position: fixed; /* Makes the button float */
    top: 65%;        /* Adjusted: Moves the button higher up the screen.
                        Lower percentage = higher position.
                        You can adjust this value (e.g., 45% for slightly up, 30% for much higher) */
    right: 10px;     /* Distance from the right edge of the viewport */
    transform: translateY(-50%); /* Keeps the button vertically centered relative to the 'top' value */
    z-index: 1000;   /* Ensures the button is above other content */
}

/* Styling for the WhatsApp button itself */
.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px; /* Size of the button */
    height: 60px; /* Size of the button */
    background-color: #25D366; /* WhatsApp green */
    color: white;
    border-radius: 50%; /* Makes it a perfect circle */
    text-decoration: none; /* Removes underline from the link */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transitions for background and transform */
}

.whatsapp-button img {
    width: 30px; /* Size of the WhatsApp icon */
    height: 30px;
}

/* Zoom effect on hover */
.whatsapp-button:hover {
    background-color: #1DA851; /* Darker green on hover */
    transform: scale(1.1); /* Zooms in the button by 10% on hover */
}

/* Optional: Add text next to the button on hover/larger screens */
.whatsapp-button span {
    display: none; /* Hidden by default */
    margin-left: 10px;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap; /* Prevent text wrapping */
}

/* For the text to also scale slightly, if desired, add this: */
.whatsapp-button:hover span {
    display: inline-block; /* Show text on hover */
    /* transform: scale(1.05); /* Uncomment this if you want the text to also zoom slightly */
}

/* Responsive adjustments (optional) */
@media (max-width: 768px) {
    .whatsapp-button {
        width: 50px;
        height: 50px;
    }
    .whatsapp-button img {
        width: 25px;
        height: 25px;
    }
    .whatsapp-button span {
        font-size: 14px;
    }
}