/* 网站优化 - 2024 */

/* 1. 优化technology.html中的Our Technological Edge部分排版 */
.technology-intro-section {
    padding: 30px 0 10px; /* 减少上下内边距 */
}

.technology-intro-section .intro-text {
    max-width: 900px;
    margin: 0 auto;
}

.technology-intro-section h2 {
    margin-bottom: 10px; /* 减少标题下方间距 */
    font-size: 1.7rem; /* 减小标题大小 */
}

.technology-intro-section p {
    line-height: 1.4; /* 减少行高 */
    font-size: 0.92rem; /* 减小字体大小 */
    margin-bottom: 0; /* 移除底部边距 */
    padding: 0 15px; /* 添加一些侧边内边距 */
}

/* 2. 为company.html、technology.html和contact.html添加与services.html相同的背景图片 */
.company-title-bg,
.technology-title-bg,
.contact-title-bg {
    background-image: url('../images/slider/global-logistics.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}

.company-title-bg h1,
.technology-title-bg h1,
.contact-title-bg h1,
.company-title-bg p,
.technology-title-bg p,
.contact-title-bg p {
    color: white !important;
}

.company-title-bg .page-title-decoration,
.technology-title-bg .page-title-decoration,
.contact-title-bg .page-title-decoration {
    background-color: white !important;
}

/* 3. 减小contact.html页面中Your Message下面的字符框高度 */
#message {
    height: 100px !important; /* 将高度减半 */
    min-height: 100px !important;
}

/* 4. 减小所有页面底栏的高度 */
footer {
    padding: 30px 0 15px !important; /* 减少上下内边距 */
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px !important; /* 减少底部边距 */
}

.footer-logo img {
    max-height: 50px !important; /* 减小logo高度 */
    width: auto;
}

.footer-contact p,
.footer-links ul li {
    margin-bottom: 5px !important; /* 减少项目之间的间距 */
    font-size: 0.9rem !important; /* 稍微减小字体大小 */
}

.footer-contact h3,
.footer-links h3 {
    margin-bottom: 10px !important; /* 减少标题下方间距 */
    font-size: 1.1rem !important; /* 减小标题大小 */
}

.footer-tagline {
    font-size: 0.9rem !important; /* 减小标语字体大小 */
    margin-top: 5px !important; /* 减少上方间距 */
}

.footer-bottom {
    padding-top: 10px !important; /* 减少上方内边距 */
    margin-top: 10px !important; /* 减少上方外边距 */
}

.footer-bottom p {
    font-size: 0.85rem !important; /* 减小版权信息字体大小 */
}

/* 5. 移除所有页面导航栏中右侧的异常标记 */
nav ul li a:after {
    display: none !important; /* 移除所有导航项目下方的标记 */
}

nav ul li a.active {
    position: relative;
}

nav ul li a.active:after {
    content: '';
    display: block !important; /* 只为活动项目显示标记 */
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .technology-intro-section h2 {
        font-size: 1.5rem;
    }
    
    .technology-intro-section p {
        font-size: 0.85rem;
        padding: 0 10px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-logo, .footer-contact, .footer-links {
        width: 100%;
        text-align: center;
    }
}