/* 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;
}

/* Q&A Section */
.qa-section {
  padding: 0.6rem 0.8rem;
  margin: 0 auto;
}

.qa-title {
  font-size: 0.72rem;
  font-weight: bold;
  color: #2c60e2;
  text-align: center;
  margin-bottom: 0.4rem;
}

.qa-container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.qa-item {
  border-bottom: 0.01rem solid #e0e0e0;
}

.qa-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.15rem 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.qa-header:hover {
  background-color: rgba(44, 96, 226, 0.05);
}

.qa-question {
  font-size: 0.24rem;
  font-weight: 500;
  color: #333;
  flex: 1;
  padding-right: 0.2rem;
}

.qa-toggle {
  width: 0.44rem;
  height: 0.44rem;
  border: 0.02rem solid #666;
  border-radius: 50%;
  background: transparent;
  color: #666;
  font-size: 0.2rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

/* .qa-toggle:hover {
  background-color: #2c60e2;
  color: #fff;
} */

.qa-content {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease;
  opacity: 0;
}

.qa-content.active {
  max-height: 5rem;
  opacity: 1;
}

.qa-content p {
  padding: 0 0 0.15rem 0;
}

.qa-content p {
  font-size: 0.18rem;
  color: #666;
  line-height: 1.8;
  margin: 0;
}

.qa-expand-all {
  text-align: center;
  margin-top: 0.3rem;
}

.expand-btn {
  background: none;
  border: none;
  color: #2c60e2;
  font-size: 0.24rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.05rem;
  margin: 0 auto;
  transition: color 0.3s ease;
}

.expand-btn:hover {
  color: #1a4dc0;
}

/* 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;
  }

  .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: 5.2rem;
    padding: 0 0.2rem;
  }

  .hero-sunto {
    font-size: 0.7rem;
    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;
  }

  .qa-section {
    padding: 0.5rem 0.2rem;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0 0.15rem;
  }

  .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;
  }
}