/* style/support.css */

/* General styles for page-support */
.page-support {
  background-color: #08160F; /* Background color from custom palette */
  color: #F2FFF6; /* Main text color from custom palette for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-support__section {
  padding: 60px 0;
  border-bottom: 1px solid #1E3A2A; /* Divider color */
}

.page-support__section:last-of-type {
  border-bottom: none;
}

.page-support__section-title {
  font-size: 2.5rem;
  color: #F2C14E; /* Gold color for main titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-support__subsection-title {
  font-size: 1.8rem;
  color: #F2FFF6; /* Main text color */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-support__text {
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 20px;
}

.page-support__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #A7D9B8; /* Secondary text color */
}

.page-support__list-item {
  margin-bottom: 10px;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, then content */
  overflow: hidden;
  background-color: #08160F; /* Fallback background */
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Slightly transparent to allow text to stand out */
}

.page-support__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 40px 20px;
  color: #F2FFF6; /* Main text color for content over dark image */
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for readability */
  border-radius: 8px;
  margin-top: 60px; /* Space from top */
}

.page-support__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  color: #F2C14E; /* Gold color for main title */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.2rem;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 30px;
}

/* CTA Button */
.page-support__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Hover effect */
}

.page-support__cta-button--secondary {
  background: none;
  border: 2px solid #11A84E; /* Main color as border */
  color: #11A84E; /* Main color for text */
}

.page-support__cta-button--secondary:hover {
  background: #11A84E; /* Main color as background on hover */
  color: #ffffff;
}

/* Grid Layout */
.page-support__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-support__grid-item {
  flex: 1;
  min-width: 300px;
}

.page-support__grid-item:first-child {
  flex-basis: 45%;
}

.page-support__grid-item:last-child {
  flex-basis: 45%;
}

.page-support__grid--reverse .page-support__grid-item:first-child {
  order: 2;
}

.page-support__grid--reverse .page-support__grid-item:last-child {
  order: 1;
}

.page-support__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__image--contact {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-support__faq-list {
  margin-top: 40px;
}

.page-support__faq-item {
  background-color: #11271B; /* Card BG color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6; /* Text Main color */
  border: 1px solid #2E7A4E; /* Border color */
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: #F2FFF6; /* Text Main color */
  list-style: none; /* For <summary> tag */
}

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

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

.page-support__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 10px;
  color: #57E38D; /* Glow color */
}

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

/* Contact Methods */
.page-support__contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.page-support__contact-card {
  background-color: #11271B; /* Card BG color */
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border color */
}

.page-support__contact-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold color */
  margin-bottom: 15px;
}

.page-support__contact-description {
  color: #A7D9B8; /* Text Secondary color */
  margin-bottom: 25px;
}

/* Responsive styles */
@media (max-width: 992px) {
  .page-support__section-title {
    font-size: 2rem;
  }

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

  .page-support__hero-description {
    font-size: 1.1rem;
  }

  .page-support__grid-item:first-child,
  .page-support__grid-item:last-child {
    flex-basis: 100%;
  }

  .page-support__grid--reverse .page-support__grid-item:first-child {
    order: 1;
  }

  .page-support__grid--reverse .page-support__grid-item:last-child {
    order: 2;
  }
}

@media (max-width: 768px) {
  .page-support__section {
    padding: 40px 0;
  }

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

  .page-support__hero-content {
    padding: 30px 15px;
    margin-top: 40px;
  }

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

  .page-support__hero-description {
    font-size: 1rem;
  }

  /* Mobile image responsiveness */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__contact-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Mobile button responsiveness */
  .page-support__cta-button,
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support a[class*="button"],
  .page-support a[class*="btn"] {
    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;
    margin-bottom: 10px; /* Add some space between stacked buttons */
  }

  .page-support__contact-methods {
    flex-direction: column;
    align-items: center;
  }

  .page-support__contact-card {
    max-width: 100%;
    width: 100%;
  }

  .page-support__contact-methods .page-support__cta-button {
    margin-bottom: 0; /* Reset margin for buttons inside cards */
  }
}