.yellow-circle {
  position: absolute;
  background: radial-gradient(circle, #FADE83 0%, transparent 100%);
  border-radius: 50%;
  filter: blur(150px);
  z-index: 0;
  opacity: 0.6;
}

.about-circle-1 {
  width: 1200px;
  height: 1200px;
  top: 0;
  right: -10%;
}

.about-circle-2 {
  width: 1200px;
  height: 1200px;
  top: 32%;
  left: -30%;
}

.about-circle-3 {
  width: 1100px;
  height: 1100px;
  bottom: 5%;
  right: -8%;
  transform: translateX(-50%);
  opacity: 0.4;
}

.content {
  display: flex;
  flex-direction: column;
  padding: 0;
}

section {
  padding-bottom: 0;
}

/* FAQ content (wrapper for heading and container) */
.faq-content {
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 3.125vw 0;
}

/* FAQ container (Flexbox for columns) */
.faq-container {
  width: 100%;
  padding: 0 1.042vw;
  margin: 2.083vw auto;
  max-width: 100%;
  display: flex;
  gap: 1.563vw;
  justify-content: center;
  transition: flex-direction 0.3s ease;
}

/* FAQ column (Flexbox for stacking items) */
.faq-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.563vw;
  max-width: 36.458vw;
  min-width: 26.042vw;
}

/* Around color (wrapper for each FAQ item) */
.faq-column>.around-color-first,
.faq-column>.around-color {
  position: relative;
  width: 100%;
  border-radius: 1.302vw;
  margin-bottom: 1.302vw;
}

.faq-container>.around-color-first,
.faq-container>.around-color {
  border: 0.052vw solid transparent;
}

.faq-container>.faq-column>.around-color-first::before,
.faq-container>.faq-column>.around-color::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(to bottom, #fade83, #8b632900);
  border-radius: 30px;
  z-index: -1;
  opacity: 0.9;
}

/* FAQ item styling */
.faq-item {
  position: relative;
  background-color: #201E27;
  border-radius: 30px;
  width: 100%;
  max-width: 38vw;
  aspect-ratio: 10/1.5;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  border: none;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin: auto;
  overflow: hidden;
  box-shadow: 0.0vw 0.0vw 0.5208vw 0.0vw #fade8366;

}

/* FAQ header (question and plus icon) */
.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 38vw;
  padding: 0.8vw 1.5vw;
  box-sizing: border-box;
  border-radius: 20px 20px 0 0;
  /* Bo góc trên, không bo góc dưới */
  margin: auto;
  min-height: 6vw;
  border: 1px solid transparent;

  flex-shrink: 0;
}

/* FAQ answer (collapsible content) */
.faq-answer {
  overflow: hidden;
  font-size: 0.729vw;
  line-height: 1.5;
  color: #fff;
  padding: 1.042vw;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, padding 0.3s ease;
}

/* Add border to faq-answer when expanded */
.faq-answer.active {

  opacity: 1;
  height: 100%;
  transform: translateY(0);
}

.faq-answer p {
  text-align: justify;
}

.faq-item:has(.faq-answer.active) .faq-header {
  border: 1px solid #fade83;
  border-radius: 30px;
}


.plus-icon {
  font-size: 1.042vw;
  font-weight: bold;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);

}

.plus-icon.active {
  transform: rotate(45deg);
}

/* Hiệu ứng hover cho FAQ item */
.faq-item:hover::before {
  opacity: 0.9;
}

/* Style cho FAQ item khi mở */
.faq-item:has(.faq-answer.active) {
  background-color: #201E27;
  border-bottom: 1px solid #fade8333;
}

.faq-item:has(.faq-answer.active)::before {
  opacity: 0.9;
}


/* FAQ header text */
.faq-header>span:nth-child(1) {
  font-size: 0.938vw;
  color: #fff;
  font-weight: var(--fw-regular);
  padding: 0.104vw;
  text-align: left;
  margin-left: 0.521vw;
  margin-right: 0.521vw;
}

.faq-item span {
  font-size: 1.938vw;
  color: #fff;
}

/* Industries section styling */
.industries {
  margin: auto;
  margin-top: 30px;
  display: grid;
  align-items: center;
  justify-content: center;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  transition: all  0.3s ease-in;
}

.card {
  position: relative;
  background-color: #1a1a1a;
  /* Màu nền cho card */
  border-radius: 30px;
  width: 100%;
  /* height: 100%; */
  max-width: 15.625vw;
  margin-top: 4.5625vw;
  margin-bottom: 4.5625vw;
  margin-left: 3.5625vw;
  margin-right: 3.5625vw;
  transition: all 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Tạo hiệu ứng viền gradient */
.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, #fade83, #8b632900, #fade83);
  border-radius: 30px;
  z-index: -1;
}

/* Lớp phủ bên trong để che phần thừa */
.card::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 30px;
  background: #fade8333;
  z-index: -1;
  opacity: 0.7;
  filter: blur(10px);
}

/* Icon styling */
.icon {
  margin-bottom: 20px;
}

.card>.icon>img {
  margin-top: 30px;
  width: auto;
  height: auto;
}

/* Card title styling */
.card h2 {
  font-size: 1.25vw;
  color: #fff;

  margin-bottom: 10px;
  text-align: center;
  font-weight: bold;
}

.card>span {
  margin-top: 20px;
  font-size: 0.625vw;
  color: #AEAEAE;
  line-height: 1.5;
  text-align: center;
  padding: 0 20px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {

  .content {
    padding-top: 5.208vw;
  }

  .faq-container {
    flex-direction: column;
    align-items: center;
  }
.faq-content h2 {
  font-size: 3.0833vw;
}
  .faq-item .faq-header .plus-icon {
    font-size: 2.938vw;
  }

  .faq-column {
    max-width: 80vw;
    /* Increase width for mobile */
    min-width: 70vw;
  }

  .faq-column>.around-color-first {
    margin-bottom: 2.302vw;
  }

  .faq-item {
    max-width: 78vw;
    /* Adjust for mobile */

  }

  .faq-header {
    max-width: 78vw;
    /* Match the FAQ item's max-width */
    min-height: 10vw;
    /* Larger height for mobile */
    padding: 1vw 2vw;
  }

  .faq-header>span:nth-child(1) {
    font-size: 2vw;
    color: #fff;
    font-weight: var(--fw-regular);
    padding: 1.104vw;
    text-align: left;
    /* Already set to left, but we'll confirm */
    margin-left: 0.521vw;
    margin-right: 0.521vw;
  }

  .faq-answer {
    font-size: 2vw;
  }

  .faq-answer.active {
    padding: 2vw;
  }

  .industries .card span {
    max-height: 0;
    overflow-y: auto;
    /* Thêm thanh cuộn nếu nội dung quá dài */
    margin-top: 20px;
    font-size: 12px;
    color: #aeaeae;
    line-height: 1.5;
    text-align: center;
    padding: 0 20px;
    margin-bottom: 20px;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    max-width: 100%;
    word-break: break-all;
  }

  .industries {
    gap: 20px;
    margin: 0;
  }


  .industries .card span {
    display: none;
  }

  .card {

    max-height: 23.83vw;
    max-width: 23.625vw;
  }

  .card .icon {
    margin: 0;

  }

  .card h2 {
    margin-bottom: auto;
    margin: 0 0 10px 0;
  }

  .card>.icon>img {
    margin-top: 20px;
    width: auto;
    height: 3.59vh;
  }
}