/* style/support.css */
.page-support {
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-support__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0d0d0d; /* Dark background for hero */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Overlay for text readability */
  z-index: 1;
}

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

.page-support__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-support__hero-buttons {
  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;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.page-support__button--primary {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Dark Red */
  border: 2px solid #FFD700;
}

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

.page-support__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-support__button--secondary:hover {
  background-color: #FFD700;
  color: #8B0000;
  transform: translateY(-3px);
}

.page-support__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-support__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Dark Red */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-support__section-subtitle {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
}

.page-support__faq-section {
  background-color: #f9f9f9;
  padding: 60px 0;
}

.page-support__faq-list {
  max-width: 900px;
  margin: 0 auto 40px auto;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
}

.page-support__faq-item {
  border-bottom: 1px solid #eee;
}

.page-support__faq-item:last-child {
  border-bottom: none;
}

.page-support__faq-question {
  background-color: #ffffff;
  color: #333333;
  padding: 20px;
  font-size: 1.1em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

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

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

.page-support__faq-answer {
  background-color: #f0f0f0;
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-support__faq-answer.active {
  max-height: 200px; /* Adjust based on content */
  padding: 20px;
}

.page-support__faq-answer p {
  margin-bottom: 15px;
  color: #555555;
}

.page-support__faq-image {
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  max-width: 800px;
  width: 100%;
  height: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-support__contact-section {
  padding: 60px 0;
  background-color: #0d0d0d;
  color: #ffffff;
}

.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: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-support__contact-icon {
  width: 200px; /* Enforcing minimum size */
  height: 150px; /* Enforcing minimum size, maintaining aspect ratio for display */
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD700);
}

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

.page-support__contact-description {
  color: #cccccc;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-support__cta-section {
  background: linear-gradient(135deg, #8B0000, #FFD700);
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-support__cta-content {
  position: relative;
  z-index: 2;
}

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

.page-support__cta-title {
  font-size: 3em;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-support__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

  .page-support__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-support {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }

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

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

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

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

  .page-support__button {
    width: 80%;
    margin: 0 auto;
  }

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

  .page-support__section-subtitle {
    font-size: 0.9em;
  }

  .page-support__faq-answer.active {
    max-height: 400px; /* Allow more height for mobile content */
  }

  .page-support__contact-methods {
    grid-template-columns: 1fr;
  }

  .page-support__contact-card {
    padding: 25px;
  }

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

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

  .page-support__cta-description {
    font-size: 1.1em;
  }

  /* Mobile content area images must not overflow */
  .page-support__hero-image,
  .page-support__faq-image,
  .page-support__contact-icon,
  .page-support__cta-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8em;
  }
  .page-support__button {
    width: 90%;
  }
  .page-support__section-title {
    font-size: 1.5em;
  }
  .page-support__cta-title {
    font-size: 1.6em;
  }
}