/* style/faq.css */

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

.page-faq {
  font-family: 'Arial', sans-serif;
  color: var(--page-faq-text-main); /* Default text color for main content */
  background-color: var(--page-faq-background); /* Default background for the page */
  line-height: 1.6;
  font-size: 16px;
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  text-align: center;
  background-color: var(--page-faq-background);
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-faq__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-faq__main-title {
  font-size: 3.2em;
  color: var(--page-faq-gold);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-faq__hero-description {
  font-size: 1.1em;
  color: var(--page-faq-text-secondary);
  margin-bottom: 30px;
}

.page-faq__cta-buttons {
  display: flex;
  gap: 20px;
  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: 600;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-faq__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
  opacity: 0.9;
}

.page-faq__btn-secondary {
  background-color: transparent;
  color: var(--page-faq-primary-color);
  border: 2px solid var(--page-faq-primary-color);
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.2);
}

.page-faq__btn-secondary:hover {
  transform: translateY(-3px);
  background-color: var(--page-faq-primary-color);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.4);
}

.page-faq__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 20px;
  background-color: var(--page-faq-background);
  border-radius: 8px;
}

.page-faq__section-title {
  font-size: 2.5em;
  color: var(--page-faq-gold);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-faq__section-description {
  font-size: 1.1em;
  color: var(--page-faq-text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-faq__faq-category {
  background-color: var(--page-faq-card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-faq-border);
}

.page-faq__category-title {
  font-size: 1.8em;
  color: var(--page-faq-primary-color);
  margin-bottom: 25px;
  font-weight: 600;
  border-bottom: 2px solid var(--page-faq-divider);
  padding-bottom: 15px;
  text-shadow: 0 0 5px rgba(17, 168, 78, 0.3);
}

.page-faq__faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid var(--page-faq-divider);
  padding-bottom: 15px;
}

.page-faq__faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--page-faq-text-main);
  cursor: pointer;
  padding: 15px 0;
  transition: color 0.3s ease;
  list-style: none; /* For details summary */
}

.page-faq__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

.page-faq__faq-question:hover {
  color: var(--page-faq-primary-color);
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--page-faq-primary-color);
  margin-left: 15px;
}

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

.page-faq__faq-answer {
  padding: 10px 0 10px 25px;
  font-size: 1em;
  color: var(--page-faq-text-secondary);
  line-height: 1.7;
  overflow: hidden;
}

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

.page-faq__faq-answer ul,
.page-faq__faq-answer ol {
  margin-left: 20px;
  margin-bottom: 10px;
}

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

.page-faq__faq-answer a {
  color: var(--page-faq-secondary-color);
  text-decoration: none;
}

.page-faq__faq-answer a:hover {
  text-decoration: underline;
}

.page-faq__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-faq__cta-bottom-section {
  background-color: var(--page-faq-deep-green);
  padding: 60px 20px;
  text-align: center;
  border-radius: 8px;
  max-width: 1000px;
  margin: 50px auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-faq__cta-title {
  font-size: 2.2em;
  color: var(--page-faq-gold);
  margin-bottom: 15px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-faq__cta-description {
  font-size: 1.1em;
  color: var(--page-faq-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

@media (max-width: 768px) {
  .page-faq {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-faq__hero-section {
    padding: 10px 15px 40px;
  }

  .page-faq__main-title {
    font-size: 2em !important;
    line-height: 1.3;
  }

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

  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px; /* Constrain buttons for better mobile look */
    margin: 0 auto;
  }

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

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

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

  .page-faq__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-faq__faq-category {
    padding: 20px;
  }

  .page-faq__category-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    padding-bottom: 10px;
  }

  .page-faq__faq-question {
    font-size: 1.1em;
    padding: 10px 0;
  }

  .page-faq__faq-answer {
    padding: 5px 0 5px 15px;
    font-size: 0.95em;
  }

  .page-faq__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-faq__cta-bottom-section {
    padding: 40px 15px;
    margin: 30px auto;
  }

  .page-faq__cta-title {
    font-size: 1.8em;
  }

  .page-faq__cta-description {
    font-size: 1em;
  }

  /* Ensure all content containers have proper padding and max-width */
  .page-faq__hero-section,
  .page-faq__content-area,
  .page-faq__faq-category,
  .page-faq__cta-bottom-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Override for elements that might get double padded */
  .page-faq__hero-section .page-faq__hero-content {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Ensure images within content areas are responsive */
.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* No video on this page, but if it were: */
/*
.page-faq video,
.page-faq__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-faq__video-section,
.page-faq__video-container,
.page-faq__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-faq video,
  .page-faq__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-faq__video-section,
  .page-faq__video-container,
  .page-faq__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-faq__video-section {
    padding-top: 10px !important;
  }
  .page-faq__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}
*/