

.what-we-do-content-container {
  max-width: 100%;
  width: 100%;
  padding: 0 29px;
}

/* Ensure body text is readable over video background */
.body-text-over-video {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.7);
}

.body-text-over-video p {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.7);
}

/* Ensure links are readable but maintain their color */
.body-text-over-video a {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* Other elements inherit white color */
.body-text-over-video *:not(a) {
  color: inherit;
}

.accordion-section {
  margin-top: 174px;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-bottom: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 60px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
}

.accordion-icon {
  transition: transform 0.3s ease-in-out;
  max-width: 24px;
}

.accordion-item.active .accordion-icon {
  display: inline-block;
  transform: rotate(180deg);
}

.accordion-item .accordion-title {
  font-size: 40px;
  line-height: 80%;
  max-width: 90%;
}

.accordion-item.active .accordion-title {
  font-size: 40px;
  transition: margin-left 0.3s ease-out;
}

.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease-in-out;
}

.accordion-item.active .accordion-content {
  grid-template-rows: 1fr;
  padding-bottom: 44px;
}

.accordion-content-inner {
  overflow: hidden;
}

.accordion-content-inner p {
  font-size: 20px;
  line-height: 1.5;
  color: #fff;
  padding-top: 2px;
}

.tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 23px;
}

.tag {
  background-color: #5ac8b4;
  padding: 4px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: black;
}

span.tag {
  position: relative;
  z-index: 1;
  transition: background-color 0.1s ease;
}

span.tag::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -10px;
  bottom: -50px;
  left: -10px;
  z-index: -1;
}

/* span.tag:hover {
  background-color: #ffffff;
  cursor: pointer;
} */

@media (min-width: 769px) {
  .what-we-do-content-container {
    max-width: 1246px;
    width: 100%;
    margin: 0 auto;
    margin-top: 77px !important;
  }

  .accordion-section {
    margin-top: 102px;
  }

  .accordion-item.active .accordion-title {
    font-size: 100px;
    margin-left: calc((100% - 100vw) / 2);
  }

  .accordion-item .accordion-title {
    font-size: 60px;
  }

  .accordion-icon {
    max-width: 48px;
  }

  .accordion-content-inner p {
    font-size: 23px;
    color: #fff;
  }

  .tag {
    padding: 8px 10px;
    font-size: 20px;
  }

  .accordion-item.active .accordion-content {
    padding-bottom: 49px;
  }

  .tag-container {
    gap: 27px;
    margin-top: 33px;
    margin-bottom: 40px;
  }

  .accordion-header {
    padding-bottom: 52px;
  }
}

.strategy-button {
  position: relative; /* Bắt buộc để định vị cho các lớp giả */
  border: 1px solid #45D0B8; /* Thay bằng màu viền bạn muốn */
  background-color: #45D0B8; /* Thay bằng màu nền gốc bạn muốn */
  padding: 10px 20px;
  color: rgb(10, 10, 10);
  cursor: pointer;
  overflow: hidden; /* Giấu các lớp giả khi chưa kích hoạt */
  /* transition: color 0.3s ease; */
}

/* Lớp nền trắng giả, ban đầu bị ẩn */
.strategy-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 1; /* Nằm dưới chữ nhưng trên nền gốc */
  opacity: 0;
  /* transition: opacity 0.3s ease; */
}

/* Bọc chữ để đảm bảo nó luôn nằm trên lớp nền giả */
.strategy-button span {
  position: relative;
  z-index: 2;
}

/* Class này sẽ được JS thêm vào để kích hoạt hiệu ứng */
.strategy-button.hover-effect-active::before {
  opacity: 1; /* Hiện lớp nền trắng giả */
}

.strategy-button.hover-effect-active span {
  color: black; /* Đổi màu chữ thành đen */
}

.what-we-do-content-container { margin-top: 77px !important; }
