.page-faq {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

/* --- Hero Section --- */
.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #FF4500, #1E90FF);
  color: #ffffff;
  overflow: hidden;
}

.page-faq__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.page-faq__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px;
}

.page-faq__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-faq__intro-text {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-faq__hero-image {
  width: 100%;
  max-width: 900px;
  margin-top: 30px;
}

.page-faq__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* --- General Section Styling --- */
.page-faq__content-section {
  padding: 80px 20px;
  background-color: #f8f8f8;
}

.page-faq__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
}

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

.page-faq__section-description {
  font-size: 17px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

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

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

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

.page-faq__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #333333;
  pointer-events: none;
}

.page-faq__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-faq__faq-item.active .page-faq__faq-toggle {
  color: #FF4500;
  transform: rotate(180deg);
}

.page-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: #555555;
}

.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: #fdfdfd;
  border-top: 1px solid #e0e0e0;
}

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

.page-faq__faq-answer a {
  text-decoration: none;
  font-weight: bold;
}

/* --- Call to Action Section --- */
.page-faq__cta-section {
  background: #1E90FF;
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

.page-faq__cta-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: 1100px;
}

.page-faq__cta-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-faq__cta-content {
  text-align: left;
  flex-grow: 1;
}

.page-faq__cta-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-faq__cta-description {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-faq__button-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* --- Buttons --- */
.page-faq__cta-button,
.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  font-size: 17px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__cta-button--primary,
.page-faq__btn-primary {
  background: #FF4500;
  color: #ffffff;
  border: 2px solid #FF4500;
}

.page-faq__cta-button--primary:hover,
.page-faq__btn-primary:hover {
  background: #e63900;
  border-color: #e63900;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-faq__cta-button--secondary,
.page-faq__btn-secondary {
  background: #ffffff;
  color: #1E90FF;
  border: 2px solid #1E90FF;
}

.page-faq__cta-button--secondary:hover,
.page-faq__btn-secondary:hover {
  background: #e0f0ff;
  color: #1a78d2;
  border-color: #1a78d2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* --- Mobile Responsive --- */
@media (max-width: 1024px) {
  .page-faq__hero-image img {
    border-radius: 8px;
  }

  .page-faq__cta-container {
    flex-direction: column;
    gap: 30px;
  }

  .page-faq__cta-content {
    text-align: center;
  }

  .page-faq__button-group {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__main-title {
    font-size: 36px;
  }

  .page-faq__intro-text {
    font-size: 16px;
  }

  .page-faq__hero-image {
    margin-top: 20px;
  }

  .page-faq__hero-image img {
    border-radius: 4px;
  }

  .page-faq__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-faq__content-section {
    padding: 60px 15px;
  }

  .page-faq__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-faq__section-description {
    font-size: 15px;
    margin-bottom: 40px;
  }

  .page-faq__faq-question {
    padding: 15px 20px;
  }

  .page-faq__faq-question h3 {
    font-size: 16px;
  }

  .page-faq__faq-toggle {
    font-size: 24px;
    width: 26px;
    height: 26px;
  }

  .page-faq__faq-answer {
    padding: 0 20px;
  }

  .page-faq__faq-item.active .page-faq__faq-answer {
    padding: 15px 20px !important;
  }

  .page-faq__faq-answer p {
    font-size: 15px;
  }

  .page-faq__cta-section {
    padding: 60px 15px;
  }

  .page-faq__cta-title {
    font-size: 30px;
  }

  .page-faq__cta-description {
    font-size: 16px;
  }

  .page-faq__button-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-faq__cta-button,
  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__hero-section .page-faq__cta-button {
    width: auto !important; /* Allow hero button to shrink if needed */
    max-width: 100% !important;
  }

  /* Image responsive for mobile */
  .page-faq img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-faq__section,
  .page-faq__card,
  .page-faq__container,
  .page-faq__hero-container,
  .page-faq__cta-container,
  .page-faq__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__hero-container,
  .page-faq__cta-container {
    padding-left: 0px;
    padding-right: 0px;
  }

  .page-faq__faq-item {
    padding: 0;
  }

  .page-faq__faq-list {
    padding: 0;
  }

  .page-faq__cta-image {
    max-width: 100%;
    width: 100%;
    padding: 0;
  }
}