body {
  margin: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #333333;
  background-color: #ffffff;

  font-size: 16px; /* 基础字体大小，适配大多数设备 */
  line-height: 1.6; /* 提高可读性 */
  -webkit-text-size-adjust: 100%; /* 防止 iOS 浏览器自动缩放文字 */
  -webkit-tap-highlight-color: transparent; /* 移除点击高亮 */
  touch-action: manipulation; /* 优化移动端点击行为 */
}

.site-header {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.nav-logo a {
  font-size: 24px;
  font-weight: bold;
  color: #000F20;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  text-decoration: none;
  color: #000F20;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block; /* ✅ 为了 transform 生效 */
}

.nav-menu a:hover {
  color: #FBCA19;
  transform: scale(1.3); /* ✅ 放大比例和 .zoom-text 一致 */
}

.nav-cta .cta-phone {
  background-color: #FBCA19;
  color: #000F20;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.nav-cta .cta-phone:hover {
  background-color: #e0a200;
}

.phone-top-bar {
  background-color: #FBCA19; /* 主色 */
  text-align: center;        /* 电话水平居中 */
  padding: 8px 0;            /* 上下间距 */
}

.phone-top-bar .cta-phone {
  color: #000F20;            /* 深色文字，确保对比度 */
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
}

.phone-top-bar .cta-phone:hover {
  color: #ffffff;            /* 悬停时变白色 */
}

.lang-toggle {
  margin-left: 16px;
  padding: 6px 12px;
  font-size: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f5f5f5;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-toggle:hover {
  background-color: #e0e0e0;
}

/* Optional hero section if included */
.hero {
  position: relative;
  height: 100vh;
  background-color: #000F20;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #f5f5f5;
}

.hero a {
  background-color: #FBCA19;
  color: #000F20;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.hero a:hover {
  background-color: #e0a200;
}


.services, .why-roadway, .testimonials, .quote-form, .cta-banner {
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.service-cards, .reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.service-cards div, .reasons div {
  border: 1px solid #e5e7eb;
  padding: 20px;
  border-radius: 12px;
  background-color: white;
}

.quote-form form {
  display: grid;
  gap: 16px;
  max-width: 500px;
  margin: auto;
}

.quote-form input, .quote-form button {
  padding: 12px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
}

.quote-form button {
  background-color: #1e3a8a;
  color: white;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

.cta-banner {
  background-color: #f1f5f9;
  border-radius: 12px;
}

.cta-banner a {
  display: inline-block;
  margin-top: 16px;
  background-color: #2563eb;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
}

footer {
 background-color: transparent; /* 或使用 #fff8e1 */
  color: #111; /* 深灰文字更清晰 */
  text-align: center;
  font-family: 'Inter', sans-serif;
    width: 100vw;
}

.footer-columns {
 display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
  margin-bottom: 30px;
}

/* Extended quote section styles */
.quote-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
}

.quote-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}


/* 动画关键帧：从左滑入并淡入 */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 应用于 quote-text */
.quote-text {
  animation: fadeInLeft 1.2s ease-out forwards;
  opacity: 0; /* 初始隐藏 */
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.quote-image {
  animation: fadeInRight 1.2s ease-out 0.4s forwards;
  opacity: 0;
}

.quote-text {
  flex: 1 1 500px;
}

.quote-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.highlight {
  color: #ec4899;
}

.highlight-bold {
  color: #7e22ce;
  font-weight: 800;
}

.quote-text p {
  margin: 16px 0;
  color: #444;
}

.quote-text a {
  color: #2563eb;
  text-decoration: underline;
}

.quote-form {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.form-group {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  margin-bottom: 4px;
}

.form-group span {
  color: #ec4899;
}

.form-group input {
  padding: 10px 12px;
  border: 1px solid #9333ea;
  border-radius: 6px;
  outline: none;
  font-size: 14px;
}

.quote-form button {
  padding: 12px 24px;
  font-size: 14px;
  background: linear-gradient(to right, #ec4899, #6366f1);
  border: none;
  color: white;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.3s;
}

.quote-form button:hover {
  opacity: 0.9;
}

.review-info {
  margin-top: 16px;
  font-size: 14px;
  color: #555;
}

.review-info .stars {
  color: gold;
  font-size: 20px;
  margin-bottom: 4px;
}

.quote-image {
  flex: 1 1 400px;
  transform: rotate(3deg);
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: 4px solid white;
}

.quote-image img {
  width: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 768px) {
  /* 导航栏堆叠 */
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
  }

  .nav-cta {
    margin-top: 16px;
    width: 100%;
    text-align: left;
  }

  .nav-cta .cta-phone {
    width: 100%;
    text-align: center;
    display: inline-block;
  }

  /* HERO 区域文字缩放 */
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  /* Quote 部分布局垂直 */
  .quote-content {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }

  .quote-text h2 {
    font-size: 1.8rem;
  }

  .quote-text,
  .quote-image {
    flex: 1 1 100%;
  }

  .quote-image {
    transform: none;
    border: none;
    border-radius: 12px;
    box-shadow: none;
  }

  /* Quote 表单列变为单列 */
  .quote-form {
    flex-direction: column;
  }

  .form-group {
    width: 100%;
  }

  /* Service/Why/CTA 卡片堆叠 */
  .service-cards,
  .reasons {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* 宽度缩放区域统一居中 */
  .services,
  .why-roadway,
  .testimonials,
  .quote-form,
  .cta-banner {
    padding: 60px 16px;
  }

  .quote-section {
    padding: 60px 16px;
  }

  .cta-banner a {
    width: 100%;
    font-size: 1rem;
  }

  footer {
    font-size: 14px;
  }

  .footer-columns {
    flex-direction: column;
    gap: 24px;
    padding: 0 16px;
  }
}

/* 移除原点和下划线 */
#lang-switch-link {
  list-style: none;         /* 去掉 li 原点（冗余安全） */
  text-decoration: none;    /* 去掉 a 标签下划线 */
  font-weight: 600;
  color: #1f2937;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background-color 0.2s, color 0.2s;
  display: inline-block;
}

/* 悬停效果 */
#lang-switch-link:hover {
  color: #e0a200;
}

/* 手机端样式优化 */
@media (max-width: 768px) {
  #lang-switch-link {
    width: 100%;
    font-size: 1rem;
    margin-left: -10px;
  }
}




/* 汉堡按钮样式，仅在小屏显示 */
.nav-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    color: #000F20;
  }

  .nav-menu {
    width: 100%;
    display: none;
  }

  .nav-menu.open {
    display: block;
    margin-top: 12px;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 16px;
  }

  .nav-cta {
    width: 100%;
    max-width: 320px;
    /* 控制最大视觉宽度，适配常见按钮 */
    padding: 0 16px;
    /* 左右留白，不贴边 */
    margin: 12px 16px 0;
    text-align: left;
    box-sizing: border-box;

  }

  .nav-cta .cta-phone {
    display: inline-block;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 14px 0;
    font-size: 1rem;
  }

  .moving-world__button {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
  }
}

/* 隐藏状态 */
#megaMenu {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* 显示状态 */
#megaMenu.visible {
  display: block;
  opacity: 1;
  z-index: 9999;
  position: absolute; /* 或 fixed，看你布局 */
  top: 100%; /* 放在菜单下方 */
  left: 0;
  width: 100%;
  background-color: white;
}
