footer {
    width: 100%;
    background: linear-gradient(135deg, black 0%, #34495e 100%);
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-top: auto;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255,255,255,0.1);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.05) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.05) 75%);
    background-size: 20px 20px;
    opacity: 0.3;
    pointer-events: none;
}

footer p {
    margin: 0;
    font-size: clamp(0.9rem, 2vw, 1rem);
    opacity: 0.9;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

/* Optional: Add social media icons or contact info */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-item i {
    color: var(--secondary-color);
}

/* Responsive footer */
@media only screen and (max-width: 768px) {
    footer {
        padding: 30px 15px;
    }
    
    .footer-info {
        gap: 20px;
        flex-direction: column;
    }
    
    .footer-item {
        justify-content: center;
    }
}

@media only screen and (min-width: 1200px) {
    footer {
        padding: 50px 20px;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

/* WhatsApp Button */
.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
    animation: pulse 2s infinite;
}

.whatsapp-btn svg {
    color: white !important;
    width: 32px;
    height: 32px;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    animation: none; /* Stop pulse on hover */
}

/* Pulsing Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Speech Bubble Tooltip */
.whatsapp-tooltip {
    position: relative;
    display: none; /* Hidden by default, shown on hover */
}

.whatsapp-float:hover .whatsapp-tooltip {
    display: block;
    animation: fadeIn 0.3s ease;
}

.speech-bubble {
    position: relative;
    background: white;
    color: #333;
    padding: 12px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    max-width: 200px;
    text-align: center;
    margin-bottom: 10px;
    margin-right: 10px;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

/* New Message Badge */
.new-message-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #FF3B30;
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 1s infinite alternate;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(255, 59, 48, 0.3);
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-5px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-btn svg {
        width: 28px;
        height: 28px;
    }
    
    .speech-bubble {
        font-size: 13px;
        padding: 10px 14px;
        max-width: 180px;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-btn svg {
        width: 26px;
        height: 26px;
    }
    
    .speech-bubble {
        display: none; /* Hide speech bubble on very small screens */
    }
}

/* Always show speech bubble on mobile (alternative) */
@media (max-width: 768px) {
    .whatsapp-tooltip {
        display: block !important;
        opacity: 0.9;
    }
    
    .whatsapp-float:hover .whatsapp-tooltip {
        animation: none;
    }
}