@media (max-width: 1400px) {
  .faq-container {
    max-width: 1200px;
    margin: auto;
  }
}

@media (min-width: 1401px) {
  .faq-container {
    max-width: 1600px;
    margin: auto;
  }
}

.faq-container2 {
  width: 90%;
  margin: 35px auto;
  gap: 1rem;
  padding: 0 20px;
}

h2.title2 {
  text-align: center;
  font-size: 2.25rem; /* ~36px */
  font-weight: 700;
  line-height: 150%;
  color: #141A21;
  margin-bottom: 2rem;
}

.faq-list2 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item2 {
  border: none;
  border-radius: 0.75rem; /* ~12px */
  background-color: transparent;
  overflow: hidden;
  width: 100%;
  transition: all 0.3s ease;
}

.faq-item2.active {
  border: 1px solid #265BAA;
  background-color: #ECECF7;
  height: 100%;
}

.faq-question2 {
  width: 100%;
  background: none;
  border: none;
  padding: 1rem 1.25rem;
  font-size: 1.25rem; /* ~20px */
  font-weight: 500;
  line-height: 150%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* Changed from center to flex-start */
  cursor: pointer;
  text-align: left;
  color: #333;
  gap: 1rem; /* Added gap for consistent spacing */
}

.faq-question2 h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0;
  line-height: 150%;
  color: #2F2F2F;
  flex: 1; /* Allow h3 to take available space */
}

.faq-item2.active h3 {
  font-weight: 700;
}

.faq-answer2 {
  padding: 0 1.25rem 1rem;
  display: none;
  height: 100%;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: #3E3E3E;
}

.faq-answer2 p {
  font-size: 1rem; /* ~16px */
  color: #555;
  line-height: 150%;
  font-weight: 400;
  margin: 0;
}

.faq-item2.active .faq-answer2 {
  display: block;
}

.arrow2 {
  transition: transform 0.3s ease;
  display: inline-block;
  width: 12px;  /* Fixed width */
  height: 12px; /* Fixed height */
  border-top: 2px solid #265BAA;
  border-right: 2px solid #265BAA;
  transform: rotate(45deg);
  flex-shrink: 0; /* Prevent shrinking */
  margin-top: 0.125rem; /* Slight top margin for better alignment */
}

.faq-item2.active .arrow2 {
  transform: rotate(137deg);
}

@media (max-width: 600px) {
  .faq-question2 {
    font-size: 0.875rem;
    padding: 0.875rem 1rem;
    align-items: flex-start; /* Ensure consistent alignment on mobile */
    gap: 0.75rem; /* Slightly smaller gap on mobile */
  }

  .faq-question2 h3 {
    font-size: 18px;
  }

  .faq-answer2 {
    padding: 0 1rem 0.875rem;
  }

  .faq-answer2 p {
    font-size: 0.8125rem;
  }

  h2.title2 {
    text-align: start;
  }

  .arrow2 {
    width: 10px;  /* Slightly smaller on mobile */
    height: 10px;
    margin-top: 0.25rem; /* Adjust top margin for mobile */
    align-self: center;
  }
}