@font-face {
  font-family: "DM_Sans";
  src: url("../fonts/DMSans-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --theme-color: #008c8c;
  --theme-color-02: rgba(0, 140, 140, 0.2);
  --theme-color-03: rgba(0, 140, 140, 0.3);
  --theme-color-04: rgba(0, 140, 140, 0.4);
}

body,
html {
  font-family: "DM_Sans", Arial, Helvetica, "Open Sans", sans-serif;
}

/* 基础样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1 {
  margin-bottom: 32px;
  font-size: 64px;
  font-weight: bold;
}

h2 {
  margin-bottom: 16px;
  font-size: 48px;
  font-weight: bold;
}

h3 {
  margin-bottom: 8px;
  font-size: 26px;
  font-weight: bold;
}

/* 导航栏容器 */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  background-color: #fff;
}

/* 左侧Logo */
.logo {
  /* width: 400px; */
  width: auto;
  height: 40px;
  margin-right: 100px;
}

.logo img {
  width: 100%;
  height: 100%;
}

/* 右侧导航链接容器 */
.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  position: relative;
  margin-left: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--theme-color);
}

/* 下拉菜单样式 */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
  list-style: none;
}

.dropdown li {
  margin: 0;
}

.dropdown a {
  display: block;
  padding: 12px 12px;
  color: #333;
  transition: background-color 0.3s ease;
}

.dropdown a:hover {
  color: #333;
  background-color: var(--theme-color);
}

/* 鼠标悬停显示下拉菜单 */
.nav-links li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

footer {
  background-color: #000;
}

.footer {
  width: 1290px;
  margin: 0px auto;
  padding: 80px 40px 40px;
  color: white;
  display: flex;
}

.footer .logo {
  width: auto;
  height: 40px;
}

.footer .logo img {
  width: 100%;
  height: 100%;
}

.footer .contaner .desc {
  width: 840px;
  font-size: 22px;
}

.footer .contaner .desc ul {
  margin-left: 30px;
}

.footer .contaner .pages {
  margin-top: 80px;
}

.footer .contaner .pages h3 {
  font-size: 28px;
}

.footer .contaner .pages ul {
  list-style: none;
}

.footer .contaner .pages ul li {
  margin: 10px 0;
}
.footer .contaner .pages ul li a {
  text-decoration: none;
  font-size: 14px;
  color: #ccc;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer .contaner .bottom {
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff4d;
}

.footer .contaner .bottom a {
  text-decoration: none;
  color: #ffffff4d;
}

.container {
  width: 1300px;
  margin: 0 auto;
}

.common-btn {
  width: 200px;
  padding: 14px 20px;
  text-align: center;
  background-color: var(--theme-color);
  cursor: pointer;
}

.common-btn:hover {
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
}

.common-btn a {
  font-size: 16px;
  color: white;
  text-decoration: none;
}

.common-li {
  position: relative;
  padding: 0 20px;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: bold;
}

.common-li::before {
  content: "";
  width: 12px;
  height: 12px;
  background-color: var(--theme-color);
  position: absolute;
  top: 5px;
  left: 0;
}

.common-divider {
  width: 100%;
  height: 1px;
  background-color: #eee;
  margin: 50px 0;
}
