/* WHATSAPP FLOAT & POPUP */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: transparent;
    border-radius: 50%;
    z-index: 10000;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.whatsapp-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whatsapp-popup-overlay.active {
    display: block;
    opacity: 1;
}

.whatsapp-popup {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 320px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    display: none;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
}

.whatsapp-popup.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.whatsapp-header {
    background-color: #C2185B;
    /* WhatsApp Dark Green */
    color: white;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.whatsapp-header .header-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
}

.whatsapp-header .close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
}

.whatsapp-header .close-btn:hover {
    opacity: 1;
}

.whatsapp-body {
    padding: 20px;
}

.whatsapp-body .form-group {
    margin-bottom: 15px;
}

.whatsapp-body label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    color: #555;
    font-weight: 500;
}

.whatsapp-body input,
.whatsapp-body textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.whatsapp-body input:focus,
.whatsapp-body textarea:focus {
    border-color: #E91E63;
}

.whatsapp-submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #E91E63;
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
}

.whatsapp-submit-btn:hover {
    background-color: #C2185B;
}

@media (max-width: 480px) {
    .whatsapp-popup {
        right: 5%;
        left: 5%;
        width: 90%;
        bottom: 85px;
        /* Above the button */
    }
}