* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-image: url("materials/airplane.png");
  background-size: 2048px auto;
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  height: 1500px;
  overflow-y: auto;
  overflow-x: hidden;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  gap: 40px;
}

.logo img {
  height: 35px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-links li {
  position: relative;
}

/* 主导航链接样式 */
.nav-links > li > a {
  text-decoration: none;
  color: #333333;
  font-family: "SimHei", "黑体", sans-serif;
  font-size: 24px;
  font-weight: bold;
  display: block;
  padding: 8px 0;
}

/* 主导航链接hover样式 */
.nav-links > li > a:hover {
  color: #0066cc;
}

/* 下拉菜单样式 */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(230, 242, 255, 0.5);
  min-width: 220px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
  z-index: 1;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

/* 二级下拉菜单样式 */
.dropdown-content-right {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background-color: #e6f2ff;
  min-width: 280px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
  z-index: 1;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

/* 所有下拉菜单项样式，包括一级和二级 */
.dropdown-content a,
.dropdown-content-right a {
  color: #333333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 15px;
  font-weight: normal;
  text-align: left;
  font-family: Arial, sans-serif;
}

/* 所有下拉菜单项hover样式 */
.dropdown-content a:hover,
.dropdown-content-right a:hover {
  background-color: #f5f5f5;
  color: #0066cc;
}

/* 下拉菜单显示规则 */
.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-submenu:hover .dropdown-content-right {
  display: block;
}

/* 二级下拉菜单容器 */
.dropdown-submenu {
  position: relative;
}

/* 一级下拉菜单项样式，适合右侧子菜单 */
.dropdown-content .dropdown-submenu > a {
  padding-right: 30px;
  position: relative;
}

/* 可以添加箭头指示有右侧子菜单，但为了简洁暂时省略 */

.contact-info {
  display: flex;
  gap: 20px;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
}

.contact-icon {
  height: 24px;
  width: auto;
  margin-right: 8px;
}

.contact-text {
  font-size: 14px;
  color: #333333;
  font-family: Arial, sans-serif;
}

/* 英雄文本样式 */
.hero-text {
  position: absolute;
  top: 200px;
  left: 50%;
  transform: translateX(-550px);
  text-align: left;
  max-width: 600px;
}

.hero-text .subtitle {
  font-size: 24px;
  font-weight: normal;
  color: black;
  font-family: "SimHei", "黑体", sans-serif;
  margin: 0 0 20px 0;
  padding: 0;
  text-align: left;
}

.hero-text .bottom-subtitle {
  text-align: left;
  margin-top: 30px;
}

.hero-text .line {
  font-size: 64px;
  font-weight: bold;
  color: black;
  font-family: "SimHei", "黑体", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.2;
  text-align: left;
}

/* 底部文本样式 */
.bottom-text {
  position: absolute;
  top: 700px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: white;
  font-family: "SimHei", "黑体", sans-serif;
  max-width: 95%;
  line-height: 1.5;
  white-space: nowrap;
}

.bottom-text-en {
  position: absolute;
  top: 750px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 14px;
  font-weight: normal;
  color: black;
  font-family: Arial, sans-serif;
  max-width: 95%;
  line-height: 1.5;
  white-space: nowrap;
}

main {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

/* 按钮容器样式 */
.buttons-container {
  position: absolute;
  top: 1050px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 50px;
  justify-content: center;
  align-items: center;
}

/* 按钮样式 */
.action-button {
  width: 300px;
  background-color: rgba(230, 242, 255, 0.5);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 10px;
  gap: 15px;
  min-height: 220px;
}

/* 按钮图标样式 */
.button-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.button-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 按钮名称样式 */
.button-name {
  font-size: 24px;
  font-weight: bold;
  color: black;
  font-family: "SimHei", "黑体", sans-serif;
  text-align: center;
}

/* 按钮说明样式 */
.button-desc {
  font-size: 14px;
  font-weight: normal;
  color: black;
  font-family: Arial, sans-serif;
  text-align: center;
  line-height: 1.5;
}

/* 按钮悬停效果 */
.action-button:hover {
  background-color: #e6f2ff;
  color: black;
}

/* 按钮悬停时文字颜色变化 */
.action-button:hover .button-name,
.action-button:hover .button-desc {
  color: black;
}

/* 3d-design.html 页面样式 */

/* 移除特定页面的背景图片 */
body:has(main > .sw-intro),
body:has(main > .implementation-container),
body:has(main > .training-container) {
  background-image: none;
  height: auto;
}

/* 图片容器样式 */
.image-container {
  margin: 20px 0;
}

/* 居中图片 */
.image-container.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 并排图片容器 */
.side-by-side-images {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

/* 并排图片样式 */
.side-by-side-images img {
  max-width: 45%;
  height: 400px;
  object-fit: cover;
}

/* 确保sw-intro中的h2标题居左 */
.sw-intro h2 {
  text-align: left !important;
}

/* SOLIDWORKS介绍样式 */
.sw-intro {
  padding: 40px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.sw-intro h1 {
  font-size: 36px;
  font-weight: bold;
  color: #333333;
  font-family: "SimHei", "黑体", sans-serif;
  margin-bottom: 30px;
}

.sw-intro h2 {
  font-size: 28px;
  font-weight: bold;
  color: #333333;
  font-family: "SimHei", "黑体", sans-serif;
  margin: 20px 0 40px;
  border-top: 2px solid #e0e0e0;
  padding-top: 10px;
  text-align: left;
}

.sw-intro p {
  font-size: 18px;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 20px;
  text-align: justify;
}

/* 系统优势样式 */
.system-advantages {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.system-advantages h2 {
  font-size: 30px;
  font-weight: bold;
  color: #333333;
  font-family: "SimHei", "黑体", sans-serif;
  margin: 20px 0 30px;
  text-align: left;
  border-top: 2px solid #e0e0e0;
  padding-top: 10px;
}

.advantage-item {
  margin-bottom: 30px;
  padding: 20px;
  background-color: rgba(230, 242, 255, 0.3);
  border-radius: 4px;
}

.advantage-item h3 {
  font-size: 24px;
  font-weight: bold;
  color: #333333;
  font-family: "SimHei", "黑体", sans-serif;
  margin-bottom: 15px;
}

.advantage-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #666666;
  text-align: justify;
}

/* 功能模块样式 */
.feature-modules {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-modules h2 {
  font-size: 30px;
  font-weight: bold;
  color: #333333;
  font-family: "SimHei", "黑体", sans-serif;
  margin-bottom: 30px;
  text-align: left;
}

.feature-modules > p {
  font-size: 18px;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 30px;
  text-align: justify;
}

.module-item {
  margin-bottom: 30px;
  padding: 20px;
  background-color: rgba(230, 242, 255, 0.3);
  border-radius: 4px;
}

.module-item h3 {
  font-size: 24px;
  font-weight: bold;
  color: #333333;
  font-family: "SimHei", "黑体", sans-serif;
  margin-bottom: 15px;
}

.module-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #666666;
  text-align: justify;
}

/* 各设计模块样式 */
.modeling-section,
.surface-section,
.sheet-metal-section,
.weldment-section,
.mold-section,
.assembly-section,
.drawing-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.modeling-section h2,
.surface-section h2,
.sheet-metal-section h2,
.weldment-section h2,
.mold-section h2,
.assembly-section h2,
.drawing-section h2 {
  font-size: 28px;
  font-weight: bold;
  color: #333333;
  font-family: "SimHei", "黑体", sans-serif;
  margin: 30px 0 20px;
}

.modeling-section p,
.surface-section p,
.sheet-metal-section p,
.weldment-section p,
.mold-section p,
.assembly-section p,
.drawing-section p {
  font-size: 16px;
  line-height: 1.6;
  color: #666666;
  text-align: justify;
  max-width: 800px;
  margin: 0 auto;
}

/* 价值收益样式 */
.value-benefits {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 50px;
}

.value-benefits h2 {
  font-size: 30px;
  font-weight: bold;
  color: #333333;
  font-family: "SimHei", "黑体", sans-serif;
  margin-bottom: 30px;
  text-align: left;
}

.benefit-category {
  margin-bottom: 30px;
  padding: 20px;
  background-color: rgba(230, 242, 255, 0.3);
  border-radius: 4px;
  text-align: left;
}

.benefit-category h3 {
  font-size: 24px;
  font-weight: bold;
  color: #333333;
  font-family: "SimHei", "黑体", sans-serif;
  margin-bottom: 15px;
  text-align: left;
}

.benefit-category ul {
  list-style-type: disc;
  padding-left: 30px;
  text-align: left;
}

.benefit-category li {
  font-size: 16px;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 10px;
  text-align: left;
}

/* 关于我们图片样式 */
.about-us-image {
  position: absolute;
  top: 1500px;
  left: 50%;
  transform: translateX(-600px);
}

/* 我们的价值标题样式 */
.values-title {
  position: absolute;
  top: 2100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: baseline;
  gap: 20px;
  z-index: 10;
}

.values-title .chinese {
  font-size: 36px;
  font-weight: bold;
  color: black;
  font-family: "SimHei", "黑体", sans-serif;
}

.values-title .english {
  font-size: 36px;
  color: #333333;
  font-family: Arial, sans-serif;
}

/* 价值图片样式 */
.value-image {
  position: absolute;
  top: 2350px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.value-image img {
  width: 350px;
  height: auto;
  border-radius: 4px;
}

/* 价值内容样式 */
.value-content {
  position: relative;
  width: 100%;
}

.value-item {
  position: absolute;
  width: 350px;
  z-index: 10;
}

/* 左侧文本 */
.value-item.left {
  left: 50%;
  transform: translateX(-550px);
}

/* 右侧文本 */
.value-item.right {
  left: 50%;
  transform: translateX(200px);
}

/* 距离页面头部2300px */
.value-item.first {
  top: 2300px;
}

/* 距离页面头部2500px */
.value-item.second {
  top: 2600px;
}

/* 文本头部样式 */
.value-header {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}

/* 序号样式 */
.value-number {
  font-size: 48px;
  font-weight: bold;
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1;
}

/* 标题样式 */
.value-title {
  font-size: 20px;
  font-weight: bold;
  color: #333333;
  font-family: "SimHei", "黑体", sans-serif;
  margin: 0;
  line-height: 1.3;
  flex: 1;
}

/* 内容样式 */
.value-desc {
  font-size: 18px;
  font-weight: normal;
  color: black;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  text-align: justify;
}

/* 蓝天背景图片样式 */
.blue-sky-bg {
  position: absolute;
  top: 2000px;
  left: 50%;
  transform: translateX(-50%);
  width: 2048px;
  height: auto;
  background-image: url("materials/sky.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 1000px;
}

/* 产品展示标题样式 */
.product-title {
  position: absolute;
  top: 3100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: baseline;
  gap: 20px;
  z-index: 10;
}

.product-title .chinese {
  font-size: 36px;
  font-weight: bold;
  color: black;
  font-family: "SimHei", "黑体", sans-serif;
}

.product-title .english {
  font-size: 20px;
  color: #333333;
  font-family: Arial, sans-serif;
}

/* 第二张背景图片样式 */
.second-bg {
  position: absolute;
  top: 3000px;
  left: 50%;
  transform: translateX(-50%);
  width: 2048px;
  height: auto;
  background-image: url("materials/1441659037.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 1000px;
}

/* 白色背景图片样式 */
.white-bg {
  position: absolute;
  top: 4000px;
  left: 50%;
  transform: translateX(-50%);
  width: 2048px;
  height: 200px;
  background-image: url("materials/white.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 联系图片容器样式 */
.contact-images {
  position: absolute;
  top: 4075px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

/* 联系项目样式 */
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* 联系图片样式 */
.footer-image {
  width: 75px;
  height: 75px;
}

.footer-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 联系文本样式 */
.footer-text {
  font-size: 16px;
  font-weight: normal;
  color: black;
  font-family: Arial, sans-serif;
  text-align: center;
}

/* 左侧联系项目 */
.footer-contact.left {
  position: absolute;
  left: 50%;
  transform: translateX(-350px);
}

/* 右侧联系项目 */
.footer-contact.right {
  position: absolute;
  left: 50%;
  transform: translateX(350px);
}

/* 地址信息样式 */
.address-info {
  position: absolute;
  top: 4150px;
  left: 50%;
  transform: translateX(calc(-50% + 65px));
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

/* 地址内容样式 */
.address-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 地址图标样式 */
.location-icon {
  height: 24px;
  width: auto;
  object-fit: contain;
}

/* 地址文本样式 */
.address-text {
  font-size: 18px;
  font-weight: normal;
  color: black;
  font-family: Arial, sans-serif;
  text-align: center;
}

/* 产品按钮列表样式 */
.product-buttons {
  position: absolute;
  top: 3200px;
  left: 50%;
  transform: translateX(-550px);
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 10;
}

/* 产品按钮样式 */
.product-btn {
  background-color: transparent;
  border: 2px solid #0066cc;
  border-radius: 4px;
  padding: 8px 20px;
  font-size: 16px;
  color: #0066cc;
  font-family: Arial, sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  min-width: 250px;
}

/* 产品按钮悬停效果 */
.product-btn:hover {
  background-color: rgba(0, 102, 204, 0.1);
}

/* 产品按钮按下状态 */
.product-btn.active {
  background-color: #e6f2ff;
  color: black;
  border-color: #e6f2ff;
}

/* 产品介绍区域样式 */
.product-info {
  position: absolute;
  top: 3200px;
  left: 50%;
  transform: translateX(-250px);
  width: 850px;
  height: 500px;
  background-color: transparent;
  border: transparent;
  border-radius: 4px;
  z-index: 10;
  padding: 20px;
  box-sizing: border-box;
}

/* 产品介绍标题样式 */
.info-title {
  font-size: 36px;
  font-weight: bold;
  color: black;
  font-family: "SimHei", "黑体", sans-serif;
  text-align: center;
  margin: 0 0 20px 0;
}

/* 产品介绍内容样式 */
.info-desc {
  font-size: 20px;
  font-weight: normal;
  color: black;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  text-align: justify;
  text-indent: 2em;
  margin: 0;
}

.about-us-image img {
  width: 512px;
  height: auto;
  border-radius: 4px;
}

/* 关于我们标题样式 */
.about-us-title {
  position: absolute;
  top: 1400px;
  left: 50%;
  transform: translateX(100px);
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.about-us-title .chinese {
  font-size: 36px;
  font-weight: bold;
  color: black;
  font-family: "SimHei", "黑体", sans-serif;
}

.about-us-title .english {
  font-size: 20px;
  color: #999999;
  font-family: Arial, sans-serif;
}

/* 关于我们文本样式 */
.about-us-text {
  position: absolute;
  top: 1450px;
  left: 50%;
  transform: translateX(50px);
  width: 512px;
  height: 512px;
  font-size: 16px;
  font-weight: normal;
  color: black;
  font-family: Arial, sans-serif;
  line-height: 1.8;
  text-align: justify;
  text-indent: 2em;
}

/* 关于我们图片样式 */
