/* 通用样式 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.page-body {
  font-family: 'Scada-Regular', Arial, sans-serif;
  overflow-x: hidden;
}

/* 头部导航 */
.page-header {
  position: relative;
  width: 100%;
  z-index: 10;
  padding: 15px 0;
  background: #000000;
  height: 80px;
  display: flex;
  align-items: center;
}

.header-container {
  width: 100%;
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  /* max-width: 1400px; */
  /* margin: 0 auto; */
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  margin-left: 3%;
  text-decoration: none;
  cursor: pointer;
}

.logo-image {
  height: 40px;
}

/* 导航菜单 */
.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 5%;
  padding: 12px 14px;
  transition: background-color 0.3s ease;
  position: relative;
  cursor: pointer;
}

.nav-item:hover {
  background-color: #1F2536;
}

.nav-item:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #19A3DA;
  transition: width 0.3s ease;
}

.nav-item:hover:after {
  width: 100%;
}

.nav-link {
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  font-family: 'Scada-Regular', Arial, sans-serif;
  white-space: nowrap;
}



/* 页脚样式 */
.page-footer {
  background-color: #152133;
  padding: 40px 0 20px;
  color: #ffffff;
  position: relative;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-top {
  margin-bottom: 20px;
}

.footer-subscribe {
  display: flex;
  align-items: center;
}

.footer-title {
  font-family: 'PT Sans Caption', Arial, sans-serif;
  font-size: 20px;
  color: #ffffff;
  font-weight: bold;
  margin-right: 15px;
}

.social-icons {
  display: flex;
  gap: 8px;
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

.social-icon img {
  width: 100%;
  height: 100%;
}

.footer-newsletter-box {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.footer-newsletter {
  flex-grow: 1;
  margin-right: 15px;
  color: #ffffff;
  font-size: 16px;
}

.newsletter-link {
  color: #2da8e9;
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: 'PT Sans Caption', Arial, sans-serif;
  font-weight: bold;
  font-size: 16px;
}

.newsletter-link:hover {
  text-decoration: underline;
}

.to-top-button {
  min-width: 310px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 1px solid #ffffff;
  padding: 10px 15px;
  border-radius: 5px;
  font-family: 'PT Sans Caption', Arial, sans-serif;
  font-weight: bold;
}

.to-top-button:hover {
  border-color: #19A3DA;
}

.to-top-button img {
  margin-left: 8px;
  width: 16px;
  height: 16px;
}

.footer-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 20px 0;
}

.footer-middle {
  display: flex;
  margin: 30px 0;
}

.footer-logo img {
  height: 40px;
}

.footer-nav {
  margin: 20px 0;
}

.footer-menu {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu-item {
  margin-right: 5%;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
  font-family: 'Scada-Regular', Arial, sans-serif;
  transition: color 0.3s ease;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-copyright {
  font-size: 16px;
  color: #8b8b8b;
  margin-top: 20px;
  font-family: 'Scada-Regular', Arial, sans-serif;
}
.footer-copyright a{
  color: #8b8b8b;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .header-container {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .header-container {
    max-width: 720px;
  }
  .nav-item {
    margin-left: 20px;
  }
  
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-subscribe {
    align-items: center;
    margin-bottom: 20px;
  }
  
  .footer-newsletter {
    /* margin: 20px 0; */
    text-align: center;
  }
  
  .footer-to-top {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .header-container {
    max-width: 540px;
  }
  .nav-item {
    margin-left: 15px;
  }
  .nav-link {
    font-size: 14px;
  }
  
  .footer-menu {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .footer-menu-item {
    margin: 10px 15px;
  }
}

/* 当屏幕宽度小于1480px时调整导航菜单和语言选择器 */
@media (max-width: 1480px) {
  .header-container {
    position: relative;
  }
  .nav-item{
    margin-left: 10px;
    padding: 12px 10px;
  }
  
}

@media (max-width: 576px) {
  .nav-menu {
    display: none;
  }
  
  .social-icons {
    gap: 8px;
  }
  
  .social-icon {
    width: 35px;
    height: 35px;
  }
  
  .footer-title {
    font-size: 20px;
  }
  
  .footer-newsletter {
    font-size: 14px;
  }
  
  .to-top-button {
    font-size: 14px;
    padding: 8px 12px;
  }
  
  .footer-link {
    font-size: 14px;
  }
  
  .footer-copyright {
    font-size: 12px;
  }
}
