/* ============================================
   中净国际 - 统一样式文件
   HUAJING CO., LIMITED - Main Stylesheet
   主色调：科技蓝 #0066cc
   ============================================ */

/* ========== 全局样式 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Helvetica Neue', Arial, sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #ffffff;
}

a {
  color: #0066cc;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #0052a3;
}

img {
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

/* ========== 通用组件 ========== */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2rem;
  color: #333333;
  margin-bottom: 15px;
  font-weight: 600;
}

.section-title p {
  color: #666666;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #0066cc, #00a8ff);
  margin: 20px auto 0;
  border-radius: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, #0066cc, #3388dd);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0052a3, #0066cc);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.2);
  color: white;
}

.btn-outline {
  background: transparent;
  color: #0066cc;
  border: 2px solid #0066cc;
  padding: 10px 28px;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #0066cc;
  color: white;
}

/* ========== 顶部导航 ========== */
.top-header {
  background: #0052a3;
  color: white;
  padding: 8px 0;
  font-size: 0.9rem;
}

.top-header a {
  color: white;
  margin-right: 20px;
}

.top-header i {
  margin-right: 5px;
}

.lang-switch {
  cursor: pointer;
  padding: 2px 10px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 3px;
  margin-left: 10px;
  transition: all 0.3s ease;
}

.lang-switch:hover {
  background: rgba(255,255,255,0.1);
}

.lang-switch input {
  border: none;           /* 清除边框 */
  padding: 0;             /* 清除内边距 */
  margin: 0;              /* 清除外边距（如有） */
  background: transparent; /* 清除背景色 */
  outline: none;          /* 清除焦点时的蓝色/黑色边框 */
  -webkit-appearance: none; /* 移除 iOS 和 Safari 的默认样式 */
  -moz-appearance: none;    /* 移除 Firefox 的默认样式 */
  appearance: none;         /* 标准语法 */
  font-family: inherit;     /* 继承父元素字体 */
  font-size: inherit;       /* 继承字体大小 */
  color: inherit;           /* 继承文字颜色 */
}

.main-header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 102, 204, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: 15px 0;
}

.navbar-brand img {
  height: 50px;
}

.navbar-brand h1 {
  font-size: 1.5rem;
  color: #0066cc;
  margin: 0;
  font-weight: 700;
}

.navbar-brand span {
  font-size: 0.8rem;
  color: #666666;
  display: block;
}

.nav-link {
  color: #333333 !important;
  font-weight: 500;
  padding: 10px 20px !important;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #0066cc;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.nav-link:hover,
.nav-link.active {
  color: #0066cc !important;
}

/* ========== Banner 轮播 ========== */
.banner-section {
  position: relative;
}

.banner-item {
  height: 500px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.banner-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,102,204,0.8), rgba(0,168,255,0.6));
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 1;
}

.banner-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.banner-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

.carousel-control-prev {
  left: 30px;
}

.carousel-control-next {
  right: 30px;
}

.carousel-indicators li {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  margin: 0 5px;
}

.carousel-indicators li.active {
  background: white;
}

/* ========== 公司简介 ========== */
.about-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.about-content {
  padding: 30px;
}

.about-content h2 {
  font-size: 1.8rem;
  color: #0066cc;
  margin-bottom: 20px;
}

.about-content p {
  color: #666666;
  margin-bottom: 20px;
  text-align: justify;
}

.about-img {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 102, 204, 0.1);
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.about-img:hover img {
  transform: scale(1.05);
}

/* ========== 核心服务 ========== */
.services-section {
  padding: 80px 0;
}

.service-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 102, 204, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.2);
}

.service-card .icon-box {
  background: linear-gradient(135deg, #0066cc, #00a8ff);
  color: white;
  padding: 30px;
  text-align: center;
}

.service-card .icon-box i {
  font-size: 3rem;
}

.service-card .content-box {
  padding: 25px;
}

.service-card h3 {
  display: block;
  text-align: center;
  font-size: 1.3rem;
  color: #333333;
  margin-bottom: 15px;
}

.service-card p {
  color: #666666;
  font-size: 0.95rem;
}

.service-card .btn-link {
  color: #0066cc;
  font-weight: 500;
  padding: 0;
  margin-top: 15px;
  display: block;
  text-align: right;
}

/* ========== 服务优势 ========== */
.advantages-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0066cc, #0052a3);
  color: white;
}

.advantages-section .section-title h2,
.advantages-section .section-title p {
  color: white;
}

.advantages-section .section-title::after {
  background: white;
}

.advantage-item {
  text-align: center;
  padding: 30px 20px;
  margin-bottom: 30px;
}

.advantage-item .icon {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.advantage-item:hover .icon {
  background: white;
  color: #0066cc;
  transform: scale(1.1);
}

.advantage-item h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.advantage-item p {
  opacity: 0.9;
  font-size: 0.95rem;
}

/* ========== 客户案例 ========== */
.cases-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.case-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 102, 204, 0.1);
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.2);
}

.case-card .img-box {
  height: 200px;
  overflow: hidden;
}

.case-card .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.case-card:hover .img-box img {
  transform: scale(1.1);
}

.case-card .content-box {
  padding: 20px;
}

.case-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.case-card p {
  color: #666666;
  font-size: 0.9rem;
}

.case-card .tag {
  display: inline-block;
  background: #f8f9fa;
  color: #0066cc;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 0.8rem;
  margin-top: 10px;
  margin-right: 5px;
  transition: all 0.3s ease;
}

.case-card .tag:hover,
.news-card .tag:hover {
  background: #0066cc;
  color: white;
}

.case-card .btn-link {
  color: #0066cc;
  font-weight: 500;
  padding: 0;
  margin-top: 15px;
  display: block;
  text-align: right;
}

/* ========== 资质荣誉 ========== */
.honors-section {
  padding: 80px 0;
}

.honor-item {
  text-align: center;
  padding: 20px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.honor-item:hover {
  transform: scale(1.05);
}

.honor-item .img-box {
  width: 100%;
  height: 180px;
  background: #f8f9fa;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 102, 204, 0.1);
}

.honor-item .img-box img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.honor-item h4 {
  font-size: 0.95rem;
  color: #333333;
}

/* ========== 资讯动态 ========== */
.news-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.news-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 102, 204, 0.1);
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.2);
}

.news-card .img-box {
  height: 180px;
  overflow: hidden;
}

.news-card .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.news-card:hover .img-box img {
  transform: scale(1.1);
}

.news-card .content-box {
  padding: 20px;
}

.news-card .date {
  color: #999999;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.news-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #333333;
}

.news-card p {
  color: #666666;
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .tag {
  display: inline-block;
  background: #f8f9fa;
  color: #0066cc;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 0.8rem;
  margin-top: 10px;
  margin-right: 5px;
  transition: all 0.3s ease;
}

.news-card .btn-link {
  color: #0066cc;
  font-weight: 500;
  padding: 0;
  margin-top: 15px;
  display: block;
  text-align: right;
}

/* ========== 联系方式 ========== */
.contact-section {
  padding: 80px 0;
}

.contact-info {
  padding: 30px;
  background: #f8f9fa;
  border-radius: 10px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-info h3 {
  font-size: 1.5rem;
  color: #0066cc;
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  margin-bottom: 25px;
  align-items: flex-start;
}

.contact-item i {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #0066cc, #00a8ff);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.contact-item .text h4 {
  font-size: 1rem;
  color: #333333;
  margin-bottom: 5px;
}

.contact-item .text p {
  color: #666666;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.qrcode-box {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 10px;
  margin-top: auto;
}

.qrcode-box img {
  width: 150px;
  height: 150px;
  margin-bottom: 10px;
}

.qrcode-box p {
  color: #666666;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.contact-form {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 102, 204, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-form h3 {
  font-size: 1.5rem;
  color: #0066cc;
  margin-bottom: 25px;
}

.form-control {
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  padding: 12px 15px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ========== 页脚 ========== */
.footer {
  background: #333333;
  color: white;
  padding: 60px 0 30px;
}

.footer h4 {
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: #0066cc;
}

.footer ul {
  padding-left: 0;
  margin-bottom: 0;
}

.footer ul li {
  margin-bottom: 12px;
  list-style: none;
}

.footer ul li a {
  color: rgba(255,255,255,0.7);
  transition: all 0.3s ease;
}

.footer ul li a:hover {
  color: white;
  padding-left: 5px;
}

.footer p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
}

.footer-logo {
  margin-top: 20px;
  padding: 10px;
  background-color: white;
  border-radius: 8px;
  display: inline-block;
}

.footer-logo img {
  height: 45px;
  width: auto;
  transition: all 0.3s ease;
}

.footer-logo img:hover {
  transform: scale(1.05);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  margin-top: 40px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.9rem;
}

/* ========== 面包屑导航 ========== */
.breadcrumb-section {
  background: linear-gradient(135deg, #0066cc, #0052a3);
  padding: 60px 0;
  color: white;
}

.breadcrumb-section h1 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-item a {
  color: rgba(255,255,255,0.8);
}

.breadcrumb-item.active {
  color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.6);
}

/* ========== 列表页样式 ========== */
.list-section {
  padding: 60px 0;
}

.list-section .row > [class*="col-"] {
  margin-bottom: 20px;
}

.filter-bar {
  margin-bottom: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
}

.filter-bar .btn {
  margin-right: 10px;
  margin-bottom: 10px;
}

.pagination {
  justify-content: center;
  margin-top: 40px;
}

.page-link {
  color: #0066cc;
  border-color: #e0e0e0;
  margin: 0 3px;
  border-radius: 5px;
}

.page-link:hover,
.page-item.active .page-link {
  background: #0066cc;
  border-color: #0066cc;
  color: white;
}

/* ========== 详情页样式 ========== */
.detail-section {
  padding: 60px 0;
}

.detail-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.detail-header h1 {
  font-size: 1.8rem;
  color: #333333;
  margin-bottom: 15px;
}

.detail-meta {
  color: #999999;
  font-size: 0.9rem;
}

.detail-meta span {
  margin-right: 20px;
}

.detail-content {
  line-height: 1.8;
}

.detail-content p {
  margin-bottom: 20px;
  text-align: justify;
}

.detail-content img {
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 102, 204, 0.1);
}

.detail-content h2 {
  font-size: 1.5rem;
  color: #0066cc;
  margin: 30px 0 20px;
}

/* 卡片标题居中 */
.card-body .card-title.text-dark {
  text-align: center;
}

.detail-content h3 {
  font-size: 1.2rem;
  color: #333333;
  margin: 25px 0 15px;
}

.detail-content ul,
.detail-content ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

.detail-content li {
  margin-bottom: 10px;
}

.sidebar {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 10px;
}

.sidebar h3 {
  font-size: 1.2rem;
  color: #0066cc;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0066cc;
}

.sidebar ul {
  padding-left: 0;
}

.sidebar ul li {
  margin-bottom: 15px;
}

.sidebar ul li a {
  color: #666666;
  display: block;
  padding: 10px 15px;
  background: white;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.sidebar ul li a:hover {
  background: #0066cc;
  color: white;
}

/* ========== 时间线样式 ========== */
.timeline {
  position: relative;
  padding: 30px 0 20px;
  margin-top: 10px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 29px;
  top: 10px;
  bottom: 10px;
  width: 4px;
  background: linear-gradient(180deg, 
    #0066cc 0%, 
    #3388dd 50%,
    #00a8ff 100%);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 102, 204, 0.2);
}

.timeline-item {
  position: relative;
  display: flex;
  margin-bottom: 30px;
  padding-left: 80px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, #0066cc, #3388dd);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 
    0 4px 15px rgba(0, 102, 204, 0.35),
    inset 0 2px 4px rgba(255, 255, 255, 0.2);
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-marker i {
  font-size: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 
    0 8px 25px rgba(0, 102, 204, 0.45),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.timeline-marker::before {
  content: '';
  position: absolute;
  width: 78px;
  height: 78px;
  border: 3px solid transparent;
  border-top-color: #3388dd;
  border-right-color: #3388dd;
  border-radius: 50%;
  opacity: 0.3;
  animation: timelinePulse 2s ease-in-out infinite;
}

@keyframes timelinePulse {
  0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.3; }
  50% { transform: rotate(180deg) scale(1.1); opacity: 0.5; }
}

.timeline-marker::after {
  content: '';
  position: absolute;
  width: 86px;
  height: 86px;
  border: 2px dashed #0066cc;
  border-radius: 50%;
  opacity: 0.15;
}

.timeline-item:hover .timeline-marker::after {
  opacity: 0.3;
  animation: timelineRotate 8s linear infinite;
}

@keyframes timelineRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.timeline-content {
  flex: 1;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 22px 28px;
  border-radius: 16px;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.04);
  border-left: 4px solid #0066cc;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #0066cc, #00a8ff);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.timeline-item:hover .timeline-content {
  box-shadow: 
    0 8px 35px rgba(0, 102, 204, 0.12),
    0 3px 10px rgba(0, 0, 0, 0.06);
  transform: translateX(8px);
}

.timeline-item:hover .timeline-content::before {
  opacity: 1;
}

.timeline-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px;
}

.timeline-step {
  display: inline-block;
  background: linear-gradient(135deg, #0066cc, #3388dd);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline-content h5 {
  color: #333333;
  font-weight: 700;
  margin: 0;
  font-size: 1.2rem;
  position: relative;
}

.timeline-content p {
  color: #666666;
  margin: 0;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* 箭头连接线 */
.timeline-arrow {
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid #0066cc;
  opacity: 0.8;
}

.timeline-item:hover .timeline-arrow {
  opacity: 1;
  left: -6px;
}

/* 连接点动画 */
.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 29px;
  bottom: -30px;
  width: 4px;
  height: 25px;
  background: repeating-linear-gradient(
    180deg,
    #3388dd 0px,
    #3388dd 4px,
    transparent 4px,
    transparent 8px
  );
  opacity: 0.3;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .timeline::before {
    left: 22px;
  }
  
  .timeline-item {
    padding-left: 60px;
    margin-bottom: 25px;
  }
  
  .timeline-marker {
    width: 48px;
    height: 48px;
  }
  
  .timeline-marker i {
    font-size: 1.2rem;
  }
  
  .timeline-marker::before {
    width: 60px;
    height: 60px;
  }
  
  .timeline-marker::after {
    width: 68px;
    height: 68px;
  }
  
  .timeline-content {
    padding: 16px 20px;
    border-radius: 12px;
  }
  
  .timeline-content h5 {
    font-size: 1.05rem;
  }
  
  .timeline-step {
    font-size: 0.65rem;
    padding: 3px 10px;
  }
  
  .timeline-arrow {
    display: none;
  }
  
  .timeline-item:not(:last-child)::after {
    left: 22px;
    bottom: -25px;
    height: 20px;
  }
}

/* ========== 友情链接与关键词 ========== */
.friend-links-section .badge {
  font-size: 0.85rem;
  font-weight: normal;
  transition: all 0.3s ease;
}

.friend-links-section .badge:hover {
  background: #0066cc !important;
  color: white !important;
}

.friend-links-section a:hover {
  color: #0066cc;
}

/* ========== 页脚关键词和友情链接 ========== */
.footer-keywords,
.footer-links {
  line-height: 2;
}

.footer-link {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  margin-right: 5px;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: white;
}

.footer-link::after {
  content: '|';
  margin-left: 15px;
  color: rgba(255,255,255,0.3);
}

.footer-link:last-child::after {
  display: none;
}

/* ========== 视频播放器 ========== */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  margin: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 102, 204, 0.1);
}

.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ========== 返回顶部 ========== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #0066cc;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 102, 204, 0.1);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #0052a3;
  transform: translateY(-5px);
}

/* ========== 响应式设计 ========== */
@media (max-width: 991px) {
  .banner-content h1 {
    font-size: 2.5rem;
  }
  
  .section-title h2 {
    font-size: 1.6rem;
  }
  
  .about-content {
    padding: 20px 0;
  }
}

@media (max-width: 767px) {
  .top-header {
    display: none;
  }
  
  .banner-item {
    height: 400px;
  }
  
  .banner-content h1 {
    font-size: 1.8rem;
  }
  
  .banner-content p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 1.4rem;
  }
  
  .contact-section {
    padding: 40px 0;
  }
  
  .footer {
    padding: 40px 0 20px;
  }
  
  .breadcrumb-section {
    padding: 40px 0;
  }
  
  .breadcrumb-section h1 {
    font-size: 1.5rem;
  }
}

/* ========== 动画效果 ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

/* 荣誉资质页面禁用动画，避免样式冲突 */
.honors-section .honor-item,
.list-section .honor-item {
  opacity: 1 !important;
  transform: none !important;
}

/* ========== 加载动画 ========== */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ========== 移动端导航 ========== */
.navbar-toggler {
  border: none;
  padding: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-collapse {
  background: white;
  padding: 15px;
  margin-top: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 102, 204, 0.1);
}

@media (min-width: 992px) {
  .navbar-collapse {
    background: transparent;
    padding: 0;
    margin-top: 0;
    box-shadow: none;
  }
}

/* ========== 表单验证样式 ========== */
.form-control.is-invalid {
  border-color: #dc3545;
}

.form-control.is-valid {
  border-color: #28a745;
}

.invalid-feedback {
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: -15px;
  margin-bottom: 15px;
}

/* ========== 成功提示 ========== */
.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  padding: 15px 20px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.alert-danger {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  padding: 15px 20px;
  border-radius: 5px;
  margin-bottom: 20px;
}
