/* style/support.css */
.page-support {
  color: #333333; /* Dark text for light body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #FFFFFF;
}

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

.page-support__hero-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 60px 0;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  min-height: 500px; /* Minimum height for hero section */
  display: flex;
  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: 1;
  filter: brightness(0.6); /* Slightly dim background image for text readability, not changing color */
  display: block;
}

.page-support__hero-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.page-support__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
}

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

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

.page-support__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  min-width: 200px;
  text-align: center;
  cursor: pointer;
}

.page-support__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-support__button--register:hover {
  background-color: #e0e0e0;
  border-color: #e0e0e0;
}

.page-support__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-support__button--login:hover {
  background-color: #e6a73c;
  border-color: #e6a73c;
}

.page-support__faq-section,
.page-support__guides-section,
.page-support__contact-section,
.page-support__related-links-section {
  padding: 80px 0;
}

.page-support__faq-section {
  background-color: #f9f9f9;
}

.page-support__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-support__section-intro {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__accordion {
  max-width: 900px;
  margin: 0 auto;
}

.page-support__accordion-item {
  border: 1px solid #e0e0e0;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-support__accordion-header {
  background-color: #000000;
  color: #FFFFFF;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.3em;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none; /* Prevent text selection */
}

.page-support__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
  transform: rotate(0deg);
}

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

.page-support__accordion-content {
  padding: 20px 25px;
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
  display: none;
}

.page-support__accordion-content p {
  margin-bottom: 15px;
  color: #333333;
}

.page-support__accordion-content p:last-child {
  margin-bottom: 0;
}

.page-support__accordion-content a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-support__accordion-content a:hover {
  text-decoration: underline;
}

.page-support__guides-section {
  background-color: #FFFFFF;
}

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

.page-support__guide-card {
  background-color: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-support__guide-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency on desktop */
  object-fit: cover;
  display: block;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

.page-support__guide-card-title {
  font-size: 1.4em;
  color: #000000;
  margin: 20px 15px 10px;
  min-height: 60px; /* Ensure consistent title height */
}

.page-support__guide-card-title a {
  color: #000000;
  text-decoration: none;
}

.page-support__guide-card-title a:hover {
  text-decoration: underline;
  color: #FCBC45;
}

.page-support__guide-card-description {
  font-size: 1em;
  color: #555555;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-support__guide-card-link {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-support__guide-card-link:hover {
  background-color: #FCBC45;
  color: #000000;
}

.page-support__contact-section {
  background-color: #f9f9f9;
}

.page-support__contact-options {
  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: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.page-support__contact-card-image {
  width: 250px; /* Ensure min 200x200 for desktop */
  height: 150px; /* Maintain aspect ratio or adjust */
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

.page-support__contact-card-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
}

.page-support__contact-card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__related-links-section {
  background-color: #FFFFFF;
}

.page-support__related-links-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px 30px;
  max-width: 900px;
  margin: 0 auto;
}

.page-support__related-links-list li a {
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  padding: 8px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-support__related-links-list li a:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

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

@media (max-width: 768px) {
  .page-support__hero-section {
    padding: 40px 0;
    min-height: 400px;
  }
  .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: 2em;
  }
  .page-support__section-intro {
    font-size: 0.95em;
  }
  .page-support__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-support__accordion-content {
    padding: 15px 20px;
  }
  .page-support__guide-cards,
  .page-support__contact-options {
    grid-template-columns: 1fr;
  }
  /* Ensure content images are responsive and not too small */
  .page-support__guide-card-image,
  .page-support__contact-card-image {
    width: 100%; /* Take full width of card */
    height: auto; /* Maintain aspect ratio */
    max-width: 100%; /* Prevent overflow */
    min-width: 200px;
    min-height: 200px;
  }
  .page-support__guide-card-image {
    height: 200px;
  }
  .page-support__contact-card-image {
    width: 250px; /* Keep a reasonable width for the contained image */
    height: 150px; /* Keep height proportionate */
  }
  .page-support__related-links-list {
    flex-direction: column;
    align-items: center;
  }
  .page-support__related-links-list li a {
    width: 80%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8em;
  }
  .page-support__hero-description {
    font-size: 0.9em;
  }
  .page-support__button {
    width: 90%;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__accordion-header {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-support__accordion-content {
    padding: 12px 15px;
  }
}