.page-faq {
  color: #333333; /* Dark text for light background */
  padding-top: var(--header-offset, 120px);
}

.page-faq__hero-section {
  background-color: #f5f5f5;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-faq__hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-faq__hero-title {
  font-size: 3.5em;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-faq__hero-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-faq__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-faq__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.page-faq__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #000000;
}

.page-faq__button--register:hover {
  background-color: #e0e0e0;
  color: #000000;
}

.page-faq__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-faq__button--login:hover {
  background-color: #e6a73c;
  color: #000000;
}

.page-faq__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-faq__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-faq__section-intro {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.7;
}

.page-faq__accordion-container {
  border-top: 1px solid #e0e0e0;
}

.page-faq__accordion-item {
  border-bottom: 1px solid #e0e0e0;
  background-color: #FFFFFF;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-faq__accordion-header {
  font-size: 1.4em;
  color: #000000;
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f9f9f9;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-faq__accordion-header:hover {
  background-color: #f0f0f0;
}

.page-faq__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-faq__accordion-header.active::after {
  content: '-';
  transform: rotate(0deg);
}

.page-faq__accordion-content {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-faq__accordion-content.open {
  max-height: 1000px; /* Arbitrary large value for smooth transition */
  padding: 20px 30px 30px 30px;
}

.page-faq__accordion-content p {
  font-size: 1.05em;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 15px;
}

.page-faq__accordion-content a {
  color: #000000;
  text-decoration: underline;
  font-weight: 500;
}

.page-faq__accordion-content a:hover {
  color: #FCBC45;
}

.page-faq__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  min-width: 200px;
  min-height: 200px;
}

.page-faq__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
  border-radius: 12px;
  margin-top: 60px;
}

.page-faq__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-faq__cta-description {
  font-size: 1.1em;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 40px auto;
  color: #e0e0e0;
}

.page-faq__button--contact {
  background-color: #FCBC45;
  color: #000000;
  border: none;
}

.page-faq__button--contact:hover {
  background-color: #e6a73c;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-faq__hero-title {
    font-size: 3em;
  }
  .page-faq__section-title {
    font-size: 2.2em;
  }
  .page-faq__accordion-header {
    font-size: 1.2em;
  }
  .page-faq__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 60px 15px;
    flex-direction: column;
    gap: 30px;
  }
  .page-faq__hero-title {
    font-size: 2.5em;
  }
  .page-faq__hero-description {
    font-size: 1em;
  }
  .page-faq__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq__button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-faq__hero-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-faq__content-area {
    padding: 40px 15px;
  }
  .page-faq__section-title {
    font-size: 1.8em;
  }
  .page-faq__section-intro {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-faq__accordion-header {
    font-size: 1.1em;
    padding: 20px 25px;
  }
  .page-faq__accordion-content {
    padding: 0 25px;
  }
  .page-faq__accordion-content.open {
    padding: 15px 25px 25px 25px;
  }
  .page-faq__accordion-content p {
    font-size: 0.95em;
  }
  .page-faq__image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-faq__cta-section {
    padding: 40px 15px;
    margin-top: 40px;
  }
  .page-faq__cta-title {
    font-size: 1.8em;
  }
  .page-faq__cta-description {
    font-size: 0.95em;
  }
}