.page-faq {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #F5F7FA; /* Background color from custom scheme */
}

/* Hero Section */
.page-faq__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 40px;
  background: linear-gradient(180deg, #F5F7FA 0%, #ffffff 100%); /* Light gradient background */
}

.page-faq__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 40px 16px;
}

.page-faq__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
}

.page-faq__main-title {
  color: #E53935; /* Main brand color for title */
  font-size: clamp(2rem, 4vw, 3rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-faq__intro-text {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #333333;
}

.page-faq__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 150px;
  box-sizing: border-box;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-faq__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
}

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

.page-faq__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
}

.page-faq__hero-image {
  flex: 1 1 40%;
  text-align: center;
  min-width: 300px;
}

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

/* FAQ Section */
.page-faq__faq-section {
  padding: 60px 0;
  background-color: #ffffff; /* Card BG color for FAQ section */
}

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

.page-faq__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #E53935;
  text-align: center;
  margin-bottom: 40px;
}

.page-faq__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-faq__faq-item {
  background-color: #F5F7FA; /* Light background for each FAQ item */
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-faq__faq-item summary {
  display: block; /* Important for custom marker */
  list-style: none; /* Hide default marker */
  cursor: pointer;
  padding: 18px 25px;
  font-weight: 600;
  font-size: 1.1rem;
  color: #333333;
  position: relative;
  outline: none;
  transition: background-color 0.3s ease;
}

.page-faq__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for Webkit browsers */
}

.page-faq__faq-item summary:hover {
  background-color: #f0f2f5;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-faq__faq-qtext {
  flex-grow: 1;
}

.page-faq__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 15px;
  color: #E53935;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  content: "−"; /* Change to minus when open */
}

.page-faq__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

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

.page-faq__faq-answer ul {
  margin-left: 20px;
  margin-bottom: 15px;
  list-style-type: disc;
}

.page-faq__faq-answer li {
  margin-bottom: 5px;
}

.page-faq__faq-answer a {
  color: #E53935;
  text-decoration: underline;
}

.page-faq__faq-answer a:hover {
  color: #FF5A4F;
}

.page-faq__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* General image styling for content area */
.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-faq__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-faq__hero-container {
    flex-direction: column;
    text-align: center;
    padding: 20px 15px;
    gap: 20px;
  }

  .page-faq__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-faq__intro-text {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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-image {
    order: -1; /* Image above text on mobile */
    width: 100%;
  }

  .page-faq__hero-side-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-faq__faq-section {
    padding: 40px 0;
  }

  .page-faq__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-faq__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }

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

  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure all content containers are responsive */
  .page-faq__hero-section,
  .page-faq__faq-section,
  .page-faq__faq-list,
  .page-faq__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 1024px) {
  .page-faq__hero-container {
    gap: 30px;
    padding: 30px 20px;
  }

  .page-faq__main-title {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
  }

  .page-faq__intro-text {
    font-size: 1.05rem;
  }

  .page-faq__faq-section {
    padding: 50px 0;
  }

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

  .page-faq__faq-item summary {
    font-size: 1.05rem;
  }
}