/* Footer Section - Modern Design */
.footer-section {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: #e5e7eb;
    padding: 4rem 0 0;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

/* Decorative background elements */
.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #10b981, transparent);
}

.footer-content {
    position: relative;
    z-index: 1;
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: translateX(4px);
}

.footer-logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.footer-logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #d1d5db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: #10b981;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.footer-description {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Footer Titles */
.footer-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #10b981, transparent);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -16px;
    width: 0;
    height: 2px;
    background: #10b981;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #10b981;
    transform: translateX(8px);
}

.footer-links a:hover::before {
    width: 8px;
}

/* Contact Section */
.footer-contact {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #9ca3af;
    font-size: 0.875rem;
}

.contact-item i {
    width: 36px;
    height: 36px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    flex-shrink: 0;
}

.contact-item a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #10b981;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #10b981, #059669);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.3);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link i {
    position: relative;
    z-index: 1;
}

.social-link:hover i {
    color: white;
}

/* Divider */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(229, 231, 235, 0.1), transparent);
    margin: 3rem 0 2rem;
}

/* Disclaimer Section */
.footer-disclaimer {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.disclaimer-text {
    color: #9ca3af;
    font-size: 0.8125rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.disclaimer-text:last-child {
    margin-bottom: 0;
}

.disclaimer-text strong {
    color: #10b981;
    font-weight: 600;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    margin-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    position: relative;
}

.footer-bottom-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: #10b981;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #10b981;
}

.footer-bottom-links a:hover::after {
    transform: scaleX(1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-section {
        padding: 3rem 0 0;
    }

    .footer-title::after {
        width: 30px;
    }
}

@media (max-width: 768px) {
    .footer-section {
        padding: 2.5rem 0 0;
        margin-top: 3rem;
    }

    .footer-logo-text {
        font-size: 1.5rem;
    }

    .footer-logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .footer-title {
        font-size: 0.9375rem;
        margin-bottom: 1.25rem;
    }

    .footer-links a,
    .footer-description,
    .contact-item,
    .disclaimer-text {
        font-size: 0.8125rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links a:hover {
        transform: translateX(4px);
    }
}

@media (max-width: 480px) {
    .footer-section {
        padding: 2rem 0 0;
    }

    .footer-logo {
        gap: 0.5rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }

    .footer-disclaimer {
        padding: 1rem;
    }

    .footer-bottom {
        padding: 1.25rem 0;
    }
}

/* Animation for footer elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-brand,
.footer-links,
.footer-contact {
    animation: fadeInUp 0.6s ease-out;
}
