/* 网站样式 */

body {
  font-family: "Montserrat", Arial, sans-serif;
  min-height: 100vh;
  position: relative;
}

/* 确保页面内容完整显示 */
html {
  height: 100%;
}

/* 页面容器样式 */
body::after {
  content: "";
  display: block;
  height: 1px;
  clear: both;
}

.custom-bg {
  background-color: #2e3b4e;
  background-image: url("images/hero.webp");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* 确保背景图片始终覆盖整个容器 */
.custom-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2e3b4e;
  z-index: -2;
}

.custom-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("images/hero.webp");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll;
  z-index: -1;
}

/* 响应式背景优化 - 优先显示底部 */
@media (max-width: 1200px) {
  .custom-bg::after {
    background-position: center bottom;
    background-size: cover;
  }
}

@media (max-width: 992px) {
  .custom-bg::after {
    background-position: center bottom;
    background-size: cover;
  }
}

@media (max-width: 768px) {
  .custom-bg::after {
    background-position: center bottom;
    background-size: cover;
  }
}

@media (max-width: 480px) {
  .custom-bg::after {
    background-position: center bottom;
    background-size: cover;
  }
}

/* 超小屏幕优化 */
@media (max-width: 360px) {
  .custom-bg::after {
    background-position: center bottom;
    background-size: cover;
  }
}

.team-slider-arrow {
  background: #b23e3f;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.form-bg {
  background: #1a2a3b;
}

.form-input {
  background: #fff;
  border: 1px solid #d1d5db;
  color: #1a2a3b;
}

.form-input:focus {
  border-color: #b23e3f !important;
  outline: none;
  box-shadow: 0 0 0 2px rgba(178, 62, 63, 0.2);
}

/* .recaptcha {
  background: #f5f5f5;
  border-radius: 4px;
  padding: 8px 16px;
  display: inline-block;
  margin-top: 12px;
} */

.team-card {
  height: 320px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.team-card-image {
  width: 100%;
  height: 75%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 16px;
  text-align: center;
  transform: translateY(45%);
  transition: transform 0.3s ease;
  height: 75%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 20px;
}

.team-card:hover .team-card-content {
  transform: translateY(0);
}

.team-card:hover .team-card-image {
  transform: scale(1.1);
}

/* 主横幅区域文字阴影 */
.hero-title {
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 1);
}

/* 主横幅区域响应式优化 */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.5rem !important;
    line-height: 1.3;
    margin-bottom: 1rem !important;
  }

  /* 移动端副标题调整 */
  .hero-title + div {
    font-size: 1rem !important;
    margin-bottom: 1.5rem !important;
  }

  /* 移动端按钮调整 */
  .hero-title + div + button {
    font-size: 0.875rem !important;
    padding: 0.75rem 1.25rem !important;
    margin-top: 1rem !important;
    margin-bottom: 2rem !important;
  }

  /* 移动端特色卡片调整 */
  .bg-\[#232f3e\].bg-opacity-85 {
    padding: 1rem !important;
    margin-bottom: 1rem;
  }

  .bg-\[#232f3e\].bg-opacity-85 .text-lg {
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
  }

  .bg-\[#232f3e\].bg-opacity-85 .text-base {
    font-size: 0.875rem !important;
  }
}

/* 服务区域文字颜色 */
.services-description {
  color: #fcf6f6;
}

/* 流程图片 */
.process-flow-image {
  width: 60%;
  max-width: 100%;
}

/* 字体调整 - 主标题 (36px) */
.section-title {
  font-size: 36px !important;
}

/* 字体调整 - 副标题 (18px) */
.section-subtitle {
  font-size: 18px !important;
}

/* 服务卡片标题 */
.service-card-title {
  font-size: 18px !important;
}

/* 特色功能标题 */
.feature-title {
  font-size: 18px !important;
}

/* 仓库轮播样式 */
.warehouse-carousel-container {
  position: relative;
}

.warehouse-carousel {
  width: 900% !important; /* 9张图片，每张占11.11% */
  transform: translateX(0);
  display: flex !important;
}

.warehouse-slide {
  width: 11.11% !important; /* 每张图片占轮播容器的11.11% */
  flex-shrink: 0 !important;
}

.warehouse-indicator.active {
  background-color: #b23e3f !important;
}

/* 语言切换按钮样式 */
.language-switch {
  transition: all 0.3s ease;
  cursor: pointer;
}

.language-switch:hover {
  background-color: rgba(178, 62, 63, 0.8) !important;
  color: #ffffff !important;
}

/* 代采购服务轮播样式 */
.procurement-slider-container {
  position: relative;
  overflow: hidden;
}

.procurement-indicator {
  transition: all 0.3s ease;
  cursor: pointer;
}

.procurement-indicator:hover {
  background-color: #b23e3f !important;
}

/* 轮播按钮悬停效果 */
.procurement-nav-button {
  transition: all 0.3s ease;
}

.procurement-nav-button:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(178, 62, 63, 0.3);
}

/* reCAPTCHA样式 (暂时注释掉) */
/*
.g-recaptcha {
  display: flex;
  justify-content: center;
  margin: 16px 0;
}
*/

/* 表单提交按钮禁用状态 */
.form-input:focus {
  border-color: #b23e3f !important;
  outline: none;
  box-shadow: 0 0 0 2px rgba(178, 62, 63, 0.2);
}

/* 表单验证样式 - 移除红色边框，只保留绿色成功状态 */
.form-input:valid:not(:focus):not(:placeholder-shown) {
  border-color: #10b981;
}

/* 所有状态保持灰色边框（除了成功状态） */
.form-input:invalid,
.form-input:invalid:placeholder-shown,
.form-input:invalid:not(:placeholder-shown) {
  border-color: #d1d5db;
}

/* 确保焦点状态始终使用品牌色，覆盖invalid状态 */
.form-input:focus,
.form-input:invalid:focus,
.form-input:invalid:placeholder-shown:focus,
.form-input:invalid:not(:placeholder-shown):focus {
  border-color: #b23e3f !important;
  outline: none;
  box-shadow: 0 0 0 2px rgba(178, 62, 63, 0.2) !important;
}

/* 非必填字段（附加信息）样式 - 永远不显示红色边框 */
textarea[name="additionalInfo"] {
  border-color: #d1d5db !important;
}

textarea[name="additionalInfo"]:focus {
  border-color: #b23e3f !important;
  outline: none;
  box-shadow: 0 0 0 2px rgba(178, 62, 63, 0.2);
}

textarea[name="additionalInfo"]:invalid {
  border-color: #d1d5db !important;
}

textarea[name="additionalInfo"]:valid {
  border-color: #d1d5db !important;
}

/* 底部区域样式 */
footer {
  background: #f5f7fa;
  border-top: 1px solid #e5e7eb;
  position: relative;
  z-index: 1;
  min-height: 400px; /* 确保底部区域有最小高度 */
  width: 100%;
  clear: both;
}

footer a {
  transition: all 0.3s ease;
}

footer a:hover {
  transform: translateY(-1px);
}

/* 社交媒体图标悬停效果 */
footer .fab {
  transition: all 0.3s ease;
}

footer .fab:hover {
  transform: scale(1.3);
  transition: transform 0.3s ease;
}

/* 社交媒体图标容器 */
footer .flex.items-center.space-x-6 a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: transparent;
  transition: all 0.3s ease;
}

footer .flex.items-center.space-x-6 a:hover {
  background-color: rgba(178, 62, 63, 0.1);
  transform: translateY(-2px);
}

/* 底部联系按钮样式优化 */
footer .flex.flex-col.space-y-4 a {
  min-width: 220px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* WhatsApp按钮样式 */
footer .whatsapp-button {
  border-width: 2px;
  border-style: solid;
  border-color: #9ca3af;
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

footer .whatsapp-button:hover {
  border-color: #25d366 !important;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25) !important;
}

footer .whatsapp-button:hover i {
  color: #25d366 !important;
  transform: scale(1.1);
}

footer .whatsapp-button:hover span {
  color: #16a34a !important;
}

/* 电话按钮样式 */
footer .phone-button {
  background: linear-gradient(135deg, #b23e3f 0%, #9a2e2f 100%) !important;
  border: 2px solid #b23e3f;
  position: relative;
}

footer .phone-button:hover {
  background: linear-gradient(135deg, #9a2e2f 0%, #7f1d1d 100%) !important;
  border-color: #9a2e2f;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(178, 62, 63, 0.35) !important;
}

footer .phone-button:hover i {
  transform: scale(1.1);
}

/* 按钮图标动画 */
footer .whatsapp-button i,
footer .phone-button i {
  transition: all 0.3s ease;
}

/* 按钮文字动画 */
footer .whatsapp-button span,
footer .phone-button span {
  transition: all 0.3s ease;
}

/* 电话号码高亮样式 */
footer .phone-highlight {
  background: rgba(178, 62, 63, 0.05);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(178, 62, 63, 0.1);
}

footer .phone-highlight a {
  text-decoration: none;
  position: relative;
}

footer .phone-highlight a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #b23e3f, #2e3b4e);
  transition: width 0.3s ease;
}

footer .phone-highlight a:hover::after {
  width: 100%;
}

/* 按钮图标样式 */
footer .flex.flex-col.space-y-4 a i {
  transition: all 0.3s ease;
  font-size: 18px;
}

/* 代采购服务特色图标样式 */
.procurement-feature-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(178, 62, 63, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.procurement-feature-icon i {
  font-size: 24px;
  color: #b23e3f;
  transition: all 0.3s ease;
}

.procurement-feature-icon:hover {
  background-color: #b23e3f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(178, 62, 63, 0.3);
}

.procurement-feature-icon:hover i {
  color: white;
  transform: scale(1.1);
}

/* 响应式调整 */
@media (max-width: 768px) {
  footer .grid {
    gap: 2rem;
  }

  footer h3 {
    text-align: center;
  }

  footer .text-sm {
    text-align: center;
  }

  .procurement-feature-icon {
    width: 48px;
    height: 48px;
    margin-right: 16px;
  }

  .procurement-feature-icon i {
    font-size: 20px;
  }

  /* 移动端联系方式模块优化 - 已移除卡片样式 */

  /* 移动端按钮样式调整 */
  footer .whatsapp-button,
  footer .phone-button {
    min-width: 100%;
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  footer .whatsapp-button i,
  footer .phone-button i {
    font-size: 1.25rem;
  }

  /* 移动端电话号码样式 */
  footer .phone-highlight {
    padding: 1rem;
    margin: 1.5rem -0.5rem;
  }

  footer .phone-highlight a {
    font-size: 1.5rem;
  }
}

/* 流程步骤样式 */
.process-step-card {
  text-align: center;
  flex: 0 0 auto;
  max-width: 200px;
  min-height: 320px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.process-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.process-step-number {
  background: #b23e3f;
  color: white;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin: 0 auto 16px auto;
  position: relative;
  z-index: 10;
}

.process-step-image {
  background: white;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.process-step-title {
  font-size: 18px;
  font-weight: bold;
  color: #2e3b4e;
  margin-bottom: 12px;
  line-height: 1.3;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step-description {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
}

.process-arrow {
  color: #b23e3f;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 8px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

/* 响应式调整 */
@media (max-width: 768px) {
  .process-step-card {
    width: 280px;
    max-width: 280px;
    margin: 0 auto;
    flex-shrink: 0;
  }

  /* 流程步骤容器移动端优化 */
  .flex.flex-col.md\\:flex-row.items-center.justify-center {
    gap: 2rem;
    padding: 0 1rem;
  }

  .flex.flex-col.md\\:flex-row.items-center.justify-center .space-y-8 > * + * {
    margin-top: 2rem;
  }

  .process-step-number {
    width: 56px;
    height: 56px;
    font-size: 20px;
  }

  .process-step-image {
    height: 100px;
    padding: 12px;
  }

  .process-step-title {
    font-size: 16px;
  }

  .process-step-description {
    font-size: 13px;
  }
}

/* 截图模式样式 */
.screenshot-mode {
  min-height: 100vh !important;
}

.screenshot-mode footer {
  position: static !important;
  margin-top: 0 !important;
}

.screenshot-mode * {
  animation-play-state: paused !important;
  transition: none !important;
}

/* 确保底部内容在俄语模式下正确显示 */
[lang="ru"] footer {
  min-height: 450px;
}

[lang="zh"] footer {
  min-height: 400px;
}

/* 强制底部区域可见性 */
footer {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
}

/* 移动端导航优化 */
@media (max-width: 768px) {
  /* 顶部导航区域 */
  .custom-bg {
    padding-bottom: 1rem;
    min-height: 100vh;
  }

  /* 仓库轮播移动端优化 */
  .warehouse-carousel-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
  }

  .warehouse-carousel {
    width: 900% !important;
    height: 100% !important;
  }

  .warehouse-slide {
    width: 11.11% !important;
    height: 100% !important;
  }

  .warehouse-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* 轮播指示器移动端优化 */
  .warehouse-indicator {
    width: 8px !important;
    height: 8px !important;
    margin: 0 3px !important;
  }

  /* 仓储服务区域移动端优化 */
  .warehouse-grid {
    gap: 2rem !important;
  }

  .warehouse-grid > div:last-child {
    order: -1; /* 在移动端将轮播放在文字上方 */
  }

  .warehouse-grid > div:first-child {
    order: 1; /* 在移动端将文字放在轮播下方 */
  }

  /* 移动端社交图标样式 */
  .block.md\\:hidden .flex.justify-center.space-x-6 a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
  }

  .block.md\\:hidden .flex.justify-center.space-x-6 a:hover {
    background: rgba(178, 62, 63, 0.8) !important;
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 12px rgba(178, 62, 63, 0.3);
  }

  /* 移动端按钮优化 */
  .block.md\\:hidden .flex.flex-col.space-y-2 button {
    font-size: 13px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
  }

  .block.md\\:hidden .flex.flex-col.space-y-2 button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  /* 顶部栏汉堡菜单按钮样式 */
  .custom-bg .relative.z-30 > div:first-child #hamburger-menu {
    z-index: 100000 !important;
    position: relative;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
  }

  .custom-bg .relative.z-30 > div:first-child #hamburger-menu:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
  }

  .custom-bg .relative.z-30 > div:first-child #hamburger-menu i {
    font-size: 1.125rem;
  }

  .custom-bg .relative.z-30 > div:first-child #hamburger-menu span {
    font-size: 0.75rem;
    font-weight: 500;
  }

  /* 移动端侧滑菜单样式 */
  #mobile-sidebar-overlay {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  #mobile-sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
  }

  #mobile-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    max-width: 320px;
    width: 85vw;
  }

  #mobile-sidebar.show {
    transform: translateX(0);
  }

  /* 移动端菜单项样式 */
  #dropdown-menu {
    position: static !important;
    background: transparent !important;
    box-shadow: none !important;
  

  /* 桌面端下拉菜单优化 */
  #dropdown-menu-desktop {
    z-index: 9999 !important;
  }

  /* 导航链接文字大小调整 */
  nav a {
    font-size: 11px !important;
    padding: 0.25rem 0.5rem;
    text-align: center;
  }

  /* 主横幅区域移动端优化 */
  .hero-title {
    font-size: 1.5rem !important;
    line-height: 1.4;
  }

  /* 语言切换按钮移动端优化 */
  .language-switch {
    font-size: 11px;
    padding: 2px 6px;
  }
}

/* 平板端优化 */
@media (min-width: 769px) and (max-width: 1024px) {
  nav a {
    font-size: 12px;
    padding: 0.5rem;
  }

  .hero-title {
    font-size: 2rem !important;
    margin-bottom: 1rem !important;
  }

  /* 平板端副标题调整 */
  .hero-title + div {
    font-size: 1.125rem !important;
    margin-bottom: 1.5rem !important;
  }

  /* 平板端按钮调整 */
  .hero-title + div + button {
    font-size: 1rem !important;
    padding: 0.875rem 1.5rem !important;
    margin-top: 1rem !important;
    margin-bottom: 1.75rem !important;
  }

  /* 流程步骤卡片平板端优化 */
  .process-step-card {
    width: 180px;
    max-width: 180px;
    min-height: 300px;
    padding: 16px;
  }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
  .px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  nav a {
    font-size: 10px !important;
    padding: 0.25rem;
  }

  .hero-title {
    font-size: 1.25rem !important;
    line-height: 1.25;
    margin-bottom: 0.875rem !important;
  }

  /* 超小屏幕副标题调整 */
  .hero-title + div {
    font-size: 0.875rem !important;
    margin-bottom: 1.25rem !important;
    line-height: 1.4;
  }

  /* 超小屏幕按钮调整 */
  .hero-title + div + button {
    font-size: 0.75rem !important;
    padding: 0.625rem 1rem !important;
    margin-top: 1rem !important;
    margin-bottom: 1.5rem !important;
  }

  /* 超小屏幕特色卡片调整 */
  .bg-\[#232f3e\].bg-opacity-85 {
    padding: 0.875rem !important;
  }

  .bg-\[#232f3e\].bg-opacity-85 .text-lg {
    font-size: 0.875rem !important;
    margin-bottom: 0.375rem !important;
  }

  .bg-\[#232f3e\].bg-opacity-85 .text-base {
    font-size: 0.75rem !important;
  }

  /* 移动端按钮进一步优化 */
  .block.md\\:hidden .flex.flex-col.space-y-2 button {
    font-size: 12px !important;
    padding: 8px 14px !important;
  }

  /* 仓库轮播超小屏幕优化 */
  .warehouse-carousel-container {
    height: 250px !important;
  }

  .warehouse-indicator {
    width: 6px !important;
    height: 6px !important;
    margin: 0 2px !important;
  }

  /* 仓储服务区域超小屏幕优化 */
  .bg-white .max-w-6xl .grid {
    gap: 1.5rem !important;
  }

  /* 流程步骤卡片超小屏幕优化 */
  .process-step-card {
    width: 260px !important;
    max-width: 260px !important;
    min-height: 300px !important;
    padding: 16px !important;
  }
}

/* 桌面端优化 */
@media (min-width: 1025px) {
  /* 主横幅区域桌面端优化 */
  .hero-title {
    font-size: 2.5rem !important;
    line-height: 1.2;
    margin-bottom: 1.25rem !important;
  }

  /* 桌面端副标题调整 */
  .hero-title + div {
    font-size: 1.25rem !important;
    margin-bottom: 1.75rem !important;
    line-height: 1.4;
  }

  /* 桌面端按钮调整 */
  .hero-title + div + button {
    font-size: 1.125rem !important;
    padding: 1rem 1.75rem !important;
    margin-top: 1.25rem !important;
    margin-bottom: 2.25rem !important;
  }

  /* 桌面端特色卡片调整 */
  .bg-\[#232f3e\].bg-opacity-85 {
    padding: 1.5rem !important;
  }

  .bg-\[#232f3e\].bg-opacity-85 .text-lg {
    font-size: 1.125rem !important;
    margin-bottom: 0.75rem !important;
  }

  .bg-\[#232f3e\].bg-opacity-85 .text-base {
    font-size: 1rem !important;
    line-height: 1.5;
  }

  /* 流程步骤卡片桌面端优化 */
  .process-step-card {
    width: 200px;
    max-width: 200px;
    min-height: 320px;
    flex-shrink: 0;
  }
}

/* 移动端团队显示样式 - 已更新为新的单卡片模式 */

/* 桌面端团队滑块样式 */
@media (min-width: 769px) {
  .team-slider-arrow {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #b23e3f;
    color: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }

  .team-slider-arrow:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(178, 62, 63, 0.3);
    background: #232f3e;
  }
}

/* 移动端团队显示样式 - 重复规则已移除 */

/* 桌面端团队滑块样式 */
@media (min-width: 769px) {
  .team-slider-arrow {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #b23e3f;
    color: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }

  .team-slider-arrow:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(178, 62, 63, 0.3);
    background: #232f3e;
  }
}
/* 移动端团队滑块样式 - 重复规则已移除 */
/* Logo版权信息模块样式 */
footer .logo-section {
  padding: 1.5rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.8);
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 300px;
  justify-content: space-between;
}

footer .logo-section:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* 关注我们标题样式 - 与联系我们保持一致 */
footer .logo-section h3 {
  text-align: center !important;
  margin-bottom: 2rem !important;
}

/* 社交媒体图标样式 */
footer .social-icon {
  transform: scale(1);
  transition: all 0.3s ease;
}

footer .social-icon:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Logo和版权信息底部区域 */
footer .logo-section .mt-auto {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

footer .logo-section img {
  margin: 0 auto;
  display: block;
}

footer .logo-section p {
  text-align: center !important;
  margin: 0;
}

/* 移动端Logo版权信息模块 */
@media (max-width: 768px) {
  footer .logo-section {
    padding: 1.25rem;
    margin: 0 1rem;
    min-height: 280px;
  }

  footer .logo-section h3 {
    margin-bottom: 1.5rem !important;
    font-size: 1.125rem;
  }

  footer .social-icon {
    font-size: 1.5rem;
    padding: 0.5rem;
  }

  footer .logo-section img {
    height: 3.5rem;
  }

  footer .logo-section p {
    font-size: 0.875rem;
  }
}
/* 社交媒体和logo之间的分隔线样式 */
footer .logo-section .border-t {
  border-color: rgba(156, 163, 175, 0.3);
  transition: opacity 0.3s ease;
}

footer .logo-section:hover .border-t {
  opacity: 0.6;
}
/* Hero区域遮罩层 */
.custom-overlay {
  background: linear-gradient(135deg, rgba(46, 59, 78, 0.3) 0%, rgba(26, 35, 50, 0.5) 100%);
  will-change: auto;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* 响应式遮罩层调整 */
@media (max-width: 768px) {
  .custom-overlay {
    background: linear-gradient(135deg, rgba(46, 59, 78, 0.5) 0%, rgba(26, 35, 50, 0.7) 100%);
  }
}

@media (max-width: 480px) {
  .custom-overlay {
    background: linear-gradient(135deg, rgba(46, 59, 78, 0.6) 0%, rgba(26, 35, 50, 0.8) 100%);
  }
}
/* 备用背景色，确保在图片加载失败时有背景 */

/* 大屏幕优化 - 确保底部优先显示 */
@media (min-width: 769px) and (max-width: 1024px) {
  .custom-bg::after {
    background-position: center bottom;
  }
}

@media (min-width: 1025px) and (max-width: 1440px) {
  .custom-bg::after {
    background-position: center bottom;
  }
}

@media (min-width: 1441px) {
  .custom-bg::after {
    background-position: center bottom;
  }
}

/* 超宽屏幕优化 */
@media (min-width: 1920px) {
  .custom-bg::after {
    background-position: center bottom;
    background-size: cover;
  }
}
/* 高分辨率屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .custom-bg {
    background-image: url("images/hero.webp");
    image-rendering: -webkit-optimize-contrast;
  }
}

/* 确保在所有浏览器中图片渲染清晰 */
.custom-bg {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 移除可能导致模糊的变换 */
.custom-bg * {
  -webkit-transform: none;
  transform: none;
}
/* 防止缩放时出现背景问题的额外保护 */
@media (min-height: 1200px) {
  .custom-bg,
  .custom-bg::after {
    min-height: 100vh;
    background-size: cover;
  }
}

/* 横屏模式优化 */
@media (orientation: landscape) and (max-height: 600px) {
  .custom-bg::after {
    background-position: center bottom;
    background-size: cover;
  }
}

/* 竖屏模式优化 */
@media (orientation: portrait) {
  .custom-bg::after {
    background-position: center bottom;
    background-size: cover;
  }
}

/* 确保在浏览器缩放时背景始终覆盖 */
.custom-bg {
  background-clip: border-box;
  background-origin: padding-box;
}

.custom-bg::after {
  background-clip: border-box;
  background-origin: padding-box;
}
/* 移动端团队模块样式 */
@media (max-width: 768px) {
  #mobileTeamSlider {
    width: 500%; /* 5个卡片的总宽度 */
  }

  /* 每个卡片容器占20%宽度 */
  #mobileTeamSlider > div {
    width: 20% !important; /* 在500%容器中，每个卡片占20% */
    flex-shrink: 0 !important;
  }

  #mobileTeamSlider .team-card {
    height: 400px;
    transition:
      transform 0.3s ease,
      box-shadow 0.3s ease;
    cursor: pointer;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }

  #mobileTeamSlider .team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  }

  #mobileTeamSlider .team-card-image {
    height: 220px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
  }

  #mobileTeamSlider .team-card-content {
    padding: 20px;
    position: static;
    transform: none;
    height: auto;
    background: white;
    border-radius: 0 0 8px 8px;
  }

  /* 移动端团队导航按钮 */
  #mobileTeamPrevBtn,
  #mobileTeamNextBtn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* 移动端团队指示器 */
  .mobile-team-indicator {
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .mobile-team-indicator:hover {
    transform: scale(1.2);
  }

  /* 自动播放控制按钮 */
  #mobileTeamAutoplayBtn {
    min-width: 140px;
  }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
  #mobileTeamSlider .team-card {
    height: 360px;
  }

  #mobileTeamSlider .team-card-image {
    height: 180px;
  }

  #mobileTeamSlider .team-card-content {
    padding: 16px;
  }

  #mobileTeamSlider .text-lg {
    font-size: 1rem;
  }

  #mobileTeamPrevBtn,
  #mobileTeamNextBtn {
    width: 40px;
    height: 40px;
  }

  #mobileTeamAutoplayBtn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }
}
/* 确保团队模块响应式显示正确 */
@media (max-width: 768px) {
  /* 在移动端隐藏桌面端团队模块 */
  .hidden.md\\:flex {
    display: none !important;
  }
}

@media (min-width: 769px) {
  /* 在桌面端隐藏移动端团队模块 */
  .md\\:hidden {
    display: none !important;
  }

  /* 在桌面端显示桌面端团队模块 */
  .hidden.md\\:flex {
    display: flex !important;
  }
}
/* 下拉菜单层级修复 */
#dropdown-menu,
#dropdown-menu-desktop {
  z-index: 99999 !important;
  position: absolute !important;
  background: white !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* 移动端下拉菜单特殊处理 */
@media (max-width: 768px) {
  #dropdown-menu {
    position: fixed !important;
    top: 70px !important;
    left: 1rem !important;
    right: 1rem !important;
    width: auto !important;
    max-width: none !important;
    z-index: 99999 !important;
    transform: none !important;
    /* 确保不受其他层叠上下文影响 */
    isolation: isolate !important;
  }

  /* 确保下拉菜单容器有正确的定位上下文 */
  .relative {
    position: relative;
  }

  /* 汉堡菜单按钮确保有正确的z-index */
  #hamburger-menu {
    z-index: 100000 !important;
    position: relative;
  }

  /* 确保hero区域不会覆盖下拉菜单 */
  .custom-bg .relative.z-30,
  .custom-bg .relative.z-10 {
    z-index: 5 !important;
  }

  /* 导航栏区域保持较低层级 */
  .bg-black.bg-opacity-20.backdrop-blur-sm {
    z-index: 10 !important;
  }

  /* 重置可能影响层级的transform */
  .custom-bg,
  .custom-bg * {
    -webkit-transform: none !important;
    transform: none !important;
  }

  /* 确保backdrop-filter不影响层级 */
  .bg-black.bg-opacity-20.backdrop-blur-sm {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* 桌面端下拉菜单优化 */
@media (min-width: 769px) {
  #dropdown-menu-desktop {
    z-index: 99999 !important;
    position: absolute !important;
  }

  #hamburger-menu-desktop {
    z-index: 100000 !important;
    position: relative;
  }
}
/* 货物跟踪二级菜单样式 */
.group:hover .group-hover\:block {
  display: block;
}

/* 确保二级菜单有正确的层级 */
.relative .absolute {
  z-index: 100000;
}

/* 二级菜单动画效果 */
#mobileTrackingSubmenu,
#desktopTrackingSubmenu {
  transition: all 0.3s ease-in-out;
}

/* 二级菜单项悬停效果 */
#mobileTrackingSubmenu a:hover,
#desktopTrackingSubmenu a:hover {
  background-color: #f5f7fa;
  color: #b23e3f;
}

/* 优化的焦点样式 - 使用更柔和的效果 */
button:focus,
a:focus,
.language-switch:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(178, 62, 63, 0.2) !important;
  border-radius: 4px;
}

/* 表单输入框保持原有的焦点样式 */
.form-input:focus {
  border-color: #b23e3f !important;
  outline: none;
  box-shadow: 0 0 0 2px rgba(178, 62, 63, 0.2);
}
