/* 现代化响应式页脚样式 */

footer {
    background-color: #f8f9fa;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
     border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer {
    padding: 50px 0 30px;
    background: #fff;
    display: flex;
    flex-wrap: wrap;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}

.footer-column {
    margin-bottom: 30px;
    flex: 1;
    min-width: 200px;
    padding: 0 15px;
}

.footer-column:first-child {
    flex: 2;
    min-width: 300px;
    margin-bottom: 20px;
}

.footer-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
    max-width: 300px;
}

.footer-heading {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #5AAC2C, #7cc254);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    font-size: 14px;
}

.footer-links a:hover {
    color: #5AAC2C;
    transform: translateX(3px);
}

.copyright {
    padding: 20px 0;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.copyright-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.copyright-text {
    color: #888;
    font-size: 13px;
    margin: 0;
    line-height: 1.6;
}

/* 社交媒体图标 */
.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 50%;
    color: #666;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #5AAC2C;
    color: white;
    transform: translateY(-3px);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-column {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }
    
    .footer-column:first-child {
        min-width: 100%;
    }
    
    .footer-heading:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-description {
        max-width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
        text-align: center;
    }
    
    .footer-container {
        flex-direction: column;
        align-items: center;
        display: flex;
        flex-wrap: nowrap;
    }
    
    .footer-column {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 25px;
        width: 100%;
    }
    
    .footer-column:last-child {
        margin-bottom: 20px;
    }
    
    .footer-heading:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
    }
    
    .footer-links li {
        margin-bottom: 0;
        width: 100%;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
        margin-top: 25px;
        width: 100%;
    }
    
    .footer-description {
        max-width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    footer {
        margin-top: 40px;
    }
    
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-container {
        padding: 0 10px;
        display: flex;
        flex-direction: column;
    }
    
    .footer-column {
        padding: 0 10px;
        margin-bottom: 25px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-column:first-child {
        min-width: 100%;
    }
    
    .footer-heading {
        font-size: 16px;
        margin-bottom: 15px;
        width: 100%;
        text-align: center;
    }
    
    .footer-links {
        gap: 12px;
        width: 100%;
    }
    
    .footer-links a {
        font-size: 15px;
        padding: 3px 0;
        width: 100%;
        text-align: center;
        display: block;
    }
    
    .social-icons {
        gap: 15px;
        width: 100%;
        justify-content: center;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .copyright {
        padding: 15px 0;
    }
    
    .copyright-text {
        font-size: 12px;
        padding: 0 10px;
        line-height: 1.7;
    }
}