/* style/faq.css */

/* Base styles for the FAQ page */
.page-faq {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Assuming --bg-dark is dark, use light text */
  background-color: var(--bg-dark); /* Inherited from shared.css */
}

/* Hero Section */
.page-faq__hero-section {
  position: relative;
  width: 100%;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-faq__hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-faq__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken background image for text readability */
}

.page-faq__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-faq__main-title {
  font-size: 2.8em;
  color: #ffc107; /* Highlight with auxiliary color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-faq__intro-text {
  font-size: 1.2em;
  color: #ffffff;
  margin-bottom: 30px;
}

/* CTA Buttons */
.page-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-faq__btn-primary {
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
}

.page-faq__btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.page-faq__btn-secondary {
  background-color: transparent;
  color: #ffc107;
  border: 2px solid #ffc107;
}

.page-faq__btn-secondary:hover {
  background-color: #ffc107;
  color: #000000;
}

/* Content Area */
.page-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #1a1a1a; /* Slightly lighter dark background for content */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  color: #f0f0f0; /* Light text for dark background */
}

.page-faq__section-title {
  font-size: 2.2em;
  color: #ffc107;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
  border-bottom: 2px solid #007bff;
  padding-bottom: 10px;
}

.page-faq__subsection-title {
  font-size: 1.8em;
  color: #007bff;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-faq p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #e0e0e0;
}

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

/* FAQ List */
.page-faq__faq-list {
  margin-top: 30px;
}