/* 1. 布局框架 */
.footer {
    background: #ffffff;
    color: #111111;
    padding: 40px 0 0;
}

.footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 2. Logo 区 */
.footer-logo {
    margin-bottom: 30px;
}

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

/* 3. 主要内容区（左右两列） */
.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

/* 4. 左侧：公司介绍 + 联系方式 */
.footer-left {
    flex: 0 0 40%;
    max-width: 40%;
}

.footer-company-name {
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 20px;
}

.footer-company-desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* 5. 右侧：导航链接 + 证书 */
.footer-right {
    flex: 0 0 55%;
    max-width: 55%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-nav-col {
    flex: 1;
}

.footer-nav-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.footer-category li {
    margin-bottom: 10px;
}

.footer-category a {
    color: #111111;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-category a:hover {
    color: #ed6f13;
}

/* 6. 证书区 */
.footer-certifications h4 {
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-certifications-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-certifications-logos img {
    max-width: 80px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-certifications-logos img:hover {
    opacity: 1;
}

/* 7. 联系方式 */
.foot_contact {
    margin: 20px 0;
}

.foot_contact .item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.foot_contact .icon {
    margin-right: 10px;
}

.foot_contact .icon img {
    width: 20px;
    height: 20px;
}

.foot_contact a {
    color: #111111;
    text-decoration: none;
    font-size: 14px;
}

.foot_contact a:hover {
    color: #ed6f13;
}

/* 8. 社交媒体图标 */
.footer-shere {
    margin-top: 20px;
}

.footer-shere a {
    margin-right: 10px;
}

.footer-shere img {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-shere img:hover {
    opacity: 1;
}

/* 9. 底部版权信息栏 */
/* 9. 底部版权信息栏 */
.foot-bottom {
    background: #f8f9fa;
    padding: 15px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 40px;
}

.foot-bottom .container {
    display: flex;
    justify-content: space-between; /* 左右分布 */
    align-items: center; /* 垂直居中 */
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px; /* 确保容器两侧有 20px 内边距 */
    box-sizing: border-box; /* 防止 padding 导致溢出 */
}

.foot-bottom .copyright {
    margin: 0;
    font-size: 14px;
    color: #555;
    white-space: nowrap; /* 防止版权信息换行 */
}

.foot-bottom .footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 20px; /* 链接之间的间距 */
}

.foot-bottom .footer-links a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.foot-bottom .footer-links a:hover {
    color: #ed6f13;
}

/* 确保最后一个链接右侧有 20px 间距 */
.foot-bottom .footer-links a:last-child {
    margin-right: 40px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .foot-bottom .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .foot-bottom .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .foot-bottom .footer-links a {
        margin: 0 5px;
    }

    /* 移除移动端最后一个链接的右侧间距 */
    .foot-bottom .footer-links a:last-child {
        margin-right: 0;
    }
}

/* 10. 响应式设计 */
@media (max-width: 992px) {
    .footer-main {
        flex-direction: column;
    }

    .footer-left,
    .footer-right {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .footer-nav {
        flex-direction: column;
        gap: 30px;
    }

    .footer-nav-col {
        margin-bottom: 20px;
    }

    .footer-certifications-logos {
        justify-content: flex-start;
    }

    .foot-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .foot-bottom .footer-links {
        margin-top: 10px;
    }

    .foot-bottom .footer-links a {
        margin: 0 8px;
    }
}
