/* style/support.css */
.page-support {
  color: #ffffff; /* Light text for dark body background */
  background-color: #1a1a1a; /* Ensure consistency with body background */
  padding-top: var(--header-offset, 120px); /* Space for fixed header */
}

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

.page-support__hero-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #0A192F; /* Main brand color for hero */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.page-support__hero-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-support__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Auxiliary color for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-support__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Auxiliary color for CTA */
  color: #0A192F; /* Dark text for light button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-support__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-support__faq-section,
.page-support__contact-section,
.page-support__resources-section,
.page-support__cta-section--bottom {
  padding: 60px 0;
  text-align: center;
}

.page-support__faq-title,
.page-support__contact-title,
.page-support__resources-title,
.page-support__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 40px;
}

.page-support__faq-list {
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: left;
}

.page-support__faq-item {
  background-color: rgba(10, 25, 47, 0.7); /* Semi-transparent main color */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-support__faq-question {
  font-size: 1.4em;
  color: #FFD700;
  padding: 20px 25px;
  cursor: pointer;
  margin: 0;
  position: relative;
}

.page-support__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-support__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-support__faq-answer {
  font-size: 1.1em;
  color: #f0f0f0;
  padding: 0 25px 20px 25px;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-support__faq-answer.open {
  max-height: 500px; /* Sufficient height for content */
  padding-top: 10px;
}

.page-support__button {
  display: inline-block;
  background-color: #0A192F; /* Main color for secondary buttons */
  color: #FFD700;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 1px solid #FFD700;
}

.page-support__button:hover {
  background-color: #FFD700;
  color: #0A192F;
}

.page-support__contact-intro {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-support__contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-support__contact-card {
  background-color: rgba(10, 25, 47, 0.7);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-support__contact-icon {
  width: 200px; /* Minimum size */
  height: 200px; /* Minimum size */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-support__contact-method-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-support__contact-method-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 25px;
  line-height: 1.5;
}

.page-support__resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-support__resource-card {
  background-color: rgba(10, 25, 47, 0.7);
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-support__resource-image {
  width: 100%;
  height: 250px; /* Ensure sufficient height for content images */
  object-fit: cover;
  display: block;
}

.page-support__resource-card-title {
  font-size: 1.5em;
  color: #FFD700;
  padding: 20px 20px 10px 20px;
  margin: 0;
}

.page-support__resource-card-title a {
  color: inherit;
  text-decoration: none;
}

.page-support__resource-card-title a:hover {
  text-decoration: underline;
}

.page-support__resource-description {
  font-size: 1em;
  color: #f0f0f0;
  padding: 0 20px 20px 20px;
  line-height: 1.5;
}

.page-support__resource-card .page-support__button {
  margin: 0 20px 20px 20px;
  width: calc(100% - 40px);
  text-align: center;
  box-sizing: border-box;
}

.page-support__cta-section--bottom {
  background-color: #0A192F;
  padding: 80px 20px;
}

.page-support__cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-support__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-support__cta-button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 3em;
  }
  .page-support__faq-title,
  .page-support__contact-title,
  .page-support__resources-title,
  .page-support__cta-title {
    font-size: 2.2em;
  }
  .page-support__contact-methods {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-support__resource-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-support {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-support__hero-section {
    padding: 60px 15px;
  }
  .page-support__hero-title {
    font-size: 2.5em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__faq-title,
  .page-support__contact-title,
  .page-support__resources-title,
  .page-support__cta-title {
    font-size: 1.8em;
  }
  .page-support__faq-question {
    font-size: 1.2em;
  }
  .page-support__faq-answer {
    font-size: 0.95em;
  }
  .page-support__contact-methods,
  .page-support__resource-grid {
    grid-template-columns: 1fr;
  }
  .page-support__contact-card,
  .page-support__resource-card {
    padding: 20px;
  }
  .page-support__contact-icon {
    width: 200px;
    height: 200px;
  }
  .page-support__resource-image {
    height: 200px;
  }
  .page-support__resource-card-title {
    font-size: 1.3em;
  }
  .page-support__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  /* Ensure content images do not overflow */
  .page-support img {
    max-width: 100%;
    height: auto;
  }
  .page-support__contact-card img, .page-support__resource-card img {
    max-width: 100%;
    height: auto;
  }
  /* Content area should not cause horizontal scroll */
  .page-support__container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 2em;
  }
  .page-support__hero-description {
    font-size: 0.9em;
  }
  .page-support__faq-title,
  .page-support__contact-title,
  .page-support__resources-title,
  .page-support__cta-title {
    font-size: 1.5em;
  }
  .page-support__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-support__faq-question::after {
    right: 20px;
  }
  .page-support__faq-answer {
    padding: 0 20px 15px 20px;
  }
  .page-support__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}