.section-parent-child-1 {
  padding: 100px 0px 50px 0px !important;
}

.section-parent-child-1 .col-inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.section-parent-child-1 .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-parent-child-1 .wrap h1,
.section-parent-child-1 .wrap .t-lang {
  width: auto;
}

.section-parent-child-1 .wrap .t-lang {
  flex: none !important; /* Keeps the Chinese text from stretching */
}

.section-parent-child-1 .col-inner .img {
  margin-bottom: 0px !important;
  border-radius: 16px;
  box-shadow: 0px 24px 70px 0px #2a332817;
  overflow: hidden;
}

.section-parent-child-2 {
  padding: 50px 0px 50px 0px !important;
}

.section-parent-child-2 .item .col-inner {
  padding: 16px 8px;
  background-image: url("../../img/card.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 378px;
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-parent-child-2 .item .text,
.section-parent-child-2 .item h3 {
  color: #2a3328;
  font-family: "Montserrat", sans-serif;
  padding: 0px 8px;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 40px;
}

.section-parent-child-2 .item .text {
  margin-top: 11px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-parent-child-2 .item .col-inner::before {
  content: "";
  position: absolute;
  top: 16px;
  right: 8px;
  bottom: 16px;
  left: 8px;
  border: 7px solid #fff;
  pointer-events: none;
  opacity: 0.63;
}

@media (max-width: 1024px) {
  .section-parent-child-1 {
    padding: 50px 0px 25px 0px !important;
  }
  .section-parent-child-2 {
    padding: 25px 0px 25px 0px !important;
  }
  .section-parent-child-1 .wrap {
    flex-wrap: nowrap; /* Forces them to stay side-by-side on mobile */
  }
  .section-parent-child-1 .col-inner {
    gap: 30px;
  }
}

@media (max-width: 992px) {
  .section-parent-child-2 .row {
    row-gap: 30px;
  }
}

@media (max-width: 567px) {
  .section-parent-child-1 .wrap .t-lang {
    max-width: 110px; /* Constrains the stacked characters */
  }
  
  .section-parent-child-1 .wrap h1 {
    flex: 1; /* Allows the English text to take remaining space and wrap normally */
  }
}
