/* 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;
  opacity: 0;
  transition: opacity 0.7s ease;
  z-index: 0;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.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.72rem;
  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;
}

.hero-tagline {
  font-size: 0.3rem;
  line-height: 0.3rem;
  font-weight: normal;
  letter-spacing: normal;
  margin-bottom: 0.45rem;
  opacity: 0.95;
  text-transform: capitalize;
}

.hero-btn {
  display: inline-block;
  width: 1.6rem;
  height: 0.45rem;
  line-height: 0.45rem;
  text-align: center;
  background: transparent;
  border: 0.02rem solid #2c60e2;
  color: #2c60e2;
  text-decoration: none;
  border-radius: 0.225rem;
  font-weight: 600;
  font-size: 0.14rem;
  letter-spacing: 0.01rem;
  transition: all 0.3s;
}

.hero-btn:hover {
  background: #2c60e2;
  color: #fff;
}

/* Products Section */
.products-section {
  position: relative;
  z-index: 2;
  padding: 0.4rem 0.8rem;
}

.products-title {
  font-size: 0.36rem;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin: 0 0 0.3rem 0;
}

.products-tabs {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

.tab-btn {
  position: relative;
  font-size: 0.3rem;
  color: #2c60e2;
  background: transparent;
  border: 0.02rem solid #2c60e2;
  border-radius: 0.3rem;
  padding: 0.1rem 0.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: #2c60e2;
  color: #fff;
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -0.12rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 0.12rem solid transparent;
  border-right: 0.12rem solid transparent;
  border-top: 0.12rem solid #2c60e2;
}

.tab-btn:hover {
  background: #2c60e2;
  color: #fff;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem;
}

.product-card {
  position: relative;
  border-radius: 0.15rem;
  overflow: hidden;
}

.product-name {
  font-size: 0.3rem;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin: 0 0 0.15rem 0;
}

.product-image-container {
  position: relative;
  width: 100%;
  border-radius: 0.15rem;
  overflow: hidden;
}

.product-bg {
  width: 100%;
  display: block;
}

.product-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-image:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.product-more-btn {
  position: absolute;
  bottom: 0.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: #2c60e2;
  color: #fff;
  border: none;
  border-radius: 0.3rem;
  padding: 0.08rem 0.2rem;
  font-size: 0.18rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.05rem;
  opacity: 0;
  visibility: hidden;
}

.product-card:hover .product-more-btn {
  opacity: 1;
  visibility: visible;
}

.product-more-btn img {
  width: 0.19rem;
  height: 0.19rem;
}

.product-more-btn:hover {
  background: #1a4a9e;
}

.product-more-btn-icon {
  position: absolute;
  bottom: 0.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  color: #2c60e2;
  background-color: #fff;
  border: none;
  box-shadow: none;
  outline: none;
  border-radius: 50%;
  width: 0.4rem;
  height: 0.4rem;
  padding: 0;
  font-size: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
}

.product-card:hover .product-more-btn-icon {
  opacity: 0;
  visibility: hidden;
}

.product-more-btn-icon img {
  width: 0.16rem;
  height: 0.16rem;
}

.product-more-btn-icon:hover {
  background: #2c60e2;
}

.product-more-btn-icon:hover img {
  filter: brightness(0) invert(1);
}

/* 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;
}

/* 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;
  }

  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: 5.2rem;
    padding: 0 0.2rem;
  }

  .hero-sunto {
    font-size: 0.7rem;
    letter-spacing: 0.12rem;
  }

  .hero-tagline {
    font-size: 0.15rem;
    letter-spacing: 0.05rem;
  }

  .products-section {
    padding: 0.4rem 0.2rem;
  }

  .products-tabs {
    flex-wrap: wrap;
    gap: 0.1rem;
  }

  .tab-btn {
    font-size: 0.18rem;
    padding: 0.08rem 0.15rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  /* 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;
  }

  /* Footer */
  .footer-container {
    flex-direction: column;
    gap: 0.4rem;
  }

  .footer-right {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0 0.15rem;
  }

  .solution-footer-content {
    padding-right: 0.15rem;
    padding-left: 0.15rem;
  }

  /* Hero Section */
  .product-title-banner {
    font-size: 0.28rem;
  }

  .product-description-banner {
    font-size: 0.14rem;
  }

  /* Contact Section */
  .contact-title {
    font-size: 0.24rem;
  }

  .form-input {
    font-size: 0.14rem;
  }

  .contact-btn {
    justify-content: center;
  }
}