/*styles\style-footer.css*/
/* 底部栏容器样式 */
#footer {
    background-color: #2c3e50;
    /* 设置背景颜色为深蓝色 */
    padding: 40px 20px 20px;
    /* 添加上右下左的内边距 */
    color: #2c3e50;
    /* 设置文字颜色为白色 */
    font-family: "Microsoft YaHei", sans-serif;
    /* 设置字体 */
    position: relative;
    /* 相对定位 */
}

/* 第一层内容容器 - 使用网格布局 */
.one-box {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: flex-start;
}

/* 服务区块容器样式 */
.services {
    display: inline-flex;
    flex-direction: column;
    width: auto;
    flex: 0 1 auto;
}

/* 服务标题样式 */
.services-title {
    font-size: 1.3rem;
    /* 设置字体大小 */
    font-weight: 600;
    /* 设置字体粗细 */
    margin-bottom: 20px;
    /* 底部外边距20px */
    color: #ffffff;
    /* 设置文字颜色为白色 */
    position: relative;
    /* 相对定位，为伪元素定位提供参考 */
    padding-bottom: 10px;
    /* 底部内边距，为下划线留出空间 */
}

/* 服务链接样式 */
.services-one {
    color: #ffffff;
    /* 设置文字颜色为白色 */
    text-decoration: none;
    /* 去除下划线 */
    margin-bottom: 12px;
    /* 底部外边距12px */
    transition: all 0.3s ease;
    /* 添加过渡动画效果，持续0.3秒 */
    font-size: 0.95rem;
    /* 设置字体大小 */
    position: relative;
    /* 相对定位，为伪元素定位提供参考 */
    padding-left: 15px;
    /* 左侧内边距，为装饰点留出空间 */
    display: block;
    /* 设置为块级元素 */
}

/* 服务链接前的装饰点 - 使用伪元素实现 */
.services-one::before {
    content: '•';
    /* 使用圆点作为装饰 */
    position: absolute;
    /* 绝对定位 */
    left: 0;
    /* 定位到左侧 */
    color: #9370db;
    /* 设置圆点颜色为紫色 */
    font-size: 1.2rem;
    /* 设置圆点大小 */
}

/* 服务链接悬停效果 */
.services-one:hover {
    color: #9370db;
    /* 悬停时文字变为紫色 */
    transform: translateX(5px);
    /* 向右平移5px */
}

/* 服务信息文本样式 */
.service-one-copy {
    color: #ffffff;
    /* 设置文字颜色为白色 */
    margin-bottom: 12px;
    /* 底部外边距12px */
    font-size: 0.95rem;
    /* 设置字体大小 */
    line-height: 1.5;
    /* 设置行高为1.5倍 */
    display: flex;
    /* 使用弹性布局 */
    align-items: center;
    /* 垂直居中 */
}

/* 二维码标题样式 */
.code {
    font-size: 1.3rem;
    /* 设置字体大小 */
    font-weight: 600;
    /* 设置字体粗细 */
    margin-bottom: 15px;
    /* 底部外边距15px */
    color: #ffffff;
    /* 设置文字颜色为白色 */
}

/* 二维码图片样式 */
.code-img {
    width: 120px;
    /* 设置宽度为120px */
    height: 120px;
    /* 设置高度为120px */
    padding: 10px;
    /* 设置内边距为10px */
    background: white;
    /* 设置背景为白色 */
}

/* 底部装饰图片样式 */
.footerimg {
    width: 200px;
    /* 设置宽度为200px */
    height: auto;
    /* 高度自适应 */
}

/*分割线*/
.line {
    width: 100%;
    height: 1px;
    background-color: #ffffff;
}

/* 第二层内容容器（版权信息等） */
.two-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    color: #95a5a6;
    padding: 0 1rem;
    min-height: 90px;
    box-sizing: border-box;
}

/* 所有版权信息链接统一样式 */
.two-box a {
    color: #95a5a6;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 15px;
    padding: 4px 8px;
    border-radius: 3px;
}

/* 版权信息链接样式 */
.two-box-left {
    color: #95a5a6;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-right: 15px;
}

/* 公安备案链接特殊处理（因为有图标） */
.two-box a[href*="beian.mps.gov.cn"] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
}

/* 版权信息文字样式 */
.two-box span {
    margin-left: auto;
}

/* 平板设备适配 (768px - 1024px) */
@media (max-width: 1024px) {
    .two-box {
        gap: 15px;
        min-height: 80px;
        font-size: 0.82rem;
    }

    .two-box-left {
        margin-right: 10px;
    }
}

/* 移动设备适配 (480px - 768px) */
@media (max-width: 768px) {
    .two-box {
        flex-direction: column;
        /* 改为垂直布局 */
        justify-content: center;
        /* 居中对齐 */
        text-align: center;
        /* 文字居中 */
        gap: 12px;
        min-height: auto;
        /* 自动高度 */
        padding: 1.5rem 1rem;
        /* 增加垂直内边距 */
    }

    .two-box-left {
        margin-right: 0;
        /* 移除右边距 */
        margin-bottom: 5px;
        /* 添加底部间距 */
        order: 1;
        /* 控制显示顺序 */
    }

    .two-box a:not(.two-box-left) {
        order: 2;
        /* 控制显示顺序 */
    }
}

/* 小屏手机适配 (小于480px) */
@media (max-width: 480px) {
    .two-box {
        gap: 8px;
        padding: 1rem 0.8rem;
        font-size: 0.78rem;
        /* 进一步缩小字体 */
    }

    .two-box a {
        word-break: break-word;
        /* 长文本自动换行 */
        line-height: 1.4;
        /* 增加行高提升可读性 */
        max-width: 100%;
        /* 确保不超出容器 */
    }
}

/* 超大屏幕适配 (大于1440px) */
@media (min-width: 1440px) {
    .two-box {
        max-width: 1200px;
        /* 限制最大宽度 */
        margin: 0 auto;
        /* 居中显示 */
    }
}