/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-button i {
    font-size: 32px;
    color: white;
}

.whatsapp-button .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff3838;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 56, 56, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 56, 56, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 56, 56, 0);
    }
}

/* WhatsApp Popup */
.whatsapp-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: none;
    animation: slideUp 0.3s ease;
}

.whatsapp-popup.active {
    display: block;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.whatsapp-header {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    padding: 15px;
    border-radius: 15px 15px 0 0;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.whatsapp-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
}

.whatsapp-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.whatsapp-info {
    flex: 1;
}

.whatsapp-info h4 {
    margin: 0;
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.online-status {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 3px 0 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    display: inline-block;
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.close-popup {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
}

.whatsapp-body {
    padding: 20px;
    min-height: 150px;
    max-height: 300px;
    overflow-y: auto;
    background: #e5ddd5;
}

.chat-bubble {
    background: white;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
}

.chat-bubble p {
    margin: 5px 0;
    color: #333;
    font-size: 14px;
}

.chat-bubble .time {
    font-size: 11px;
    color: #999;
    display: block;
    text-align: right;
    margin-top: 5px;
}

.whatsapp-footer {
    padding: 15px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
    align-items: center;
}

.whatsapp-footer input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 10px 15px;
    font-size: 14px;
}

.whatsapp-footer input:focus {
    outline: none;
    border-color: #25d366;
}

.send-btn {
    width: 45px;
    height: 45px;
    background: #25d366;
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.send-btn:hover {
    background: #128c7e;
    transform: scale(1.1);
}

/* Responsive */
@media screen and (max-width: 480px) {
    .whatsapp-popup {
        width: 300px;
    }
}

/* slider */
.home_bg {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* Tablet */
@media (max-width: 768px) {
    .home_bg {
        min-height: 450px;
        background-position: center top;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .home_bg {
        min-height: 300px;
        background-size: auto 100%;
        background-position: center top;
    }
}