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

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

.page-support__hero-section {
  background-color: #003366;
  color: #ffffff;
  padding: var(--header-offset, 120px) 0 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-support__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}

.page-support__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700;
  line-height: 1.2;
}

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

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

.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;
  text-align: center;
  white-space: nowrap;
}

.page-support__button--primary {
  background-color: #FFD700;
  color: #003366;
  border: 2px solid #FFD700;
}

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

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

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

.page-support__button--lg {
  padding: 18px 35px;
  font-size: 1.3em;
}

.page-support__hero-image {
  margin-top: 40px;
  max-width: 100%;
}

.page-support__hero-image img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-support__section-title {
  font-size: 2.5em;
  color: #003366;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-support__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

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

.page-support__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-support__faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.page-support__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.page-support__faq-item:hover {
  transform: translateY(-5px);
}

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

.page-support__faq-question::after {
  content: '+';
  font-size: 1.2em;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

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

.page-support__faq-answer {
  font-size: 1em;
  color: #666666;
  display: none;
  padding-top: 10px;
  border-top: 1px solid #eeeeee;
  margin-top: 15px;
}

.page-support__faq-answer.active {
  display: block;
}

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

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

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

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

.page-support__contact-section {
  padding: 80px 0;
  background-color: #f2f7fc;
}

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

.page-support__contact-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-support__contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-support__card-title {
  font-size: 1.8em;
  color: #003366;
  margin-bottom: 15px;
}

.page-support__card-text {
  color: #666666;
  margin-bottom: 25px;
}

.page-support__contact-card .page-support__button {
  width: 100%;
  padding: 12px 20px;
  font-size: 1em;
}

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

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

.page-support__resources-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-support__resource-card {
  display: block;
  text-decoration: none;
  background-color: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-support__resource-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

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

.page-support__resource-card .page-support__card-title {
  font-size: 1.5em;
  color: #003366;
  padding: 20px 20px 0;
  text-align: left;
}

.page-support__resource-card .page-support__card-text {
  color: #666666;
  padding: 0 20px 20px;
  text-align: left;
}

.page-support__view-all-button-wrapper {
  text-align: center;
  margin-top: 60px;
}

.page-support__cta-section {
  background-color: #003366;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-support__cta-section .page-support__section-title {
  color: #FFD700;
}

.page-support__cta-section .page-support__section-description {
  color: #f0f0f0;
  margin-bottom: 50px;
}

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

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

  .page-support__hero-image img,
  .page-support__faq-image img,
  .page-support__contact-image img,
  .page-support__resource-card img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding: var(--header-offset, 120px) 20px 40px 20px;
  }

  .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%;
  }

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

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

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

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

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

  .page-support__resource-cards {
    grid-template-columns: 1fr;
  }

  .page-support__resource-card img {
    height: 200px;
  }

  /* Ensure all images within .page-support are responsive and do not overflow */
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
  }
}

@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.6em;
  }

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

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

/* Ensure content area images are not smaller than 200px */
.page-support__hero-image img,
.page-support__faq-image img,
.page-support__contact-image img,
.page-support__resource-card img {
  min-width: 200px;
  min-height: 200px;
}