/* Extracted from template/modun/pc/index.htm (B2B homepage theme) */
:root {
  --b2b-navy: #0F172A;
  --b2b-gold: #C5A059;
  --b2b-gray: #F8FAFC;
  --b2b-slate: #475569;
  --b2b-slate-light: #64748b;
}

.b2b-home {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1e293b;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
/* Typography scale (unify sizes) */
.b2b-home p,
.b2b-home .sigma_about-content p,
.b2b-home .sigma_about p {
  font-size: 16.5px !important;
  line-height: 1.8;
  color: #475569;
}
.b2b-home h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.8rem) !important;
  line-height: 1.1;
}
.b2b-home h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem) !important;
  line-height: 1.2;
}
.b2b-home h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.9rem) !important;
  line-height: 1.25;
}
.b2b-home h4 {
  font-size: 1.15rem !important;
  line-height: 1.3;
}
.b2b-home h5 {
  font-size: 1rem !important;
  line-height: 1.35;
}
/* Section title default (unless overwritten by specific section styles) */
.b2b-home .section-title .title {
  font-size: clamp(1.7rem, 3vw, 2.3rem) !important;
  line-height: 1.2;
}
.b2b-home h1, .b2b-home h2, .b2b-home h3, .b2b-home h4, .b2b-home h5,
.b2b-home .section-title .title,
.b2b-home .sigma_about .title {
  font-family: 'Oswald', 'Roboto Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.b2b-home .primary-color { color: var(--b2b-gold) !important; }
.b2b-home .sigma_header.style-1 {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  position: relative;
  z-index: 9999;
  overflow: visible !important;
}

/* Ensure PC dropdown menus render above hero/banner and are not clipped */
.b2b-home .sigma_header.style-1 .sigma_header-top,
.b2b-home .sigma_header.style-1 .sigma_header-middle,
.b2b-home .sigma_header.style-1 .container,
.b2b-home .sigma_header.style-1 .navbar,
.b2b-home .sigma_header.style-1 .navbar-nav,
.b2b-home .sigma_header.style-1 .navbar-nav > li {
  overflow: visible !important;
}

.b2b-home .sigma_header.style-1 .navbar-nav li .sub-menu {
  z-index: 10000;
}
.b2b-home .sigma_header-top {
  background: var(--b2b-gray);
  border-bottom: 1px solid #e2e8f0;
}
.b2b-home .sigma_header-top-nav a {
  color: var(--b2b-slate);
  transition: color 0.2s ease;
}
.b2b-home .sigma_header-top-nav a:hover {
  color: var(--b2b-gold);
}
.b2b-home .sigma_header-top-cta a {
  color: var(--b2b-navy);
  font-weight: 600;
}
.b2b-home .sigma_header-top-cta a:hover {
  color: var(--b2b-gold);
}
.b2b-home .navbar-nav .menu-item > a {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--b2b-slate) !important;
  transition: color 0.2s ease;
}
.b2b-home .navbar-nav .menu-item > a:hover,
.b2b-home .navbar-nav .menu-item.hover > a {
  color: var(--b2b-gold) !important;
}
.b2b-home a.sigma_btn {
  background: var(--b2b-navy) !important;
  color: #fff !important;
  border-radius: 12px !important;
  border: none !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  font-size: 0.75rem !important;
  padding: 14px 28px !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease !important;
}
.b2b-home a.sigma_btn:hover {
  background: var(--b2b-gold) !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(197, 160, 89, 0.35);
}
.b2b-home a.sigma_btn.b2b-hero-cta {
  background: var(--b2b-gold) !important;
  color: var(--b2b-navy) !important;
  border-radius: 14px !important;
  padding: 16px 36px !important;
  font-weight: 800 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  font-size: 0.7rem !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25) !important;
}
.b2b-home a.sigma_btn.b2b-hero-cta:hover {
  background: #0F172A !important;
  color: #fff !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2) !important;
}
.b2b-home .home-hero-banner {
  position: relative;
  min-height: 85vh;
  align-items: center;
}
.b2b-home .home-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  z-index: 0;
}
.b2b-home .home-hero-banner .container,
.b2b-home .home-hero-banner .sigma_banner-text {
  position: relative;
  z-index: 1;
}
.b2b-home .b2b-hero-brand {
  color: #fff !important;
  font-size: clamp(1.75rem, 4vw, 3rem) !important;
  margin-bottom: 1rem !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}
.b2b-home .b2b-hero-slogan {
  color: #e2e8f0 !important;
  font-weight: 500;
  line-height: 1.35 !important;
  max-width: 42rem;
  margin-left: auto !important;
  margin-right: auto !important;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
.b2b-home .section-title .title {
  color: var(--b2b-navy);
}
.b2b-home .section-title .subtitle,
.b2b-home .sigma_about-content p {
  color: var(--b2b-slate);
  line-height: 1.75;
}
.b2b-home .sigma_team.style-7 .sigma_team-thumb {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.3s ease;
}
.b2b-home .sigma_team.style-7 .sigma_team-thumb:hover {
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}
.b2b-home article.sigma_post.style-2 {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  margin-bottom: 1.5rem;
}
.b2b-home article.sigma_post.style-2:hover {
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  transform: translateY(-3px);
}
.b2b-home article.sigma_post.style-2 .sigma_post-content h3 a {
  color: var(--b2b-navy) !important;
}
.b2b-home article.sigma_post.style-2 .sigma_post-content h3 a:hover {
  color: var(--b2b-gold) !important;
}
.b2b-home article.sigma_post.style-2 .btn-link {
  color: var(--b2b-navy) !important;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.b2b-home article.sigma_post.style-2 .btn-link:hover {
  color: var(--b2b-gold) !important;
}
.b2b-home .sigma_top {
  background: var(--b2b-navy);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2);
}
.b2b-home .sigma_top:hover {
  background: var(--b2b-gold);
  color: var(--b2b-navy);
}
.b2b-home .sigma_product .sigma_product-thumb {
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.3s ease;
}
.b2b-home .sigma_product:hover .sigma_product-thumb {
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}
.b2b-home #contact button.btn-block,
.b2b-home #contact .sigma_cta button[type="submit"] {
  background: #C5A059 !important;
  color: #0F172A !important;
  border: none !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  font-size: 0.75rem !important;
  padding: 16px 28px !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease !important;
}
.b2b-home #contact button.btn-block:hover,
.b2b-home #contact .sigma_cta button[type="submit"]:hover {
  background: #0F172A !important;
  color: #fff !important;
  transform: translateY(-2px);
}
/* Buttons with overlay/hover mask keep white text on hover */
.b2b-home.btn-style-2 button:hover,
.b2b-home.btn-style-2 input[type=reset]:hover,
.b2b-home.btn-style-2 input[type="button"]:hover,
.b2b-home.btn-style-2 input[type="submit"]:hover,
.b2b-home.btn-style-2 .sigma_btn:hover {
  color: #fff !important;
}
.b2b-home #contact .form-group input,
.b2b-home #contact .form-group select,
.b2b-home #contact .form-group textarea {
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: rgba(248, 250, 252, 0.12) !important;
}
.b2b-home #contact .form-group input:focus,
.b2b-home #contact .form-group select:focus,
.b2b-home #contact .form-group textarea:focus {
  border-color: #C5A059 !important;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.25) !important;
  outline: none !important;
}
/* Custom styles for parallelogram and carousel */
.image-box-parallelogram {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px; /* Space between rows */
  transform: skewX(-10deg); /* Apply parallelogram effect to the box */
}

.image-box-parallelogram img {
  width: 100%;
  height: auto;
  display: block;
  transform: skewX(10deg); /* Counter-skew to keep image straight */
  transform-origin: bottom left;
}

.image-box-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7); /* Dark overlay for text/button */
  padding: 15px;
  text-align: center;
  opacity: 1; /* Always visible as per request */
  transform: translateY(0%) skewX(10deg); /* Counter-skew to keep content straight */
}

.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 0 40px;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.3s ease-out;
  width: 100%;
}

.carousel-track > div[class*='col-'] {
  flex: 0 0 25%;
  padding: 0 10px;
  box-sizing: border-box;
}

/* Mobile styles */
@media (max-width: 767.98px) {
  .carousel-container {
    padding: 0 30px;
  }

  .carousel-track {
    width: 100%;
  }

  .carousel-track > div[class*='col-'] {
    flex: 0 0 50%;
    padding: 0 5px;
    width: 50%;
  }

  .image-box-parallelogram {
    margin-bottom: 15px;
    transform: skewX(-5deg);
  }

  .image-box-parallelogram img {
    transform: skewX(5deg);
  }

  .sigma_btn-small {
    font-size: 10px;
    padding: 4px 8px;
  }

  .carousel-arrow {
    padding: 8px 12px;
    font-size: 18px;
  }
}

/* Popular Products Tab Styles */
.sigma_tabs .nav-link {
  color: #0F172A;
  font-weight: 600;
  padding: 10px 20px;
  border: none;
  background: transparent;
  transition: all 0.3s ease;
}

.sigma_tabs .nav-link:hover {
  color: #C5A059;
  background-color: #0F172A;
}

.sigma_tabs .nav-link.active {
  color: #fff !important;
  background-color: #0F172A !important;
  border: 1px solid #0F172A;
}

.sigma_tabs .nav-link.active:hover {
  color: #C5A059 !important;
  background-color: #0F172A !important;
}

.sigma_tabs .tab-content {
  margin-top: 30px;
}

.sigma_tabs .tab-pane {
  display: none;
}

.sigma_tabs .tab-pane.active {
  display: block;
}

/* Product Card Styles */
.sigma_product {
  position: relative;
  margin-bottom: 30px;
  background: #fff;
  transition: all 0.3s ease;
}

.sigma_product:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.sigma_product-image {
  position: relative;
  overflow: hidden;
}

.sigma_product-image img {
  width: 100%;
  height: auto;
  transition: all 0.3s ease;
}

.sigma_product-content {
  padding: 20px;
  text-align: center;
}

.sigma_product-content h5 {
  margin-bottom: 10px;
  font-weight: 600;
  color: #0F172A;
}

.sigma_product-content p {
  color: #475569;
  margin-bottom: 15px;
}

.sigma_product-content .sigma_btn {
  display: inline-block;
  padding: 8px 20px;
  background: #0F172A;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.sigma_product-content .sigma_btn:hover {
  background: #C5A059;
  color: #0F172A;
}
.b2b-home .sloge,
.sloge {
    font-size: clamp(1.25rem, 2.5vw, 2.25rem);
}
/* Banner background moved from inline style */
.home-hero-banner{
    background-image: url("../../img/home/leadmanfitness-banner1.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* CTA background moved from inline style */
.cta-bg{
    background-image: url("../../img/cta-1.jpg");
}

/* Video Background Section Styles */
.video-background-section {
  position: relative;
  margin-bottom: 30px;
}

.video-background-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.video-background-image {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.video-background-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/*.video-background-wrapper:hover .video-background-image img {*/
/*  transform: scale(1.05);*/
/*}*/

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.video-background-wrapper:hover .video-overlay {
  background: rgba(0, 0, 0, 0.6);
}

.play-button-wrapper {
  text-align: center;
  color: white;
}

.play-button {
  width: 80px;
  height: 80px;
  border-radius: 50% !important;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: rgba(255, 255, 255, 0.85);
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.play-button:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.9);
}

.play-text {
  font-size: 16px;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Video Modal Styles */
.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.video-modal-content {
  position: relative;
  margin: 5% auto;
  width: 90%;
  max-width: 800px;
  height: 70%;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
}

.video-close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
  transition: color 0.3s ease;
}

.video-close:hover {
  color: #C5A059;
}

.video-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .video-background-image {
    height: 300px;
  }
  
  .play-button {
    width: 60px;
    height: 60px;
    font-size: 20px;
  }
  
  .play-text {
    font-size: 14px;
  }
  
  .video-modal-content {
    width: 95%;
    height: 60%;
    margin: 10% auto;
  }
}

@media (max-width: 767px) {
  .video-background-image {
    height: 250px;
  }
  
  .play-button {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }
  
  .play-text {
    font-size: 12px;
  }
  
  .video-modal-content {
    width: 98%;
    height: 50%;
    margin: 15% auto;
  }
  
  .video-close {
    top: 10px;
    right: 15px;
    font-size: 28px;
  }
}

/* Original about image styles (kept for compatibility) */
.about-image-wrapper {
  padding: 15px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.about-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

/*.about-image-wrapper:hover {*/
/*  transform: translateY(-5px);*/
/*}*/

@media (max-width: 767px) {
  .about-image-wrapper {
    margin-bottom: 30px;
  }
  
  .about-content {
    padding: 20px;
  }
}


/* Why Choose Us 样式 */
.why-choose-item {
  margin-bottom: 80px;
  padding: 5px;
  transition: all 0.3s ease;
}

/* 交替背景色 */
.why-choose-item:nth-child(odd) {
  background-color: #fff;
}

.why-choose-item:nth-child(even) {
  background-color: #F8FAFC;
}

/* 标题样式优化 */
.why-choose-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #0F172A;
}

.why-choose-content h3 .highlight {
  color: #C5A059;
  font-style: italic;
  text-decoration: underline;
  text-decoration-color: rgba(197, 160, 89, 0.5);
  font-weight: bold;
  font-size: 1.1em;
}

.why-choose-images {
  position: relative;
  margin-bottom: 30px;
}

.why-choose-images .row {
  margin: -10px;
}

.why-choose-images .row > div {
  padding: 10px;
}

.why-choose-images img {
  width: 100%;
  height: 300px;  /* 增加高度使图片更横向 */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0;  /* 移除底部间距 */
}

/* 响应式调整 */
@media (min-width: 992px) {
  .why-choose-images img {
    height: 350px;  /* 大屏幕时更高 */
  }
}

@media (max-width: 991px) {
  .why-choose-images img {
    height: 250px;
  }
}

@media (max-width: 767px) {
  .why-choose-images img {
    height: 200px;
  }
}

.advantage-list {
  padding-left: 0;
}

.advantage-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.advantage-item:last-child {
  margin-bottom: 0;
}

.advantage-item .number {
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  min-width: 40px;
}

.advantage-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #475569;
}

/* 响应式样式 */
@media (max-width: 991px) {
  .why-choose-item {
    margin-bottom: 60px;
  }
  
  .why-choose-content h3 {
    font-size: 24px;
    margin-bottom: 25px;
  }
  
  .advantage-item {
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .why-choose-item {
    margin-bottom: 40px;
  }
  
  .why-choose-content h3 {
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .advantage-item {
    margin-bottom: 15px;
  }
  
  .number {
    font-size: 16px;
    min-width: 35px;
  }
  
  .advantage-item p {
    font-size: 15px;
  }

  /* 调整移动端布局顺序 */
  .why-choose-item .row {
    display: flex;
    flex-direction: column;
  }

  .why-choose-item .col-lg-6:first-child {
    order: 2;
  }

  .why-choose-item .col-lg-6:last-child {
    order: 1;
    margin-bottom: 20px;
  }
}

/* 大屏幕时图片更宽 */
@media (min-width: 992px) {
  .why-choose-images img {
    height: 250px;
  }
  
  .why-choose-images .col-12 img {
    height: 300px;
  }
}

/* 小屏幕时调整 */
@media (max-width: 767px) {
  .why-choose-images img {
    height: 180px;
  }
  .why-choose-carousel {
    height: 200px; /* 减小移动端轮播图高度 */
  }
  
  .why-choose-content h3 {
    font-size: 20px; /* 减小标题字体 */
    margin-bottom: 15px;
  }
  
  .advantage-item {
    margin-bottom: 15px;
  }
  
  .advantage-item .number {
    font-size: 16px;
    min-width: 30px;
  }
  
  .advantage-item p {
    font-size: 14px;
  }
}

.why-choose-carousel {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}
.carousel-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.6s;
  z-index: 1;
}
.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}
.why-choose-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}
.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 15px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.carousel-dots .dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: background 0.3s;
  display: inline-block;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.carousel-dots .dot.active {
  background: #C5A059;
  border-color: #0F172A;
}

/* Video Background Section Styles */
.video-background-section {
  position: relative;
  margin-bottom: 30px;
}

.video-background-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.video-background-image {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.video-background-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/*.video-background-wrapper:hover .video-background-image img {*/
/*  transform: scale(1.05);*/
/*}*/

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.video-background-wrapper:hover .video-overlay {
  background: rgba(0, 0, 0, 0.6);
}

.play-button-wrapper {
  text-align: center;
  color: white;
}

.play-button {
  width: 80px;
  height: 80px;
  border-radius: 50% !important;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: rgba(255, 255, 255, 0.85);
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.play-button:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.9);
}

.play-text {
  font-size: 16px;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Video Modal Styles */
.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.video-modal-content {
  position: relative;
  margin: 5% auto;
  width: 90%;
  max-width: 800px;
  height: 70%;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
}

.video-close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
  transition: color 0.3s ease;
}

.video-close:hover {
  color: #C5A059;
}

.video-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .video-background-image {
    height: 300px;
  }
  
  .play-button {
    width: 60px;
    height: 60px;
    font-size: 20px;
  }
  
  .play-text {
    font-size: 14px;
  }
  
  .video-modal-content {
    width: 95%;
    height: 60%;
    margin: 10% auto;
  }
}

@media (max-width: 767px) {
  .video-background-image {
    height: 250px;
  }
  
  .play-button {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }
  
  .play-text {
    font-size: 12px;
  }
  
  .video-modal-content {
    width: 98%;
    height: 50%;
    margin: 15% auto;
  }
  
  .video-close {
    top: 10px;
    right: 15px;
    font-size: 28px;
  }
}

/* Original about image styles (kept for compatibility) */
.about-image-wrapper {
  padding: 15px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.about-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

/*.about-image-wrapper:hover {*/
/*  transform: translateY(-5px);*/
/*}*/

@media (max-width: 767px) {
  .about-image-wrapper {
    margin-bottom: 30px;
  }
  
  .about-content {
    padding: 20px;
  }
}

.b2b-home .sloge,
.sloge {
    font-size: clamp(1.25rem, 2.5vw, 2.25rem);
}
/* Banner background moved from inline style */
.home-hero-banner{
    background-image: url("../../img/home/leadmanfitness-banner1.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* CTA background moved from inline style */
.cta-bg{
    background-image: url("../../img/cta-1.jpg");
}
.marquee{display:flex;position:relative;overflow:hidden;white-space:nowrap;width:100%;padding:12px 10px;margin:0 auto;background-color:#0F172A;resize:horizontal;container-type:inline-size;color:#f1f5f9;}.marquee > *{-webkit-animation:marquee 30s linear infinite both alternate;animation:marquee 30s linear infinite both alternate;}@-webkit-keyframes marquee{to{transform:translateX(min(100cqw - 100%,0px));}}@keyframes marquee{to{transform:translateX(min(100cqw - 100%,0px));}}.marquee>span>b{font-weight:800;color:#C5A059;}
/* Why Choose Us 样式 */
.why-choose-item {
  margin-bottom: 80px;
  padding: 5px;
  transition: all 0.3s ease;
}

/* 交替背景色 */
.why-choose-item:nth-child(odd) {
  background-color: #fff;
}

.why-choose-item:nth-child(even) {
  background-color: #F8FAFC;
}

/* 标题样式优化 */
.why-choose-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #0F172A;
}

.why-choose-content h3 .highlight {
  color: #C5A059;
  font-style: italic;
  text-decoration: underline;
  text-decoration-color: rgba(197, 160, 89, 0.5);
  font-weight: bold;
  font-size: 1.1em;
}

.why-choose-images {
  position: relative;
  margin-bottom: 30px;
}

.why-choose-images .row {
  margin: -10px;
}

.why-choose-images .row > div {
  padding: 10px;
}

.why-choose-images img {
  width: 100%;
  height: 300px;  /* 增加高度使图片更横向 */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0;  /* 移除底部间距 */
}

/* 响应式调整 */
@media (min-width: 992px) {
  .why-choose-images img {
    height: 350px;  /* 大屏幕时更高 */
  }
}

@media (max-width: 991px) {
  .why-choose-images img {
    height: 250px;
  }
}

@media (max-width: 767px) {
  .why-choose-images img {
    height: 200px;
  }
}

.advantage-list {
  padding-left: 0;
}

.advantage-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.advantage-item:last-child {
  margin-bottom: 0;
}

.advantage-item .number {
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  min-width: 40px;
}

.advantage-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #475569;
}

/* 响应式样式 */
@media (max-width: 991px) {
  .why-choose-item {
    margin-bottom: 60px;
  }
  
  .why-choose-content h3 {
    font-size: 24px;
    margin-bottom: 25px;
  }
  
  .advantage-item {
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .why-choose-item {
    margin-bottom: 40px;
  }
  
  .why-choose-content h3 {
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .advantage-item {
    margin-bottom: 15px;
  }
  
  .number {
    font-size: 16px;
    min-width: 35px;
  }
  
  .advantage-item p {
    font-size: 15px;
  }

  /* 调整移动端布局顺序 */
  .why-choose-item .row {
    display: flex;
    flex-direction: column;
  }

  .why-choose-item .col-lg-6:first-child {
    order: 2;
  }

  .why-choose-item .col-lg-6:last-child {
    order: 1;
    margin-bottom: 20px;
  }
}

/* 大屏幕时图片更宽 */
@media (min-width: 992px) {
  .why-choose-images img {
    height: 250px;
  }
  
  .why-choose-images .col-12 img {
    height: 300px;
  }
}

/* 小屏幕时调整 */
@media (max-width: 767px) {
  .why-choose-images img {
    height: 180px;
  }
  .why-choose-carousel {
    height: 200px; /* 减小移动端轮播图高度 */
  }
  
  .why-choose-content h3 {
    font-size: 20px; /* 减小标题字体 */
    margin-bottom: 15px;
  }
  
  .advantage-item {
    margin-bottom: 15px;
  }
  
  .advantage-item .number {
    font-size: 16px;
    min-width: 30px;
  }
  
  .advantage-item p {
    font-size: 14px;
  }
}

.why-choose-carousel {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}
.carousel-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.6s;
  z-index: 1;
}
.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}
.why-choose-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}
.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 15px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.carousel-dots .dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: background 0.3s;
  display: inline-block;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.carousel-dots .dot.active {
  background: #C5A059;
  border-color: #0F172A;
}

.factory-banner-full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-bottom: 30px;
  overflow: hidden;
}

.factory-banner-full-width img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Home factory cards: image + overlay title only */
.factory-banner-full-width + .row article.sigma_post.style-2.factory-image-card {
  position: relative;
  overflow: hidden;
}

.factory-banner-full-width + .row article.sigma_post.style-2.factory-image-card > img {
  width: 100%;
  display: block;
}

.factory-banner-full-width + .row article.sigma_post.style-2.factory-image-card .sigma_post-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.1) 85%, rgba(15, 23, 42, 0) 100%);
  padding: 28px 14px 12px;
}

.factory-banner-full-width + .row article.sigma_post.style-2.factory-image-card .sigma_post-content h3 {
  margin: 0 !important;
  text-align: center;
}

.factory-banner-full-width + .row article.sigma_post.style-2.factory-image-card .sigma_post-content h3 a {
  color: #fff !important;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.factory-banner-full-width + .row article.sigma_post.style-2.factory-image-card .factory-card-link {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.factory-banner-full-width + .row article.sigma_post.style-2.factory-image-card:hover .sigma_post-content h3 a {
  color: var(--b2b-gold) !important;
}

.factory-banner-full-width + .row article.sigma_post.style-2.factory-image-card .sigma_post-content,
.factory-banner-full-width + .row article.sigma_post.style-2.factory-image-card .sigma_post-content h3 {
  background: transparent !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Keep text visible but let click pass to full-card link */
.factory-banner-full-width + .row article.sigma_post.style-2.factory-image-card .sigma_post-body,
.factory-banner-full-width + .row article.sigma_post.style-2.factory-image-card .sigma_post-content,
.factory-banner-full-width + .row article.sigma_post.style-2.factory-image-card .sigma_post-content h3,
.factory-banner-full-width + .row article.sigma_post.style-2.factory-image-card .sigma_post-content h3 a {
  pointer-events: none;
}

@media (max-width: 767px) {
  .factory-banner-full-width img {
    height: 30vh; /* 减小移动端banner高度 */
    object-fit: cover;
  }
}
.factory-hero-banner {
  width: 100vw;
  min-height: 420px;
  background: url("../../img/home-6/factory.jpg") center center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  /* 可选：加深遮罩 */
}
.factory-hero-banner::before {
  content: "";
  position: absolute;
  left: 0; top: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.28);
  z-index: 1;
}
.factory-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}
.factory-hero-content h2 {
  font-family: 'Oswald', 'Roboto Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  margin-bottom: 18px;
  letter-spacing: 0.03em;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.factory-hero-content p {
  font-size: clamp(0.98rem, 1.7vw, 1.25rem);
  font-weight: 400;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 100%;
  color: #e2e8f0;
}

/* 移动端适配 */
@media (max-width: 767px) {
  .factory-hero-banner {
    min-height: 220px;
    padding: 0;
  }
  .factory-hero-content {
    padding: 24px 12px;
  }
  .factory-hero-content h2 {
    margin-bottom: 12px;
    font-size: 20px;
  }
  .factory-hero-content p {
    font-size: 10px;
    line-height: 1.5;
    max-width: 95vw;
  }
}
.factory-hero-banner {
  margin-bottom: 32px; /* PC端下方留白 */
}
@media (max-width: 767px) {
  .factory-hero-banner {
    margin-bottom: 18px !important; /* 移动端下方留白更紧凑 */
  }
}

/* ---- Factory image cards (OUR FACTORY): bordered card + name bar ---- */
.factory-hero-banner + .row article.sigma_post.style-2 {
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
  border: 2px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.factory-hero-banner + .row article.sigma_post.style-2 .factory-tagline {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  margin: 0;
  z-index: 3;
  color: #f8fafc;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  transition: color 0.25s ease;
}

.factory-hero-banner + .row article.sigma_post.style-2:hover .factory-tagline {
  color: #C5A059;
}

.factory-hero-banner + .row article.sigma_post.style-2 .sigma_post-body {
  position: relative !important;
  left: auto !important;
  bottom: auto !important;
  width: 100% !important;
  height: auto !important;
  padding: 0 !important;
  display: block !important;
  background: transparent !important;
}

.factory-hero-banner + .row article.sigma_post.style-2 .sigma_post-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.factory-hero-banner + .row article.sigma_post.style-2 .sigma_post-content h3 {
  margin: 0 !important;
}

.factory-hero-banner + .row article.sigma_post.style-2 .sigma_post-content h3 a {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  display: block;
  width: 100%;
  background: #fff;
  color: #0F172A;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 13px;
  padding: 10px 10px;
  border-radius: 0;
  border: 2px solid #e2e8f0;
  border-top: 0;
  text-decoration: none;
  line-height: 1.2;
  z-index: 1;
}

@media (max-width: 767px) {
  .factory-hero-banner + .row article.sigma_post.style-2 {
    padding-bottom: 0;
  }
  .factory-hero-banner + .row article.sigma_post.style-2 .factory-tagline {
    font-size: 11px;
    left: 10px;
    right: 10px;
  }
}

/* 产品标签页样式 */
.product-tabs {
  margin-top: 40px;
}

.tab-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
  gap: 15px;
}

.tab-btn {
  padding: 12px 22px;
  border: 1px solid #e2e8f0;
  background: #F8FAFC;
  color: #0F172A;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  min-width: 120px;
  text-align: center;
  }

@media screen and (min-width: 1200px) {
  .tab-nav {
    flex-wrap: nowrap;
    gap: 10px;
  }
  
  .tab-btn {
    padding: 10px 15px;
    min-width: auto;
  }
}

.tab-btn:hover {
  background: #0F172A;
  color: #C5A059;
  border-color: #0F172A;
}

.tab-btn.active {
  background: #0F172A;
  color: #fff;
  border-color: #0F172A;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
}

/* 产品卡片样式 */
.tab-pane .row > div[class*="col-"] {
  display: flex;
}
.tab-pane .row {
  row-gap: 30px;
}
.product-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  margin-bottom: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.product-image {
  position: relative;
  padding-top: 100%;
  background: #f8f8f8;
}

.product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  padding: 20px;
  text-align: center;
}

.product-info h5 {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-info h5 a {
  color: #0F172A;
  text-decoration: none;
  transition: color 0.3s ease;
}

.product-info h5 a:hover {
  color: #C5A059;
}

.view-btn {
  display: inline-block;
  margin-top: auto;
  padding: 10px 22px;
  background: #0F172A;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.view-btn:hover {
  background: #C5A059;
  color: #0F172A;
  transform: translateY(-2px);
}
/* Remove all product "VIEW MORE" buttons */
.product-info .view-btn {
  display: none !important;
}

/* 标签页切换动画 */
.tab-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-pane.active {
  display: block;
}

.tab-pane.hover {
    display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 响应式调整 */
@media (max-width: 991px) {
  .tab-nav {
    gap: 10px;
  }
  
  .tab-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .product-info h5 {
    font-size: 14px;
  }
  
  .view-btn {
    padding: 6px 15px;
    font-size: 12px;
  }
}

/* Popular products mobile carousel-style tracks */
.b2b-home .popular-products-mobile .product-info .view-btn {
  display: none !important;
}

.b2b-home .popular-products-mobile .mobile-board-wrap {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 10px;
}

.b2b-home .popular-products-mobile .mobile-track-wrap {
  position: relative;
}

.b2b-home .popular-products-mobile .mobile-track-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 1px solid rgba(226, 232, 240, 0.7);
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}

.b2b-home .popular-products-mobile .mobile-track-btn-prev {
  left: -6px;
}

.b2b-home .popular-products-mobile .mobile-track-btn-next {
  right: -6px;
}

.b2b-home .popular-products-mobile .mobile-scroll-tabs {
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 0 10px;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 10px;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
  -webkit-overflow-scrolling: touch;
}

.b2b-home .popular-products-mobile .mobile-tabs-placeholder {
  height: 0;
}

.b2b-home .popular-products-mobile .mobile-scroll-tabs.is-fixed {
  position: fixed;
  top: 0;
  z-index: 1200;
}

.b2b-home .popular-products-mobile .mobile-scroll-tabs .tab-pill {
  flex-shrink: 0;
  white-space: nowrap;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #0F172A;
  text-decoration: none;
  background: #F8FAFC;
}

.b2b-home .popular-products-mobile .mobile-scroll-tabs .tab-pill.active {
  background: #0F172A;
  border-color: #0F172A;
  color: #fff;
}

.b2b-home .popular-products-mobile .mobile-sections {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.b2b-home .popular-products-mobile .mobile-section-block {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px;
  background: #fff;
  scroll-margin-top: 54px;
}

.b2b-home .popular-products-mobile .mobile-pane-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
}

.b2b-home .popular-products-mobile .mobile-series-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 0 6px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.b2b-home .popular-products-mobile .mobile-series-track .product-card {
  /* show ~2 cards plus a small peek of the 3rd */
  flex: 0 0 calc((100% - 30px) / 2);
  width: calc((100% - 30px) / 2);
  max-width: calc((100% - 30px) / 2);
  min-width: calc((100% - 30px) / 2);
  min-height: 158px;
  margin-bottom: 0;
  scroll-snap-align: start;
  cursor: pointer;
}

.b2b-home .popular-products-mobile .mobile-series-track .product-image {
  padding-top: 100%;
}

.b2b-home .popular-products-mobile .mobile-series-track .product-image img {
  padding: 0;
  object-fit: contain;
}

.b2b-home .popular-products-mobile .mobile-series-track .product-info {
  padding: 8px;
}

.b2b-home .popular-products-mobile .mobile-series-track .product-info h5 {
  font-size: 11px;
  min-height: 30px;
  margin-bottom: 0;
}

@media (max-width: 575.98px) {
  .b2b-home .popular-products-mobile .mobile-board-wrap {
    padding: 8px;
  }

  .b2b-home .popular-products-mobile .mobile-scroll-tabs .tab-pill {
    padding: 6px 10px;
    font-size: 11px;
  }

  .b2b-home .popular-products-mobile .mobile-series-track .product-card {
    flex-basis: calc((100% - 22px) / 2);
    width: calc((100% - 22px) / 2);
    max-width: calc((100% - 22px) / 2);
    min-width: calc((100% - 22px) / 2);
  }
}
.only-me-banner {
  padding: 0;
  margin: 0;
  width: 100%;
}

.only-me-banner .section-title {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
}

.only-me-banner .section-title .title {
  color: #0F172A;
  font-size: 60px;
}

.only-me-banner .sigma_about-image {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.only-me-banner .sigma_about-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 991px) {
  .only-me-banner .section-title .title {
    font-size: 40px;
  }
  
  .only-me-banner .sigma_about-image {
    height: auto;
  }
}

@media (max-width: 767px) {
  .only-me-banner .section-title .title {
    font-size: 32px;
  }
  
  .only-me-banner .sigma_about-image {
    height: auto;
  }
}

@media (max-width: 576px) {
  .only-me-banner .section-title .title {
    font-size: 28px;
  }
  
  .only-me-banner .sigma_about-image {
    height: auto;
  }
}

/* 真实案例部分样式优化 */
.case-item {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  transition: all 0.3s ease;
  overflow: hidden;
  margin-bottom: 40px;
  padding: 30px;
}

.case-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.case-image {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.case-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-item:hover .case-image img {
  transform: scale(1.05);
}

.case-content {
  padding: 30px;
}

.case-content h3 {
  color: #0F172A;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.case-content h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: #C5A059;
}

.client-info {
  font-weight: 600;
  color: #475569;
  margin-bottom: 15px;
  font-size: 16px;
}

.rating {
  color: #C5A059;
  font-size: 24px;
  margin-bottom: 20px;
  letter-spacing: 3px;
  line-height: 1;
}

.case-content p {
  line-height: 1.8;
  color: #475569;
  font-size: 16px;
  margin-bottom: 0;
}

.case-btn {
  display: inline-block;
  padding: 15px 35px;
  background: #0F172A;
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: all 0.3s ease;
  border: 2px solid #0F172A;
}

.case-btn:hover {
  background: #C5A059;
  color: #0F172A;
  border-color: #C5A059;
  transform: translateY(-2px);
}

/* 响应式调整 */
@media (max-width: 991px) {
  .case-item {
    padding: 20px;
  }

  .case-content {
    padding: 20px 0;
  }

  .case-image img {
    height: 300px;
  }

  .case-content h3 {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  .case-item {
    padding: 15px;
  }

  .case-content {
    padding: 15px 0;
  }

  .case-image img {
    height: 250px;
  }

  .case-content h3 {
    font-size: 20px;
  }

  .case-content p {
    font-size: 14px;
  }

  .case-btn {
    padding: 12px 25px;
    font-size: 14px;
  }
}

.form-group textarea{background-color: rgba(255, 255, 255, 0.1);border-color: transparent;line-height: 1.67;resize: both;overflow:hidden; min-height:100px;}

/* WhatsApp验证提示样式 */
#whatsapp-hint {
  font-size: 12px;
  margin-top: 5px;
  display: block;
  transition: all 0.3s ease;
}

#whatsapp-hint.text-success {
  color: #28a745 !important;
  font-weight: 500;
}

#whatsapp-hint.text-danger {
  color: #dc3545 !important;
  font-weight: 500;
}

#whatsapp-hint.text-white-50 {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* 输入框验证状态样式 */
#attr_65:focus {
  border-color: #C5A059 !important;
  box-shadow: 0 0 0 0.2rem rgba(197, 160, 89, 0.28) !important;
}

#attr_65[style*="border-color: #28a745"] {
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
}

#attr_65[style*="border-color: #dc3545"] {
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}


  /* Expert You Can Rely On 部分移动端优化 */
  @media (max-width: 767px) {
    /* 整体布局调整 */
    .why-choose-item {
      margin-bottom: 20px !important;
      padding: 10px !important;
    }
  
    /* 轮播图调整 */
    .why-choose-carousel {
      height: 180px !important;
      margin-bottom: 15px !important;
    }
  
    .why-choose-carousel img {
      height: 180px !important;
      object-fit: cover !important;
    }
  
    /* 标题和内容调整 */
    .why-choose-content h3 {
      margin-bottom: 12px !important;
      text-align: center !important;
    }
  
    .why-choose-content h3 .highlight {
      font-size: 1.1em !important;
    }
  
    /* 优势列表调整 */
    .advantage-item {
      margin-bottom: 10px !important;
    }
  
    .advantage-item .number {
      font-size: 12px !important;
      min-width: 20px !important;
    }
  
    .advantage-item p {
      line-height: 1.3 !important;
    }
  
    /* 布局方向调整 */
    .why-choose-item .row {
      flex-direction: column !important;
    }
  
    .why-choose-item .col-lg-6 {
      width: 100% !important;
      padding: 0 !important;
    }

    .why-choose-carousel .carousel-dots .dot {
    width: 7px !important;
    height: 7px !important;
    margin: 0 2px !important;
    }
  }
  
  /* Cooperation Partner 部分移动端优化 */
  @media (max-width: 767px) {
    /* 产品卡片调整 */
    .sigma_product {
      margin-bottom: 10px !important;
    }
  
    .sigma_product-thumb {
      height: 50px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      background: #fff !important;
      padding: 4px !important;
      border-radius: 3px !important;
      box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    }
  
    .sigma_product-thumb img {
      max-height: 40px !important;
      width: auto !important;
      object-fit: contain !important;
    }
  
    /* 网格布局调整 */
    .sigma_product .col-6 {
      padding: 4px !important;
    }
  
    /* 标题样式调整 */
    .section-title.centered h2.title {
      /* font-size: 18px !important; */
      margin-bottom: 15px !important;
    }
  
    /* 整体间距调整 */
    .section {
      padding: 20px 0 !important;
    }
  
    .section-padding {
      padding: 20px 0 !important;
    }
  
    .container {
      padding-left: 10px !important;
      padding-right: 10px !important;
    }
  }
  @media (max-width: 767px) {
  /* 1. 卡片整体更紧凑，去除多余上下间距 */
  .full-width-partner-carousel {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    min-height: unset !important;
  }
  .full-width-partner-carousel .section-title {
    margin-bottom: 10px !important;
  }

  /* 2. 卡片本身紧凑，圆角更小 */
  .full-width-partner-carousel .partner-content-wrapper {
    margin: 0 auto !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
    max-width: 98vw !important;
    padding: 0 !important;
    position: relative !important;
  }

  /* 3. 图片完整展示，高度自适应，宽高比16:9 */
  .full-width-partner-carousel .partner-image-col {
    width: 100% !important;
    height: auto !important;
    min-height: unset !important;
    max-height: unset !important;
    margin-bottom: 0 !important;
    aspect-ratio: 16/9 !important;
    overflow: hidden !important;
    border-radius: 8px 8px 0 0 !important;
  }
  .full-width-partner-carousel .partner-image-col img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 8px 8px 0 0 !important;
    display: block !important;
  }

  /* 4. 文字区紧凑，字体适中 */
  .full-width-partner-carousel .partner-text-col {
    padding: 10px 10px 14px 10px !important;
    text-align: center !important;
  }
  .full-width-partner-carousel .partner-text-content h3 {
    font-size: 16px !important;
    margin-bottom: 6px !important;
    font-weight: bold !important;
  }
  .full-width-partner-carousel .partner-text-content p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
  }

  /* 5. 轮播点在卡片下方，居中，和卡片有间距 */
  .full-width-partner-carousel .partner-carousel-dots {
    position: static !important;
    margin: 10px 0 0 0 !important;
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
  }
  .full-width-partner-carousel .partner-carousel-dots .dot {
    width: 10px !important;
    height: 10px !important;
    margin: 0 !important;
  }
}
@media (max-width: 767px) {
  .full-width-partner-carousel .partner-carousel-dots {
    position: absolute !important;
    left: 50% !important;
    bottom: 10px !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    width: auto !important;
    z-index: 10 !important;
  }
}