/* 响应式设计 - 关于页面优化 */

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

/* 基础样式 */
.section {
  padding: 60px 0;
}

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

/* 关于主题云部分 - 响应式优化 */
.about-details .about-details-box {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.about-details .about-details-left {
  flex: 1;
  min-width: 300px;
}

.about-details .about-details-right {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  flex: 1;
  min-width: 300px;
  justify-content: center;
}

.about-details .about-details-right .about-details-item {
  flex: 1;
  min-width: 150px;
  text-align: center;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.about-details .about-details-right .about-details-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-details .about-details-right .about-details-item h2 {
  font-size: 28px;
  color: #1890ff;
  margin-bottom: 8px;
}

/* 为什么选择我们部分 - 响应式优化 */
.about-reason .reason {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.about-reason .reason-box {
  flex: 1;
  min-width: 280px;
  max-width: 320px;
  padding: 30px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.about-reason .reason-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* 携手千行百业部分 - 响应式优化 */
.about-together .reason {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.about-together .reason-box {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  padding: 30px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.about-together .reason-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* 里程碑部分 - 响应式优化 */
.about-time .time-line {
  overflow: hidden;
}

.about-time .event_box {
  position: relative;
}

.about-time .parHd {
  overflow: hidden;
  position: relative;
}

.about-time .parHd ul {
  display: flex;
  transition: transform 0.3s ease;
}

.about-time .parHd li {
  flex: 0 0 auto;
  width: 200px;
  padding: 0 10px;
}

.about-time .time-box {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.about-time .time-box:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.about-time .time-box h5 {
  color: #1890ff;
  margin-bottom: 10px;
}

.about-time .time-box p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

/* 荣誉资质部分 - 响应式优化 */
.about-box .box-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.about-box .box-item {
  flex: 1;
  min-width: 280px;
  max-width: 320px;
  padding: 20px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: center;
}

.about-box .box-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.about-box .box-item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
}

/* 精选客户案例部分 - 响应式优化 */
.about-example .box-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.about-example .box-item {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  padding: 30px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: center;
}

.about-example .box-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.about-example .box-item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
}

/* 联系我们部分 - 响应式优化 */
.about-custom .custom {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.about-custom .custom-box {
  flex: 1;
  min-width: 280px;
  max-width: 320px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.about-custom .custom-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-custom .custom-box .custom-icon {
  margin-right: 15px;
}

.about-custom .btn-contact {
  margin-top: 40px;
  text-align: center;
}

.about-custom .btn {
  display: inline-block;
  padding: 12px 30px;
  background: #1890ff;
  color: #ffffff;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 16px;
  font-weight: 500;
}

.about-custom .btn:hover {
  background: #40a9ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

/* 响应式设计 - 平板设备 */
@media screen and (max-width: 768px) {
  .section {
    padding: 40px 0;
  }
  
  .section-content {
    padding: 0 15px;
  }
  
  /* 关于主题云部分 */
  .about-details .about-details-box {
    flex-direction: column;
    gap: 30px;
  }
  
  .about-details .about-details-left p {
    font-size: 14px;
    line-height: 24px;
    text-indent: 28px;
  }
  
  .about-details .about-details-right {
    flex-direction: row;
    gap: 15px;
  }
  
  .about-details .about-details-right .about-details-item {
    flex: 1;
    min-width: 120px;
    padding: 15px;
  }
  
  .about-details .about-details-right .about-details-item h2 {
    font-size: 20px;
  }
  
  /* 为什么选择我们部分 */
  .about-reason .reason-box {
    min-width: 100%;
    max-width: 100%;
  }
  
  /* 携手千行百业部分 */
  .about-together .reason-box {
    min-width: 100%;
    max-width: 100%;
    padding: 20px;
  }
  
  /* 里程碑部分 */
  .about-time .parHd li {
    width: 150px;
  }
  
  .about-time .time-box {
    padding: 15px;
  }
  
  .about-time .time-box h5 {
    font-size: 18px;
  }
  
  /* 荣誉资质部分 */
  .about-box .box-item {
    min-width: 100%;
    max-width: 100%;
  }
  
  /* 精选客户案例部分 */
  .about-example .box-item {
    min-width: 100%;
    max-width: 100%;
  }
  
  /* 联系我们部分 */
  .about-custom .custom-box {
    min-width: 100%;
    max-width: 100%;
  }
  
  .about-custom .btn {
    padding: 10px 24px;
    font-size: 14px;
  }
}

/* 响应式设计 - 手机设备 */
@media screen and (max-width: 480px) {
  .section {
    padding: 30px 0;
  }
  
  /* 关于主题云部分 */
  .about-details .about-details-right {
    flex-direction: column;
    gap: 10px;
  }
  
  .about-details .about-details-right .about-details-item {
    min-width: 100%;
  }
  
  /* 为什么选择我们部分 */
  .about-reason .reason-box {
    padding: 20px;
  }
  
  /* 携手千行百业部分 */
  .about-together .reason-box {
    padding: 20px;
  }
  
  /* 里程碑部分 */
  .about-time .parHd li {
    width: 120px;
  }
  
  .about-time .time-box h5 {
    font-size: 16px;
  }
  
  .about-time .time-box p {
    font-size: 12px;
  }
  
  /* 荣誉资质部分 */
  .about-box .box-item {
    padding: 15px;
  }
  
  /* 精选客户案例部分 */
  .about-example .box-item {
    padding: 20px;
  }
  
  /* 联系我们部分 */
  .about-custom .custom-box {
    padding: 15px;
  }
  
  .about-custom .btn {
    padding: 8px 20px;
    font-size: 13px;
  }
}

/* 动画效果 - 使用 index.css 中的 @keyframes fadeInUp, fadeInLeft, fadeInRight */

/* 为各个部分添加入场动画 */
.about-details {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.about-reason {
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

.about-together {
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

.about-time {
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
  opacity: 0;
}

.about-box {
  animation: fadeInUp 0.8s ease-out 0.8s forwards;
  opacity: 0;
}

.about-custom {
  animation: fadeInUp 0.8s ease-out 1s forwards;
  opacity: 0;
}

/* 为卡片添加入场动画 */
.about-details-item,
.reason-box,
.box-item,
.custom-box {
  opacity: 0;
  animation-fill-mode: forwards;
}

.about-details-item:nth-child(1) {
  animation: fadeInLeft 0.6s ease-out 1.2s forwards;
}

.about-details-item:nth-child(2) {
  animation: fadeInRight 0.6s ease-out 1.3s forwards;
}

.about-details-item:nth-child(3) {
  animation: fadeInLeft 0.6s ease-out 1.4s forwards;
}

.about-details-item:nth-child(4) {
  animation: fadeInRight 0.6s ease-out 1.5s forwards;
}

.reason-box:nth-child(1) {
  animation: fadeInLeft 0.6s ease-out 1.2s forwards;
}

.reason-box:nth-child(2) {
  animation: fadeInRight 0.6s ease-out 1.3s forwards;
}

.reason-box:nth-child(3) {
  animation: fadeInLeft 0.6s ease-out 1.4s forwards;
}

.reason-box:nth-child(4) {
  animation: fadeInRight 0.6s ease-out 1.5s forwards;
}

.reason-box:nth-child(5) {
  animation: fadeInLeft 0.6s ease-out 1.6s forwards;
}

.box-item {
  animation: fadeInUp 0.6s ease-out forwards;
}

.box-item:nth-child(1) {
  animation-delay: 1.2s;
}

.box-item:nth-child(2) {
  animation-delay: 1.3s;
}

.box-item:nth-child(3) {
  animation-delay: 1.4s;
}

.box-item:nth-child(4) {
  animation-delay: 1.5s;
}

.box-item:nth-child(5) {
  animation-delay: 1.6s;
}

.box-item:nth-child(6) {
  animation-delay: 1.7s;
}

.custom-box:nth-child(1) {
  animation: fadeInLeft 0.6s ease-out 1.2s forwards;
}

.custom-box:nth-child(2) {
  animation: fadeInUp 0.6s ease-out 1.3s forwards;
}

.custom-box:nth-child(3) {
  animation: fadeInRight 0.6s ease-out 1.4s forwards;
}
