body{
  margin:0;
  font-family:"Segoe UI", Arial, sans-serif;
  background:#f4f6f8;
  color:#1f2d3d;
  overflow-x:hidden;
}
html, body {
  overflow-x: hidden;
}
* {
  box-sizing: border-box;
}

.container{
  max-width:1400px;
  width:90%;
  margin:0 auto;
}

.strong-underline {
  border-bottom: 4px solid #88bad5;
  padding-bottom: 1px;
}
.content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.navbar {
  width: 100%;
  height: 90px;
  top: 0;
  left: 0;
  display: flex;  
  align-items: center;  
  background: #fff;
  overflow: visible;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  display: flex;
  justify-content: center;
  transform: translateY(-100%);
  animation: slideDown 0.8s ease forwards;
  position: fixed;
  z-index: 99999;
}
@keyframes slideDown {
  to {
    transform: translateY(0);
  }
}

.navbar .logo {  
  height: 110px;         /* 可根据需求调整大小 */  
  margin-left: 32px;    /* 左边距 */  
  margin-right: 38px;   /* 与菜单的间距 */  
  display: block;
}

.navbar ul {
  /* 隐藏状态 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background: #fff;
  flex-direction: column;
  align-items: center;
  z-index: 999;
}
.navbar ul.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.lang-switch {
  position: relative;
  list-style: none;
}

/* 触发区域 */
.lang-trigger {
  height: 76px;
  display: flex;
  align-items: center;
  padding: 0 6px;
  cursor: pointer;
  font-size: 18px;
}

.cursor {    
  display: inline-block;    
  width: 1ch;    
  animation: blink 1s steps(1) infinite;  
}  
@keyframes blink {    0%, 50% { opacity: 1; }    51%, 100% { opacity: 0; }  }

/* 下拉框 */
.lang-dropdown {
  position: absolute;
  top: 100%;          /* ✅ 关键 */
  right: 0;
  margin-top: 0;  /* 控制间距 */
  width: 140px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 9999;
}

/* 显示动画 */
.lang-switch:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 选项 */
.lang-dropdown a {
  display: block;
  padding: 6px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  line-height: 2.8;
}

.lang-dropdown a:hover {
  background: #f5f5f5;
}
.lang-icon {
  width: 20px;
  height: 20px;
}
.google-icon {
  width: 15px;
  height: 15px;
}
.navbar ul li.nav-item {
  position: relative;
  transition: color 0.3s ease;
}

.navbar ul li.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 100%;
  height: 3px;
  background: #0d315a;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.navbar ul li.nav-item:hover::after,
.navbar ul li.nav-item:hover {
  color: #0d315a;
}
.navbar ul li.nav-item:hover::after {
  transform: scaleX(1);
}
.navbar ul li.nav-item.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.navbar ul li.nav-item a,
.navbar ul li.nav-item a:visited,
.navbar ul li.nav-item a:active,
.navbar ul li.nav-item a:focus {
  color: #222; /* 或你想要的色值 */
  text-decoration: none;
}

.navbar li  {
  font-size: 18px;
  font-weight: bold;
  color: #222;
  cursor: pointer;
  padding: 0 10px;
  line-height: 76px;
}
.navbar .search, .navbar .lang {
  font-weight: normal;
  font-size: 16px;
  color: #666;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  height: 70px;
}
.logo1, .logo2 {
  position: absolute;
  top: 26px;
  height: 34px;
}
.logo2 { left: 220px;}
.logo1 { left: 40px;}


.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

.site-footer {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 80px 0 30px;
  font-family: Arial, sans-serif;
}

.footer-top {
  width: 1200px;
  margin: 0 auto 60px;
  display: flex;
  justify-content: space-between;
}

.footer-col h4 {
  font-size: 16px;
  color: #111;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: #666;
  font-size: 14px;
  margin-bottom: 12px;
  text-decoration: none;
}

.footer-col a:hover {
  color: #1f4fa3;
}

/* 中部 */
.footer-middle {
  width: 1200px;
  margin: 0 auto 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 14px;
  color: #666;
}

.footer-contact {
  text-align: right;
}

.footer-mail {
  display: inline-block;
  margin-bottom: 16px;
  color: #1f4fa3;
  font-size: 14px;
  text-decoration: none;
}

.footer-social a {
  margin-left: 12px;
}

.footer-social img {
  width: 22px;
  opacity: .6;
  transition: .3s;
}

.footer-social img:hover {
  opacity: 1;
}

/* 底部 */
.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #999;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.kw {
  color: #0d315a;             /* 深蓝色 */
  text-decoration: underline;
  text-underline-offset: 3px; /* 下划线与文字间距 */
  font-weight: 600;
}

.bg-img {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  z-index: 0;
  background: url('assets/bg1.png') center center/cover no-repeat;
  opacity: 0.3;  /* 调整透明度 */
  pointer-events: none;  /* 避免层拦截点击 */
}

.main-content, body > *:not(.bg-img) {
  position: relative;
  z-index: 1;
}

/* ===== 标题 ===== */
.main-title{
  font-size:42px;
  letter-spacing:3px;
  color:#1f3a60;
  margin-bottom:80px;
  text-align:left;
}
/* ===== 第一屏 Training ===== */
.training-section{
  padding:120px 0;
}
.training-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:120px;
}
.training-card{
  text-align:left;
}
.circle{
  width:220px;
  height:220px;
  border-radius:50%;
  border:8px solid #1f3a60;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:30px;
}
.circle img{
  width:120px;
}
.training-card h3{
  font-size:24px;
  color:#1f3a60;
  margin-bottom:16px;
}
.training-card p{
  font-size:15px;
  line-height:1.8;
  max-width:480px;
}
/* ===== 第二屏 After-sales ===== */
.services-section{
  padding:120px 0;
}
.services-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:80px;
}
.service-card{
  text-align:center;
}
.icon-circle{
  width:140px;
  height:140px;
  border-radius:50%;
  border:6px solid #1f3a60;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 24px;
}
.icon-circle img{
  width:70px;
}
.service-card h3{
  font-size:18px;
  margin-bottom:12px;
  color:#1f3a60;
}
.service-card p{
  font-size:14px;
  line-height:1.7;
  color:#444;
}
/* ===== 响应式 ===== */
@media(max-width:1200px){
  .training-grid{
    grid-template-columns:1fr;
    gap:80px;
  }
  .services-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}
@media(max-width:768px){
  .services-grid{
    grid-template-columns:1fr;
  }
  .main-title{
    font-size:32px;
  }
}

/* ===========================
   📱 Mobile Navbar (with fade)
=========================== */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
    font-size: 28px;
    cursor: pointer;
    color: #000;
    position: relative;
    z-index: 2000;
    margin-left: 0;
}

  .navbar .logo {
    height: 50px;       
    margin-left: 12px;
    margin-right: 12px;
  }

  .navbar ul {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;

    background: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    align-items: center;

    /* ✅ 关键：淡入淡出 */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);

    transition: opacity 0.3s ease,
                transform 0.3s ease,
                visibility 0.3s;

    z-index: 1000;
  }

  .navbar ul.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(30px);
  }

  .navbar ul li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .navbar ul.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hero {
    height: 100dvh;   /* ✅ 新版浏览器支持 */
  }

  .navbar ul li a {
    display: block;
    padding: 16px 0;
    font-size: 16px;
    color: #fff;
  }

  .lang-switch {
    display: block;
    position: absolute;
    right: 56px;     /* 在汉堡按钮左边 */
    top: 50%;
    transform: translateY(-50%);
  }

    .banner-title {
      max-width: 92%;
      min-height: 48px;
      max-height: 140px;
      font-size: 34px;
    }

    .banner-sub {
      font-size: 18px;
      letter-spacing: 4px;
    }

  #typewriter {
    line-height: 1.5;
  }
    .banner-buttons {
      display: flex;
      flex-direction: column;   /* ✅ 竖排 */
      gap: 14px;
      align-items: center;
    }
    .glass-btn {
      width: 150%;
      max-width: 400px;
    }
      /* ✅ 所有固定宽度容器归零 */
      .about-container,
      .footer-top,
      .footer-middle,
      .showcase-container {
        width: 100%;
        max-width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
      }
      /* ✅ 横排 → 竖排 */
      .about-container,
      .showcase-container {
        flex-direction: column;
      }
      .showcase-left,
      .showcase-right {
        width: 100%;
      }
      .fullpage {
        height: auto !important;
        min-height: auto !important;
        padding: 240px 20px;
      }
      .about-section,
  .product-showcase {
    position: relative;
    z-index: auto;
  }
  .product-main-title {
    font-size: 28px;
    line-height: 1.3;
    padding: 0 10px;
  }
  .fullpage {
    height: auto;
  }
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .navbar .logo {
    height: 50px;
    margin-left: 12px;
    margin-right: 0;
  }
  
}

html {
  scroll-behavior: smooth;
}