/* Whatsapp contact Div CSS */
.main-wa-container {
    position: fixed;
    bottom: 20px;
    right: -340px; /* Initial position shifted to the right */
    z-index: 998;
    background-color: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    padding: 20px;
    width: 300px;
    border-radius: 8px;
    transition: right 0.3s ease, opacity 0.3s ease;
    font-size: 13px;
    opacity: 0;
    visibility: hidden;
}

.wa-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    margin-left: 10px;
    background: none;
    border: none;
    font-size: 20px;
    color: gray;
    cursor: pointer;
}

.wa-contact-details {
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 10px;
    background-color: #f5f5f5;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

.wa-name {
    font-weight: bold;
    color: #a30303;
}

#wa-whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
    cursor: pointer;
}

.waoverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 800;
    display: none;
    transition: opacity 0.8s ease;
}

.main-wa-container.show {
    right: 90px;
    opacity: 1;
    visibility: visible;
}

.waoverlay.show {
    display: block;
}

@media (max-width: 768px) {
    .main-wa-container {
        width: 80%;
        right: -100%;
        left: 10%;
    }

    .main-wa-container.show {
        right: 10%;
    }
}

@media (max-width: 480px) {
    .main-wa-container {
        width: 90%;
        right: -100%;
        left: 5%;
    }

    .main-wa-container.show {
        right: 5%;
    }
}
