/* 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;
}

/* Customized Section */
.customized-section {
  padding: 0.8rem;
  background: transparent;
  position: relative;
  z-index: 2;
}

.customized-container {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  max-width: 14rem;
  margin: 0 auto;
}

.customized-image {
  flex: 1;
  border-radius: 0.15rem;
  overflow: hidden;
}

.customized-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

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

.customized-content {
  flex: 1;
  padding: 0.2rem 0;
}

.customized-title {
  font-size: 0.48rem;
  font-weight: bold;
  color: #1976d2;
  margin-bottom: 0.2rem;
}

.customized-text {
  font-size: 0.2rem;
  line-height: 1.8;
  color: #000;
  margin: 0;
}

/* Core Capabilities Section */
.core-capabilities-section {
  padding: 0.8rem;
}

.capabilities-container {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.capabilities-title {
  font-size: 0.36rem;
  font-weight: bold;
  color: #2c60e2;
  text-align: left;
  margin-bottom: 0.2rem;
}

.capabilities-content {
  display: flex;
  gap: 0.22rem;
  width: 100%;
  align-items: stretch;
  height: 7.3rem;
}

/* Capability Module */
.capability-module {
  position: relative;
  border-radius: 0.2rem;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
}

.capability-module.expanded {
  flex: 5;
}

.capability-module.collapsed {
  flex: 5;
  /*width: 1.55rem;*/
}

.capability-module.collapsed::before {
  content: "";
  position: absolute;
  top: 0.12rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0.12rem;
  height: 0.12rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  z-index: 2;
  box-shadow: 0 0 0 0.03rem rgba(255, 255, 255, 0.3);
}

.module-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.module-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.capability-module.collapsed .module-bg {
  filter: blur(0.08rem);
}

.capability-module.collapsed .module-bg-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.module-content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.capability-module.collapsed .module-content {
  z-index: 3;
}

/* Expanded State */
.capability-module.expanded .module-card {
  display: block;
  position: absolute;
  top: 12%;
  right: 5%;
  left: 5%;
  bottom: 10%;
  background: #ffffff;
  border-radius: 0.15rem;
  padding: 0.32rem;
  box-sizing: border-box;
  /*width: 55%;*/
  max-width: 6.8rem;
  height: 5rem;
  box-shadow: 0 0.08rem 0.3rem rgba(0, 0, 0, 0.12);
  overflow: auto;
}

.capability-module.expanded .module-label {
  display: none;
}

/* Collapsed State */
.capability-module.collapsed .module-card {
  display: none;
}

.capability-module.collapsed .module-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Module 2 Background */
.capability-module.module-2 .module-bg-wrapper {
  background: linear-gradient(180deg, #2c60e2 0%, #1e4bb5 50%, #163f9d 100%);
}

/* Module 3 Background */
.capability-module.module-3 .module-bg-wrapper {
  background: linear-gradient(180deg,
      rgba(180, 205, 255, 0.95) 0%,
      rgba(160, 190, 250, 0.85) 50%,
      rgba(140, 175, 245, 0.75) 100%);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.2rem;
}

.card-title {
  font-size: 0.3rem;
  font-weight: bold;
  color: #333;
  margin: 0;
}

.card-body {
  display: block;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.list-item {
  display: flex;
  flex-direction: column;
  gap: 0.06rem;
}

.item-number {
  font-weight: bold;
  color: #2c60e2;
  font-size: 0.18rem !important;
}

.item-label {
  font-weight: 600;
  color: #333;
  font-size: 0.14rem;
}

.item-text {
  color: #666;
  font-size: 0.16rem !important;
  line-height: 1.6;
  margin: 0;
  /* padding-left: 0.15rem; */
}

/* Vertical Label for Collapsed Modules */
.label-text {
  font-size: 0.24rem;
  font-weight: 600;
  color: #ffffff;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.008rem;
  text-align: center;
  line-height: 2.4;
}

.capability-module.module-3 .label-text {
  color: rgba(255, 255, 255, 0.98);
}

/* Hover Effect */
.capability-module.collapsed:hover {
  flex: 1.2;
}

/* Whole-Process Dedicated Service Section */
.service-process-section {
  padding: 0.8rem;
  background: linear-gradient(135deg,
      rgba(240, 247, 255, 0.8) 0%,
      rgba(220, 235, 255, 0.6) 100%);
}

.service-container {
  margin: 0 auto;
}

.service-title {
  font-size: 0.36rem;
  font-weight: bold;
  color: #2c60e2;
  text-align: left;
  margin-bottom: 0.5rem;
  display: block;
  visibility: visible;
  opacity: 1;
  position: relative;
  z-index: 10;
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap:1rem 2.6rem;
  position: relative;
  justify-items: start;
  align-items: start;
  justify-content: start;
  width: 100%;
  margin: 0 auto;
}

.process-step {
  background: transparent;
  border-radius: 0.15rem;
  padding-top: 0.2rem;
  transition: transform 0.3s ease;
  box-sizing: border-box;
  width: 100%;
  max-width: 3.85rem;
}

.process-step:hover {
  transform: translateY(-0.05rem);
}

.step-icon {
  width: 0.5rem;
  height: 0.5rem;
  background: #d2f0fe;
  border-radius: 0.12rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.2rem;
  flex-shrink: 0;
}

.step-icon img {
  width: 0.3rem;
  height: 0.3rem;
  object-fit: contain;
}

.step-title {
  font-size: 0.24rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.12rem;
  line-height: 1.4;
  min-height: 0.55rem;
}

.step-description {
  font-size: 0.18rem !important;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0.2rem;
  min-height: 0.624rem;
}

.step-image {
  width: 100%;
  height: 1.95rem;
  object-fit: cover;
  border-radius: 0.1rem;
}

/* Step positions */
.step-1 {
  grid-column: 1;
  grid-row: 1;
}

.step-2 {
  grid-column: 2;
  grid-row: 1;
}

.step-3 {
  grid-column: 3;
  grid-row: 1;
}

.step-4 {
  grid-column: 3;
  grid-row: 2;
}

.step-5 {
  grid-column: 2;
  grid-row: 2;
}

/* Arrows */
.arrow {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  width: 0.77rem;
  height: 0.57rem;
}

.arrow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Arrow 1: between step-1 and step-2 */
.process-flow .arrow:nth-child(2) {
  top: 2.4rem;
  left: calc(27%);
}

/* Arrow 2: between step-2 and step-3 */
.process-flow .arrow:nth-child(4) {
  top: 2.4rem;
  left: calc(64%);
}

/* Arrow 3: down from step-3 to step-4 */
.process-flow .arrow:nth-child(6) {
  top: 5rem;
  left: calc(84%);
  transform: rotate(90deg);
}

/* Arrow 4: left from step-4 to step-5 */
.process-flow .arrow:nth-child(8) {
  top: 7.6rem;
  left: calc(64%);
  transform: rotate(180deg);
}

/* Value-Added Optimization Services Section */
.value-added-services-section {
  width: 100%;
  padding: 0.6rem 0.8rem;
  display: block;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.services-container {
  margin: 0 auto;
  display: block;
  position: relative;
}

.services-title {
  font-size: 0.36rem;
  font-weight: bold;
  color: #2c60e2;
  text-align: left;
  margin-bottom: 0.3rem;
  display: block;
  visibility: visible;
  opacity: 1;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.3rem;
  position: relative;
}

.service-card {
  background: #ffffff;
  border-radius: 0.1rem;
  box-shadow: 0 0.04rem 0.2rem rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: block;
  position: relative;
}

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

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

.card-content {
  padding: 0.2rem;
  display: block;
}

.card-title {
  font-size: 0.3rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.15rem;
  display: block;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.list-item {
  display: flex;
  gap: 0.05rem;
  line-height: 1.6;
}

.item-number {
  font-weight: bold;
  color: #333;
  flex-shrink: 0;
}

.item-text {
  color: #666;
  /*font-size: 0.13rem;*/
}

/* Our Advantages Section */
.our-advantages-section {
  width: 100%;
  height: 100vh;
  min-height: 6rem;
  margin-top: 0.3rem;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 100%;
}

.advantage-card {
  position: relative;
  overflow: hidden;
}

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

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

.advantage-overlay-title {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.32rem;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 0 0.02rem 0.08rem rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.advantage-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.3rem 0.2rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #ffffff;
  z-index: 2;
  text-align: center;
}

.advantage-title {
  font-size: 0.29rem;
  font-weight: bold;
  margin-bottom: 0.1rem;
}

.advantage-text {
  font-size: 0.19rem;
  line-height: 1.6;
  opacity: 0.9;
  padding-bottom: 0.3rem;
}

/* Solution Section */
.solution-section {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: transparent;
  z-index: 1;
}

.solution-footer-content {
  padding-top: 0.8rem;
  align-self: flex-start;
  width: 100%;
  padding-left: 0.8rem;
  padding-right: 0.8rem;
}

/* Contact Section */
.process-flow-mobile{
    display: none ;
}
/* 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;
  }

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

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

  .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;
  }

  .hero-sunto {
    font-size: 0.48rem;
    /*letter-spacing: 0.12rem;*/
  }

  /* Customized Section */
  .customized-section {
    padding: 0.4rem 0.2rem;
    overflow-x: hidden;
  }

  .customized-container {
    flex-direction: column;
    gap: 0.3rem;
    width: 100%;
  }

  .customized-image {
    width: 100%;
    flex: none;
  }

  .customized-content {
    width: 100%;
    flex: none;
    padding: 0.2rem;
    box-sizing: border-box;
  }

  .customized-title {
    font-size: 0.48rem;
  }

  .customized-text {
    font-size: 0.2rem;
    line-height: 1.6;
  }

  /* Value-Added Optimization Services Section */
  .value-added-services-section {
    padding: 0.4rem 0.2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .card-image {
    height: 2.5rem;
  }

  /* Core Capabilities Section */
  .core-capabilities-section {
    padding: 0.4rem 0.2rem;
  }

  .capabilities-title {
    font-size: 0.36rem;
  }

  .capabilities-content {
    flex-direction: column;
    gap: 0.2rem;
    height:20rem;
  }

  .capability-module.collapsed {
    flex: 5;
    width: 100%;
  }

  .capability-module.collapsed .module-label {
    display: none;
  }

  .capability-module.collapsed .module-bg {
    filter: unset !important;
  }

  .capability-module.collapsed .module-card {
    display: block;
    position: absolute;
    top: 10%;
    right: 5%;
    bottom: 10%;
    background: #ffffff;
    border-radius: 0.15rem;
    padding: 0.12rem;
    /*width: 55%;*/
    max-width: 5rem;
    box-shadow: 0 0.08rem 0.3rem rgba(0, 0, 0, 0.12);
    overflow: auto;
  }

  .capabilities-tags {
    flex-direction: row;
    width: 100%;
    justify-content: center;
  }

  .capability-tag {
    height: 1.2rem;
    width: 1.4rem;
  }

  .capability-tag span {
    writing-mode: horizontal-tb;
    letter-spacing: normal;
    font-size: 0.14rem;
  }

  /* 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;
  }

  .step-image{
      height: auto;
  }
  .our-advantages-section{
      height: auto; 
    min-height: auto;
  }
  .advantage-content{
      padding: 3rem 0.2rem;
  }
  /* Process mobile */
 .process-flow{
     display: none !important;
 }
 .process-flow-mobile{
     display: block !important;
 }
 .process-flow-mobile-list{
     display: flex;
        align-items: center;
        margin-bottom: 0.3rem;
 }
 .process-flow-mobile-list:nth-child(2n){
 
        flex-direction: row-reverse;
 }
 .arrow{
           position: unset;
        margin: 0 1.2rem;
 }
  .process-flow-mobile-list:nth-child(2n)  .arrow{
      transform: rotate(180deg);
 }
  /* Process end */
  .card-list p span{
      font-size: 0.2rem !important;
  }
}


@media (max-width: 480px) {
  .solution-footer-content {
    padding-right: 0.15rem;
    padding-left: 0.15rem;
  }
  
  .service-title {
      font-size: 0.36rem;
      font-weight: bold;
      color: #2c60e2;
      text-align: left;
      margin-bottom: 0rem !important;
      display: block;
      visibility: visible;
      opacity: 1;
      position: relative;
      z-index: 10;
    }
    
    .step-icon {
      width: 0.64rem !important;
      height: 0.64rem !important;
      background: #d2f0fe;
      border-radius: 0.12rem;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 0.2rem;
      flex-shrink: 0;
    }
    
    .step-icon img {
      width: 0.39rem !important;
      height: 0.39rem !important;
      object-fit: contain;
    }

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

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

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

  .service-process-section {
    padding: 0.5rem 0.2rem !important;
  }


  .advantages-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    height: 100%;
  }
}