
/* Footer Styles */
.footer-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #025b5e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerPattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23footerPattern)"/></svg>'); */
}

.footer-main {
    padding: 60px 0 0;
    position: relative;
    z-index: 2;
}

.footer-widget {
    height: 100%;
}

.footer-logo-img {
    height: 100px;
    width: auto;
    background: white;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.footer-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
    text-decoration: none;
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.footer-contact .contact-item i {
    width: 18px;
    color: var(--secondary-color);
    margin-right: 10px;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: white;
    text-decoration: none;
}

.footer-certifications {
    margin-top: 20px;
}

.iso-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.iso-text {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--secondary-color);
}

.certified-text {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2px;
}

/* Social Media */
.footer-social {
    margin-top: 25px;
}

.social-title {
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(241, 114, 52, 0.4);
    text-decoration: none;
}

/* Newsletter */
.footer-newsletter {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    margin: 40px 0;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-title {
    color: white;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.newsletter-text {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.newsletter-form .input-group {
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.newsletter-input {
    border: none;
    padding: 15px 20px;
    font-size: 0.95rem;
    background: white;
    border-radius: 50px 0 0 50px;
}

.newsletter-input:focus {
    box-shadow: none;
    border-color: var(--secondary-color);
    outline: none;
}

.newsletter-btn {
    background: var(--secondary-color);
    border: none;
    color: white;
    padding: 15px 25px;
    font-weight: 600;
    border-radius: 0 50px 50px 0;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #d65a29;
    transform: translateX(-2px);
    color: white;
}

/* CTA Section */
.footer-cta {
    background: rgba(241, 114, 52, 0.15);
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(241, 114, 52, 0.2);
}

.cta-title {
    color: white;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.4rem;
}

.cta-text {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.btn-cta {
    background: var(--secondary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
    display: inline-block;
}

.btn-cta:hover {
    background: transparent;
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(241, 114, 52, 0.3);
    text-decoration: none;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    position: relative;
    z-index: 2;
}

.copyright-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.copyright-text .highlight {
    color: var(--secondary-color);
    font-weight: 600;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
    text-decoration: none;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 130px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(241, 114, 52, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #d65a29;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(241, 114, 52, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-main {
        padding: 40px 0 30px;
    }
    
    .footer-newsletter {
        padding: 20px;
        text-align: center;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
        border-radius: 8px;
    }
    
    .newsletter-input,
    .newsletter-btn {
        border-radius: 8px;
        margin-bottom: 10px;
    }
    
    .newsletter-btn {
        margin-bottom: 0;
    }
    
    .footer-cta {
        padding: 20px;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 15px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .footer-newsletter,
    .footer-cta {
        margin: 20px -15px;
        border-radius: 0;
    }
    
    .cta-title {
        font-size: 1.2rem;
    }
    
    .newsletter-title {
        font-size: 1.1rem;
    }
}

/* Floating WhatsApp Section */
.whatsapp-float {
   position: fixed;
   bottom: 25px;
   right: 25px;
   z-index: 9999;
   font-family: 'Inter', sans-serif;
}

.whatsapp-container {
   position: relative;
   display: flex;
   align-items: center;
   justify-content: flex-end;
   gap: 12px;
}

/* Message Bubble */
.whatsapp-message {
   background: linear-gradient(135deg, #25D366 0%, #20BC5A 100%);
   color: white;
   padding: 12px 16px;
   border-radius: 20px 20px 4px 20px;
   font-size: 14px;
   font-weight: 500;
   box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
   position: relative;
   min-width: 200px;
   text-align: center;
   transform: translateX(20px);
   opacity: 0;
   animation: slideInMessage 0.8s ease-out 0.5s forwards;
}

.whatsapp-message::after {
   content: '';
   position: absolute;
   right: -8px;
   bottom: 8px;
   width: 0;
   height: 0;
   border-left: 8px solid #25D366;
   border-top: 8px solid transparent;
   border-bottom: 8px solid transparent;
}

/* WhatsApp Button */
.whatsapp-btn {
   width: 60px;
   height: 60px;
   background: linear-gradient(135deg, #25D366 0%, #20BC5A 100%);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   color: white;
   text-decoration: none;
   box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
   position: relative;
   transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
   animation: bounceIn 1s ease-out, pulseGlow 2s infinite 2s;
}

.whatsapp-btn svg {
   width: 28px;
   height: 28px;
   z-index: 2;
   position: relative;
}

.whatsapp-btn:hover {
   transform: scale(1.1) rotate(5deg);
   box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn:active {
   transform: scale(0.95);
}

/* Pulse Rings */
.pulse-ring {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   width: 60px;
   height: 60px;
   border: 3px solid #25D366;
   border-radius: 50%;
   opacity: 0;
   animation: pulseRing 2s infinite;
}

.pulse-ring-2 {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   width: 60px;
   height: 60px;
   border: 3px solid #25D366;
   border-radius: 50%;
   opacity: 0;
   animation: pulseRing 2s infinite 0.5s;
}

/* Animations */
@keyframes slideInMessage {
   from {
       transform: translateX(20px);
       opacity: 0;
   }
   to {
       transform: translateX(0);
       opacity: 1;
   }
}

@keyframes bounceIn {
   0% {
       transform: scale(0.3);
       opacity: 0;
   }
   50% {
       transform: scale(1.05);
   }
   70% {
       transform: scale(0.9);
   }
   100% {
       transform: scale(1);
       opacity: 1;
   }
}

@keyframes pulseGlow {
   0%, 100% {
       box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
   }
   50% {
       box-shadow: 0 8px 35px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.1);
   }
}

@keyframes pulseRing {
   0% {
       transform: translate(-50%, -50%) scale(0.8);
       opacity: 1;
   }
   100% {
       transform: translate(-50%, -50%) scale(2);
       opacity: 0;
   }
}

/* Hide message on smaller screens */
@media (max-width: 768px) {
   .whatsapp-message {
       display: none;
   }
   
   .whatsapp-float {
       bottom: 20px;
       right: 20px;
   }
}

/* Additional attention-grabbing animations */
@keyframes shake {
   0%, 100% { transform: translateX(0); }
   25% { transform: translateX(-5px); }
   75% { transform: translateX(5px); }
}

@keyframes heartbeat {
   0%, 100% { transform: scale(1); }
   50% { transform: scale(1.1); }
}

/* Apply shake animation periodically */
.whatsapp-btn {
   animation: bounceIn 1s ease-out, pulseGlow 2s infinite 2s, shake 0.5s ease-in-out 5s, heartbeat 1s ease-in-out 8s infinite;
}