/* style/faq.css */

:root {
  --pog79-primary-color: #11A84E;
  --pog79-secondary-color: #22C768;
  --pog79-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --pog79-card-bg: #11271B;
  --pog79-background-color: #08160F;
  --pog79-text-main: #F2FFF6;
  --pog79-text-secondary: #A7D9B8;
  --pog79-border-color: #2E7A4E;
  --pog79-glow-color: #57E38D;
  --pog79-gold-color: #F2C14E;
  --pog79-divider-color: #1E3A2A;
  --pog79-deep-green: #0A4B2C;
}

.page-faq {
  background-color: var(--pog79-background-color);
  color: var(--pog79-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-bottom: 60px; /* Space for content below image */
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--pog79-background-color);
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit image height */
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-faq__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-top: -150px; /* Overlap with image slightly for visual flow */
  padding: 40px;
  background: rgba(17, 39, 27, 0.9); /* Card BG with transparency */
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--pog79-border-color);
}

.page-faq__main-title {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--pog79-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-faq__hero-description {
  font-size: 18px;
  color: var(--pog79-text-main);
  margin-bottom: 30px;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-faq__btn-primary {
  background: var(--pog79-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-faq__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-faq__btn-secondary {
  background: transparent;
  color: var(--pog79-primary-color);
  border: 2px solid var(--pog79-primary-color);
}

.page-faq__btn-secondary:hover {
  background: var(--pog79-primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-faq__content-section {
  padding: 80px 0;
  background-color: var(--pog79-background-color);
  color: var(--pog79-text-main);
}

.page-faq__section-title {
  font-size: clamp(24px, 3vw, 40px);
  color: var(--pog79-gold-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-faq__section-title--alt {
  color: var(--pog79-text-main);
}

.page-faq__section-description {
  font-size: 17px;
  color: var(--pog79-text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.page-faq__section-description--alt {
  color: var(--pog79-text-main);
}

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

.page-faq__faq-item {
  background-color: var(--pog79-card-bg);
  border: 1px solid var(--pog79-border-color);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-faq__faq-item[open] {
  background-color: var(--pog79-deep-green);
  box-shadow: 0 0 20px rgba(87, 227, 141, 0.2);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: bold;
  color: var(--pog79-text-main);
  cursor: pointer;
  list-style: none;
  outline: none;
  transition: background-color 0.3s ease;
}

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

.page-faq__faq-question:hover {
  background-color: rgba(var(--pog79-primary-color), 0.1);
}

.page-faq__faq-toggle {
  font-size: 24px;
  font-weight: normal;
  color: var(--pog79-primary-color);
  transition: transform 0.3s ease;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  transform: rotate(45deg);
  color: var(--pog79-gold-color);
}

.page-faq__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: var(--pog79-text-secondary);
  line-height: 1.8;
}

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

.page-faq__faq-answer strong {
  color: var(--pog79-text-main);
}

.page-faq__contact-cta {
  padding: 80px 0;
  background-color: var(--pog79-deep-green);
  text-align: center;
  color: var(--pog79-text-main);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-faq__hero-content {
    margin-top: -100px;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding-bottom: 40px;
  }
  .page-faq__hero-image-wrapper {
    max-height: 300px;
  }
  .page-faq__hero-content {
    margin-top: -80px;
    padding: 25px;
    width: calc(100% - 40px); /* Adjust for padding on small screens */
  }
  .page-faq__main-title {
    font-size: clamp(24px, 7vw, 36px);
  }
  .page-faq__hero-description {
    font-size: 16px;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100%;
    padding: 12px 20px;
  }
  .page-faq__content-section,
  .page-faq__contact-cta {
    padding: 50px 0;
  }
  .page-faq__container {
    padding: 0 15px;
  }
  .page-faq__section-title {
    font-size: clamp(20px, 6vw, 32px);
    margin-bottom: 15px;
  }
  .page-faq__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-faq__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }
  .page-faq__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 15px;
  }
  
  /* Mobile image and video responsive adaptation */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-faq video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-faq__hero-image-wrapper,
  .page-faq__container,
  .page-faq__content-section,
  .page-faq__contact-cta,
  .page-faq__faq-list,
  .page-faq__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left and padding-right are handled by .page-faq__container */
  }
  .page-faq__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }
}

@media (max-width: 480px) {
  .page-faq__hero-content {
    margin-top: -60px;
    padding: 20px;
  }
  .page-faq__main-title {
    font-size: clamp(20px, 8vw, 30px);
  }
  .page-faq__hero-description {
    font-size: 14px;
  }
  .page-faq__faq-question {
    font-size: 15px;
  }
  .page-faq__faq-answer {
    font-size: 14px;
  }
}