/* 背景区域 */
.fx-about-bg {
    background: linear-gradient(135deg, #f1f6fb 0%, #ffffff 100%);
    padding: 100px 20px;
}
  
/* 居中版排布 */
.fx-about-centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 文本区 */
.fx-title {
  font-size: 48px;
  font-weight: 700;
  color: #003366;
  margin-bottom: 20px;
  position: relative;
}
.fx-title::after {
  content: '';
  width: 60px;
  height: 4px;
  background-color: #0078D7;
  display: block;
  margin: 16px auto 0;
  border-radius: 2px;
}

.fx-subtitle {
  font-size: 22px;
  color: #0078D7;
  margin-bottom: 30px;
}

.fx-desc {
  font-size: 18px;
  line-height: 1.8;
  color: #444;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 15px;
  text-align: justify; 
  direction: ltr; 
  text-indent: 2em;  /* 首行缩进 */;
}

/* 图片容器：改为横向排列 */
.fx-about-image.fx-image-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap; /* 小屏时换行 */
  max-width: 100%;
}

/* 每张图最大宽度限制 */
.fx-about-image.fx-image-row img {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@media screen and (max-width: 768px) {
  .fx-title {
    font-size: 24px;
  }
  .fx-subtitle {
    font-size: 18px;
  }
  .fx-desc {
    font-size: 16px;
    text-align: justify; 
    direction: ltr; 
    text-indent: 2em;
  }
}

/* 产品区域通用卡片布局 */
.fx-product-bg {
    background: #ffffff;
    padding: 100px 20px;
  }

  
.fx-product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin: 0 auto;
    flex-direction: column; 
    justify-content: center !important;
    align-items: center;
    padding-top: 40px;
    /* max-width: 900px; */
  }
  
  /* 主产品卡片 */
  .fx-product-card {
    display: flex;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 30px;
    width: 100%;
    max-width: 1200px;
    align-items: center;
    transition: all 0.3s ease;
  }
  
  .fx-product-card .fx-product-overlay {

    padding: 40px;

  }
  .fx-product-card img {
    width: 100%;
    height: 580px;
    object-fit: cover;
    border-radius: 12px;
    /* margin-bottom: 20px; */
  }
  .fx-product-title {
    font-size: 22px;
    font-weight: 600;
    color: #003366;
    margin-bottom: 12px;
  }
  .fx-product-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    text-align: justify; 
    direction: ltr; 
    text-indent: 2em;  /* 首行缩进 */;
  }
  .fx-product-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 22px;
    background-color: #0078D7;
    color: #fff;
    font-size: 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s;
  }
  .fx-product-btn:hover {
    background-color: #005aab;
  }
  
  /* 预告产品卡 */
  .fx-product-coming {
    background: #f1f1f1;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .fx-coming-inner {
    padding: 30px 20px;
  }
  .fx-product-coming h4 {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .fx-product-coming p {
    font-size: 14px;
    line-height: 1.6;
  }
  
  /* 响应式 */
  @media screen and (max-width: 768px) {
    .fx-about-bg {
      padding: 30px 20px;
    }
    .fx-product-bg {
        padding: 30px 20px;
    }
    .fx-service-bg {
        padding: 30px 20px !important;
    }
    .fx-news-bg {
        padding: 30px 20px !important;
    }


    .fx-product-bg {
      background-size: cover !important; /* 确保背景图适配 */
    }

    .fx-product-grid {
      grid-template-columns: 1fr; /* 单列布局 */
      gap: 20px;
      width: 100%;
      padding: 0 5px; /* 添加水平内边距 */
      box-sizing: border-box; /* 确保padding不增加总宽度 */
    }

    .fx-product-card {
      display: block;
      padding: 10px;
      width: 100% !important; /* 强制占满父容器 */
      max-width: 100%; /* 防止意外溢出 */
      margin: 0 auto; /* 两侧留白 */
      box-sizing: border-box; 
      height: auto !important; /* 取消固定高度 */
    }

    .fx-product-featured img {
      height: 350px; /* 固定图片高度 */

      object-fit: cover; /* 保持图片比例 */
    }

    .fx-product-overlay {
      position: relative;
      padding: 10px !important;
      transform: none !important; /* 取消悬停效果 */
    }

    .fx-product-title {
      font-size: 1.1rem;
    }

    .fx-product-desc {
      font-size: 0.9rem;
      margin-bottom: 10px;
      text-align: justify; 
      direction: ltr; 
      text-indent: 2em;
    }

    .fx-product-coming {
      padding: 30px 20px;
    }
  }



  /*技术服务*/
  .fx-service-bg {
    background: linear-gradient(135deg, #f1f6fb 0%, #ffffff 100%);
    padding: 100px 20px;
  }

  .fx-service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 80px;
    flex-wrap: nowrap;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .fx-service-row.reverse {
    flex-direction: row-reverse;
  }
  
  /* 图片区域 */
  .fx-service-img {
    flex: 0 0 48%; /* 保持图片大致占 48%，避免过窄 */
  }
  
  .fx-service-img img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  }
  
  /* 文本区域 */
  .fx-service-text {
    flex: 0 0 48%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .fx-service-text h3 {
    font-size: 24px;
    color: #003366;
    margin-bottom: 10px;
  }
  
  .fx-service-subtitle {
    font-size: 16px;
    color: #0078D7;
    margin-bottom: 15px;
  }
  
  .fx-service-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
  }
  
  .fx-link {
    display: inline-block;
    font-size: 14px;
    color: #0078D7;
    text-decoration: none;
    border: 1px solid #0078D7;
    padding: 6px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    width: fit-content;
  }
  
  .fx-link:hover {
    background-color: #0078D7;
    color: #fff;
  }
  
  /* 响应式：手机或小屏下纵向排列 */
  @media screen and (max-width: 768px) {
    .fx-service-row {
      flex-direction: column !important;
      gap: 20px;
    }
  
    .fx-service-img,
    .fx-service-text {
      flex: 0 0 100%;
      max-width: 100%;
    }
  
    .fx-service-text {
      text-align: center;
    }
    .fx-service-text h3{
      font-size: 1.1rem;
    }
    .fx-service-text .fx-service-subtitle {
      text-align: center;
      font-size: 1rem;
      text-indent: 0;
    }
    .fx-service-text p {
      text-align: justify; 
      direction: ltr; 
      text-indent: 2em;
      font-size: 0.9rem;
    }
  }
  