/* 修改主色调为蓝色 */
:root {
    --primary-color: #0066FF;
    --primary-hover: #0052CC;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f5f5f5;
    --border-color: #eee;
}

/* 轮播图 */
.banner-slider {
    margin-top: 72px;  /* 与header高度相同 */
    height: 600px;
    width: 100%;       /* 确保宽度100% */
    overflow: hidden;  /* 防止内容溢出 */
}

.swiper-container {
    width: 100%;
    height: 100%;
    overflow: hidden;  /* 防止内容溢出 */
}

.swiper-wrapper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    width: 100% !important;  /* 强制宽度100% */
    height: 100%;
    overflow: hidden;      /* 防止内容溢出 */
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;    /* 消除图片底部间隙 */
}

.slide-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 15px;
    color: #fff;
}

.slide-content h2 {
    font-size: 42px;
    font-weight: 600;
    margin: 0 0 20px;
    letter-spacing: 2px;
}

.slide-content p {
    font-size: 20px;
    margin: 0 0 30px;
    opacity: 0.9;
}

.slide-content .btn {
    padding: 12px 35px;
    font-size: 16px;
    border-radius: 25px;
    background: var(--primary-color);
    border: none;
    transition: all 0.3s;
}

.slide-content .btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* 内容区块 */
.section {
    padding: 60px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 28px;
    color: var(--text-color);
    margin: 0 0 10px;
}

.section-title p {
    font-size: 16px;
    color: var(--text-light);
}

/* 核心优势 */
.advantage-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    transition: all 0.3s;
    height: 100%;
    border: 1px solid var(--border-color);
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.advantage-item i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.advantage-item h3 {
    font-size: 20px;
    color: var(--text-color);
    margin: 0 0 15px;
}

.advantage-item p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* 新闻动态 */
.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.news-img {
    height: 200px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s;
}

.news-card:hover .news-img img {
    transform: scale(1.1);
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 18px;
    color: var(--text-color);
    margin: 0 0 10px;
    height: 50px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-content p {
    color: var(--text-light);
    margin: 0 0 20px;
    height: 72px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-footer {
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-footer .date {
    color: #999;
    font-size: 14px;
}

.news-footer a {
    color: var(--primary-color);
    font-size: 14px;
}

.news-footer a i {
    margin-left: 5px;
}

/* 合作伙伴 */
.partner-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.partner-item {
    background: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.partner-item img {
    max-width: 100%;
    height: auto;
    /*filter: grayscale(100%);*/
    /*opacity: 0.6;*/
    transition: all 0.3s;
}

.partner-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* 页脚 */
.portal-footer {
    background: #333;
    position: relative;
    z-index: 999;
}

.footer-info img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-info p {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 18px;
    margin: 0 0 20px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: all 0.3s;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-contact {
        text-align: center;
    }
    
.footer-contact p {
    margin-bottom: 10px;
    display: inline-block;
    margin: 0 15px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    margin-top: 5px;
    padding-top: 5px;
    text-align: center;
    }
    
.footer-bottom p {
    margin: 5px 0;
    color: rgba(255,255,255,0.6);
}

/* 响应式调整 */
@media (max-width: 991px) {
    .partner-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .partner-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 导航栏样式优化 */
.tech-navbar {
    margin-bottom: 0;
    border: none;
}

/* Logo样式 */
.navbar-brand {
    height: 72px;
    padding: 16px 0;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 36px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.navbar-brand span {
    margin-left: 12px;
    font-size: 22px;
    color: #fff;
    font-weight: 400;
}

/* 导航菜单 */
.navbar-nav > li > a {
    line-height: 72px;
    padding: 0 20px;
    font-size: 15px;
    color: #333;
}

.navbar-right > li > a {
    line-height: 36px;
    padding: 0 20px;
    font-size: 15px;
    color: #333;
}

.navbar-nav > li.active > a {
    color: var(--primary-color);
    background: none;
}

/* 下拉菜单图标 */
.navbar-nav .fa-angle-down {
    margin-left: 4px;
    font-size: 14px;
}

/* 下拉菜单 */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    padding: 5px 0;
    margin: 0;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    z-index: 1000;
}

.dropdown-menu > li > a {
    display: block;
    padding: 8px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
    transition: all 0.3s;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    color: #0066FF;
    text-decoration: none;
    background-color: #f5f5f5;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* 下拉箭头动画 */
.dropdown-toggle .fa-angle-down {
    transition: transform 0.3s;
}

.dropdown.open .dropdown-toggle .fa-angle-down {
    transform: rotate(180deg);
}

/* 确保下拉菜单在正确的位置 */
.navbar-nav > li.dropdown {
    position: relative;
}

/* 用户菜单 */
.user-menu .dropdown-toggle {
    height: 72px;
    line-height: 72px;
    padding: 0 15px;
}

.user-menu .fa-user-circle {
    font-size: 20px;
    margin-right: 6px;
}

.user-menu .fa-angle-down {
    margin-left: 4px;
    font-size: 14px;
}

/* 登录注册按钮 */
.btn-login, .btn-register {
    margin: 18px 5px;
    padding: 0 20px;
    height: 36px;
    line-height: 34px;
    font-size: 14px;
    border-radius: 18px;
}

.btn-login {
    border: 1px solid var(--primary-color);
    color: var(--primary-color) !important;
    background: #fff;
}

.btn-register {
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    color: #fff !important;
}

/* 响应式菜单按钮 */
.navbar-toggle {
    margin-top: 19px;
    margin-bottom: 19px;
    padding: 9px 10px;
}

.navbar-toggle .icon-bar {
    background-color: #333;
}

/* 页面整体布局 */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    margin-top: 72px;
}

/* 页脚固定在底部 */
.portal-footer {
    margin-top: auto;
}

/* 固定头部 */
.tech-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 主要内容区域 */
.main-content {
    flex: 1;
    margin-top: 72px;  /* 与header高度相同 */
    width: 100%;
    position: relative;
    overflow: visible;  /* 移除overflow-x: hidden */
}

/* section基础样式 */
.section {
    position: relative;
    padding: 60px 0;
    background: #fff;
    width: 100%;
    overflow: hidden;  /* 控制section内容溢出 */
}

/* 交替背景色 */
.section:nth-child(even) {
    background: #f5f5f5;
}

/* Banner区域 */
.banner-slider {
    position: relative;
    margin-top: 0;
    height: 600px;
    width: 100%;
    overflow: hidden;
}

/* 页脚 */
.portal-footer {
    position: relative;
    width: 100%;
    background: #333;
    z-index: 999;
}

/* 内容区域渐入动画 */
.section {
    opacity: 1; /* 改为默认可见 */
    transform: translateY(0); /* 默认位置 */
    transition: all 0.6s ease-out;
}

.section.fade-in {
    opacity: 1;
    transform: translateY(0px);
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 轮播图分页器样式覆盖 */
.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: 20px !important;  /* 使用!important确保覆盖 */
    left: 0;
    width: 100%;
    z-index: 10;
}

/* 分页器点的样式 */
.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #fff;
}

/* 基础样式重置 */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden; /* 防止水平滚动 */
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-y: auto;  /* 只在body上允许垂直滚动 */
    overflow-x: hidden;
}

/* 主要内容区域 */
.main-content {
    flex: 1;
    margin-top: 72px;  /* 与header高度相同 */
    width: 100%;
    position: relative;
    overflow: visible;  /* 移除overflow-x: hidden */
}

/* section基础样式 */
.section {
    position: relative;
    padding: 30px 0;
    background: #fff;
    width: 100%;
    overflow: hidden;  /* 控制section内容溢出 */
}

/* Banner区域 */
    .banner-slider {
    position: relative;
    margin-top: 0;
    height: 600px;
    width: 100%;
    overflow: hidden;
}

/* 页脚 */
.portal-footer {
    position: relative;
    width: 100%;
    background: #333;
    z-index: 999;
}

/* 产品页面样式 */
.page-title {
    background: #f8f9fa;
    padding: 30px 0;
    margin-bottom: 40px;
}

.page-title h1 {
    font-size: 28px;
    color: #333;
    margin: 0 0 10px;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

/* 办理流程 */
.process-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
}

.process-box h3 {
    font-size: 18px;
    color: #333;
    margin: 0 0 30px;
}

.process-box h3 i {
    margin-right: 10px;
    color: #0066FF;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.process-steps:before {
    content: '';
    position: absolute;
    top: 40px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: #e3f2fd;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    border: 2px solid #e3f2fd;
}

.step-icon i {
    font-size: 32px;
    color: #0066FF;
}

.step-info h4 {
    font-size: 16px;
    color: #333;
    margin: 0 0 5px;
}

.step-info p {
    color: #666;
    margin: 0;
}

/* Tab切换动画 */
.tab-pane {
    transition: all 0.3s ease-out;
}

.tab-pane.fade {
    opacity: 0;
    transform: translateY(10px);
}

.tab-pane.fade.in {
    opacity: 1;
    transform: translateY(0);
}
/* 激活状态的Tab样式增强 */
.nav-tabs > li.active > a {
    position: relative;
}

.nav-tabs > li.active > a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s;
}
/* Tab内容样式 */
.tab-content {
    padding: 10px 0;
}

.tab-pane {
    display: none;  /* 默认隐藏 */
}

.tab-pane.active {
    display: block !important;  /* 激活时显示 */
}
/* 确保行和列正确显示 */
.row {
    margin-left: -15px;
    margin-right: -15px;
    display: flex;
    flex-wrap: wrap;
}

.col-md-4 {
    padding-left: 10px;
    padding-right: 10px;
    width: 33.333333%;
} 