/* style/support.css */
.page-support {
  color: #ffffff;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-support__hero-section {
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.8) 0%, rgba(255, 215, 0, 0.2) 100%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-support__hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-support__hero-title {
  font-size: 3.2em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-support__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-support__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-support__button--primary {
  background-color: #FFD700;
  color: #8B0000;
}

.page-support__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-support__button--secondary {
  background-color: #8B0000;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-support__button--secondary:hover {
  background-color: #6a0000;
  transform: translateY(-2px);
}

.page-support__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2;
}

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

.page-support__faq-section,
.page-support__contact-section,
.page-support__resources-section,
.page-support__cta-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
}

.page-support__section-title,
.page-support__cta-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-support__section-description,
.page-support__cta-description {
  font-size: 1.1em;
  color: #cccccc;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-support__faq-list {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 25px;
  border-left: 5px solid #FFD700;
}

.page-support__faq-question {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-support__faq-question::after {
  content: '+';
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-question::after {
  transform: rotate(45deg);
}

.page-support__faq-answer {
  font-size: 1em;
  color: #f0f0f0;
  display: none; /* Hidden by default */
  padding-top: 10px;
}

.page-support__faq-item.active .page-support__faq-answer {
  display: block;
}

.page-support__faq-answer .page-support__link {
  color: #FFD700;
  text-decoration: underline;
}

.page-support__faq-answer .page-support__link:hover {
  color: #e6c200;
}

.page-support__faq-image-wrapper {
  margin-top: 40px;
  text-align: center;
}

.page-support__faq-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
  display: block; /* Ensure it's a block element */
  margin: 0 auto; /* Center the image */
}

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

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

.page-support__contact-card:hover {
  transform: translateY(-5px);
  background-color: rgba(139, 0, 0, 0.5);
}

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

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

.page-support__contact-description {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 25px;
}

.page-support__resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__resource-card {
  background-color: rgba(255, 215, 0, 0.1);
  border-radius: 10px;
  text-decoration: none;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-support__resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.page-support__resource-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.page-support__resource-card h3,
.page-support__resource-card p {
  padding: 0 20px;
}

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

.page-support__resource-description {
  font-size: 0.95em;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-support__cta-section {
  text-align: center;
  margin-bottom: 80px;
}

.page-support__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 2.8em;
  }

  .page-support__section-title,
  .page-support__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-support {
    padding-top: var(--header-offset, 120px);
  }

  .page-support__hero-section {
    padding: 60px 15px;
  }

  .page-support__hero-title {
    font-size: 2.2em;
  }

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

  .page-support__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-support__button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-support__faq-section,
  .page-support__contact-section,
  .page-support__resources-section,
  .page-support__cta-section {
    margin: 40px auto;
    padding: 30px 15px;
  }

  .page-support__section-title,
  .page-support__cta-title {
    font-size: 1.8em;
  }

  .page-support__section-description,
  .page-support__cta-description {
    font-size: 0.95em;
  }

  .page-support__faq-question {
    font-size: 1.2em;
  }

  .page-support__faq-answer {
    font-size: 0.9em;
  }

  .page-support__contact-methods,
  .page-support__resource-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Ensure all content images in .page-support are responsive */
  .page-support img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  .page-support__faq-image {
    max-width: 100%;
  }

  .page-support__contact-icon {
    width: 200px; /* Maintain minimum size */
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8em;
  }

  .page-support__section-title,
  .page-support__cta-title {
    font-size: 1.5em;
  }
}