/* style/faq.css */
.page-faq {
  background-color: #FFFFFF;
  color: #000000; /* Dark text for light background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  gap: 40px;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF; /* Light text for dark background */
}

.page-faq__hero-content {
  max-width: 900px;
}

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

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

.page-faq__hero-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;
  margin: 0 10px;
}

.page-faq__hero-button--register {
  background-color: #FFFFFF; /* Custom color for Register */
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-faq__hero-button--register:hover {
  background-color: #FCBC45;
  border-color: #FCBC45;
  color: #000000;
}

.page-faq__hero-button--login {
  background-color: #FCBC45; /* Custom color for Login */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-faq__hero-button--login:hover {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000;
}

.page-faq__hero-image {
  width: 100%;
  max-width: 1000px; /* Adjust max-width for image display */
}

.page-faq__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.page-faq__categories-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.page-faq__categories-title {
  font-size: 2.2em;
  margin-bottom: 40px;
  font-weight: bold;
  color: #000000;
}

.page-faq__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-faq__category-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-faq__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-faq__category-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistent card image display */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-faq__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #000000;
}

.page-faq__card-title a {
  color: #000000;
  text-decoration: none;
}

.page-faq__card-title a:hover {
  color: #FCBC45;
}

.page-faq__card-description {
  font-size: 1em;
  line-height: 1.5;
  color: #333333;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-faq__card-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-faq__card-button:hover {
  background-color: #e0a53a;
}

.page-faq__general-questions {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}

.page-faq__general-questions-title {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  color: #000000;
}

.page-faq__accordion-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-faq__accordion-header {
  background-color: #f9f9f9;
  color: #000000;
  padding: 20px 25px;
  width: 100%;
  text-align: left;
  font-size: 1.15em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  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 25px;
  background-color: #FFFFFF;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.page-faq__accordion-content p {
  padding: 20px 0;
  line-height: 1.6;
  font-size: 1em;
  color: #333333;
}

.page-faq__accordion-content a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-faq__accordion-content a:hover {
  text-decoration: underline;
}

.page-faq__contact-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 80px auto;
  padding: 40px 20px;
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF; /* Light text for dark background */
  border-radius: 10px;
  text-align: center;
}

.page-faq__contact-content {
  max-width: 800px;
}

.page-faq__contact-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-faq__contact-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-faq__contact-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;
  margin: 0 10px;
}

.page-faq__contact-button:first-of-type {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-faq__contact-button:first-of-type:hover {
  background-color: #FCBC45;
  border-color: #FCBC45;
  color: #000000;
}

.page-faq__contact-button--register {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-faq__contact-button--register:hover {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000;
}

.page-faq__contact-image {
  width: 100%;
  max-width: 600px;
}

.page-faq__contact-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-faq__hero-title {
    font-size: 2.5em;
  }
  .page-faq__categories-title,
  .page-faq__general-questions-title,
  .page-faq__contact-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    flex-direction: column;
    padding: 40px 15px;
  }
  .page-faq__hero-title {
    font-size: 2em;
  }
  .page-faq__hero-description {
    font-size: 1em;
  }
  .page-faq__hero-button {
    width: 100%;
    margin-bottom: 15px;
  }
  .page-faq__hero-button--login {
    margin-left: 0;
  }

  .page-faq__categories-section,
  .page-faq__general-questions,
  .page-faq__contact-cta {
    margin: 40px auto;
    padding: 0 15px;
  }
  .page-faq__categories-title,
  .page-faq__general-questions-title,
  .page-faq__contact-title {
    font-size: 1.8em;
  }
  .page-faq__category-grid {
    grid-template-columns: 1fr;
  }
  .page-faq__category-card img {
    height: 200px;
    min-width: 200px;
    min-height: 200px;
  }
  .page-faq__card-title {
    font-size: 1.3em;
  }
  .page-faq__accordion-header {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-faq__accordion-content p {
    padding: 15px 0;
  }
  .page-faq__contact-cta {
    flex-direction: column;
    padding: 30px 15px;
  }
  .page-faq__contact-button {
    width: 100%;
    margin-bottom: 15px;
  }
  .page-faq__contact-button--register {
    margin-left: 0;
  }
  /* Mobile content area images must not overflow */
  .page-faq img {
    max-width: 100%;
    height: auto;
  }
  .page-faq__hero-image img,
  .page-faq__contact-image img {
    width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px; /* Ensure images are not too small */
  }
}

@media (max-width: 480px) {
  .page-faq__hero-title {
    font-size: 1.8em;
  }
  .page-faq__categories-title,
  .page-faq__general-questions-title,
  .page-faq__contact-title {
    font-size: 1.5em;
  }
  .page-faq__hero-button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-faq__contact-button {
    font-size: 1em;
    padding: 12px 25px;
  }
}

/* Ensure all images in content sections meet minimum size */
.page-faq img {
  min-width: 200px;
  min-height: 200px;
}

/* Ensure no filter is used on images */
.page-faq img {
  filter: none; /* Explicitly disable any filter */
}