/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--primary-dark);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 1px solid rgba(74, 95, 255, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

.footer-about {
    max-width: 500px;
}

.footer-logo {
    margin-bottom: var(--spacing-sm);
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-about h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

.footer-about p {
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact-info p {
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.footer-contact-info i {
    color: var(--accent-blue);
    width: 20px;
}

.footer-section p {
    color: var(--text-gray);
    margin-bottom: var(--spacing-sm);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--accent-blue);
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: var(--accent-blue);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(74, 95, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--accent-blue);
    transform: translateY(-3px);
}

.footer-cta-btn {
    display: inline-block;
    margin-top: var(--spacing-md);
    padding: 0.75rem 1.5rem;
    background: var(--gradient-secondary);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(74, 95, 255, 0.4);
}

.footer-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 95, 255, 0.6);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(74, 95, 255, 0.2);
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.footer-bottom p {
    color: var(--text-gray);
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-blue);
}

/* ===================================
   Floating Elements
   =================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-normal);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    border: none;
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* ===================================
   Mobile Responsive Styles
   =================================== */

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .footer-about {
        max-width: 100%;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
    
    .footer-section:last-child {
        display: none;
    }
    
    .social-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
        max-width: 200px;
    }
    
    .footer-cta-btn {
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-top {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        bottom: 85px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: var(--spacing-md) 0;
    }
    
    .footer-logo img {
        height: 50px;
    }
    
    .footer-about h3 {
        font-size: 1.3rem;
    }
    
    .social-links a {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}
