/* Footer */
.footer {
    position: relative;
    background: var(--dark-green);
    color: var(--white);
    padding: 100px 0 20px;
    overflow: hidden;
}

/* Animated Background */
.footer-bg-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

/* NEW: Subtle radial glow/pulse effect */
.footer-bg-animation::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at 50% 50%, rgba(45, 122, 62, 0.1) 0%, rgba(45, 122, 62, 0.02) 20%, transparent 40%);
    animation: radialPulse 30s infinite linear;
    z-index: 1; 
    will-change: transform;
    opacity: 0.8;
}

@keyframes radialPulse {
    0% { transform: rotate(0deg) scale(0.9); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(0.9); }
}

.footer-bg-animation .wave {
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3e%3cpath fill='%231c5a34' fill-opacity='0.4' d='M0,160L48,170.7C96,181,192,203,288,208C384,213,480,203,576,176C672,149,768,107,864,117.3C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3e%3c/path%3e%3c/svg%3e");
    background-size: cover;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    animation: wave-animation 25s linear infinite;
    z-index: 2;
}

.footer-bg-animation .wave:nth-child(2) {
    animation-delay: -5s;
    animation-duration: 20s;
    opacity: 0.6;
}

.footer-bg-animation .wave:nth-child(3) {
    animation-delay: -2s;
    animation-duration: 15s;
    opacity: 0.3;
}

@keyframes wave-animation {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 1000px;
    }
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about .footer-logo {
    width: 110px;
    margin-bottom: 24px;
}

.footer-about .footer-logo img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    vertical-align: middle;
}

.footer-about p {
    color: var(--gray-200);
    max-width: 400px;
    margin-bottom: 32px;
}

.footer-social-links {
    display: flex;
    gap: 16px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-icon:hover {
    transform: translateY(-6px) scale(1.1);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-icon.whatsapp:hover { background-color: #25D366; }
.social-icon.facebook:hover { background-color: #1877F2; }
.social-icon.instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

.footer-links-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-links, .contact-list {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-200);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.footer-links a::before {
    content: '←';
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    color: var(--accent-green);
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(-5px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.contact-list { display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list svg { color: var(--accent-green); flex-shrink: 0; }
.contact-list p { margin: 0; color: var(--gray-200); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    text-align: center;
    font-size: 14px;
    color: var(--gray-300);
}

.footer a:focus-visible,
.footer .footer-link-section:focus-visible {
    outline: none;
    border-right-color: var(--accent-green);
    color: var(--white);
    box-shadow: 0 0 0 3px rgba(123,200,127,0.25);
}

/* Responsive */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .footer-links-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .footer-links-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        justify-content: center;
    }
    .footer-about {
        text-align: center;
    }
    .footer-about .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
    .footer-about p {
        margin-left: auto;
        margin-right: auto;
    }
    .footer-social-links {
        justify-content: center;
    }
}