/* FOOTER */
.footer {
    background: var(--bg-primary-gradient);
    position: relative;
    overflow: hidden;
    padding: 15px 0 10px;
    margin-top: 0;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--pattern-hex) repeat;
    opacity: 0.1;
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-section {
    margin-bottom: var(--spacing-lg);
}

.footer-title {
    color: var(--text-white);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-200), var(--primary-300));
    border-radius: var(--radius-sm);
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-md);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-lg);
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border: var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition-normal);
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--glass-bg-strong);
    transform: translateY(-3px) scale(1.1);
    color: var(--primary-200);
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: var(--font-size-md);
    transition: var(--transition-fast);
    position: relative;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-200);
    text-decoration: none;
    transform: translateX(5px);
}

.footer-links a::before {
    content: '▶';
    position: absolute;
    left: -15px;
    color: var(--primary-200);
    font-size: 0.7rem;
    opacity: 0;
    transition: var(--transition-fast);
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-contact-info {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm) 0;
}

.footer-contact-item:last-child {
    margin-bottom: 0;
}

.footer-contact-icon {
    width: 35px;
    height: 35px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-contact-icon i {
    color: var(--text-white);
    font-size: 0.9rem;
}

.footer-contact-content a {
    color: var(--text-white);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: var(--transition-fast);
}

.footer-contact-content a:hover {
    color: var(--primary-200);
    text-decoration: none;
}

.footer-contact-content span {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-sm);
}

.footer-newsletter {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.newsletter-input {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    font-size: var(--font-size-sm);
    outline: none;
    transition: var(--transition-normal);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    border-color: var(--primary-200);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    background: var(--color-primary);
    color: var(--text-white);
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: var(--transition-normal);
}

.newsletter-btn:hover {
    background: var(--primary-600);
    transform: translateY(-2px);
}

.footer-certifications {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    margin-top: var(--spacing-lg);
}

.certification-badge {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border: var(--glass-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--text-white);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
}

.footer-legal-links {
    display: flex;
    gap: var(--spacing-lg);
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: var(--transition-fast);
}

.footer-legal-links a:hover {
    color: var(--primary-200);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: var(--spacing-xl) 0 var(--spacing-md);
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-certifications {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-legal-links {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}