﻿.container {
    position: relative; /* reference for absolute positioning */
 
}
.chat-container {
    position: fixed;
    bottom: 10%;
    right: 30px;
    z-index: 999;    
    flex-direction: column;
    align-items: center;
}

.chat-box {
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
    font-size: 16px;
    max-width: 200px;
    text-align: center;
}

.whatsapp-icon {
    background-color: #1FA378;
    border-radius: 100%;
    padding: 15px;
    font-size: 20px;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

    .whatsapp-icon img {
        width: 30px;
        height: 30px;
    }


    .whatsapp-icon:hover {
        transform: scale(1.1);
        transition: transform 0.3s ease;
    }

@@media (max-width:1080px) {

    .container {
        position: relative; /* Make this the reference for absolute positioning */
    }

    .chat-container {
        position: absolute; /* Position relative to parent .container */
        bottom: 10px; /* Adjust distance from bottom */
        right: 10px; /* Adjust distance from right */
        z-index: 999;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
 

    .chat-box {
        background-color: #fff;
        border-radius: 5px;
        padding: 5px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        margin-bottom: 10px;
        font-size: 8px;
        max-width: 100px;
        text-align: center;
    }

    .whatsapp-icon {
        background-color: #1FA378;
        border-radius: 50%;
        padding: 10px;
        font-size: 30px;
        color: white;
        cursor: pointer;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

        .whatsapp-icon img {
            width: 30px;
            height: 30px;
        }

        .whatsapp-icon:hover {
            transform: scale(1.1);
            transition: transform 0.3s ease;
        }
}
