/* FAQ SECTION */

.faq-section {
  
  
  display: flex;               /* added */
  justify-content: center;     /* horizontally centre */
  align-items: center;         /* vertically centre */
  padding: 40px 20px;
}

.faq-container {
  max-width: 800px;
  width: 100%;
  padding: 0 20px;
  text-align: left;          /* optional: centre text inside FAQ */
}
.faq-question {
  transition: color 0.2s ease;
}

.faq-title {
  font-size: 29px;
  margin-bottom: 20px;
  text-align: center;
}

.faq-subtitle {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  text-align: center;
  justify-self: center;
  background-color: #fa64003c;
  width: fit-content;
  padding: 5px;
  color: #fa6400bd;
  border-radius: 7px;
    display: block;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  margin-bottom: 15px;
  width: 100%;
  display: block;
}

.faq-question {
  background: none;
  border: none;
  padding: 12px 15px;
  width: 100%;
  font-size: 18px;
  cursor: pointer;
  position: relative;
color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  text-align: left;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease;
  padding: 0 15px;
}

.faq-item.open .faq-answer {
  padding: 12px 15px;
}
.faq-question .faq-icon {
  transition: transform 0.25s ease;
}

.faq-item:hover .faq-question {
  color: grey;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.faq-item.open .faq-question .faq-icon {
  transform: rotate(45deg);
}

.faq-cta-btn {
  display: block;
  width: fit-content;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 400;
  border: 2px solid var(--color-primary);
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  margin-top: 20px;
  background-color: #00000000;
  color: var(--color-primary);
  padding: 10px 20px;
  font-size: 14px;
  margin-left: auto;
  margin-right: auto;
}

.faq-cta-btn:hover,
.faq-cta-btn:focus-visible {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-light-text);
}
