.swiper-container {
  width: 100%;
  height: 100%;
}
/* .swiper-slide img {
  width: 100%;
  height: auto;
  min-height: 100%;
  transition: 1s linear 2s;
  transform: scale(1.1, 1.1);
}
.swiper-slide-active img,
.swiper-slide-duplicate-active img {
  transition: 6s linear;
  transform: scale(1, 1);
} */
/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", sans-serif;
}

/* 全局样式 */

.container {
  /* max-width: 1200px; */
  margin: 0 auto;
  /* padding: 0 20px; */
}
.box {
  display: flex;
  justify-content: center;
}
.box:nth-child(1),
.box:nth-child(3) {
  background: #fff;
}
.box:nth-child(2),
.box:nth-child(4) {
  background: #f8f8f8;
}

/* 顶部Banner */
.banner {
  background-color: #000;
  color: #fff;
  /* padding: 80px 0; */
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* .banner::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url("./image/jpsm.jpg") no-repeat center/cover;
        z-index: 0;
      } */

.banner-content {
  position: relative;
  z-index: 1;
  height: 500px;
}
.banner-txt {
  position: absolute;
  top: 40%;
  width: 100%;
  text-align: center;
  z-index: 99;
}
.banner h1 {
  font-size: 32px;
  margin-bottom: 15px;
}

.banner p {
  color: #ccc;
  font-size: 14px;
  max-width: 600px;
  margin: 0 auto 30px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 20px;
  color: #999;
}

/* 服务板块 */
.service-section {
  /* padding: 80px 0; */
}

.service-item {
  max-width: 1200px;
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 80px;
  margin-top: 80px;
  flex-wrap: wrap;
}

.box:nth-child(even) .service-item {
  flex-direction: row-reverse; /* 偶数项反转布局 */
}

.service-img {
  flex: 1;
  min-width: 300px;
}

.service-img img {
  width: 100%;
  border-radius: 8px;
}

.service-text {
  flex: 1;
  min-width: 300px;
}

.service-text h3 {
  font-size: 24px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-text h3 i {
  color: #4096ff;
  font-size: 28px;
}

.service-text p {
  color: #666;
  font-size: 14px;
  line-height: 1.8;
}

/* 为什么选择我们 */
.choose-section {
  padding: 80px 0;
  background-color: #fff;
}

.choose-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 50px;
  color: #333;
}

/* 卡片容器 */
.choose-cards {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

/* 单个卡片 */
.choose-card {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* 卡片文字层（半透明背景增强可读性） */
.card-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 15px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
}

.card-text h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.card-text p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

.choose-btn {
  text-align: center;
  margin-top: 40px;
}

.choose-btn button {
  padding: 10px 30px;
  background-color: #4096ff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.choose-btn button:hover {
  background-color: #2980b9;
}

/* 咨询区域 */
.contact-section {
  padding: 60px 0;
  background-color: #000;
  color: #fff;
  /* background-image: url("./banner.jpg"); */
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 120px;
}
.contact-section .container {
  width: 1100px;
  margin: 50px auto;
  display: flex;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}
/* 左侧蓝色区域 */
.left-section {
  width: 40%;
  color: #fff;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(90deg, #0b1c61, #163ec1);
}
.left-section h2 {
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 15px;
}
.left-section p {
  font-size: 14px;
  margin-bottom: 30px;
}
.qrcode-area {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}
.qrcode-area img {
  width: 80px;
  height: 80px;
}
.qrcode-area .sz {
  width: 12px;
  height: 12px;
}
.contact-info .phone {
  font-size: 16px;
  font-weight: bold;
}
/* 右侧表单区域 */
.right-section {
  width: 60%;
  background: #fff;
  padding: 40px 30px;
  border-radius: 15px;
  position: relative;
  left: -15px;
}
.right-section h3 {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
}
.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  align-items: center; /* 垂直居中对齐 */
}
.form-control {
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
}
/* 验证码+提交按钮行样式 */
.captcha-submit-row {
  display: flex;
  gap: 15px;
  margin-bottom: 0;
  align-items: center;
}
.captcha-input {
  flex: 1; /* 验证码输入框自适应剩余空间 */
}
.captcha-img {
  width: 100px;
  height: 40px; /* 和输入框高度一致 */
  border: 1px solid #ddd;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #666;
  letter-spacing: 2px;
  flex-shrink: 0; /* 防止被压缩 */
}
.btn-submit {
  background: #e60012;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
  flex-shrink: 0; /* 防止按钮被压缩 */
  height: 40px; /* 和输入框高度一致 */
  white-space: nowrap; /* 防止按钮文字换行 */
}
.btn-submit:hover {
  background: #c40010;
}
/* 适配不同输入框宽度 */
.full-width {
  width: 100%;
}

/* 提示信息样式 */
.tips {
  color: #e60012;
  font-size: 12px;
  margin-top: 8px;
  display: none;
}

/* 页脚 */
.footer {
  background-color: #1d2129;
  color: #86909c;
  padding: 60px 0 30px;
}

.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  flex: 1;
  min-width: 280px;
}

.footer-logo h2 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo .contact-details {
  font-size: 14px;
  line-height: 2;
  margin-bottom: 20px;
}

.footer-logo .qrcode-footer {
  width: 100px;
  height: 100px;
  background-color: #fff;
  margin-bottom: 10px;
}

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
}

.link-group {
  min-width: 120px;
}

.link-group h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
}

.link-group ul {
  list-style: none;
}

.link-group li {
  margin-bottom: 12px;
}

.link-group a {
  color: #86909c;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.link-group a:hover {
  color: #fff;
}

.copyright {
  text-align: center;
  font-size: 12px;
  padding-top: 20px;
  border-top: 1px solid #2c3038;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .banner h1 {
    font-size: 24px;
  }

  .service-item,
  .service-item:nth-child(even) {
    flex-direction: column;
  }

  .choose-title {
    font-size: 24px;
  }

  .contact-wrap {
    flex-direction: column;
  }

  .choose-card {
    max-width: 100%;
  }

  .footer-links {
    gap: 30px;
  }
}
