﻿@charset "UTF-8";

body {
    font-family: Arial, sans-serif;
}

a{
  text-decoration:none;
}

a:hover{
  text-decoration:none;
}

.container-fluid {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

/* 导航栏整体样式 */
.navbar-custom {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #FFA500;
    /* 橙色品牌色 */
}

.navbar-brand img {
    height: 80px;
    margin-right: 20px;
}

.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.nav-item {
    margin: 0 0.5em;
}

.nav-item .nav-link {
    font-size: 1.1em;
}

/* 导航链接样式 */
.navbar-nav .nav-link {
    color: #333;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #FFA500;
    /* 悬停时变为橙色 */
}

.navbar-nav .active .nav-link {
    color: #FFA500;
    border-bottom: 3px solid #FFA500;
}

/* 联系信息样式 */
.contact-info {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .navbar-brand img {
        height: 50px;
        margin-right: 10px;
    }
}

/* 问题模块样式 */
.service-problem {
    background: url('../images/problem.jpg') no-repeat center center;
    background-size: cover;
    height: 800px;
}

/* 优势模块样式 */
.service-advantage {
    background: url('../images/advantage.jpg') no-repeat center center;
    background-size: cover;
    height: 830px;
}

/* 响应式调整 */
@media (max-width: 768px) {

    /* 问题模块样式 */
    .service-problem {
        background: url('../images/m-problem.jpg') no-repeat center center;
        background-size: cover;
        height: 240px;
    }

    /* 优势模块样式 */
    .service-advantage {
        background: url('../images/m-advantage.jpg') no-repeat center center;
        background-size: cover;
        height: 360px;
    }
}

/* 服务项目模块样式 */
.service-section {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.service-section h2 {
    font-size: 2.4em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
    color: #ff7b00;
}

.service-section .container-bg1 {
    background: rgba(0, 0, 0, 0) url(../images/zg1.jpg) no-repeat center center;
}

.service-section .container-bg2 {
    background: rgba(0, 0, 0, 0) url(../images/zg2.jpg) no-repeat center center;
}

.service-section .container-bg3 {
    background: rgba(0, 0, 0, 0) url(../images/zg3.jpg) no-repeat center center;
}

.service-section .container-bg4 {
    background: rgba(0, 0, 0, 0) url(../images/zg4.jpg) no-repeat center center;
}

.service-item {
    min-height: 300px;
    color: #fff;
    border-radius: 20px;
    padding: 3em;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item h3 {
    margin-bottom: 20px;
    font-weight: bold;
}

.service-item p {
    font-size: 1.2em;
}

.service-item button {
    background-color: #fff;
    color: #FFA500;
    border: none;
    font-size: 14px;
    padding: 8px 25px;
    margin-top: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.service-item button:hover {
    background-color: #f0f0f0;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .service-item {
        margin-bottom: 15px;
        padding: 35px 20px;
    }

    .service-section h3 {
        font-size: 1.3em;
    }
}

.about-us-section {
    background: url('../images/about.jpg') no-repeat center center;
    background-size: cover;
    height: 300px;
  }
  
  .section-title {
    font-weight: 700;
    color: #333;
  }

  .about-us-section .about-content{
    background: #fff;
    padding: 3em 5em;
    margin-top: 160px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 3px 6px 8px rgba(0, 0, 0, 0.1);
  }
  
  .about-content p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
  }
 
  /* 响应式调整 */
  @media (max-width: 768px) {
    .about-content p {
      font-size: 1em;
    }
    
  }

  /* 问题模块样式 */
.service-hot {
    background: url('../images/hot_spot.jpg') no-repeat center center;
    background-size: cover;
    height: 200px;
    margin-top: 250px;
}

/* 优势模块样式 */
.service-cooperate {
    background: url('../images/cooperate.jpg') no-repeat center center;
    background-size: cover;
    height: 560px;
}

/* 响应式调整 */
@media (max-width: 768px) {

    /* 问题模块样式 */
    .service-hot {
        background: url('../images/m-hot_spot.jpg') no-repeat center center;
        background-size: cover;
        height: 100px;
        margin-top: 350px;
    }

    /* 优势模块样式 */
    .service-cooperate {
        background: url('../images/m-cooperate.jpg') no-repeat center center;
        background-size: cover;
        height: 200px;
    }
}

.news-section {  
    background-color: #fff;  
    padding: 50px 0;  
  }  

  .news-tabs .nav-link {  
    color: #666;  
    padding: 8px 15px;  
    transition: all 0.3s;  
    border-radius: 0;  
    border-bottom: 2px solid transparent;  
  }  

  .news-tabs .nav-link.active {  
    color: #FFA500;  
    border-bottom: 2px solid #FFA500;  
    background-color: transparent;  
  }  

  .news-image {  
    position: relative;  
    margin-bottom: 30px;  
  }  

  .image-caption {  
    position: absolute;  
    bottom: 0;  
    left: 0;  
    right: 0;  
    background-color: rgba(0,0,0,0.5);  
    color: #fff;  
    padding: 10px;  
    font-size: 1.1rem;  
  }  

  .news-list .news-item {
    padding: 1em 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
  }  

  .news-list .news-item:hover {  
    transform: translateX(5px);  
    background-color: #f8f9fa;  
  }  

  .news-list .news-item:hover .news-title {  
    color: #FFA500;  
  }  

  .news-title {  
    transition: color 0.3s;  
    font-size: 1.05rem;  
    text-decoration: none;  
    color: #333;  
  }  

  .news-date {  
    font-size: 0.9rem;  
    color: #999;  
    white-space: nowrap;  
  }  

  .tab-content {  
    margin-top: 30px;  
  }  

  .tab-pane {  
    animation: fadeIn 0.5s;  
  }  

  @keyframes fadeIn {  
    from { opacity: 0; }  
    to { opacity: 1; }  
  }  

  /* 响应式调整 */  
  @media (max-width: 992px) {  
    .news-tabs .nav-link {  
      padding: 6px 12px;  
      font-size: 0.95rem;  
    }  
  }  

  .footer {
    background-color: #184c89;
    color: #fff;
    padding-top: 3em;
    font-size: 0.95rem;
  }  
    
  .feature-section {
    margin-bottom: 2em;
  }  
    
  .feature-container {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #b5b5b5;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    flex-direction: row;
    padding-bottom: 1em;
  }  
    
  .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    width: 25%;
  }  
    
  .feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    flex-shrink: 0;
  }  
    
  .feature-icon img {
    object-fit: contain;
  }  
    
  .feature-text {  
    flex-grow: 1;  
  }  
    
  .feature-title {  
    font-size: 1.1rem;  
    font-weight: 600;  
    margin-bottom: 5px;  
    color: #fff;  
  }  
    
  .feature-desc {  
    font-size: 0.9rem;  
    color: #c0cacb;  
    margin: 0;  
  }  
    
  .footer-nav {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 1em auto;
    padding: 0 15px;
    justify-content: space-between;
  }  
    
  .footer-column {
    width: 15%;
    margin-bottom: 20px;
  }  

  .footer-column1 {
    width: 30%;
    margin-bottom: 20px;
  }  

  .footer-column2 {
    width: 25%;
    margin-bottom: 20px;
  }  
    
  .footer-title {  
    font-size: 1rem;  
    margin-bottom: 15px;  
    color: #fff;  
    font-weight: 600;  
  }  
    
  .footer-links {  
    list-style: none;  
    padding: 0;  
    margin: 0;  
  }  
    
  .footer-links li {  
    margin-bottom: 8px;  
  }  
    
  .footer-link {
    color: #d1d4d7;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
  }  
    
  .footer-link:hover {
    color: #fff;
    text-decoration: none;
  }  
    
  .contact-info {
    width: 100%;
    max-width: 300px;
    margin: 15px auto 15px;
    text-align: center;
  }  
    
  .contact-info p {
    width: 100%;
    margin: 0.5em;
    color: #c0cacb;
  }  
    
  .qr-codes {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
  }  
    
  .qr-code {
    width: 46%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1a252f;
    border-radius: 8px;
    overflow: hidden;
    flex-wrap: wrap;
  }  
    
  .qr-code img {  
    max-width: 90%;  
    max-height: 90%;  
  }  
    
  .copyright {
    text-align: center;
    font-size: 0.85rem;
    background-color: #092652;
    color: #cbced1;
    border-top: 1px solid #34495e;
    padding: 1em;
  }  
    
  .copyright-links {  
    display: flex;  
    justify-content: center;  
    flex-wrap: wrap;  
    gap: 15px;  
    margin-bottom: 10px;  
  }  
    
  /* 响应式调整 */  
  @media (max-width: 992px) {  
    .feature-container {
      align-items: center;
      margin: 0 1em;
    }  
      
    .feature-item {
      width: 45%;
      max-width: 300px;
    }  
      
    .footer-column {  
      width: 45%;  
    }  

    .footer-column1 {
      width: 45%;
    }  
  
    .footer-column2 {
      width: 45%;
    } 
  }  
    
  @media (max-width: 768px) {  
    .footer {  
      padding: 30px 0;  
    }  
      
    .feature-section {  
      margin-bottom: 30px;  
    }  
      
    .footer-column {  
      width: 100%;  
      text-align: center;  
    }  

    .footer-column1 {
      width: 100%;  
      text-align: center;  
    }  
  
    .footer-column2 {
      width: 100%;  
      text-align: center;  
    } 
      
    .footer-links {  
      display: flex;  
      flex-wrap: wrap;  
      justify-content: center;  
      gap: 10px;  
    }  
      
    .footer-links li {  
      margin: 5px;  
    }  
      
    .contact-info {  
      max-width: 100%;  
      text-align: center;  
    }  
      
    .qr-codes {  
      flex-wrap: wrap;  
      gap: 15px;  
    }  
      
    .qr-code {
      width: 46%;
    }  
  }  
    
  @media (max-width: 480px) {  
    .feature-icon {  
      width: 50px;  
      height: 50px;  
    }  
      
    .feature-icon img {
      width: 50px;
      height: 50px;
    }  
      
    .feature-title {  
      font-size: 1rem;  
    }  
      
    .footer-title {  
      font-size: 1.1rem;  
    }  
  }  

  :root {
    --theme-primary: #2565af;
    --theme-dark: #1e5291;
    --theme-light: #f0f4f8;
    --text-main: #333333;
    --text-secondary: #6c757d;
    --accent-orange: #FFA500;
    --card-radius: 8px;
    --transition-speed: 0.3s;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #fcfcfc;
}

/* ================= 新闻动态模块 (News) ================= */
.news-section {
    padding: 80px 0;
    background: var(--theme-light);
}

.news-card {
    background: #fff;
    border: none;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(37, 101, 175, 0.15);
}

.news-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img-wrapper img {
    transform: scale(1.1);
}

.news-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-orange);
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.news-date-badge span {
    display: block;
    font-size: 1.1rem;
}

.news-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-category {
    color: var(--theme-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.8rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.news-card:hover .news-title {
    color: var(--theme-primary);
}

.news-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.news-footer {
    border-top: 1px solid #eee;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #999;
}

.read-more-link {
    color: var(--theme-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.read-more-link i {
    margin-left: 5px;
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.read-more-link:hover i {
    transform: translateX(3px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .section-title { font-size: 1.8rem; }
    .case-card-inner { height: auto; }
    .case-image-wrapper { height: 250px; }
    .case-content { padding: 2rem; }
    .case-stats { gap: 1rem; }
    .stat-item h4 { font-size: 1.2rem; }
}


/* --- 模块容器 --- */
.case-section {
  padding: 60px 0;
  background: #fff;
  position: relative;
  overflow: hidden; /* 防止阴影溢出 */
}

.container-custom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* --- 标题部分 --- */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--text-dark);
  margin: 0;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

/* --- Swiper 核心样式优化 --- */
.swiper-container {
  width: 100%;
  padding: 10px 0 30px 0; /* 底部留白给阴影 */
}

.swiper-slide {
  height: auto; /* 关键：让高度自适应内容 */
  display: flex;
  justify-content: center;
}

/* --- 卡片设计 (核心) --- */
.case-card {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: var(--transition);
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #eee;
  height: 100%; /* 确保填满 slide */
}

/* 悬停效果：上浮 + 阴影加深 */
.case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(37, 101, 175, 0.15);
  border-color: transparent;
}

/* 图片区域：强制固定比例，防止参差不齐 */
.case-img-box {
  width: 100%;
  padding-top: 65%; /* 宽高比约 1.5:1，可根据图片调整，如 75% 或 50% */
  position: relative;
  overflow: hidden;
  background-color: #f0f0f0;
}

.case-img-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 关键：裁剪填充，不变形 */
  transition: transform 0.5s ease;
}

/* 悬停时图片微放大 */
.case-card:hover .case-img-box img {
  transform: scale(1.05);
}

/* 文字区域 */
.case-text {
  padding: 20px 15px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.case-text h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  transition: color 0.3s;
  /* 限制最多两行，超出省略 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-card:hover .case-text h3 {
  color: var(--primary-color);
}

/* --- 导航按钮样式 --- */
.swiper-button-next, .swiper-button-prev {
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  color: var(--primary-color);
  transition: var(--transition);
  border: 1px solid #eee;
  z-index: 10;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 101, 175, 0.3);
}

/* 修正 FontAwesome 图标映射 */
.swiper-button-next::after, .swiper-button-prev::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 16px;
}
.swiper-button-prev::after { content: "\f053"; }
.swiper-button-next::after { content: "\f054"; }

/* 按钮位置 */
.swiper-button-prev { left: -15px; }
.swiper-button-next { right: -15px; }

/* --- 响应式适配 --- */
@media (max-width: 768px) {
  .swiper-button-prev, .swiper-button-next {
      display: none; /* 手机端隐藏箭头，靠手指滑动 */
  }
  .section-title { font-size: 22px; }
  .case-text h3 { font-size: 15px; }
  .case-img-box { padding-top: 60%; }
  .about-us-section .about-content{
    padding: 3em 2em;
  }
  .service-section h2{
    font-size: 1.6em;
  }
  #mentors-section{
    margin-top: 28em;
  }
}

@media (max-width: 480px) {
  .case-section { padding: 40px 0; }
}