/* 网站一致性修复 - 2024年更新 */

/* 1. 统一底栏高度 - 使index.html和services.html的底栏与company.html保持一致 */
footer {
    padding: 50px 0 30px; /* 调整为与company.html相同的内边距 */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px; /* 增加元素间距，与company.html保持一致 */
    padding-bottom: 30px; /* 增加底部内边距 */
}

.footer-logo img {
    max-height: 60px; /* 调整logo尺寸 */
}

.footer-contact h3, .footer-links h3 {
    margin-bottom: 20px; /* 增加标题下方间距 */
    font-size: 1.2rem; /* 调整标题字体大小 */
}

.footer-contact p, .footer-links li {
    margin-bottom: 10px; /* 调整项目间距 */
    font-size: 1rem; /* 调整文字大小 */
}

/* 2. 为services.html导航栏下方的图片添加遮罩效果 */
.page-title-section.service-title-bg {
    position: relative;
}

.page-title-section.service-title-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 添加半透明黑色遮罩 */
    z-index: 1;
}

.page-title-section.service-title-bg .container {
    position: relative;
    z-index: 2; /* 确保内容在遮罩上方 */
}

/* 3. 修复所有页面导航栏中右侧的异常标记或符号 */
nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    display: block;
    position: relative;
    padding: 8px 15px;
    margin: 0 5px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

/* 移除可能存在的异常标记 */
nav ul li a::after,
nav ul::after,
nav::after {
    display: none !important;
}

/* 确保导航栏右侧没有多余元素 */
nav ul li:last-child {
    margin-right: 0;
}

/* 修复index.html中的CSS语法错误 */
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}