.page-support {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

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

.page-support__dark-bg {
  background-color: #001F3F;
  color: #ffffff;
}

.page-support__light-bg {
  background-color: #f8f9fa;
  color: #333333;
}

.page-support__hero-section {
  position: relative;
  padding: 80px 0 40px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

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

.page-support__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Accent color for main title */
  line-height: 1.2;
}

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

.page-support__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-support__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-support__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: inherit; /* Inherit from parent section */
}

.page-support__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  line-height: 1.6;
  color: inherit;
}

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background-color: #FFD700;
  color: #001F3F;
  border: 2px solid #FFD700;
  margin: 10px;
}

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

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

.page-support__btn-secondary:hover {
  background-color: #FFD700;
  color: #001F3F;
}

.page-support__why-section,
.page-support__contact-methods,
.page-support__faq-section,
.page-support__resources-section,
.page-support__feedback-section,
.page-support__cta-section {
  padding: 80px 0;
}

.page-support__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-support__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
  transition: transform 0.3s ease;
}

.page-support__feature-item:hover {
  transform: translateY(-10px);
}

.page-support__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-support__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #001F3F;
}

.page-support__feature-description {
  font-size: 1em;
  line-height: 1.5;
  color: #555555;
}

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

.page-support__contact-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-support__card-description {
  font-size: 1em;
  line-height: 1.5;
  margin-bottom: 25px;
}

.page-support__faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.page-support__faq-image-wrapper {
  text-align: center;
}

.page-support__faq-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  background-color: #f0f0f0;
  transition: background-color 0.3s ease;
}

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

.page-support__faq-question h3 {
  margin: 0;
  font-size: 1.1em;
  color: #001F3F;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #001F3F;
}

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

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

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

.page-support__faq-answer p {
  margin: 0;
  line-height: 1.6;
}

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

.page-support__resource-card {
  display: block;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__resource-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-support__resource-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-support__resource-title {
  font-size: 1.3em;
  margin: 15px 20px 10px;
  color: #FFD700;
}

.page-support__resource-description {
  font-size: 0.95em;
  line-height: 1.5;
  margin: 0 20px 20px;
}

.page-support__feedback-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  color: #333333;
}

.page-support__form-group {
  margin-bottom: 20px;
}

.page-support__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #001F3F;
}

.page-support__form-input,
.page-support__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
  color: #333333;
}

.page-support__form-textarea {
  resize: vertical;
}

.page-support__feedback-form .page-support__btn-primary {
  width: 100%;
  margin-top: 20px;
  font-size: 1.1em;
}

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

.page-support__cta-image-wrapper {
  text-align: center;
}

.page-support__cta-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 3em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
  .page-support__faq-grid {
    grid-template-columns: 1fr;
  }
  .page-support__faq-image-wrapper {
    order: -1; /* Image above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-support__container {
    padding: 0 15px !important;
  }
  .page-support__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 30px;
  }
  .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-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-support__why-section,
  .page-support__contact-methods,
  .page-support__faq-section,
  .page-support__resources-section,
  .page-support__feedback-section,
  .page-support__cta-section {
    padding: 50px 0;
  }

  /* Image responsive rules */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-support__hero-image-wrapper,
  .page-support__faq-image-wrapper,
  .page-support__cta-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-support__feature-icon,
  .page-support__resource-image {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Button responsive rules */
  .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;
    margin: 10px 0 !important;
  }
  .page-support__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 0 15px;
  }

  /* Form responsive */
  .page-support__feedback-form {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8em;
  }
  .page-support__section-title {
    font-size: 1.5em;
  }
  .page-support__features-grid,
  .page-support__contact-grid,
  .page-support__resources-grid {
    grid-template-columns: 1fr;
  }
}