* {
  margin: 0;
  padding: 0;
}
a {
  color: inherit; /* 继承父元素的颜色 */
  text-decoration: none; /* 去掉下划线 */
}
a:hover{
  color: red;
}

/* 头部 */
.tittle {
  padding: 20px;
  color: white;
  margin-left: 5px;
}
.head {
  width: 100%;
  height: auto;
  background-color: rgb(0, 25, 74);
  /* border: 1px solid red; */
  display: flex;
  align-items: center; /* 垂直居中 */
}
.nav {
  height: auto;
  width: auto;
  /* background-color: rgb(31, 45, 50); */
  /* border: 1px solid red; */
  justify-content: center; /* 水平居中 */
  font-size: 18px;
  color: white;
  margin-left: 900px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}
.bar-2{
  margin-left: 40px;
}

/* 中间部分 */
section {
  width: 100%;
  /* padding: 10px 0; 增加上下内边距 */
  background-color: #f4f7fa; /* 设置一个浅色背景 */
}

.bg {
  width: 100%;
  background-color: #001236;
  margin-bottom: 20px; /* 图片与内容之间的间距 */
}

.t1 {
  display: block;
  margin: auto;
  width: 60%; /* 调整图片宽度，保持简约 */
  max-width: 800px; /* 限制图片最大宽度，避免过大 */
}

.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px; /* 子元素之间的间距 */
}

.main-1, .main-2 {
  width: 60%;
  padding: 20px;
  border-radius: 8px;
  background-color: #ffffff; /* 设置白色背景，提升对比 */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); /* 轻微的阴影效果 */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* 增加交互动画 */
}

.main-1:hover, .main-2:hover {
  transform: translateY(-5px); /* 悬停时轻微上移 */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* 悬停时阴影加深 */
}

.main-1 h2, .main-2 h2 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

.main-1 p, .main-2 p {
  font-size: 14px; /* 调整字体大小，使整体更协调 */
  line-height: 1.6;
  color: #555;
  margin: 0;
}



/* 底部 */
footer {
  width: 100%;
  background-color: rgb(31, 45, 50);
  padding: 20px 0;
  margin-top: 10px;
}

.relate {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-info p {
  margin: 0;
  font-size: 16px;
}


.img2 {
  width: 90px;
  height: 90px;
  background-color: rgb(114, 234, 234);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border-radius: 5px;
}

.img2 img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 保证图片按比例缩放以适应盒子 */
}
