/* style/support.css */
.page-support {
  color: #333333;
  font-family: Arial, sans-serif;
  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;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero section */
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.7); /* Darken image slightly for text readability */
}

.page-support__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-support__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffc107; /* Accent color for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

/* Buttons */
.page-support__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
  font-size: 1.1em;
  min-width: 150px; /* Ensure button minimum width */
  text-align: center;
}

.page-support__button--primary {
  background-color: #007bff; /* Main color */
  color: #ffffff;
  border: 2px solid #007bff;
}

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

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

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

.page-support__button--large {
  padding: 15px 35px;
  font-size: 1.3em;
  min-width: 200px;
}

.page-support__button--small {
  padding: 8px 18px;
  font-size: 0.9em;
  min-width: 100px;
}

/* Section Titles and Descriptions */
.page-support__section-title {
  font-size: 2.5em;
  color: #007bff; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  margin-top: 60px;
}

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

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

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

.page-support__faq-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  border-left: 5px solid #ffc107; /* Accent color highlight */
}

.page-support__faq-question {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #007bff; /* Main color */
}

.page-support__faq-question a {
  color: #007bff;
  text-decoration: none;
}

.page-support__faq-question a:hover {
  text-decoration: underline;
}

.page-support__faq-answer {
  font-size: 1em;
  color: #666666;
}

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

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

.page-support__contact-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  border-bottom: 5px solid #007bff; /* Main color highlight */
}

.page-support__contact-icon {
  width: 250px; /* Min size 200px, setting a larger explicit size for display */
  height: 187px; /* Maintain aspect ratio for 400x300 source */
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-support__contact-title {
  font-size: 1.6em;
  color: #007bff; /* Main color */
  margin-bottom: 10px;
}

.page-support__contact-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

/* Resources Section */
.page-support__resources-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.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: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
}

.page-support__resource-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency, object-fit covers */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-support__resource-title {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-support__resource-title a {
  color: #007bff;
  text-decoration: none;
}

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

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

/* CTA Section */
.page-support__cta-section {
  background-color: #007bff; /* Main color background */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-support__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffc107; /* Accent color */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-support__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

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

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

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

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

@media (max-width: 768px) {
  .page-support__hero-section {
    padding: 60px 0;
    min-height: 400px;
  }

  .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%;
    max-width: 280px;
    margin: 0 auto; /* Center buttons in column layout */
  }

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

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

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

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

  .page-support__resource-title {
    font-size: 1.1em;
  }

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

  /* Ensure content images are responsive and not too small */
  .page-support img {
    max-width: 100%;
    height: auto;
  }
  
  .page-support__contact-icon {
    width: 200px; /* Minimum size for mobile */
    height: auto;
  }

  .page-support__resource-image {
    height: 180px;
  }

}

@media (max-width: 480px) {
  .page-support__hero-section {
    padding: 40px 0;
  }

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

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

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

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