/* style/faq.css */
.page-faq {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  background-color: #f8f8f8;
}

.page-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #FFD700, #8B0000);
  color: #ffffff;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
  min-height: 450px;
}

.page-faq__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-faq__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

.page-faq__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-faq__hero-cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__hero-cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-faq__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-faq__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-faq__accordion-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-faq__section-header {
  text-align: center;
  margin-bottom: 30px;
}

.page-faq__section-title {
  font-size: 2.2em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-faq__section-description {
  font-size: 1.1em;
  color: #555555;
  max-width: 800px;
  margin: 0 auto;
}

.page-faq__accordion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-faq__accordion-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.page-faq__accordion-item:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-faq__accordion-question {
  display: block;
  padding: 20px;
  background-color: #FFD700;
  color: #8B0000;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  border-bottom: 1px solid #e0c500;
  transition: background-color 0.3s ease;
}

.page-faq__accordion-question h3 {
  margin: 0;
  color: #8B0000;
  font-size: 1em;
}

.page-faq__accordion-question:hover {
  background-color: #e6c200;
}

.page-faq__accordion-answer {
  padding: 20px;
  background-color: #f9f9f9;
  color: #333333;
  font-size: 0.95em;
}

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

.page-faq__answer-button {
  display: inline-block;
  background-color: #8B0000;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.page-faq__answer-button:hover {
  background-color: #a00000;
}

.page-faq__image-support-wrapper {
  margin-top: 40px;
  text-align: center;
}

.page-faq__image-support {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  display: block;
  margin: 0 auto;
}

.page-faq__cta-section {
  background: linear-gradient(45deg, #8B0000, #FFD700);
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 12px;
  max-width: 1200px;
  margin: 40px auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.page-faq__cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-faq__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

.page-faq__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-faq__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 18px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-faq__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-5px);
}

.page-faq__cta-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-faq__cta-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-faq__hero-title {
    font-size: 2em;
  }

  .page-faq__hero-description {
    font-size: 1em;
  }

  .page-faq__section-title {
    font-size: 1.8em;
  }

  .page-faq__section-description {
    font-size: 0.95em;
  }

  .page-faq__accordion-grid {
    grid-template-columns: 1fr;
  }

  .page-faq__cta-title {
    font-size: 2em;
  }

  .page-faq__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-title {
    font-size: 1.8em;
  }

  .page-faq__hero-description {
    font-size: 0.9em;
  }

  .page-faq__section-title {
    font-size: 1.6em;
  }

  .page-faq__accordion-question {
    font-size: 1em;
  }

  .page-faq__cta-title {
    font-size: 1.8em;
  }
}