body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styling */
.navbar {
  background: #000;
  padding: 10px 0;
}

.navbar-brand img {
  height: 30px;
  margin-right: 20px;
}

.navbar-nav .nav-item .nav-link {
  color: #fff;
  font-size: 18px;
  padding: 5px 20px;
  transition: color 0.3s;
}

.navbar-nav {
  margin-left: -250px; /* 根据需要调整偏移量 */
}

.navbar-nav .nav-item .nav-link:hover {
  color: #ff7700;
}

/* Hero Section Styling */
#home {
  position: relative;
  height: 100vh;
}

.hero {
  position: relative;
  height: 100%;
  overflow: hidden;
}

#hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover; /* 或者 object-fit: contain */
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 20%;
  text-align: center;
}

.text-container {
  max-width: 800px;
  margin: 0 auto;
}

.highlight-text {
  font-size: 50px;
  font-weight: bold;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero_p {
  font-size: 24px;
  color: #fff;
  margin: 20px 0;
  font-weight: 300;
}



/* 移动端样式调整 */
@media (max-width: 768px) {
  #home {
    height: 100%; /* 自适应高度 */
    margin-top: 28px; 
  }

  #hero-video {
    position: relative;
    margin-top: 30px;
    margin-bottom: -7px;
    left: 0;
    transform: none;
    width: 100%;
    height: auto;
    object-fit: contain; /* 确保视频内容完整显示 */
  }
  
  .navbar-nav {
    display: flex; /* 使用flex布局 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中（如果需要） */
    margin: auto;
  }


  .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .highlight-text {
    font-size: 32px;
  }

  .hero_p {
    font-size: 18px;
  }

  /* 安卓播放按钮样式 */
  .android-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 8px;
    display: none; /* 默认隐藏 */
    cursor: pointer;
    pointer-events: auto;
  }
    
}

/* Three Sections Styling */
.three-sections {
  padding: 10px 0;
  background: #060809;
}

.three-sections .section {
  padding: 2px;
  /* border: 1px solid #3d3d3d; */
  margin: 0; /* Remove margin to align top */
  transition: transform 0.3s;
}

.three-sections .section:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.three-sections .section-content {
  text-align: center;
}

.three-sections .section-title {
  font-size: 24px;
  margin-bottom: 15px;
  color: #ffffff;
}

.three-sections .section-description {
  font-size: 16px;
  color: #6c757d;
}

/* Product Section Styling */
.vehicle-intro {
  padding: 0px 0;
  position: relative;
  background:  #060809;
}

.vehicle-image-up, .vehicle-image-down {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; /* 允许换行 */
}

.text-container1, .text-container2 {
  flex: 1 1 0;
  min-width: 0;
  padding: 30px;
  background:  #060809;
  border-radius: 8px;
  border: none; 
  position: relative;
  z-index: 1;
  
}

.text-container1 h1, .text-container2 h1 {
  white-space: nowrap; /* 防止换行 */
  font-size: 24px;
  line-height: 1.2;
  font-weight: bold;
  color: #ffffff;
}

.vehicle-image1, .vehicle-image2 {
  flex: 0 0 auto;
  max-width: 100%; /* 确保在移动端不会超出屏幕宽度 */
  padding: 0;
  position: relative;
  z-index: 10;
}

.vehicle-image1 img, .vehicle-image2 img {
  max-width: 100%; /* 确保图片宽度自适应 */
  height: auto;
  display: block; /* 防止图片出现外边距 */
}

.vehicle-feature1 ul {
  list-style: none;
  padding: 0;
}

.vehicle-feature1 li {
  margin-bottom: 15px;
  font-size: 16px;
  color: #ffffff;
}

@media (min-width: 769px) {
  .text-container1, .text-container2 {
    padding-left: 100px; /* 整体向右移动 */
  }

  .text-container1 h1, .text-container2 h1 {
    text-align: left; /* 标题右对齐 */
  }

  .vehicle-feature1 ul {
    text-align: left; /* 列表保持左对齐 */
  }

  .vehicle-image2 {
    margin-right: 30px;
  }

  .vehicle-image1 {
    margin-right: 60px;
  }


}


/* 针对移动端的样式 */
@media (max-width: 768px) {
  .vehicle-image-up, .vehicle-image-down {
    flex-direction: column; /* 在移动端将布局改为垂直排列 */
    align-items: center; /* 水平居中对齐 */
  }

  .text-container1, .text-container2 {
    width: 100%; /* 占满整个屏幕宽度 */
    padding: 20px; /* 调整内边距 */

  }

  .vehicle-image1, .vehicle-image2 {
    text-align: center; /* 图片水平居中 */
    margin: auto; /* 确保图片在容器中居中 */
  }

  .vehicle-image1 img, .vehicle-image2 img {
    max-width: 90%; /* 图片宽度占满 */
    height: auto;
    margin: auto; /* 图片水平居中 */
  }
}



/* Industrial PC Section Styling */
.industrial-pc {
  padding: 50px 0;
  background: #060809; /* 黑色背景 */
  
}

.industrial-pc h2 {
  
  font-size: 44px;
  margin-bottom: 0px;
  color: #ffffff; 
}

.industrial-pc .ipc-image img {
  max-width: 60%;
  margin: auto;
  border-radius: 8px; /* 可选：为图片添加圆角 */
}

.industrial-pc .ipc-feature {
  padding: 10px;
  background: #060809; /* 黑色背景 */
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  margin-bottom: 20px;
  color: #fff; /* 白色文字 */
  border: 1px solid #242424; /* 统一边框宽度和颜色 */
  height: 160px; /* 设置最小高度，可自定义 */
}

.industrial-pc .ipc-feature h3 {
  
  font-size: 24px;
  margin-bottom: 0px;
  color: #ffffff; 
}

.industrial-pc .ipc-feature p {
  font-size: 16px;
  color: #ffffff; /* 浅灰色文字 */
}

/* 使用 Flexbox 确保内容块高度一致 */
.industrial-pc .row {
  display: flex;
  align-items: stretch;
}


/* FMS Section Styling */
.fms {
  padding: 0px 0;
  position: relative;
}

.fms img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.5;
  z-index: 1;
}

.fms .notifications {
  position: relative;
  z-index: 2;
  padding: 50px;
  background: rgba(65, 64, 64, 0.9);
  

  /* box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); */
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4列布局 */
  grid-template-rows: auto auto auto; /* 3行布局 */
  gap: 20px;
  align-content: center;
}

.notifications_h1 {
  grid-column: 2 / 4; /* 标题占据第2到第4列 */
  text-align: center;
  margin-top: 50px;
  font-size: 46px;
  margin-bottom: 30px;
  color: #ffffff;
  grid-row: 1 / 2; /* 标题在第1行 */
}

.notification-group-group {
  display: contents;
}

.notification {
  margin-bottom: 20px;
  padding: 20px;
  background: #1d1d1e;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.notification .notititle {
  font-size: 20px;
  margin-bottom: 10px;
  color: #ffffff;
}

.notification .notibody {
  font-size: 16px;
  color: #ffffff;
}

/* 通知框位置调整 */
.notification-1 {
  grid-column: 1 / 2; /* 左侧第1列 */
  grid-row: 1 / 2; /* 第1行 */
}

.notification-2 {
  grid-column: 4 / 5; /* 右侧第4列 */
  grid-row: 1 / 2; /* 第1行 */
}

.notification-3 {
  grid-column: 2 / 3; /* 第2列 */
  grid-row: 2 / 3; /* 第2行 */
}

.notification-4 {
  grid-column: 3 / 4; /* 第3列 */
  grid-row: 2 / 3; /* 第2行 */
}

.notification-5 {
  grid-column: 1 / 2; /* 第1列 */
  grid-row: 3 / 4; /* 第3行 */
}

.notification-6 {
  grid-column: 2 / 4; /* 第2列和第3列之间 */
  grid-row: 3 / 4; /* 第3行 */
}

.notification-7 {
  grid-column: 4 / 5; /* 第4列 */
  grid-row: 3 / 4; /* 第3行 */
}

@keyframes spin {
  to {
      transform: rotate(360deg);
  }
}


/* 移动端特定样式 */
@media (max-width: 768px) {
  .fms .notifications {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 20px;
  }

  .notifications_h1 {
      text-align: center;
      font-size: 24px;
      margin-bottom: 20px;
      margin-top: 20px;
  }

  .notification {
      width: 100%;
      margin: 0 auto;
      max-width: 80%;
      padding: 20px;
      background: #000000;
      border-radius: 8px;
      box-shadow: 0 0 15px rgba(0,0,0,0.1);
      text-align: center;
  }
}

/* Technology Section Styling */
.p1, .p2 {
  padding: 20px 40px;
}

.p2-title {
  font-size: 36px;
  margin-bottom: 30px;
  text-align: center;
  color: #000;
}

.list {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4列布局 */
  gap: 20px;
}

.item {
  background: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
}

.item .img img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.item .p2-item-title {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
}

.item .p2-item-tip {
  font-size: 16px;
  color: #6c757d;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
  .list {
      grid-template-columns: 1fr; /* 单列布局 */
      grid-template-rows: repeat(4, auto); /* 4行布局 */
  }

  .item {
      margin-bottom: 20px; /* 增加模块之间的间距 */
  }
}


/* About Us Section */
.join-container {
  padding: 10px 0;
  background: #ffffff;
}

.main-section {
  padding: 10px;
}

/* 标题与副标题 */
.main-title, .sub-title {
  font-size: 36px;
  color: #000;
  margin-bottom: 30px;
}

.main-title {
  margin-left: 20px;
}


.sub-title {
  margin-bottom: 20px;
}

/* 段落文字 */
.sub-content {
  font-size: 18px;
  line-height: 1.6;
  color: #6c757d;
}

/* 图文组合布局 */
.text-image-group {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
}

.text-image-group .text-content {
  flex: 1;
  padding: 10px;
}

.text-image-group .background-image {
  flex: 1;
  padding: 20px;
}

.bg-image1, .bg-image2 {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* 移动端样式调整 */
@media (max-width: 768px) {
  .text-image-group {
      flex-direction: column;
  }

  .text-image-group .text-content, .text-image-group .background-image {
      width: 100%;
  }

  .text-image-group .background-image {
      margin-bottom: 20px;
  }

  .bg-image1, .bg-image2 {
      width: 100%;
      height: auto;
      margin: 0 auto;
  }
}

/* 关于我们 - 容器 */
.about-content {
  position: relative;
  padding: 50px;
  text-align: center;
  height: 500px;
}

/* 背景图片 */
.about-content .background-image1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: rgba(5, 5, 5, 0.5); /* 透明背景颜色 */
}

.about-content .background-image1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  
}

/* 标题 */
.text-block.top-text {
  margin-top: 50px;
  padding: 0;
}

.text-block.top-text h2.highlight-text {
  font-size: 48px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* 底部文本内容 */
.text-block.bottom-text {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  margin-top: 150px;
}

.text-block.bottom-text .text-item {
  flex: 1;
  padding: 0 20px;
}

.text-block.bottom-text .text-item img {
  width: 50px;
  height: 50px;
}

.text-block.bottom-text .text-item h3 {
  font-size: 24px;
  color: #68c6f6;
  margin: 10px 0;
}

.text-block.bottom-text .text-item p {
  font-size: 16px;
  color: #68c6f6;
}

/* 移动端隐藏 */
/* 移动端样式调整 */
@media (max-width: 768px) {
  /* 关于我们 - 容器 */
  .about-content {
    padding: 20px; /* 减少内边距 */
    height: auto; /* 自动调整高度 */
    text-align: center;
  }

  /* 背景图片 */
  .about-content .background-image1 img {
    opacity: 0.3; /* 调整背景图片透明度 */
  }

  /* 标题 */
  .text-block.top-text {
    margin-top: 20px; /* 减少顶部间距 */
  }

  .text-block.top-text h2.highlight-text {
    font-size: 32px; /* 缩小标题字体 */
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  }

  /* 底部文本内容 */
  .text-block.bottom-text {
    display: flex;
    flex-wrap: wrap; /* 允许换行 */
    justify-content: center; /* 居中对齐 */
    margin-top: 50px; /* 减少顶部间距 */
  }

  .text-block.bottom-text .text-item {
    flex: 1 1 100%; /* 每项占满整行 */
    padding: 20px 10px; /* 调整内边距 */
    text-align: center; /* 内容居中 */
  }

  .text-block.bottom-text .text-item img {
    width: 30px; /* 缩小图标尺寸 */
    height: 30px;
  }

  .text-block.bottom-text .text-item h3 {
    font-size: 18px; /* 缩小标题字体 */
    color: #68c6f6;
    margin: 10px 0;
  }

  .text-block.bottom-text .text-item p {
    font-size: 14px; /* 缩小段落字体 */
    color: #68c6f6;
  }
}



/* Company Info Section Styling */
.company-info {
  padding: 5px 0;
  background: #ffffff;
  color: #000000;
  text-align: center;
}

.company-info a {
  color: #000000;
  text-decoration: none;
  margin-right: 20px;
  margin-top: 5px;
}

.company-info a img {
  margin-bottom: 0px;
}

.lang-btn {
  margin-left: 10px;
  padding: 5px 10px;
  border: 1px solid #ffffff; /* 黑色边框 */
  border-radius: 5px;
  background-color: #000; /* 黑色背景 */
  color: #fff; /* 白色文字 */
  cursor: pointer;
}

.lang-btn:hover {
  background-color: #fff; /* 鼠标悬停时背景变为白色 */
  color: #000; /* 鼠标悬停时文字变为黑色 */
  border: 1px solid #000; /* 边框保持黑色 */
}