/* Footer Styles */
.site-footer {
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 0;
    margin-top: 4rem;
}

.footer-main {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
}

/* Brand Section */
.footer-brand {
    max-width: 400px;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    max-height: 40px;
    width: auto;
}

.brand-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
    opacity: 0.8;
}

/* Quick Links and Learn Sections */
.footer-quick-links,
.footer-learn {
    display: flex;
    flex-direction: column;
}

.footer-quick-links h3,
.footer-learn h3,
.footer-connect h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.footer-quick-links ul,
.footer-learn ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-quick-links a,
.footer-learn a {
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-quick-links a:hover,
.footer-learn a:hover {
    opacity: 1;
    transform: translateX(5px);
}

/* Connect Section */
.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--card-bg-color);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
    background-color: var(--primary-color);
    color: white;
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

/* Footer Bottom */
.footer-bottom {
    background-color: var(--card-bg-color);
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
}

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

.copyright {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

/* Dark Theme Adjustments */
body.dark-theme .site-footer {
    background-color: var(--background-color);
}

body.dark-theme .social-icons a {
    background-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .social-icons a:hover {
    background-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        display: flex;
        flex-direction: column;
    }
    
    .footer-brand {
        order: 1;
        margin-bottom: 1rem;
    }
    
    .footer-quick-links {
        order: 2;
        margin-bottom: 0.5rem;
    }
    
    .footer-learn {
        order: 3;
        margin-bottom: 1rem;
    }
    
    .footer-connect {
        order: 4;
    }

    .footer-quick-links h3,
    .footer-learn h3,
    .footer-connect h3 {
        margin-bottom: 1rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .copyright {
        order: 2;
    }
    
    .footer-links {
        order: 1;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
} 