/* ============================================
   WHATSAPP CTA STYLES
   ============================================ */

/* WhatsApp CTA Banner */
.whatsapp-banner {
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    color: #FFFFFF;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    margin: 3rem 0;
}

.whatsapp-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.whatsapp-banner-text h3 {
    color: #FFFFFF;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.5rem;
}

.whatsapp-banner-text p {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1rem, 2vw, 1.125rem);
    margin-bottom: 0;
}

.whatsapp-banner-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.whatsapp-banner .btn {
    background: #FFFFFF;
    color: #25D366;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.whatsapp-banner .btn:hover {
    background: #F8F9FA;
    color: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.whatsapp-banner .btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.whatsapp-banner .btn-outline {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.whatsapp-banner .btn-outline:hover {
    background: #FFFFFF;
    color: #25D366;
}

@media (max-width: 767px) {
    .whatsapp-banner {
        padding: 1.5rem;
        text-align: center;
    }
    
    .whatsapp-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .whatsapp-banner-cta {
        width: 100%;
        justify-content: center;
    }
    
    .whatsapp-banner-cta .btn {
        flex: 1;
        min-width: 140px;
    }
}

/* WhatsApp Inline CTA Box */
.whatsapp-cta-box {
    background: #F0FDF4;
    border: 2px solid #25D366;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.whatsapp-cta-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-cta-icon svg {
    width: 32px;
    height: 32px;
    fill: #FFFFFF;
}

.whatsapp-cta-content {
    flex: 1;
}

.whatsapp-cta-content h4 {
    color: #166534;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.whatsapp-cta-content p {
    color: #15803D;
    margin-bottom: 0;
}

.whatsapp-cta-button {
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .whatsapp-cta-box {
        flex-direction: column;
        text-align: center;
    }
    
    .whatsapp-cta-button {
        width: 100%;
    }
    
    .whatsapp-cta-button .btn {
        width: 100%;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 999;
}

/* Support both structures: div.whatsapp-float > a AND a.whatsapp-float */
.whatsapp-float a,
a.whatsapp-float {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366 !important;
    color: #FFFFFF !important;
    border-radius: 9999px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 999;
}

.whatsapp-float a:hover,
a.whatsapp-float:hover {
    background: #20BA5A !important;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg,
a.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: #FFFFFF !important;
}

.whatsapp-float .whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #212529;
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.whatsapp-float .whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid #212529;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.whatsapp-float a:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 767px) {
    .whatsapp-float {
        bottom: 70px;
        right: 15px;
    }
    
    .whatsapp-float a {
        width: 56px;
        height: 56px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
    
    .whatsapp-float .whatsapp-tooltip {
        display: none;
    }
}

/* WhatsApp Button Style (inline CTAs) */
.btn-whatsapp {
    background: #25D366;
    color: #FFFFFF;
    box-shadow: 0 4px 14px 0 rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background: #20BA5A;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(37, 211, 102, 0.5);
}

.btn-whatsapp svg {
    width: 20px;
    height: 20px;
    fill: #FFFFFF;
}  
/* Force WhatsApp button to stay green - override any conflicts */  
.whatsapp-float a {  
    background: #25D366 !important;  
    color: #FFFFFF !important;  
}  
  
.whatsapp-float a:hover {  
    background: #20BA5A !important;  
}  
  
.whatsapp-float svg {  
    fill: #FFFFFF !important;  
} 
