/* Footer Styles */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #ec4899;
    --dark: #1e293b;
    --darker: #0f172a;
    --light: #f8fafc;
    --lighter: #ffffff;
    --gray: #94a3b8;
    --gray-light: #e2e8f0;
    --transition: all 0.3s ease;
}

.footer {
    background-color: var(--darker);
    color: var(--light);
    padding: 4rem 0 0;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-col {
    margin-bottom: 2rem;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

.footer-logo:hover img {
    opacity: 0.9;
    transform: translateY(-2px);
}

.footer-description {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--light);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--lighter);
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-menu {
    list-style: none;
}

.footer-menu-item:not(:last-child) {
    margin-bottom: 0.75rem;
}

.footer-menu-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-menu-link:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-menu-link svg {
    width: 12px;
    height: 12px;
    color: var(--primary);
    transition: var(--transition);
}

.footer-menu-link:hover svg {
    transform: translateX(3px);
}

.contact-info {
    list-style: none;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--gray);
    line-height: 1.5;
}

.contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.copyright {
    color: var(--gray);
    font-size: 0.875rem;
    text-align: center;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.legal-link {
    color: var(--gray);
    font-size: 0.875rem;
    text-decoration: none;
    transition: var(--transition);
}

.legal-link:hover {
    color: var(--primary);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px) scale(1.05);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 99;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #25D366;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.whatsapp-float a:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-bottom {
        flex-direction: row;
    }
    
    .copyright {
        text-align: left;
    }
    
    .footer-legal {
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 1.5rem;
        left: 1.5rem;
    }
    
    .whatsapp-float a {
        width: 48px;
        height: 48px;
    }
    
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .back-to-top svg {
        width: 16px;
        height: 16px;
    }
}