:root {
    --primary-blue: #1366DD;
    --primary-orange: #FE8100;
    --primary-green: #33C759;
    --primary-red: #E83624;
    --white: #FFFFFF;
    --black: #333333;
    --gray: #999999;
    --light-gray: #F5F5F5;
    --light-blue: #f7faff;
}

/* 通用样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--black);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 顶部工具栏样式 */
.top-bar {
    background-color: var(--light-gray);
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.top-links {
    display: flex;
    align-items: center;
}

.top-links a {
    color: var(--black);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
}

/* 文字链接的样式 */
.top-links a:not([aria-label]) {
    color: var(--primary-blue);
    margin-right: 20px;
}

.top-links a:not([aria-label]) i {
    margin-right: 5px;
    color: var(--primary-blue);
}

/* 社交图标链接的样式 */
.top-links a[aria-label] {
    margin-left: 10px;
}

.top-links a[aria-label] i {
    font-size: 18px;
    color: var(--primary-green);
}

.top-links a[aria-label] i:hover {
    color: var(--primary-blue);
}

/* 头部样式 */
.header-main {
    padding: 20px 0;
    background: var(--white);
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 55px;
}

.search-box {
    flex: 0 1 500px;
    margin: 0 30px;
}

.search-form {
    display: flex;
    border: 2px solid var(--primary-blue);
    border-radius: 4px;
}

.search-input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
}

.search-button {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0 20px;
    cursor: pointer;
}

/* 导航栏样式 */
.main-nav {
    background: var(--primary-blue);
    padding: 10px 0;
    transition: transform 0.3s ease;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-list a {
    color: var(--white);
    text-decoration: none;
    padding: 8px 15px;
    transition: background 0.3s;
}

.nav-list a:hover,
.nav-list a.active {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* 头部右侧样式优化 */
.header-right {
    display: flex;
    align-items: center;
}

/* 特色服务样式优化 */
.features {
    background: var(--light-blue);
    padding-bottom:  20px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-item i {
    font-size: 32px;
    color: var(--primary-blue);
}

.feature-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--black);
}

.feature-content p {
    font-size: 14px;
    color: var(--gray);
}

/* 底部样式优化 */
.footer-main {
    background: var(--light-gray);
    padding: 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1.2fr;
    gap: 40px;
}

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--black);
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--primary-blue);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li i {
    width: 20px;
    color: var(--primary-blue);
}

/* 添加链接样式 */
.footer-col ul li a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--black);
}

.quick-links {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 15px;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-primary:hover i {
    color: var(--white);
}

.btn-primary i {
    font-size: 16px;
}

.divider {
    color: var(--gray);
    font-size: 20px;
}

/* 版权信息样式 */
.copyright {
    background: var(--black);
    color: var(--white);
    padding: 20px 0;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-main .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-box {
        flex: none;
        width: 100%;
        margin: 10px 0;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }

    /* 添加分类导航的响应式处理 */
    .category-nav {
        display: none; /* 在移动端隐藏 */
    }

    /* 修改顶部区域布局 */
    .top-section {
        display: grid;
        grid-template-columns: 1fr; /* 改为单列布局 */
        gap: 10px; /* 减小间距 */
    }

    /* 确保导航隐藏 */
    .category-nav {
        display: none;
    }

    /* 轮播区域占满宽度 */
    .slider-section {
        width: 100%;
    }

    .top-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .top-bar .container {
        justify-content: center;
    }

    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-list a {
        padding: 6px 12px;
        font-size: 14px;
    }

    .quick-actions {
        flex-direction: column;
        gap: 15px;
        height: auto;
        padding: 15px;
    }
    
    .action-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .social-links {
        justify-content: center;
    }

    .footer-col {
        max-width: 100% !important;
    }
    
    .footer-col:first-child {
        max-width: 100%;
    }
    
    .quick-links {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-tip {
        text-align: center;
        justify-content: center;
    }

    .slider-wrapper {
        height: 300px; /* 减小移动端高度 */
    }
    
    .slider-button {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .service-advantages {
        grid-template-columns: 1fr;
    }
    
    .advantage-item h3 {
        font-size: 18px;
    }
    
    .advantage-item p {
        font-size: 14px;
    }

    .copyright p {
        font-size: 12px;
    }
    
    .copyright-design {
        font-size: 10px;
    }

    .search-form {
        margin: 0;
    }
    
    .search-input {
        font-size: 14px;
    }
    
    .search-button {
        padding: 0 15px;
    }

    .contact-info {
        flex-direction: row !important;
        justify-content: center;
        gap: 10px;
        align-items: center;
        flex-wrap: nowrap;
        width: 100%;
    }
    
    .contact-info .contact-item {
        font-size: 10px;
        white-space: nowrap;
        font-weight: 600;
    }
    
    .contact-info .contact-item i {
        font-size: 10px;
    }

    /* 调整图标和文字的间距 */
    .contact-info .contact-item {
        gap: 2px;
    }

    /* 调整联系信息的位置 */
    .header-right {
        width: 100%;
        margin-top: 5px;
    }

    /* Logo 样式调整 */
    .logo {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .top-bar .container {
        justify-content: space-between; /* 改为两端对齐 */
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 1000;
        transform: translateX(-100%); /* 默认隐藏 */
        background: rgba(19, 102, 221, 0.95); /* 半透明背景 */
    }

    .main-nav.active {
        transform: translateX(0); /* 显示导航栏 */
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        padding: 60px 20px;
    }

    .nav-list a {
        font-size: 18px;
        padding: 15px 20px;
        width: 100%;
        text-align: center;
    }

    /* 调整顶部链接间距 */
    .top-links a:not([aria-label]) {
        margin-right: 10px; /* 从20px减小到10px */
        font-size: 12px; /* 稍微减小字体大小 */
    }

    .top-links a:not([aria-label]) i {
        margin-right: 3px; /* 从5px减小到3px */
        font-size: 12px; /* 图标也相应减小 */
    }

    /* 社交图标的间距保持不变 */
    .top-links a[aria-label] {
        margin-left: 15px; /* 从8px增加到15px */
    }

    .top-links a[aria-label] i {
        font-size: 18px; /* 稍微增大图标 */
    }

    /* 确保社交图标和其他链接有明显分隔 */
    .top-links a:last-child[aria-label] {
        margin-right: 0; /* 最后一个图标不需要右边距 */
    }

    /* 文字链接的样式保持不变 */
    .top-links a:not([aria-label]) {
        margin-right: 10px;
        font-size: 12px;
    }
}

/* 添加通用的白色背景类 */
.section-white {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.section-white:last-child {
    margin-bottom: 0;
}

/* 联系信息样式 - 基础样式 */
.contact-info {
    display: flex;
    flex-direction: column; /* 默认为纵向排列 */
    align-items: flex-end;
    gap: 0;
}

/* 移动端样式 */
@media (max-width: 768px) {
    .contact-info {
        flex-direction: row !important;
        justify-content: center;
        gap: 10px;
        align-items: center;
        flex-wrap: nowrap;
        width: 100%;
    }
    
    .contact-info .contact-item {
        font-size: 10px;
        white-space: nowrap;
        font-weight: 600;
    }
    
    .contact-info .contact-item i {
        font-size: 10px;
    }

    /* 调整图标和文字的间距 */
    .contact-info .contact-item {
        gap: 2px;
    }
}

.contact-info .contact-item {
    color: var(--primary-red);
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 18px;
    font-weight: 800;
    cursor: default;
}

.contact-info .contact-item i {
    color: var(--primary-red);
    font-size: 18px;
} 
/* 主内容区域布局 */
.main-content {
    padding: 20px 0;
    background-color: var(--light-blue);
}

/* 通用的标题样式 */
.section-title {
    position: relative;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* 标题文字样式 */
.section-title span {
    position: relative;
    padding: 0 10px;
    color: var(--primary-blue);
}

/* 标题链接样式 */
.section-title a {
    color: var(--primary-blue);
    text-decoration: none;
}

/* 两端的线条 */
.section-title::before,
.section-title::after {
    content: '';
    height: 1px;
    background: var(--primary-blue);
    flex: 1;
    max-width: 200px;
}

/* 添加图标样式 */
.section-title i {
    color: var(--primary-blue);
    font-size: 24px;
}

/* 添加标题的响应式样式 */
@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .section-title::before,
    .section-title::after {
        max-width: 100px;
    }
}

.contact-tip {
    color: var(--primary-blue);
    font-size: 14px;
    margin-bottom: 20px;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.contact-tip i {
    font-size: 16px;
    color: var(--primary-blue);
}

/* Contact Us 列的特殊样式 */
.footer-col:first-child {
    max-width: 380px;
}

.footer-col:first-child li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.footer-col:first-child i {
    flex-shrink: 0;
    margin-top: 4px;
}

/* 社交链接 */
.social-links {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
    justify-content: flex-end;
}

.social-links a {
    color: var(--primary-green);
    font-size: 40px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-red);
    transform: translateY(-2px);
}

.social-links a i {
    transition: all 0.3s ease;
}

/* 版权信息样式 */
.copyright-design {
    font-size: 12px;
    margin-top: 5px;
}

.copyright-design a {
    color: var(--white);
    text-decoration: none;
}

/* 移动导航按钮 */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    margin-right: 10px; /* 添加右边距 */
}

@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
        position: relative;
        z-index: 1001; /* 确保按钮始终可点击 */
    }

    .top-bar .container {
        justify-content: space-between; /* 两端对齐 */
        position: relative; /* 添加定位上下文 */
    }

    .top-links {
        flex: 1; /* 让链接占据剩余空间 */
        justify-content: center; /* 链接居中 */
    }

    /* 当导航栏激活时的按钮样式 */
    .mobile-nav-toggle .fa-times {
        color: var(--white); /* 关闭按钮为白色 */
    }
}

/* 品牌网格 - 通用样式 */
.brand-grid {
    display: grid !important; /* 强制使用grid布局 */
    grid-template-rows: repeat(2, 1fr) !important;
    grid-auto-flow: column !important;
    gap: 20px !important;
    overflow-x: auto !important;
    padding: 10px 5px !important;
    scrollbar-width: thin !important;
    scrollbar-color: var(--primary-blue) var(--light-gray) !important;
    -webkit-overflow-scrolling: touch !important;
}

.brand-grid::-webkit-scrollbar {
    height: 6px !important;
}

.brand-grid::-webkit-scrollbar-track {
    background: var(--light-gray) !important;
    border-radius: 3px !important;
}

.brand-grid::-webkit-scrollbar-thumb {
    background-color: var(--primary-blue) !important;
    border-radius: 3px !important;
}

.brand-item {
    text-align: center !important;
    padding: 8px !important;
    background: var(--white) !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: transform 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 120px !important;
    box-sizing: border-box !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid var(--light-gray) !important;
}

.brand-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
}

.brand-item img {
    width: 100px !important;
    height: 50px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

.brand-item h3 {
    margin-top: 5px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100px !important;
    color: var(--black) !important;
}

/* 品牌网格响应式 */
@media (max-width: 768px) {
    .brand-grid {
        gap: 10px !important;
        padding: 5px 2px !important;
    }

    .brand-item {
        width: 100px !important;
        padding: 6px !important;
    }

    .brand-item img {
        width: 80px !important;
        height: 40px !important;
    }

    .brand-item h3 {
        width: 80px !important;
        font-size: 11px !important;
    }
}

/* 新闻网格 - 通用样式 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}

.news-card {
    background: var(--white);
    border-radius: 8px;
    padding: 15px;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid var(--light-gray);
}

.news-card a {
    text-decoration: none;
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.news-card h3 {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0;
    flex: 1;
    max-width: calc(100% - 60px);
}

.news-card .news-date {
    color: var(--gray);
    font-size: 14px;
    white-space: nowrap;
    min-width: 45px;
}

/* 每列最后一个新闻卡片不需要边框和间距 */
.news-card:last-child,
.news-card:nth-last-child(2) {
    border-bottom: none;
    margin-bottom: 0;
}

/* 新闻网格响应式 */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card:nth-last-child(2) {
        border-bottom: 1px solid var(--light-gray);
        margin-bottom: 10px;
    }
}