.page-faq {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-faq__hero-section {
  background-color: #000000; /* Main color for hero background */
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  padding-bottom: 60px;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-faq__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
}

.page-faq__hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-faq__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-faq__hero-description {
  font-size: 1.3rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.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.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  border: none;
}

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

.page-faq__button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

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

.page-faq__button--login:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

.page-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #FFFFFF; /* Background color */
}

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

.page-faq__section-intro {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-faq__faq-category {
  margin-bottom: 40px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-faq__category-title {
  font-size: 2rem;
  color: #FFFFFF;
  background-color: #000000;
  padding: 20px 30px;
  margin: 0;
  border-bottom: 1px solid #1a1a1a;
}

.page-faq__faq-list {
  background-color: #f9f9f9;
}

.page-faq__faq-item {
  border-bottom: 1px solid #eee;
}

.page-faq__faq-item:last-child {
  border-bottom: none;
}

.page-faq__faq-question {
  background-color: #FFFFFF;
  color: #000000;
  padding: 20px 30px;
  width: 100%;
  text-align: left;
  border: none;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-faq__faq-question:hover {
  background-color: #f0f0f0;
}

.page-faq__faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.page-faq__faq-question[aria-expanded="true"]::after {
  content: '-';
  transform: rotate(0deg);
}

.page-faq__faq-answer {
  padding: 20px 30px;
  background-color: #fcfcfc;
  color: #444444;
  font-size: 1.05rem;
  line-height: 1.8;
}

.page-faq__faq-answer p {
  margin-bottom: 15px;
}

.page-faq__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-faq__button--small {
  padding: 10px 20px;
  font-size: 0.95rem;
  margin-top: 15px;
  border-radius: 5px;
  background-color: #000000;
  color: #FFFFFF;
  border: 1px solid #000000;
}

.page-faq__button--small:hover {
  background-color: #333333;
  color: #FFFFFF;
  transform: translateY(-1px);
}

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

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

.page-faq__cta-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #FCBC45;
}

.page-faq__cta-description {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-faq__button--primary {
  background-color: #FCBC45;
  color: #000000;
  margin-right: 15px;
}

.page-faq__button--primary:hover {
  background-color: #e0a53a;
}

.page-faq__button--secondary {
  background-color: #FFFFFF;
  color: #000000;
}

.page-faq__button--secondary:hover {
  background-color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-faq__hero-title {
    font-size: 3rem;
  }
  .page-faq__section-title {
    font-size: 2.5rem;
  }
  .page-faq__category-title {
    font-size: 1.8rem;
  }
  .page-faq__cta-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
    padding-bottom: 40px;
  }
  .page-faq__hero-title {
    font-size: 2.5rem;
  }
  .page-faq__hero-description {
    font-size: 1rem;
  }
  .page-faq__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq__button {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-faq__content-area {
    padding: 40px 15px;
  }
  .page-faq__section-title {
    font-size: 2.2rem;
  }
  .page-faq__section-intro {
    font-size: 1rem;
  }
  .page-faq__category-title {
    font-size: 1.5rem;
    padding: 15px 20px;
  }
  .page-faq__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }
  .page-faq__faq-answer {
    font-size: 0.95rem;
    padding: 15px 20px;
  }
  .page-faq__cta-title {
    font-size: 1.8rem;
  }
  .page-faq__cta-description {
    font-size: 1.05rem;
  }
  .page-faq__button--primary, .page-faq__button--secondary {
    width: 80%;
    max-width: 300px;
    margin: 10px auto;
  }
  .page-faq__button--primary {
    margin-right: auto; /* Override margin-right for stacking */
  }
  /* Mobile content area image responsiveness */
  .page-faq img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-title {
    font-size: 2rem;
  }
  .page-faq__hero-description {
    font-size: 0.9rem;
  }
  .page-faq__section-title {
    font-size: 1.8rem;
  }
  .page-faq__category-title {
    font-size: 1.3rem;
  }
  .page-faq__faq-question {
    font-size: 1rem;
  }
  .page-faq__cta-title {
    font-size: 1.5rem;
  }
}