footer {
    background-color: #0B1C3C;
    color: #fff;
    padding: 40px 0 10px;
}

.footer a,
.footer a:link,
.footer a:visited,
.footer a:hover,
.footer a:active {
    text-decoration: none !important;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-left: 40px;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
}

.footer-column ul {
    list-style: none;
    flex: 1;
    /* 使列表填充剩余空间，帮助对齐 */
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #ff6b00;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    border-top: 1px solid #444;
    color: #fff;
}

.footer-bottom a {
    color: #fff;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: #ff6b00;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    color: #fff;
    background-color: #444;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: #ff6b00;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-column {
        margin-bottom: 20px;
    }
}