/* /assets/css/components/footer.css - Footer Component */

.footer {
    background: var(--dark-color);
    color: white;
    padding: 4rem 0 1.5rem 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    pointer-events: none;
}

.footer-logo {
    height: 35px;
    width: auto;
    margin-right: 0.75rem;
}

.footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.footer p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer ul li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer ul li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer ul li a:hover::before {
    width: 100%;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.social-links a i {
    font-size: 1.2rem;
}

/* Footer Bottom */
.footer hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    margin: 2.5rem 0 1.5rem 0;
}

.footer .row:last-child {
    align-items: center;
}

.footer .row:last-child p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.footer .row:last-child .d-flex {
    gap: 2rem;
}

.footer .row:last-child .d-flex a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer .row:last-child .d-flex a:hover {
    color: white;
}

/* Brand Section */
.footer .navbar-brand {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer .navbar-brand:hover {
    color: white;
}

/* Column Styling */
.footer .col-lg-4 {
    margin-bottom: 2rem;
}

.footer .col-lg-2,
.footer .col-md-6 {
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem 0;
        text-align: center;
    }
    
    .footer .col-lg-4,
    .footer .col-lg-2,
    .footer .col-md-6 {
        margin-bottom: 2.5rem;
        text-align: center;
    }
    
    .footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer ul li a:hover {
        transform: none;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer .row:last-child .d-flex {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer .text-md-end {
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 2rem 0 1rem 0;
    }
    
    .footer .col-lg-4,
    .footer .col-lg-2,
    .footer .col-md-6 {
        margin-bottom: 2rem;
    }
    
    .footer h5 {
        font-size: 1rem;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
    }
    
    .social-links a i {
        font-size: 1.1rem;
    }
}

/* Animation for footer on scroll */
.footer.animate-in {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Newsletter Signup (if added later) */
.footer .newsletter-signup {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .newsletter-signup .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: var(--border-radius-sm);
}

.footer .newsletter-signup .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer .newsletter-signup .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    color: white;
}

.footer .newsletter-signup .btn {
    background: var(--primary-color);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
}

.footer .newsletter-signup .btn:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}