:root {
  --primary-color: #0056b3;
  --secondary-color: #003a75;
  --accent-color: #007bff;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --text-color: #333;
  --border-color: #dee2e6;
  --white: #ffffff;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text-color);
  background-color: var(--white);
  overflow-x: hidden;
  padding-top: 53px
}

p {
  margin-bottom: 0;
}

.section {
  padding: 3rem 0 2rem;
  position: relative;
}

.section-divider {
  height: 2px;
  background: linear-gradient(to right, transparent, var(--primary-color), transparent);
  margin: 0.5rem auto 2rem;
  width: 80%;
}

.container {
  --bs-gutter-x: 4rem;
}

/* 头部样式 */
.header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 3rem 1rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="none" width="100" height="100"/><path fill="rgba(255,255,255,0.05)" d="M0 0L100 100M20 0L100 80M40 0L100 60M60 0L100 40M80 0L100 20M0 20L80 100M0 40L60 100M0 60L40 100M0 80L20 100"/></svg>');
  opacity: 0.3;
}

.header h1 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.header h2 {
  font-weight: 400;
  margin-bottom: 1.5rem;
  white-space: nowrap;
}

.header-tag {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.3rem 0rem;
  width: 90px;
  font-weight: 300;
}

/* 手风琴样式 - 建设目标 */
.custom-accordion .accordion-item {
  border-left: 0;
  border-right: 0;
  background-color: transparent;
}

.custom-accordion .accordion-item:first-of-type,
.custom-accordion .accordion-item:last-of-type,
.custom-accordion .accordion-item:first-of-type .accordion-button,
.custom-accordion .accordion-item:last-of-type .accordion-button.collapsed,
.custom-accordion .accordion-item:last-of-type .accordion-collapse {
  border-radius: 0;
}

.custom-accordion .accordion-button {
  background-color: var(--light-color);
  color: var(--text-color);
  font-weight: 500;
  box-shadow: none;
  padding: 1rem;
  white-space: nowrap;
}

.custom-accordion .accordion-button:not(.collapsed) {
  background-color: var(--primary-color);
  color: white;
}

.custom-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: var(--border-color);
}

.custom-accordion .accordion-body {
  padding: 1.5rem 1rem;
  background-color: #f8f9fa;
  transition: all 0.3s ease;
}

.custom-accordion .accordion-body .ms-3 {
  flex: 1;
}

.custom-accordion .icon-wrapper {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: white;
}

.custom-accordion .icon-wrapper i {
  font-size: 1.5rem;
}

/* 轮播图样式 */
.custom-carousel {
  margin-bottom: 2rem;
}

.custom-carousel .carousel-control-prev,
.custom-carousel .carousel-control-next {
  width: 10%;
  opacity: 0.8;
}

.custom-carousel .carousel-indicators {
  bottom: -2rem;
  margin: 0;
}

.custom-carousel .carousel-indicators button {
  background-color: var(--primary-color);
  height: 10px;
  width: 10px;
  border-radius: 0;
  margin: 0 5px;
}

.carousel-img-container {
  height: 180px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background-color: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 功能盒子 */
.feature-box {
  margin-bottom: 2rem;
  padding: 1.3rem;
  background-color: var(--light-color);
  position: relative;
}

.feature-box-icon {
  margin-bottom: 1rem;
}

.feature-box i {
  color: var(--primary-color);
  font-size: 2rem;
}

.feature-box h5 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feature-tag {
  background-color: var(--primary-color);
  color: white;
  padding: 0.2rem 0.4rem;
  font-size: 0.8rem;
}

/* 12宫格无间距边框样式 */
.subsystem-grid-container {
  display: flex;
  justify-content: center;
}

.subsystem-grid-wrapper {
  /* border: 1px solid #0056b3; */
  overflow: hidden;
  /* box-shadow: 0 4px 15px rgba(0, 86, 179, 0.15); */
  max-width: 800px;
  width: 100%;
}

.subsystem-grid-row {
  display: flex;
  width: 100%;
}

.subsystem-grid-item {
  flex: 1;
  background: white;
  padding: 25px 20px;
  text-align: center;
  /* border-right: 1px solid #0056b3; */
  border-bottom: 1px solid #e2e2e2;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 160px;
  position: relative;
}

.subsystem-grid-item:last-child {
  border-right: none;
}

.subsystem-grid-row:last-child .subsystem-grid-item {
  border-bottom: none;
}

.subsystem-grid-item:nth-child(odd):nth-child(-n + 12) {
  border-right: 1px solid #e2e2e2;
}

.subsystem-grid-item .subsystem-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), #007bff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.subsystem-grid-item .subsystem-icon i {
  color: white;
  font-size: 1.3rem;
}

.subsystem-grid-item h5 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.3;
  text-align: center;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.subsystem-grid-item .subsystem-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  padding: 6px 12px;
  /* border-radius: 20px; */
  background: rgba(0, 86, 179, 0.1);
  font-size: 0.9rem;
  margin-top: auto;
}

.subsystem-grid-item .subsystem-link i {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
  margin-top: 0.15rem;
}

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

  .header h2 {
    font-size: 1.2rem;
  }

  .section {
    padding: 2rem 0 0.9rem;
  }

  .section-divider {
    margin: 0 auto 0.9rem;
  }

  .container {
    --bs-gutter-x: 1.8rem;
  }

  .feature-box {
    margin-bottom: 0.9rem;
  }

  .subsystem-grid-item {
    padding: 20px 15px;
    min-height: 140px;
  }

  .subsystem-grid-item .subsystem-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }

  .subsystem-grid-item .subsystem-icon i {
    font-size: 1.1rem;
  }

  .subsystem-grid-item h5 {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }

  .subsystem-grid-item .subsystem-link {
    font-size: 0.8rem;
    padding: 5px 10px;
  }
}

.from-ct {
    padding-bottom: 20px;
    background: #fff;
}
.header-section {
          background: rgba(255, 255, 255, 0.95);
          padding: 20px 0px;
          /* margin-bottom: 30px; */
          /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); */
          text-align: center;
      }
        
  .main-title {
      font-weight: 800;
      font-size: 30px;
      margin-bottom: 15px;
      /* background: linear-gradient(135deg, #3b82f6, #1e40af); */
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      letter-spacing: -0.5px;
      color: #000;
  }
  
  .sub-title {
      font-weight: 400;
      font-size: 14px;
      color: #4b5563;
      line-height: 1.7;
      max-width: 90%;
      margin: 0 auto;
  }
  
  .form-container {
      background: #ffffff;
      padding: 0px 20px;
  }
  
  .form-group {
      position: relative;
      margin-bottom: 12px;
  }
  
  .input-icon {
      position: absolute;
      left: 15px;
      top: 22px;
      color: #9ca3af;
      font-size: 20px;
      z-index: 10;
  }
  
  .form-control {
      border-radius: 12px;
      padding: 16px 20px 16px 50px;
      border: 2px solid #e5e7eb;
      font-size: 20px;
      height: auto;
      transition: all 0.3s ease;
      background-color: #f9fafb;
  }
  
  .form-control:focus {
      /* border-color: var(--primary-color); */
      box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
      background-color: #ffffff;
  }
  
  textarea.form-control {
      min-height: 120px;
      resize: vertical;
      padding-top: 16px;
  }
  
  .btn-submit {
      background: linear-gradient(135deg, #2563eb, #1d4ed8);
      border: none;
      border-radius: 12px;
      padding: 16px 0;
      font-weight: 600;
      font-size: 20px;
      margin-top: 5px;
      transition: all 0.3s ease;
      width: 100%;
      color: white;
      box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
      position: relative;
      overflow: hidden;
  }
    .btn-submit i {
    margin-right: 10px;
    }

  
  .loading-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.85);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      z-index: 1050;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.4s ease;
  }
  
  .loading-overlay.active {
      opacity: 1;
      pointer-events: all;
  }
  
  .loader {
      width: 60px;
      height: 60px;
      display: flex;
      justify-content: space-between;
      align-items: center;
  }
  
  .dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      /* background: var(--primary-color); */
      animation: bounce 1.4s infinite ease-in-out both;
  }
  
  .dot:nth-child(1) {
      animation-delay: -0.32s;
      background: #3b82f6;
  }
  
  .dot:nth-child(2) {
      animation-delay: -0.16s;
      background: #60a5fa;
  }
  
  .dot:nth-child(3) {
      background: #93c5fd;
  }
  
  @keyframes bounce {
      0%, 80%, 100% { 
          transform: scale(0);
      } 40% { 
          transform: scale(1.0);
      }
  }
  
  .loading-text {
      color: white;
      margin-top: 25px;
      font-size: 30px;
      font-weight: 500;
      letter-spacing: 0.5px;
  }
  
  .alert-modal {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0.9);
      background: white;
      border-radius: 20px;
      padding: 35px 30px;
      text-align: center;
      z-index: 1060;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
      width: 85%;
      max-width: 400px;
      opacity: 0;
      pointer-events: none;
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  .alert-modal.active {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
      pointer-events: all;
  }
  
  .alert-icon {
      font-size: 80px;
      margin-bottom: 20px;
  }
  
  .success-icon {
      color: #10b981;
  }
  
  .error-icon {
      color: #ef4444;
  }
  
  .alert-title {
      font-weight: 700;
      font-size: 30px;
      margin-bottom: 15px;
      color: #1f2937;
  }
  
  .alert-message {
      color: #4b5563;
      margin-bottom: 25px;
      line-height: 1.6;
      font-size: 20px;
  }
  
  .modal-btn {
      border-radius: 12px;
      padding: 14px 0;
      font-weight: 600;
      font-size: 20px;
      width: 100%;
      border: none;
      cursor: pointer;
      transition: all 0.3s;
  }
  
  .modal-btn-primary {
      background: linear-gradient(135deg, #2563eb, #1d4ed8);
      color: white;
      box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  }
  
  .modal-btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 7px 20px rgba(37, 99, 235, 0.4);
  }
  
  .form-title {
      text-align: center;
      font-weight: 700;
      font-size: 24px;
      margin-bottom: 25px;
      color: #1e40af;
      position: relative;
  }
  
  .form-title::after {
      content: '';
      display: block;
      width: 60px;
      height: 4px;
      background: linear-gradient(90deg, #2563eb, #1d4ed8);
      border-radius: 2px;
      margin: 10px auto 0;
  }
  
  
.from-ct  .input-error {
      color: #ef4444;
      font-size: 18px;
      margin-top: 8px;
      margin-left: 10px;
      display: none;
  }
  
  .form-control.error {
      border-color: #ef4444;
  }
  
  .form-control.error:focus {
      box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
  }
  .from-ct .btn:hover {
    color: #fff;
  }

   /* 底部悬浮按钮 */

  .contact-bar {
      position: fixed;
      bottom: 0px;
      left: 0;
      width: 100vw;
      z-index: 1000;
      padding: 10px 0px;
      display: flex;
      transition: all 0.3s ease;
      background: #055bb1;
  }
  
  .contacts-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 5px 25px;
      /* border-radius: 50px; */
      color: white;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.3s ease;
      /* box-shadow: 0 4px 10px rgba(0,0,0,0.1); */
      position: relative;
      min-width: 150px;
      font-size: 20px;
      flex: 1;
  
  }
  
  .contacts-btn i {
      margin-right: 8px;
      font-size: 24px;
  }
  
    .contacts-btn.wechat-btn {
      border-right: 1px solid #fff;
    }
  /* 二维码弹出框 */
  .qr-popup {
      position: absolute;
      bottom: calc(100% + 20px);
      left: 50%;
      transform: translateX(-50%) scale(0.9);
      background: white;
      padding: 20px;
      border-radius: 20px;
      box-shadow: 0 15px 40px rgba(0,0,0,0.2);
      z-index: 1001;
      opacity: 0;
      visibility: hidden;
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      text-align: center;
      min-width: 260px;
      border: 1px solid rgba(0,0,0,0.05);
  }
  
  .qr-popup.active {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) scale(1);
  }
  
  .qr-popup::after {
      content: '';
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      border: 12px solid transparent;
      border-top-color: white;
  }
  
  .qr-popup img {
      width: 180px;
      height: 180px;
      display: block;
      margin: 0 auto 15px;
      border: 1px solid #eee;
      border-radius: 10px;
      padding: 10px;
      background: white;
      font-size: 20px;
  }
  
  .qr-popup-title {
      color: #333;
      margin-bottom: 15px;
      font-weight: 700;
      font-size: 24px;
  }
  
  .qr-popup p {
      color: #666;
      font-size: 14px;
      max-width: 250px;
      margin-bottom: 0px;
  }
  