/* Hero Banner */
.hero {
  height: 8.68rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-carousel {
  position: absolute;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  width: 100%;
  max-width: 12rem;
  padding: 2.4rem 0.4rem 0;
  margin: 0 auto;
}

.hero-sunto {
  font-family: "Arial Bold MT", "Arial Black", Arial, sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.02rem;
  color: transparent;
  -webkit-text-stroke: 0.02rem #cadce8;
  text-stroke: 0.02rem #cadce8;
  margin-top: 0.8rem;
  margin-bottom: 0.2rem;
}

/* Background Wrapper Section */
.bg-wrapper-section {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.bg-wrapper-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Sections inside background wrapper */
.bg-wrapper-section section {
  position: relative;
  z-index: 1;
}

/* OEM Introduction Section */
.oem-intro-section {
  position: relative;
  z-index: 2;
  padding: 0.8rem 0.8rem 0.6rem;
}

.oem-intro-container {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 auto;
}

.oem-intro-left {
  flex: 1;
}

.oem-intro-title {
  font-size: 0.48rem;
  font-weight: bold;
  color: #2c60e2;
  margin-bottom: 0.2rem;
  letter-spacing: 0.005rem;
}

.oem-intro-text {
  font-size: 0.2rem;
  color: #666;
  line-height: 1.8;
  margin: 0;
}

.oem-intro-right {
  flex: 1.2;
}

.oem-intro-image {
  width: 100%;
  height: auto;
  border-radius: 0.15rem;
  display: block;
}

/* Whole-Process Dedicated Service Section */
.service-process-section {
  position: relative;
  z-index: 2;
  padding: 0.6rem 0.8rem 0.8rem;
}

.service-process-title {
  font-size: 0.36rem;
  font-weight: bold;
  color: #2c60e2;
  margin-bottom: 0.4rem;
  padding-left: 0.05rem;
}

.service-process-cards {
  display: flex;
  gap: 0.15rem;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 0.2rem 0;
}

.service-card {
  position: relative;
   width: 2.7rem; 
  border-radius: 0.15rem;
  overflow: hidden;
  flex-shrink: 0;
}

.service-card:nth-child(1) {
  margin-top: 1rem;
}

.service-card:nth-child(2) {
  margin-top: 0.15rem;
}

.service-card:nth-child(3) {
  margin-top: 0.3rem;
}

.service-card:nth-child(4) {
  margin-top: -0.2rem;
}

.service-card:nth-child(5) {
  margin-top: 0.5rem;
}

.service-card:nth-child(6) {
  margin-top: 0.15rem;
}

.service-card-image {
  width: 100%;
  height: 4.14rem;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.service-card:nth-child(1) .service-card-image,
.service-card:nth-child(3) .service-card-image {
  height: 3.04rem;
}

.service-card:nth-child(5) .service-card-image {
  height: 4.41rem;
}

.service-card:nth-child(6) .service-card-image {
  height: 4.16rem;
}

.service-card:hover .service-card-image {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.service-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.2rem 0.15rem;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.4) 60%,
      transparent 100%);
}

.service-card-text {
  color: #fff;
  font-size: 0.24rem;
  line-height: 1.5;
  margin: 0;
  font-weight: bold;
}

/* Customer Products Section */
.customer-products-section {
  position: relative;
  z-index: 2;
  padding: 0.4rem 0;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.customer-products-title {
  font-size: 0.36rem;
  font-weight: bold;
  color: #0066cc;
  text-align: left;
  margin: 0 0 0.3rem 0;
  width: 100%;
  padding-left: 0.8rem;
}

.customer-products-slider {
  overflow: hidden;
  position: relative;
  padding: 0;
}

.customer-products-track {
  display: flex;
  transition: transform 0.3s ease;
}

.customer-product-card {
  flex-shrink: 0;
  width: 4rem;
  padding: 0 0.1rem;
  border-radius: 0.15rem;
  overflow: hidden;
}

.customer-product-image {
  width: 4rem;
  height: 3rem;
  object-fit: cover;
  display: block;
  border-radius: 0.15rem;
}

.customer-product-desc {
  font-size: 0.16rem;
  color: #333;
  margin: 0.15rem 0 0 0;
  line-height: 1.5;
}

.customer-product-caption {
  font-size: 0.18rem;
  font-weight: bold;
  color: #000;
  margin: 0.1rem 0 0 0;
  line-height: 1.5;
  word-wrap: break-word;
  white-space: normal !important;
  overflow-wrap: break-word;
  word-break: break-all;
  width: 100%;
  display: block;
}

.customer-products-desc {
  text-align: center;
  padding: 0.3rem 0.8rem 0 0.8rem;
}

.customer-products-desc-title {
  font-size: 0.22rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 0.1rem 0;
}

.customer-products-desc-text {
  font-size: 0.18rem;
  color: #888;
  line-height: 1.6;
  margin: 0;
}

/* Solution Section */

/* Responsive Design */
@media (max-width: 1200px) {
  .nav-links {
    gap: 0.2rem;
  }
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    padding: 0.3rem;
    flex-direction: column;
    gap: 0.15rem;
  }

  /* OEM Intro Section */
  .oem-intro-section {
    padding: 0.4rem 0.2rem;
  }

  .oem-intro-container {
    flex-direction: column-reverse;
    gap: 0.3rem;
  }

  .oem-intro-title {
    font-size: 0.48rem;
  }

  .oem-intro-right {
    flex: none;
  }

  /* Service Process Section */
  .service-process-section {
    padding: 0.4rem 0.2rem;
  }

  .service-process-title {
    font-size: 0.28rem;
  }

  .service-process-cards {
    gap: 0.1rem;
    justify-content: flex-start;
    padding: 0.2rem;
  }

  .service-card {
    width: 48%;
  }

  .service-card-image {
    height: 50vw !important;
    width: 100% !important;
  }
     .service-card:nth-child(1) {
        margin-top: 0;
    }
    .service-card:nth-child(1) .service-card-image{
        height: 3.5rem!important;
    }
    .service-card:nth-child(2) {
        margin-top: 0;
    }
    .service-card:nth-child(2) .service-card-image{
        height: 5.2rem!important;
    }
    
    .service-card:nth-child(3) {
        margin-top: -1.4rem;
    }
    .service-card:nth-child(3) .service-card-image{
        height: 5.4rem!important;
    }
     .service-card:nth-child(4) {
        margin-top: 0rem;
    }
    .service-card:nth-child(4) .service-card-image{
        height: 3.3rem!important;
    }
     .service-card:nth-child(5) {
        margin-top: 0.4rem;
    }
    .service-card:nth-child(5) .service-card-image{
        height: 4.2rem!important;
    }
     .service-card:nth-child(6) {
        margin-top: -0.1rem;
    }
    .service-card:nth-child(6) .service-card-image{
        height: 4.8rem!important;
    }
  /* Customer Products Section */
  .customer-products-section {
    padding: 0.4rem 0;
  }

  .customer-product-card {
    width: 50vw;
  }

  .service-card:nth-child(4) {
    margin-top: 0.3rem;
  }

  .customer-product-image {
    height: 3rem;
  }

  .customer-products-desc {
    padding: 0.2rem 0.2rem 0 0.2rem;
  }

  .customer-products-desc-title {
    font-size: 0.24rem;
  }

  .customer-products-desc-text {
    font-size: 0.18rem;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    color: #fff;
  }

  header.scrolled .nav-links a {
    color: #fff;
  }

  .qa-btn {
    display: none;
  }

  .menu-toggle {
    display: block;
    color: #fff;
  }

  header.scrolled .menu-toggle {
    color: #262728;
  }

  .solution-footer-content {
    padding-right: 0.2rem;
    padding-left: 0.2rem;
  }

  /* Hero Section */
  .hero {
    height: 9.2rem;
    padding: 0 0.2rem;
  }
    .hero-content {
        padding: 3rem 0.4rem 0 !important;
        box-sizing: border-box;
    }
  .hero-sunto {
    font-size: 0.46rem;
    margin-top: 0.5rem;
    letter-spacing: 0.12rem;
  }

  /* Contact Section */
  .contact-section-type {
    padding: 0 0.2rem;
  }

  .contact-section {
    flex-direction: column;
    padding: 0.4rem;
    margin-top: 0.5rem;
  }

  .contact-container {
    flex-direction: column;
    gap: 0.3rem;
  }

  .contact-title-col {
    padding-right: 0;
    text-align: center;
  }

  .contact-title {
    font-size: 0.4rem;
    width: 100%;
    text-align: center;
  }

  .contact-arrow-col {
    flex: none;
    padding: 0.2rem 0;
  }

  .contact-arrow {
    width: 0.6rem;
  }

  .contact-form-col {
    padding-left: 0;
    width: 100%;
    gap: 0.2rem;
  }

  .form-row .form-input {
    margin-left: 0;
  }

  .service-process-cards {
    flex-wrap: wrap !important;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0 0.15rem;
  }

  /* OEM Intro Section */
  .oem-intro-section {
    padding: 0.3rem 0.15rem;
  }

  .oem-intro-title {
    font-size: 0.3rem;
  }

  .oem-intro-text {
    font-size: 0.20rem;
  }

  /* Service Process Section */
  .service-process-section {
    padding: 0.3rem 0.15rem;
  }

  .service-process-title {
    font-size: 0.36rem;
  }

  .solution-footer-content {
    padding-right: 0.15rem;
    padding-left: 0.15rem;
  }

  /* Contact Section */
  .contact-title {
    font-size: 0.24rem;
  }

  .form-input {
    font-size: 0.14rem;
  }

  .contact-btn {
    justify-content: center;
  }
}