/* 全局设置 */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

/* 导航容器 */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 33px;
  padding: 0;
  background-color: #ffffff00;
}

.logo {
  height: 38px;
  width: 178px;
  margin-left: 12px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 18px;
}

.main-nav ul li:not(:first-child) {
  margin-left: 45px;
}

.main-nav ul li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  padding: 8px 1px;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: #ff6200;
  border-bottom: 2px solid #ff6200;
  font-weight: bold;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;   /* ✅ 正确 */
  margin-right: 20px;  /* ✅ 正确 */
}

.search-btn {
  background: none;
  border: none;
  padding: 10px;
  font-size: 18px;
  cursor: pointer;
  color:#ff6200;
}

.nav-btn {
  font-size: 18px;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.email-btn {
  background-color: transparent;
  color: #ff6200;
  border: 1.5px solid #ff6200;
}

.email-btn:hover {
  background-color: rgba(255, 98, 0, 0.1);
  box-shadow: 0 0 6px rgba(255, 98, 0, 0.2);
}

.contact-btn {
  background-color: #ff6200;
  color: #fff;
  border: none;
}

.contact-btn:hover {
  background-color: #ea5a00;
  box-shadow: 0 0 8px rgba(255, 98, 0, 0.3);
}

/* 默认隐藏（桌面） */
.hamburger-btn {
  display: none;
}

.mobile-menu {
  display: none;
}


/* 视频容器 */
.video-container {
  position: relative;
  width: 100%;
  max-width: 100vw;
  height: 65.5vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background-color: #000;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
}

.video-switch-btn {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ff6200;
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.section-title {
  color: #ff6200;
  font-size: 1.7rem;
  font-weight: 600;
  text-align: center;
  margin: 40px 0 20px;
}


.brand-scroller-section {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 40px 0;
  background-color: #f5f5f5;
}

.brand-scroller {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 10px 60px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

.brand-scroller::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.brand-card {
  flex: 0 0 auto;
  min-width: 140px;
  background: white;
  border: 1px solid #ddd;
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
  border-radius: 18px; /* 添加这一行让边角变圆 */
}

.brand-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.brand-card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #ff6200;
  font-weight: 600;
  transition: color 0.3s ease;
}

.brand-card a:hover {
  color: #f25d00;
}

.brand-card img {
  width: 120px;
  height: auto;
  margin-bottom: 8px;
  object-fit: contain;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ff6200;
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-btn.left {
  left: 10px;
}

.scroll-btn.right {
  right: 10px;
}


/* slogan 区域 */
.slogan-container {
  width: 100%;
  text-align: center;
  padding: 80px;
  background: #fff;
}

.slogan-text {
  font-size: 2.5rem;
  color: #ff6200;
  font-weight: 700;
  margin-bottom: 16px;
}

.slogan-subtext {
  font-size: 1.2rem;
  color: #666;
  margin-top: 18px;
}

/* 四格展示区 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.feature-box {
  position: relative;
  height: 475px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.485);
  color: #fff;
  box-sizing: border-box;
  max-height: 170px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.overlay p {
  font-size: 1.1rem;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgb(0, 0, 0);
}

.environment { background-image: url('pic1.jpeg'); }
.what-we-do { background-image: url('pic2.png'); }
.careers { background-image: url('pic3.png'); }
.investors { background-image: url('epcc.png'); }

/* slogan extension */
.slogan-extension {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.05);
  color: #ff6200;
}

.slogan-highlight {
  font-size: 2em;
  margin-bottom: 10px;
}

/* Grid 2 */
.image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 固定每行 4 个 */
  gap: 20px;
  padding: 40px;
}

.image-card {
  position: relative;
  height: 220px;
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.image-card:hover {
  transform: scale(1.1);
}

.overlay-text {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.37);
  color: #fff;
  width: 100%;
  padding: 15px;
  box-sizing: border-box;
}

.overlay-text h3 {
  margin: 0;
  font-size: 18px;
}

.overlay-text p {
  margin: 5px 0 0;
  font-size: 14px;
}

/* 左文右视频区块 */
.video-highlight-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 60px 30px;
  background-color: #f5f5f5;
  gap: 40px;
}

.video-text {
  flex: 1 1 400px;
  max-width: 500px;
}

.video-text h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #ff6200;
}

.video-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

.cta-link {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #ff6200;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.cta-link:hover {
  background-color: #e85900;
}

.video-box {
  flex: 1 1 400px;
  max-width: 600px;
}

.video-box video {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.partner-logos-section {
  padding: 40px 20px;
  background-color: #ffffff;
  overflow-x: auto;
}

.partner-logos-section a {
  display: block;
  text-decoration: none;
  cursor: pointer;
  min-width: 800px;
  margin: 0 auto;
}

.partner-logos-section .brand-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.partner-logos-section .brand-card {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.partner-logos-section .brand-card img {
  height: 100px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.partner-logos-section .brand-card span {
  display: none;
}

/* Footer */
.site-footer {
  background-color: #f8f8f8;
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
  color: #555;
}

.footer-links {
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: #0000009f;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
}


/* Phone */

@media (max-width: 768px) {
  .main-nav,
  .nav-right {
    display: none;
  }

  .nav-container {
    justify-content: space-between;
    padding: 12px 16px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }

  .hamburger-btn {
    display: block;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #ff6200;
  }

.mobile-menu {
  width: 100%;
  max-width: 100%; /* 控制最大宽度 */
  margin: 0 auto;    /* 居中显示 */
  border-radius: 8px;
  list-style: none;
  padding: 0 20px; /* 左右都有边距 */
}

.mobile-menu.visible {
  display: flex;
  flex-direction: column;
}

  .mobile-menu li {
    margin-bottom: 12px;
  }

  .mobile-menu a,
  .mobile-menu .nav-btn {
    font-size: 16px;
    color: #333;
    text-decoration: none;
    width: 100%;
    text-align: left;
  }

.mobile-menu .nav-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  border-radius: 6px;
  margin-bottom: 12px;
  box-sizing: border-box;
}


.mobile-menu .email-btn {
  background-color: transparent;
  color: #ff6200;
  border: 1.5px solid #ff6200;
}

.mobile-menu .email-btn:hover {
  background-color: rgba(255, 98, 0, 0.08);
}

.mobile-menu .contact-btn {
  background-color: #ff6200;
  color: #fff;
  border: none;
}

.mobile-menu .contact-btn:hover {
  background-color: #ea5a00;
}

.video-container {
  width: 100vw;
  height: 50vw;
  overflow: hidden;
  background-color: #000;
}

.slogan-container {
  text-align: left;
  padding: 40px 25px;
}

.slogan-container h1 {
  font-size: 30px;
  margin-bottom: 16px;
  padding: 25px 0px;
}

.slogan-container p {
  font-size: 15px;
  line-height: 1.6;
}

  .feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 40px 20px;
  box-sizing: border-box;
  height: auto;
}

.feature-box {
  position: relative;
  height: 350px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}
.feature-box:hover {
  transform: translateY(-5px);
}

 .image-grid {
    grid-template-columns: 1fr; /* 单列显示，每张图独占一行 */
    gap: 15px;
    padding: 20px;
  }

  .image-card {
    height: auto; /* 高度自适应图片 */
    min-height: 180px; /* 保证最小高度 */
  }

  .overlay-text h3 {
    font-size: 16px;
  }

  .overlay-text p {
    font-size: 14px;
  }

/* Ipad */

@media (min-width: 1024px) and (max-width: 1366px) {
  .main-nav,
  .nav-right {
    display: none;
  }

  .nav-container {
    justify-content: space-between;
    padding: 12px 16px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }

  .hamburger-btn {
    display: block;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #ff6200;
  }

  .mobile-menu {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 8px;
    list-style: none;
    padding: 0 20px;
  }

  .mobile-menu.visible {
    display: flex;
    flex-direction: column;
  }

  .mobile-menu li {
    margin-bottom: 12px;
  }

  .mobile-menu a,
  .mobile-menu .nav-btn {
    font-size: 16px;
    color: #333;
    text-decoration: none;
    width: 100%;
    text-align: left;
  }

  .mobile-menu .nav-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    margin-bottom: 12px;
    box-sizing: border-box;
  }

  .mobile-menu .email-btn {
    background-color: transparent;
    color: #ff6200;
    border: 1.5px solid #ff6200;
  }

  .mobile-menu .email-btn:hover {
    background-color: rgba(255, 98, 0, 0.08);
  }

  .mobile-menu .contact-btn {
    background-color: #ff6200;
    color: #fff;
    border: none;
  }

  .mobile-menu .contact-btn:hover {
    background-color: #ea5a00;
  }

  .video-container {
    width: 100vw;
    height: 50vw;
    overflow: hidden;
    background-color: #000;
  }

  .slogan-container {
    text-align: left;
    padding: 40px 25px;
  }

  .slogan-container h1 {
    font-size: 30px;
    margin-bottom: 16px;
    padding: 25px 0px;
  }

  .slogan-container p {
    font-size: 15px;
    line-height: 1.6;
  }

  .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px 20px;
    box-sizing: border-box;
    height: auto;
  }

  .feature-box {
    position: relative;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
  }

  .feature-box:hover {
    transform: translateY(-5px);
  }
}
}

@media (max-width: 1400px) {
  .main-nav,
  .nav-right {
    display: none;
  }

  .nav-container {
    justify-content: space-between;
    padding: 12px 16px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }

  .hamburger-btn {
    display: block;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #ff6200;
  }

  .mobile-menu {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 8px;
    list-style: none;
    padding: 0 20px;
  }

  .mobile-menu.visible {
    display: flex;
    flex-direction: column;
  }

  .mobile-menu li {
    margin-bottom: 12px;
  }

  .mobile-menu a,
  .mobile-menu .nav-btn {
    font-size: 16px;
    color: #333;
    text-decoration: none;
    width: 100%;
    text-align: left;
  }

  .mobile-menu .nav-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    margin-bottom: 12px;
    box-sizing: border-box;
  }

  .mobile-menu .email-btn {
    background-color: transparent;
    color: #ff6200;
    border: 1.5px solid #ff6200;
  }

  .mobile-menu .email-btn:hover {
    background-color: rgba(255, 98, 0, 0.08);
  }

  .mobile-menu .contact-btn {
    background-color: #ff6200;
    color: #fff;
    border: none;
  }

  .mobile-menu .contact-btn:hover {
    background-color: #ea5a00;
  }

  .video-container {
    width: 100vw;
    height: 50vw;
    overflow: hidden;
    background-color: #000;
  }

  .slogan-container {
    text-align: left;
    padding: 40px 25px;
  }

  .slogan-container h1 {
    font-size: 30px;
    margin-bottom: 16px;
    padding: 25px 0px;
  }

  .slogan-container p {
    font-size: 15px;
    line-height: 1.6;
  }

  .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px 20px;
    box-sizing: border-box;
    height: auto;
  }

  .feature-box {
    position: relative;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
  }

  .feature-box:hover {
    transform: translateY(-5px);
  }
}

.feature-box {
  height: auto !important;       /* 自动高度，覆盖原来的 475px 或 350px */
  min-height: 480px;             /* 保证最小高度 */
}

.feature-box .overlay {
  max-height: none !important;   /* 不限制高度 */
  overflow: visible !important;  /* 不裁剪文字 */
}