/* footer.css */

.app-footer {
    background-color: var(--bg-primary); /* White background */
    color: var(--text-primary); /* Dark text */
    padding: 2.5rem 2rem 1.5rem;
    border-top: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm); /* Subtle shadow at the top */
    margin-top: auto; /* Pushes footer to the bottom */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive columns */
    gap: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    color: var(--primary-color); /* Orange headings */
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
}

.footer-section ul li i {
    margin-right: 0.75rem;
    color: var(--primary-color); /* Orange icons */
    font-size: 1rem;
    margin-top: 0.2rem; /* Align icon with text baseline */
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color); /* Orange on hover */
}

.footer-social .social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social .social-icons a {
    color: var(--primary-color); /* Orange social icons */
    font-size: 1.5rem;
    transition: color 0.2s ease;
}

.footer-social .social-icons a:hover {
    color: var(--primary-hover); /* Darker orange on hover */
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer-bottom a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

/* Responsive adjustments for footer */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr; /* Stack columns on small screens */
        text-align: center;
    }
    .footer-section ul li {
        justify-content: center; /* Center list items */
    }
    .footer-section ul li i {
        margin-right: 0.5rem;
    }
    .footer-social .social-icons {
        justify-content: center; /* Center social icons */
    }
}
