/* style/faq.css */

/* Base styles for the FAQ page */
.page-faq {
  background-color: #08160F; /* Background color from palette */
  color: #F2FFF6; /* Main text color from palette */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hero Section */
.page-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body already has header offset */
  background-color: #08160F;
  overflow: hidden;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

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

.page-faq__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
}

.page-faq__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.4);
}

.page-faq__description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: inline-block;
  text-align: center;
  border: 2px solid transparent;
  box-sizing: border-box; /* Added for button responsiveness */
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color from palette */
  color: #F2FFF6; /* Text Main */
}

.page-faq__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(87, 227, 141, 0.4);
}

.page-faq__btn-secondary {
  background-color: transparent;
  color: #57E38D; /* Glow color for contrast */
  border-color: #2E7A4E; /* Border color from palette */
}

.page-faq__btn-secondary:hover {
  background-color: rgba(87, 227, 141, 0.1);
  color: #F2FFF6;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(87, 227, 141, 0.2);
}

/* Content Area */
.page-faq__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #08160F; /* Background color */
  color: #F2FFF6; /* Main text color */
}

.page-faq__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

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

.page-faq__faq-item {
  background-color: #11271B; /* Card BG color */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.page-faq__faq-item[open] {
  background-color: #0A4B2C; /* Deep Green when open */
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.2rem;
  color: #F2FFF6; /* Text Main */
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

.page-faq__faq-item[open] .page-faq__faq-question {
  background-color: #0A4B2C;
  color: #F2FFF6;
}

.page-faq__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-faq__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: #57E38D; /* Glow color */
  transition: transform 0.3s ease;
}

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

.page-faq__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-faq__faq-answer ul,
.page-faq__faq-answer ol {
  margin: 15px 0 15px 20px;
  padding: 0;
}

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

.page-faq__link-inline {
  color: #57E38D; /* Glow color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-faq__link-inline:hover {
  color: #F2C14E; /* Gold color on hover */
}

.page-faq__image-inline {
  width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.page-faq__btn-small {
  padding: 10px 20px;
  font-size: 0.95rem;
  margin-top: 15px;
}

/* CTA Bottom Section */
.page-faq__cta-bottom-section {
  background-color: #0A4B2C; /* Deep Green */\  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}

.page-faq__cta-bottom-content {
  max-width: 800px;
}

.page-faq__cta-bottom-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  text-shadow: 0 0 12px rgba(87, 227, 141, 0.5);
}

.page-faq__cta-bottom-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
}

.page-faq__cta-bottom-image-wrapper {
  width: 100%;
  max-width: 600px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

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

/* Responsive Design */
@media (min-width: 769px) {
  .page-faq__cta-bottom-section {
    flex-direction: row;
    justify-content: center;
    text-align: left;
  }

  .page-faq__cta-bottom-image-wrapper {
    order: 2; /* Image on right for desktop */
  }

  .page-faq__cta-bottom-content {
    order: 1;
    padding-right: 40px;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section,
  .page-faq__content-area,
  .page-faq__cta-bottom-section {
    padding: 30px 15px;
  }

  .page-faq__hero-content,
  .page-faq__cta-bottom-content {
    padding-left: 0;
    padding-right: 0;
  }

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

  .page-faq__description {
    font-size: 0.95rem;
  }

  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 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__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

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

  .page-faq img,
  .page-faq__image-inline,
  .page-faq__hero-image,
  .page-faq__cta-bottom-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-faq__hero-image-wrapper,
  .page-faq__cta-bottom-image-wrapper,
  .page-faq__faq-item,
  .page-faq__content-area,
  .page-faq__cta-bottom-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-faq__hero-section {
    padding-top: 10px !important;
  }

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