.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #FFFFFF; /* Ensures consistency with body background */
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #FFFFFF;
  color: #333333;
  overflow: hidden;
}

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

.page-support__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
}

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

/* Section Titles and Descriptions */
.page-support__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

/* Contact Methods Section */
.page-support__contact-methods {
  padding: 80px 0;
  background-color: #f8f8f8;
  color: #333333;
}

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

.page-support__method-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-support__method-icon {
  width: 150px;
  height: 150px;
  margin-bottom: 25px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #26A9E0;
}

.page-support__method-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__method-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.page-support__faq-list {
  margin-top: 40px;
}

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: #f0f0f0;
}

.page-support__faq-heading {
  font-size: 1.2em;
  color: #26A9E0;
  margin: 0;
  font-weight: bold;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  color: #26A9E0;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-toggle {
  transform: rotate(45deg);
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: #fcfcfc;
  color: #555555;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px;
}

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

/* Resources Section */
.page-support__resources-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Brand color as background */
  color: #ffffff; /* White text for contrast */
}

.page-support__resources-section .page-support__section-title,
.page-support__resources-section .page-support__section-description {
  color: #ffffff;
}

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

.page-support__resource-card {
  background-color: rgba(255, 255, 255, 0.15); /* Semi-transparent white */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-support__resource-card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.25);
}

.page-support__resource-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
  flex-grow: 1;
}

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

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

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

/* Call to Action Section */
.page-support__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #FFFFFF;
  color: #333333;
}

.page-support__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* For mobile responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-support__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-support__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.page-support__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-support__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #26A9E0;
}

.page-support__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-support__btn-text-link {
  color: #26A9E0;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-support__btn-text-link:hover {
  color: #1e87c0;
}

/* Image styles */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

  .page-support__method-icon {
    width: 120px;
    height: 120px;
  }

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

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

@media (max-width: 768px) {
  .page-support__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-support__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
  }

  .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.9em;
    margin-bottom: 30px;
  }

  .page-support__methods-grid,
  .page-support__resources-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-support__method-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
  }

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

  .page-support__faq-question {
    padding: 18px 20px;
  }

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

  .page-support__faq-answer {
    padding: 18px 20px;
  }

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support a[class*="button"],
  .page-support a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-support__cta-buttons,
  .page-support__button-group,
  .page-support__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    overflow: hidden !important;
  }

  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure content area images also adhere to minimum size if not handled by individual components */
  .page-support__content-area img {
    min-width: 200px !important; /* Enforce min size for content images */
    min-height: 200px !important;
  }

  /* Override specific component image sizes if they fall below minimum */
  .page-support__method-icon {
    min-width: 200px !important; /* Ensure icons are not small on mobile */
    min-height: 200px !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 10px !important; /* Make them square if they were circles for smaller sizes */
  }

  /* Ensure no filter is applied to images */
  .page-support img {
    filter: none !important;
  }

  /* Adjust padding for sections to avoid overflow */
  .page-support__contact-methods,
  .page-support__faq-section,
  .page-support__resources-section,
  .page-support__cta-section {
    padding: 40px 0;
  }
}