/* Modern Footer Styles for SOFIRM */
.footer {
    background: var(--sofirm-dark);
    color: var(--sofirm-light);
    padding: 4rem 0 2rem;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

/* Footer decorative element */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--sofirm-gradient);
}

/* Footer Logo */
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.footer-brand img {
    height: 40px;
    width: auto;
}

.footer-brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Slogan */
.footer-slogan {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--sofirm-accent);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.footer-slogan::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--sofirm-accent);
}

/* Footer Links */
.footer-links h5 {
    color: var(--sofirm-white);
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--sofirm-accent);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links ul li a:hover {
    color: var(--sofirm-white);
    transform: translateX(5px);
}

.footer-links ul li a i {
    font-size: 0.8rem;
    color: var(--sofirm-accent);
}

/* Contact Info */
.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
}

.contact-info li i {
    color: var(--sofirm-accent);
    font-size: 1.1rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-info li span {
    color: #cbd5e1;
    line-height: 1.5;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--sofirm-white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--sofirm-primary);
    transform: translateY(-3px);
    color: white;
}

/* Copyright */
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

.copyright a {
    color: var(--sofirm-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: var(--sofirm-white);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 767.98px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-links {
        margin-top: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer > .container {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}