* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 定义 Gotham 字体家族 */
@font-face {
  /* 字体家族名称，可自定义，建议保持统一 */
  font-family: "Gotham";
  /* 字体文件路径（请根据你的实际文件位置修改） */
  src: url("fonts/Gotham-Black.otf") format("opentype");
  /* 字体字重：900 对应 Black/Heavy 字重 */
  font-weight: 900;
  /* 字体样式：正常（非斜体） */
  font-style: normal;
  /* 字体显示策略：提升加载体验 */
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: url("fonts/Gotham-BlackItalic.otf") format("opentype");
  font-weight: 900;
  /* 字体样式：斜体 */
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: url("fonts/Gotham-Bold.otf") format("opentype");
  /* 字体字重：700 对应 Bold 字重 */
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* 定义 OPPOSans 字体家族（替换原有 Gotham 定义） */
@font-face {
  /* 统一的字体家族名称 */
  font-family: "OPPOSans";
  /* 字体文件路径（请根据实际位置修改，比如 fonts/OPPOSans-B.ttf） */
  src: url("fonts/OPPOSans-B.ttf") format("truetype");
  /* 字重对应：B=Bold → 700 */
  font-weight: 700;
  font-style: normal;
  font-display: swap; /* 优化加载体验 */
}

@font-face {
  font-family: "OPPOSans";
  src: url("fonts/OPPOSans-H.ttf") format("truetype");
  /* 字重对应：H=Heavy/Black → 900 */
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OPPOSans";
  src: url("fonts/OPPOSans-L.ttf") format("truetype");
  /* 字重对应：L=Light → 300 */
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OPPOSans";
  src: url("fonts/OPPOSans-M.ttf") format("truetype");
  /* 字重对应：M=Medium → 500 */
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OPPOSans";
  src: url("OPPOSans-R.ttf") format("truetype");
  /* 字重对应：R=Regular → 400（默认字重） */
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

body {
  width: 100%;
  min-width: 320px;
  font-family: "OPPOSans", sans-serif;
}

/* 顶部导航 */
.header {
  background: url("menu.png") no-repeat center center;
  background-size: cover;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  width: 197px;
}

.nav {
  display: flex;
}

.nav a {
  color: #333;
  text-decoration: none;
  font-size: 18px;
  position: relative;
  display: block;
  white-space: nowrap;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 101%;
  /* background-color: rgba(255, 255, 255, 0.95); */
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content:hover {
  display: block;
}

.dropdown-content a {
  color: #333;
  text-decoration: none;
  display: block;
  font-size: 16px;
  text-align: center;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a::after {
  display: none;
}

.nav .active {
  color: #01562f;
  font-weight: bold;
}

.nav a.active::after {
  content: "";
  position: absolute;
  bottom: 15px;
  left: 2px;
  right: 2px;
  height: 4px;
  background-color: #00562f;
  border-radius: 2px;
}

/* 底部区域 */
.footer {
  background: url("footer.png") no-repeat center center;
  background-size: cover;
  padding: 48px 0;
  color: #fff;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 34px;
}

.footer-logo {
  position: relative;
}

.footer-logo::after {
  content: "";
  display: block;
  height: 54px;
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%) scaleX(0.5);
  width: 1px;
  background-color: #fff;
}

.footer-logo img {
  height: 50px;
}

.footer-info {
  flex: 4;
  font-size: 17px;
  line-height: 1.4;
}

.footer-info p {
  opacity: 0.9;
}

.footer-nav {
  flex: 3;
  word-break: break-all;
}

.footer-nav a {
  display: inline-block;
  white-space: nowrap;
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

.footer-nav a:hover {
  opacity: 1;
}

/* 移动端汉堡菜单样式 */
.mobile-menu-toggle {
  display: none;
  width: 30px;
  height: 24px;
  cursor: pointer;
  position: relative;
  margin-top: 5px;
  margin-right: 2px;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #00562f;
  margin-bottom: 5px;
  transition: all 0.3s;
  position: absolute;
  border-radius: 2px;
}

.mobile-menu-toggle span:nth-child(1) {
  top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
  top: 8px;
}

.mobile-menu-toggle span:nth-child(3) {
  top: 16px;
}

/* 移动端菜单激活状态 */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 8px;
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 8px;
}

.honors-header span, .business-header span, .info-item h3 span, .process-section h2 span, .contact-section h2 span, .program-section h2 span, .development-content h2 span, .offer-title span, .advantage-section h2 span, .major-item h3 span {
  font-weight: 200;
}


@media screen and (min-width: 960px) {
  .header {
    height: 80px;
  }

  .logo img {
    height: 50px;
  }

  nav {
    gap: 40px;
  }

  .nav a {
    height: 80px;
    font-size: 18px;
    line-height: 80px;
  }

  .dropdown-content a {
    height: 40px;
    line-height: 40px;
  }

  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 64px;
  }

  .footer-nav a {
    font-size: 17px;
    margin-right: 30px;
  }

  .footer-info p {
    padding-right: 16px;
  }
}

@media screen and (min-width: 750px) and (max-width: 960px) {
  .header {
    height: 72px;
  }

  .header-content {
    padding: 0 16px;
  }

  .logo img {
    height: 46px;
  }

  nav {
    gap: 20px;
  }

  .nav a {
    height: 72px;
    font-size: 16px;
    line-height: 72px;
  }

  .nav a.active::after {
    height: 3px;
  }

  .dropdown-content a {
    height: 36px;
    line-height: 36px;
  }

  .footer {
    padding: 42px 0;
  }

  .footer-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .footer-left {
    gap: 34px;
  }

  .footer-logo img {
    height: 46px;
  }

  .footer-info {
    min-width: 360px;
    font-size: 16px;
    line-height: 1.4;
  }

  .footer-info p {
    padding-right: 16px;
  }

  .footer-nav {
    width: 100%;
    min-width: 360px;
    max-width: 540px;
    text-align: center;
    margin-top: 20px;
    line-height: 1.64;
  }

  .footer-nav a {
    font-size: 15px;
    margin-right: 24px;
  }

  .footer-nav a:first-child {
    margin-left: 30px;
  }
}

@media screen and (min-width: 640px) and (max-width: 750px) {
  .header {
    height: 64px;
    background-position: 40% center !important;
  }

  .header-content {
    padding: 0 12px;
  }

  .logo img {
    height: 40px;
  }

  nav {
    gap: 14px;
  }

  .nav a {
    height: 64px;
    font-size: 14px;
    line-height: 64px;
  }

  .nav a.active::after {
    height: 3px;
  }

  .dropdown-content a {
    height: 32px;
    line-height: 32px;
  }

  .footer {
    padding: 40px 0;
  }

  .footer-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
  }

  .footer-left {
    gap: 34px;
  }

  .footer-logo img {
    height: 40px;
  }

  .footer-info {
    font-size: 16px;
    line-height: 1.6;
  }

  .footer-info p {
    padding-right: 4px;
  }

  .footer-nav {
    width: 100%;
    min-width: 100%;
    max-width: 540px;
    text-align: center;
    margin-top: 16px;
    line-height: 1.64;
  }

  .footer-nav a {
    font-size: 15px;
    margin-right: 20px;
  }

  .footer-nav a:first-child {
    margin-left: 20px;
  }
}

/* 在移动端显示汉堡菜单 */
@media screen and (max-width: 640px) {
  .mobile-menu-toggle {
    display: block;
  }

  .header {
    height: 64px;
    background-position: 30% center !important;
  }

  .header-content {
    padding: 0 10px;
  }

  .logo img {
    height: 40px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    gap: 0;
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    height: auto;
    font-size: 16px;
    line-height: 1.4;
    padding: 14px 24px;
    border-bottom: 1px solid #eee;
    background-color: rgba(255, 255, 255, 0.5);
  }

  .nav a:hover {
    background-color: rgba(255, 255, 255, 0.95);
  }

  .nav a:active {
    background-color: rgba(255, 255, 255, 0.95);
  }

  .nav a.active {
    background-color: rgba(255, 255, 255, 0.95);
  }

  .dropdown-content {
    position: static;
    transform: none;
    box-shadow: none;
    background: #f5f5f5;
    margin-top: 0;
    display: block;
  }

  .dropdown.active .dropdown-content {
    display: block;
  }

  .dropdown-content a {
    padding: 12px 20px 12px 54px;
    text-align: left;
    position: relative;
  }

  .dropdown-content a::before {
    content: '';
    position: absolute;
    left: 36px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #c8c8c8;
    display: block;
  }

  .nav a.active::before {
    background-color: #01562f;
  }

  .nav a.active::after {
    display: none;
  }

  .footer {
    padding: 40px 0;
  }

  .footer-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .footer-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .footer-logo::after {
    display: none;
  }

  .footer-logo img {
    height: 44px;
  }

  .footer-info {
    font-size: 14px;
    line-height: 1.4;
    margin-top: 10px;
  }

  .footer-info p {
    text-align: center;
    margin-top: 8px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-nav {
    width: 100%;
    min-width: 100%;
    max-width: 360px;
    text-align: center;
    margin-top: 16px;
    line-height: 1.64;
  }

  .footer-nav a {
    font-size: 14px;
    margin-right: 16px;
  }

  .footer-nav a:first-child {
    margin-left: 16px;
  }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
  .nav a:hover,
  .dropdown:hover .dropdown-content,
  .feature-item:hover .feature-overlay,
  .university-card:hover,
  .business-item:hover .business-content-box {
    transform: none;
  }
}
