.page-faq {
  color: #333333;
}

.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  background-color: #007bff;
  color: #ffffff;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

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

.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-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffc107;
}

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

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

.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, transform 0.2s ease;
  white-space: nowrap;
}

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

.page-faq__button--primary:hover {
  background-color: #e0a800;
  color: #0056b3;
  transform: translateY(-2px);
}

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

.page-faq__button--secondary:hover {
  background-color: #ffc107;
  color: #007bff;
  transform: translateY(-2px);
}

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

.page-faq__section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-faq__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #ffc107;
  border-radius: 2px;
}

.page-faq__intro-text {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 60px;
  color: #555555;
}

.page-faq__accordion-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 60px;
}

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

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

.page-faq__accordion-header {
  font-size: 1.4em;
  color: #007bff;
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  margin: 0;
  transition: background-color 0.3s ease;
}

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

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

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

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

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

.page-faq__accordion-content p:last-child {
  margin-bottom: 0;
}

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

.page-faq__accordion-content a:hover {
  text-decoration: underline;
  color: #0056b3;
}

.page-faq__call-to-action {
  background-color: #007bff;
  color: #ffffff;
  padding: 60px 30px;
  border-radius: 15px;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 60px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-faq__call-to-action-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffc107;
}

.page-faq__call-to-action-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-faq__related-resources {
  margin-top: 80px;
}

.page-faq__resource-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.page-faq__resource-list li {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-faq__resource-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-faq__resource-list li a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  display: block;
}

.page-faq__resource-list li a:hover {
  text-decoration: underline;
  color: #0056b3;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-faq__hero-title {
    font-size: 2.8em;
  }

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

  .page-faq__call-to-action-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 60px 15px;
  }

  .page-faq__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-faq__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
  }

  .page-faq__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-faq__button {
    width: 100%;
    max-width: 300px;
  }

  .page-faq__content-area {
    padding: 30px 15px;
  }

  .page-faq__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-faq__intro-text {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-faq__accordion-header {
    font-size: 1.2em;
    padding: 15px 20px;
  }

  .page-faq__accordion-content p {
    font-size: 0.95em;
  }

  .page-faq__call-to-action {
    padding: 40px 20px;
  }

  .page-faq__call-to-action-title {
    font-size: 1.8em;
  }

  .page-faq__call-to-action-description {
    font-size: 1em;
  }

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

  /* Critical: Prevent content overflow for images */
  .page-faq img {
    max-width: 100%;
    height: auto;
  }

  .page-faq {
    overflow-x: hidden;
  }
}

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

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

  .page-faq__button {
    font-size: 1em;
    padding: 12px 25px;
  }

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

  .page-faq__accordion-header {
    font-size: 1.1em;
  }

  .page-faq__call-to-action-title {
    font-size: 1.6em;
  }
}