.page-faq {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
}

.page-faq__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-faq__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding for fixed header */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%);
}

.page-faq__hero-image-wrap {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-faq__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 40px;
  padding-bottom: 60px;
  color: #FFFFFF;
}

.page-faq__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-faq__main-description {
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.7;
  color: #F0F8FF;
}

.page-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-faq__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.6);
  transform: translateY(-2px);
}

.page-faq__btn-secondary {
  background: #FFFFFF;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-faq__btn-secondary:hover {
  background: #F0F8FF;
  color: #1F5BFF;
  border-color: #1F5BFF;
  transform: translateY(-2px);
}

/* Intro Section */
.page-faq__intro-section {
  padding: 60px 20px;
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  margin-top: -40px;
  position: relative;
  z-index: 3;
  text-align: center;
}

.page-faq__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #1F2D3D;
  margin-bottom: 30px;
  text-align: center;
}

.page-faq__text-block {
  font-size: 1.05rem;
  color: #1F2D3D;
  margin-bottom: 30px;
  line-height: 1.7;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-faq__image-spacing {
  margin-top: 40px;
  margin-bottom: 20px;
}

/* FAQ List Section */
.page-faq__faq-list-section {
  padding: 60px 20px;
}

.page-faq__faq-category {
  margin-bottom: 40px;
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  padding: 30px;
}

.page-faq__category-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: #2F6BFF;
  margin-bottom: 30px;
  text-align: center;
}

/* FAQ Item Styles (Details/Summary based) */
details.page-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Border */
  overflow: hidden;
  background: #FFFFFF; /* Card BG */
  transition: all 0.3s ease;
}

details.page-faq__faq-item[open] {
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.1);
}

details.page-faq__faq-item summary.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  outline: none;
}

details.page-faq__faq-item summary.page-faq__faq-question::-webkit-details-marker {
  display: none;
}

details.page-faq__faq-item summary.page-faq__faq-question:hover {
  background: #F4F7FB; /* Background color on hover */
}

.page-faq__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D; /* Text Main */
}

.page-faq__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #2F6BFF; /* Main Color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  line-height: 1;
}

details.page-faq__faq-item .page-faq__faq-answer {
  padding: 0 25px 25px;
  background: #F9F9F9;
  border-radius: 0 0 5px 5px;
  color: #1F2D3D; /* Text Main */
  font-size: 1rem;
  line-height: 1.7;
}

.page-faq__faq-answer p {
  margin: 0;
}

/* Conclusion Section */
.page-faq__conclusion-section {
  padding: 60px 20px;
  background-color: #F4F7FB;
  border-radius: 12px;
  text-align: center;
  margin-top: 40px;
}

.page-faq__conclusion-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #1F2D3D;
  margin-bottom: 25px;
}

.page-faq__conclusion-text {
  font-size: 1.05rem;
  color: #1F2D3D;
  margin-bottom: 35px;
  line-height: 1.7;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__cta-buttons--bottom {
  margin-top: 0;
}

/* Global image responsiveness */
.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__container {
    padding: 15px;
  }

  .page-faq__hero-content {
    padding-top: 30px;
    padding-bottom: 40px;
  }

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

  .page-faq__main-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

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

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .page-faq__intro-section,
  .page-faq__faq-list-section,
  .page-faq__conclusion-section {
    padding: 40px 15px;
  }

  .page-faq__section-title,
  .page-faq__category-title,
  .page-faq__conclusion-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 25px;
  }

  .page-faq__text-block,
  .page-faq__conclusion-text {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

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

  .page-faq__faq-qtext {
    font-size: 1rem;
  }

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

  details.page-faq__faq-item .page-faq__faq-answer {
    padding: 0 20px 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 849px) {
  .page-faq__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }
}

@media (max-width: 768px) {
  .page-faq__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-faq__hero-section {
    padding-top: 10px; /* Small top padding for fixed header */
  }

  .page-faq__hero-content {
    padding-top: 20px;
    padding-bottom: 30px;
  }

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

  .page-faq__main-description {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-faq__intro-section,
  .page-faq__faq-list-section,
  .page-faq__conclusion-section {
    padding: 30px 15px;
    margin-top: -20px;
  }

  .page-faq__section-title,
  .page-faq__category-title,
  .page-faq__conclusion-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
    margin-bottom: 20px;
  }

  .page-faq__text-block,
  .page-faq__conclusion-text {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .page-faq__image-content {
    margin-top: 20px;
    margin-bottom: 10px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-faq__faq-category {
    padding: 20px 15px;
    margin-bottom: 30px;
  }

  details.page-faq__faq-item summary.page-faq__faq-question {
    padding: 15px;
  }

  .page-faq__faq-qtext {
    font-size: 0.95rem;
  }

  .page-faq__faq-toggle {
    font-size: 22px;
    width: 22px;
    margin-left: 10px;
  }

  details.page-faq__faq-item .page-faq__faq-answer {
    padding: 0 15px 15px;
    font-size: 0.9rem;
  }
  
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}