#main-container {
  max-width: 1300px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 0px 15px;
  box-sizing: border-box;
}
/* section整体设置 */
section {
  padding: 25px 0;
}
section:last-child {
  border-bottom: none;
}
.section-title {
  font-size: 2em;
  font-weight: 700;
  text-align: center;
  color: #000;
  margin-bottom: 40px;
  position: relative;
  letter-spacing: 1px;
}
.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #2e3192;
  border-radius: 2px;
  margin: 12px auto 0 auto;
}

/* 公司简介 */
#company-intro .intro-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
#company-intro .text {
  flex: 1;
  text-align: justify;
  text-indent: 2em;
  line-height: 1.8; /*行距*/
}
#company-intro .text p {
  font-size: 18px;
  padding: 10px 0px;
  color: #444;
}

#company-intro .image {
  flex: 1;
  padding: 15px;
  box-sizing: border-box;
}

#company-intro .image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  display: block;
}

/* 服务内容 */
#services .service-list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 20px;
}

#services .service-item {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 24px 20px 28px;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

#services .service-item:hover {
  box-shadow: 0 8px 22px rgba(46, 49, 146, 0.2);
  transform: translateY(-3px);
}

#services .service-item .service-header {
  font-size: 1.6em;
  font-weight: 600;
  color: #2e3192;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#services .service-item .icon-emoji {
  font-size: 1.4em;
}

#services .service-item p {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  text-align: justify;
  text-indent: 2em;
  margin-bottom: 8px;
}


/* 合作单位 */
#partners .partner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 默认桌面和平板5列 */
  gap: 24px;
  justify-items: center;
  align-items: center;
  padding: 10px 0;
}

@media (max-width: 767px) {
  #partners .partner-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* 手机小屏自适应 */
  }
}

#partners .partner-grid img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /*border: 1px solid #ddd;*/
  padding: 8px;
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(46, 49, 146, 0.08);
  cursor: pointer;
}

#partners .partner-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(46, 49, 146, 0.15);
}

/* 企业文化 */
#culture .center-intro {
  text-align: center;
  font-size: 1.05em;
  color: #333;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

#culture .culture-values {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap; /* 适配小屏自动换行 */
}

#culture .culture-values div {
  flex: 1;
  text-align: center;
  background-color: #f5f8ff;  /* 修改为更自然的蓝白色 */
  padding: 25px 20px;
  border-radius: 12px;
  border: 1px solid #e0e3f5;
  box-shadow: 0 4px 10px rgba(46, 49, 146, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#culture .culture-values div:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(46, 49, 146, 0.15);
}

#culture .culture-values .culture-title {
  font-weight: bold;
  color: #2e3192;
  font-size: 1.2em;
  margin-bottom: 10px;
}

#culture .culture-values p {
  font-size: 0.95em;
  color: #444;
  line-height: 1.6;
  margin-bottom: 6px;
}


/* 资质文件 */
#certificates .slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
}
#certificates .slider::-webkit-scrollbar {
  display: none;
}
#certificates .slider img {
  width: 240px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #fff;
  padding: 6px;
}
/* 手机端自适应优化：服务内容 + 其他板块 */

@media (max-width: 767px) {
  /* 公司简介：图片在上，文字在下 */
  #company-intro .intro-content {
    flex-direction: column;
  }
  #company-intro .image {
    padding: 0;
  }

  /* 服务内容：两列排布 */
  #services .service-list {
    flex-wrap: wrap;
    justify-content: center;
  }
  #services .service-item {
    flex: 1 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }

  /* 合作单位：自适应列宽 */
  #partners .partner-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
  }

  /* 企业文化：上下排列 */
  #culture .culture-values {
    flex-direction: column;
  }
}

/* 超小屏进一步优化：服务内容改单列 */
@media (max-width: 480px) {
  #services .service-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
