/* 轮播图分页点颜色 */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
}

.swiper-pagination-bullet-active {
    background: #165DFF;
}

/* 关于我们背景颜色 - 与foot背景匹配 */
.intro_bg {
    background: linear-gradient(to bottom, #f0f7ff, #d9e8fc);
}

.about_h {
    color: #1a365d;
}

.a_more {
    background: linear-gradient(135deg, #165DFF 0%, #0F3AAA 100%);
    color: white;
    text-decoration: none;
    display: inline-block;
    padding: 10px 25px;
    border-radius: 4px;
    transition: all 0.3s ease;
        /* 确保文字在按钮中居中 */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.a_more:hover {
    background: linear-gradient(135deg, #0F3AAA 0%, #165DFF 100%);
}

/* 产品展示卡片颜色 */
.index-products li {
    background: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.index-products li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(22, 93, 255, 0.12);
    border-color: #4299e1;
}

.index-products li a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.index-products li p {
    color: #1a365d;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 15px 5px;
    margin: 0;
    transition: color 0.3s ease;
}

.index-products li:hover p {
    color: #165DFF;
}

.index-products li i {
    color: #718096;
    font-size: 14px;
    font-style: normal;
    padding: 0 25px;  /* 调整左右内边距 */
    margin: 0 0 25px;  /* 增加下外边距，为按钮留出空间 */
    display: block;
    line-height: 1.6;
    min-height: 60px;  /* 确保描述文本区域有一定高度 */
}

.pro_more {
    background: linear-gradient(135deg, #165DFF 0%, #0F3AAA 100%);
    color: white;
    text-align: center;
    padding: 12px;
    margin: 0 18px 18px;  /* 调整外边距 */
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
     font-size: 14px;
    line-height: 1.5;
    /* 确保文字在按钮中居中 */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 35px;
}

.index-products li:hover .pro_more {
    background: linear-gradient(135deg, #0F3AAA 0%, #165DFF 100%);
}

/* 新闻中心颜色 */
.index-news li {
    background: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.index-news li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(22, 93, 255, 0.12);
    border-color: #4299e1;
}

.index-news li a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.index-news li p {
    color: #1a365d;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 15px 5px;
    margin: 0;
    transition: color 0.3s ease;
}

.index-news li:hover p {
    color: #165DFF;
}

.index-news li i {
    color: #718096;
    font-size: 14px;
    font-style: normal;
    padding: 0 15px 15px;
    display: block;
    line-height: 1.5;
}

/* 其他样式 */
.index_title p {
    color: #1a365d;
}

#friendlink {
    background: linear-gradient(to bottom, #f0f7ff, #d9e8fc);
    padding: 20px 25px;
    border-radius: 8px;
}

#friendlink span {
    color: #1a365d;
}

#friendlink a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.3s ease;
}

#friendlink a:hover {
    color: #165DFF;
}

/* 返回顶部按钮样式 - 扁平化设计 */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: rgba(0, 123, 255, 0.9);
  border-radius: 50%;
  display: none;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
  border: none;
  outline: none;
  opacity: 0;
  transform: translateY(20px);
}

#back-to-top.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

#back-to-top:hover {
  background: rgba(0, 123, 255, 1);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
  transform: translateY(-3px);
}

#back-to-top:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

#back-to-top svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
  transition: transform 0.3s ease;
}

#back-to-top:hover svg {
  transform: translateY(-2px);
}


/*首页头部样式*/

/* 基础重置 & 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

/* 头部容器 - 简洁渐变背景 + 阴影 */
#header-wrapper {
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #165DFF 0%, #0F3AAA 100%);
  padding: 8px 20px;
  max-width: 1920px;
  margin: 0 auto;
}

/* Logo样式 - 简洁居中 */
.header-logo {
  flex-shrink: 0;
}

.header-logo img {
  display: block;
  width: auto;
  height: 54px;
}

/* 主导航样式 - 简洁扁平化 */
.main-nav {
  flex: 1;
  margin: 0 40px;
}

.nav-list {
  display: flex;
  justify-content: center;
  gap: 2px;
}

.nav-item .nav-link {
  display: inline-block;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 16px 20px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.nav-item .nav-link:hover,
.nav-item .nav-link.active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* 语言切换器样式 - 简洁卡片式 */
.language-switcher {
  position: relative;
  flex-shrink: 0;
}

.lang-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease;
}

.lang-trigger:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lang-icon img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.lang-arrow {
  font-size: 12px;
  transition: transform 0.2s ease;
}

/* 语言下拉框 - 简洁悬浮卡片 */
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 280px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 999;
}

.lang-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-list {
  max-height: 400px;
  overflow-y: auto;
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lang-item:hover {
  background: #f5f7fa;
}

.lang-item img {
  width: 20px;
  height: 14px;
  object-fit: cover;
}

.lang-item a {
  font-size: 14px;
  color: #333;
  flex: 1;
}

/* 更多语言按钮 */
.lang-more {
  text-align: center;
  padding: 8px;
  color: #165DFF;
  font-size: 13px;
  cursor: pointer;
  margin-top: 4px;
}

.lang-more-list {
  display: none;
  margin-top: 8px;
  border-top: 1px solid #eee;
  padding-top: 8px;
}

.lang-more-list.show {
  display: block;
}

/* 响应式适配 - 小屏幕优化 */
@media (max-width: 992px) {
  .header-top {
    padding: 8px 12px;
  }
  
  .main-nav {
    margin: 0 20px;
  }
  
  .nav-item .nav-link {
    padding: 12px 12px;
    font-size: 13px;
  }
  
  .lang-dropdown {
    width: 240px;
  }
}

/*首页脚部*/
/* PageAdmin风格页脚样式 */

/* 页脚包装器 */
.footer-wrapper {
  font-family: -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', sans-serif;
  background: #ffffff;
  color: #333;
  position: relative;
}

/* 页脚主体区域 - 统一背景色 */
.footer-main {
  background: linear-gradient(to bottom, #f0f7ff, #d9e8fc);
  padding: 50px 0 40px 0;
}

/* 页脚内容布局 */
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 20px;
}

/* 页脚区域通用样式 - 移除独立背景 */
.footer-nav-section,
.footer-contact-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 0;
  padding: 0 20px;
}

/* 页脚标题样式 */
.footer-title {
  color: #1a365d;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #4299e1;
}

/* 页脚链接列表 */
.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-list li {
  margin-bottom: 10px;
}

/* 页脚链接样式 - 简化 */
.footer-link {
  color: #4a5568;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.6;
  display: block;
  padding: 5px 0;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #4299e1;
}

/* 联系方式区域 */
.contact-info {
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  padding-bottom: 0;
  border-bottom: none;
}

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

/* 联系图标 */
.contact-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

.location-icon {
  background: url('{pboot:sitedomain}/skin/images/f1.jpg') no-repeat center center;
  background-size: contain;
}

.whatsapp-icon {
  background: url('{pboot:sitedomain}/skin/images/f2.jpg') no-repeat center center;
  background-size: contain;
}

.wechat-icon {
  background: url('{pboot:sitedomain}/skin/images/f3.jpg') no-repeat center center;
  background-size: contain;
}

.email-icon {
  background: url('{pboot:sitedomain}/skin/images/f4.jpg') no-repeat center center;
  background-size: contain;
}

/* 联系文本 */
.contact-text {
  color: #4a5568;
  font-size: 15px;
  line-height: 1.6;
  flex: 1;
}

.email-link {
  color: #4299e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.email-link:hover {
  color: #1a365d;
  text-decoration: underline;
}

/* 版权信息区域 */
.footer-copyright {
  background: #1a365d;
  color: #ffffff;
  padding: 25px 0;
  text-align: center;
}

.copyright-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.copyright-text {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.copyright-text a {
  color: #63b3ed;
  text-decoration: none;
  transition: color 0.3s ease;
}

.copyright-text a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .footer-content {
    padding: 0 15px;
  }
  
  .footer-nav-section,
  .footer-contact-section {
    min-width: 220px;
  }
}

@media (max-width: 768px) {
  .footer-main {
    padding: 40px 0 30px 0;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-nav-section,
  .footer-contact-section {
    width: 100%;
    margin-bottom: 30px;
    padding: 0;
  }
  
  .footer-title {
    font-size: 17px;
  }
}

@media (max-width: 576px) {
  .footer-main {
    padding: 35px 0 25px 0;
  }
  
  .footer-title {
    font-size: 16px;
    margin-bottom: 15px;
  }
  
  .footer-link {
    font-size: 14px;
  }
  
  .contact-text {
    font-size: 14px;
  }
  
  .copyright-text {
    font-size: 13px;
  }
}

/* 打印样式 */
@media print {
  .footer-main {
    background: #ffffff !important;
    border: 1px solid #ddd !important;
  }
}
