/* style/support.css */
.page-support {
  color: #333333; /* Default text color for light body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

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

.page-support__section-title {
  font-size: 2.5rem;
  color: #007bff;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-support__section-intro {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
  line-height: 1.6;
}

.page-support__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 1rem;
  text-align: center;
}

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

.page-support__button--primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.page-support__button--secondary {
  background-color: transparent;
  color: #007bff;
  border: 2px solid #007bff;
  margin-left: 15px;
}

.page-support__button--secondary:hover {
  background-color: #007bff;
  color: #ffffff;
}

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

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

.page-support__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  z-index: 1;
}

.page-support__hero-content {
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 15px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-support__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #ffc107;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.3rem;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__hero-actions .page-support__button {
  font-size: 1.1rem;
  padding: 15px 35px;
  border-radius: 10px;
}

.page-support__hero-actions .page-support__button--primary {
  background-color: #ffc107;
  color: #333333;
  border-color: #ffc107;
}

.page-support__hero-actions .page-support__button--primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
}

.page-support__hero-actions .page-support__button--secondary {
  color: #ffc107;
  border-color: #ffc107;
}

.page-support__hero-actions .page-support__button--secondary:hover {
  background-color: #ffc107;
  color: #333333;
}

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

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

.page-support__faq-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #007bff;
}

.page-support__faq-question {
  font-size: 1.4rem;
  color: #007bff;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-support__faq-answer {
  font-size: 1rem;
  color: #555555;
  line-height: 1.7;
}

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

.page-support__faq-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

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

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

.page-support__contact-card {
  background-color: #f0f8ff;
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  border: 1px solid #e0e0e0;
}

.page-support__card-title {
  font-size: 1.8rem;
  color: #007bff;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-support__card-description {
  font-size: 1rem;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 25px;
}

.page-support__button--card {
  background-color: #ffc107;
  color: #333333;
  border: 2px solid #ffc107;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 0.95rem;
}

.page-support__button--card:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  color: #ffffff;
}

.page-support__contact-image-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-support__contact-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

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

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

.page-support__resource-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-support__resource-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-support__resource-card h3 {
  padding: 20px 20px 0;
  flex-grow: 1;
}

.page-support__resource-title {
  font-size: 1.3rem;
  line-height: 1.4;
  margin-bottom: 10px;
}

.page-support__resource-title a {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-support__resource-title a:hover {
  color: #ffc107;
}

.page-support__resource-description {
  font-size: 0.95rem;
  color: #666666;
  line-height: 1.6;
  padding: 0 20px 20px;
}

.page-support__button--resource {
  display: block;
  margin: 0 20px 20px;
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 0.9rem;
}

.page-support__button--resource:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-support__hero-title {
    font-size: 2.8rem;
  }
  .page-support__hero-description {
    font-size: 1.1rem;
  }
  .page-support__faq-grid, .page-support__contact-options, .page-support__resources-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    min-height: 400px;
    padding: 60px 0;
  }
  .page-support__hero-content {
    padding: 30px;
  }
  .page-support__hero-title {
    font-size: 2.2rem;
  }
  .page-support__hero-description {
    font-size: 1rem;
  }
  .page-support__hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .page-support__hero-actions .page-support__button {
    margin: 10px 0;
    width: 80%;
  }
  .page-support__hero-actions .page-support__button--secondary {
    margin-left: 0;
  }
  .page-support__section-title {
    font-size: 2rem;
  }
  .page-support__section-intro {
    font-size: 1rem;
  }
  .page-support__faq-item, .page-support__contact-card {
    padding: 25px;
  }
  .page-support__faq-question {
    font-size: 1.2rem;
  }
  .page-support__card-title {
    font-size: 1.5rem;
  }
  .page-support__resources-section, .page-support__contact-section, .page-support__faq-section {
    padding: 60px 0;
  }
  /* Ensure images do not overflow on mobile */
  .page-support img {
    max-width: 100%;
    height: auto;
  }
  .page-support__resource-image {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8rem;
  }
  .page-support__hero-description {
    font-size: 0.9rem;
  }
  .page-support__button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .page-support__hero-actions .page-support__button {
    width: 90%;
  }
  .page-support__section-title {
    font-size: 1.8rem;
  }
  .page-support__faq-item, .page-support__contact-card {
    padding: 20px;
  }
  .page-support__faq-question {
    font-size: 1.1rem;
  }
  .page-support__card-title {
    font-size: 1.3rem;
  }
}