/* WhatsApp Integration Styles */
:root {
    --wa-green: #25D366;
    --wa-hover: #128C7E;
    --wa-dark: #075E54;
    --wa-shadow: rgba(37, 211, 102, 0.4);
}

/* Floating Button */
.wa-float-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--wa-green);
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px var(--wa-shadow);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: wa-pulse 2s infinite;
}

.wa-float-btn:hover {
    background-color: var(--wa-hover);
    transform: translateY(-5px);
    color: white;
}

@keyframes wa-pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8),
                    0 0 0 8px rgba(37, 211, 102, 0.2),
                    0 0 0 16px rgba(37, 211, 102, 0.1);
    }
}

/* Widget Styles */
.wa-widget {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 320px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 9998;
    overflow: hidden;
    display: none;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.wa-widget.active {
    display: flex;
}

.wa-widget-header {
    background: var(--wa-dark);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-widget-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    padding: 2px;
    position: relative;
}

.wa-widget-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.wa-widget-avatar::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: #4caf50;
    border: 2px solid white;
    border-radius: 50%;
}

.wa-widget-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.wa-widget-info span {
    font-size: 12px;
    opacity: 0.8;
}

.wa-widget-body {
    padding: 20px;
    background: #e5ddd5;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    min-height: 120px;
}

.wa-message {
    background: white;
    padding: 12px 15px;
    border-radius: 0 15px 15px 15px;
    max-width: 90%;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.wa-widget-footer {
    padding: 15px 20px;
    background: white;
}

.wa-start-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--wa-green);
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 30px;
    font-weight: 600;
    transition: background 0.3s;
}

.wa-start-btn:hover {
    background: var(--wa-hover);
    color: white;
}

/* Service Buttons */
.wa-service-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--wa-green);
    color: white !important;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
    width: 100%;
    justify-content: center;
}

.wa-service-btn:hover {
    background: var(--wa-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

.wa-icon {
    font-size: 20px;
}

.wa-arrow {
    margin-left: auto;
    transition: transform 0.3s;
}

.wa-service-btn:hover .wa-arrow {
    transform: translateX(5px);
}

/* Homepage CTA */
.wa-home-cta {
    background: var(--wa-green);
    color: white !important;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.wa-home-cta:hover {
    background: var(--wa-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

/* Contact Page Section */
.wa-contact-section {
    background: #f0fff4;
    border: 2px dashed var(--wa-green);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.wa-contact-section h3 {
    color: var(--wa-dark);
    font-weight: 800;
    margin-bottom: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .wa-float-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 15px;
        right: 15px;
    }
    
    .wa-widget {
        width: calc(100% - 40px);
        bottom: 80px;
        right: 20px;
    }

    .wa-home-cta {
        width: 100%;
        justify-content: center;
    }
}
