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

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

.page-support__hero-section {
  background-color: #0A192F;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

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

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

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

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

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

.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.2s ease;
  font-size: 1.1em;
  cursor: pointer;
}

.page-support__button--primary {
  background-color: #FFD700;
  color: #0A192F;
  border: none;
}

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

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

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

.page-support__button--tertiary {
  background-color: #f0f0f0;
  color: #0A192F;
  border: 1px solid #cccccc;
}

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

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 0;
  background-color: #F8F8F8;
}

.page-support__faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-support__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  border-left: 5px solid #FFD700;
}

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

.page-support__faq-question::after {
  content: '+';
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700;
}

.page-support__faq-question.active::after {
  content: '-';
}

.page-support__faq-answer {
  font-size: 1.05em;
  color: #666666;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.page-support__faq-answer.active {
  max-height: 500px; /* Adjust as needed for content */
  padding-top: 15px;
}

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

.page-support__faq-answer a {
  color: #0A192F;
  text-decoration: underline;
}

.page-support__faq-answer a:hover {
  color: #FFD700;
}

/* Contact Section */
.page-support__contact-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-support__method-card {
  background-color: #fcfcfc;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid #eee;
}

.page-support__method-card:hover {
  transform: translateY(-5px);
}

.page-support__method-icon {
  width: 300px;
  height: 225px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-support__method-title {
  font-size: 1.6em;
  color: #0A192F;
  margin-bottom: 10px;
}

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

/* Further Assistance Section */
.page-support__further-assistance-section {
  padding: 60px 0;
  background-color: #F0F0F0;
}

.page-support__resource-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-support__resource-link {
  display: inline-block;
  background-color: #0A192F;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1em;
}

.page-support__resource-link:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-2px);
}

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

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

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

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

  .page-support__button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-support__faq-item {
    padding: 20px;
  }

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

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

  .page-support__contact-methods {
    grid-template-columns: 1fr;
  }
  
  .page-support__method-icon {
    width: 100%; /* Allows it to scale */
    max-width: 300px; /* Constrains max size */
    height: auto;
    min-height: 200px; /* Ensures minimum height */
  }

  .page-support__method-title {
    font-size: 1.4em;
  }

  .page-support__resource-link {
    width: 100%;
    text-align: center;
  }
  
  /* Ensure content area images are responsive and don't overflow */
  .page-support img {
    max-width: 100%;
    height: auto;
  }
}

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

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

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

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