.faq {
    background-image: url('/images/WhoWeAre/background.jpg');
    background-size: cover;
    background-position: center;
    width: 100%;
    padding: 50px 0;
}
.faq-container {
    max-width: 800px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(239, 239, 239, 0.91);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.faq-item {
    width: 100%;
    max-width: 800px;
    margin-top: 10px;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    cursor: pointer;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s;
}

.faq-item.open .faq-question {
    color: #345a96;
}

.faq-answer {
    height: 0;
    overflow: hidden;
    margin-top: 10px;
    font-size: 16px;
    color: #555;
    transition: height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    height: auto;
}


/* ========== Tablet & iPad (≤1024px) ========== */
@media (max-width: 1024px) {
  .faq {
    padding: 40px 0 !important;
  }
  .faq-container {
    max-width: 90% !important;
    width: auto !important;
    padding: 25px !important;
    border-radius: 8px !important;
  }
  .faq-container h1 {
    font-size: 2rem !important;
    margin-bottom: 20px !important;
    text-align: center !important;
  }
  .faq-item {
    width: 100% !important;
    margin-bottom: 16px !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid #ccc !important;
  }
  .faq-question {
    font-size: 1.4rem !important;
    line-height: 1.3 !important;
  }
  .faq-question .toggle-sign {
    font-size: 1.4rem !important;
  }
  .faq-answer {
    font-size: 1rem !important;
    margin-top: 10px !important;
    padding-left: 8px !important;
  }
}


@media (max-width: 768px) {
  .faq {
    padding: 30px 0 !important;
  }
  .faq-container {
    max-width: 100% !important;
    padding: 20px !important;
    border-radius: 6px !important;
    margin: 10px;
  }
  .faq-container h1 {
    font-size: 1.75rem !important;
    margin-bottom: 16px !important;
  }
  .faq-item {
    padding: 10px 14px !important;
    margin-bottom: 12px !important;
  }
  .faq-question {
    font-size: 1.2rem !important;
  }
  .faq-question .toggle-sign {
    font-size: 1.2rem !important;
  }
  .faq-answer {
    font-size: 0.95rem !important;
    margin-top: 8px !important;
    padding-left: 6px !important;
    line-height: 1.6 !important;
  }
}

