/* Footer Styles */
.main-footer {
    background-color: #f8f9fa;
    padding: 40px 0 20px;
    margin-top: 40px;
    border-top: 1px solid #e9ecef;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

.footer-logo h2 {
    font-size: 24px;
    color: #1a73e8;
    margin: 0;
}

.footer-links {
    flex: 0 0 60%;
    max-width: 60%;
}

.footer-links ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.footer-links li {
    margin-right: 20px;
    margin-bottom: 10px;
}

.footer-links a {
    color: #5f6368;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #1a73e8;
}

.footer-social {
    flex: 0 0 30%;
    max-width: 30%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e8f0fe;
    color: #1a73e8;
    margin-left: 10px;
    transition: all 0.2s;
}

.social-icon:hover {
    background-color: #1a73e8;
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    color: #5f6368;
    font-size: 14px;
}

/* Dark mode styles */
.dark-mode .main-footer {
    background-color: #202124;
    border-top-color: #3c4043;
}

.dark-mode .footer-logo h2 {
    color: #8ab4f8;
}

.dark-mode .footer-links a {
    color: #9aa0a6;
}

.dark-mode .footer-links a:hover {
    color: #8ab4f8;
}

.dark-mode .social-icon {
    background-color: #3c4043;
    color: #8ab4f8;
}

.dark-mode .social-icon:hover {
    background-color: #8ab4f8;
    color: #202124;
}

.dark-mode .footer-bottom {
    border-top-color: #3c4043;
    color: #9aa0a6;
}

/* Responsive styles */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links,
    .footer-social {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
    
    .social-icon {
        margin-left: 0;
        margin-right: 10px;
    }
}

@media (max-width: 576px) {
    .main-footer {
        padding: 30px 0 15px;
    }
    
    .footer-links ul {
        flex-direction: column;
    }
    
    .footer-links li {
        margin-right: 0;
        margin-bottom: 8px;
    }
}
