.whatsapp-chat a {
    color: #fff;
    font-family: inherit;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    align-items: center;
    background-color: #4fce5d;
    border-radius: 100px;
    border-width: 0;
    cursor: pointer;
    width: auto;
    padding: 9px 18px;
}

.whatsapp-chat i {
    font-size: 18px;
}

.whatsapp-chat {
    position: fixed;
    bottom: 12px;
    left: 8px;
    padding: 10px 4px;
    border: 1px solid #4fce5d;
    border-radius: 100px;
    z-index: 99;
}

.whatsapp-chat span {
    width: 10px;
    height: 10px;
    background-color: rgb(255, 0, 0);
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    right: 8px;
    top: 0px;
    display: block !important;
}

/* Pulsating Border Effect */
.whatsapp-chat::before,
.whatsapp-chat::after {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 100px;
    border: 1px solid #4fce5d;
    animation: pulsating-border 1.8s infinite ease-out;
    z-index: -1;
}

/* Second wave for a more dynamic effect */
.whatsapp-chat::after {
    animation-delay: 0.9s;
    opacity: 0.6;
}

/* Keyframes for border animation */
@keyframes pulsating-border {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.whatsapp-chat-details {
    display: none;
    position: fixed;
    bottom: 80px;
    left: 12px;
    border-radius: 16px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 30px 0px;
    background-image: url(../images/background-whatsapp.jpg);
    background-size: cover;
    background-position: center;
    max-width: 400px;
    width: calc(100vw - 50px);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease-out forwards;
    z-index: 98;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.whatsapp-chat-details .top-bar {
    color: rgb(17, 17, 17);
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgb(9, 94, 84);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px 16px 0px 0px;
    position: relative;

}

.whatsapp-chat-details .top-bar .logo img {
    padding: 1px;
    border-radius: 100px;
    width: 52px;
    height: 52px;
    object-fit: contain;
    background-color: #fff;

}

.whatsapp-chat-details .top-bar .logo {
    position: relative;
}

.whatsapp-chat-details .top-bar .logo span {
    width: 10px;
    height: 10px;
    background-color: #00ff1c;
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    right: 6px;
    bottom: 4px;
    display: block !important;
}

.header-title {
    padding-left: 18px;
    color: #fff;
}

.header-title h5 {
    font-size: 18px;
    padding-bottom: 4px;
}

.header-title p {
    font-size: 13px;
}

p {
    margin-bottom: 0px;
}

.header-title h5,
.header-title p {
    margin: 0px;
    color: #fff;
}

.close-btn {
    color: #fff;
    font-weight: 400;
    position: absolute;
    top: 5px;
    right: 4px;
    font-size: 20px;
    cursor: pointer;
    opacity: .8;
}

.close-btn:hover {
    opacity: 1;
}

.chat-section {
    padding: 16px 25px;
}

.chat-details {
    display: flex;
    position: relative;
    margin-bottom: 12px;
}

.chat-content {
    padding: 6px 14px;
    position: relative;
    transform-origin: center top;
    z-index: 2;
    font-size: 15px;
    line-height: 1.39;
    max-width: calc(100% - 66px);
    border-radius: 0px 16px 16px;
    background-color: rgb(255, 255, 255);
    opacity: 1;
    hyphens: auto;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 1px 0px 0px;
}

.chat-section .chat-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -12px;
    width: 20px;
    height: 20px;
    background: linear-gradient(225deg, #fff 0%, #fff 50%, transparent 50%, transparent);
}

.chat-content p {
    font-size: 17px;
    font-weight: 400;
    color: #000;
    padding: 2px;
}

.chat-btn {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.chat-btn a {
    color: #fff;
    font-family: inherit;
    font-weight: 500;
    font-size: 18px;
    text-decoration: none;
    background-color: #4fce5d;
    border-radius: 100px;
    border-width: 0;
    cursor: pointer;
    width: auto;
    padding: 10px 18px;

}

.time {
    text-align: center;
    opacity: .5;
    padding-bottom: 10px;
}

.chat-details,
.chat-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.powered-by p {
    font-size: 12px;
    text-align: center;
    padding-top: 15px;
}

.powered-by p i {
    font-size: 12px;
    color: #FFA800;
}

.powered-by p .website-link {
    color: #006F93;
    font-size: 14px;
    text-decoration: none;
}