.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--black-color); /* Inherit from shared.css */
}

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

.page-support__hero-section {
  position: relative;
  background-color: #26A9E0; /* Brand primary color for hero */
  color: #ffffff;
  padding: 80px 0 60px; /* Adjusted padding-top by JS for header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.page-support__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-bottom: 30px;
}

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

.page-support__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

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

.page-support__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-support__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
  font-weight: bold;
}

.page-support__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  opacity: 0.8;
  line-height: 1.5;
}

.page-support__faq-section {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 0;
  position: relative;
}

.page-support__faq-list {
  max-width: 900px;
  margin: 0 auto 40px;
}

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  background-color: #ffffff;
  color: #26A9E0;
  transition: background-color 0.3s ease;
}

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

.page-support__faq-question h3 {
  margin: 0;
  flex-grow: 1;
  color: inherit;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 24px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.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, padding 0.3s ease;
  color: #555555;
  background-color: #f9f9f9;
}

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

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

.page-support__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-support__faq-image {
  display: block;
  margin: 40px auto 0;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-support__contact-section {
  background-color: #26A9E0;
  color: #ffffff;
  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__method-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-support__method-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.2);
}

.page-support__method-icon {
  width: 120px;
  height: 90px; /* Adjusted height to avoid small icon issue, maintain aspect ratio */
  object-fit: contain;
  margin-bottom: 20px;
  filter: brightness(1.1); /* Slightly adjust brightness for visibility if needed, but not hue/saturation */
}

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

.page-support__method-description {
  font-size: 1em;
  margin-bottom: 25px;
  opacity: 0.8;
}

.page-support__tips-section {
  background-color: #f0f8ff;
  color: #333333;
  padding: 60px 0;
  position: relative;
}

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

.page-support__tip-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.page-support__tip-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-support__tip-description {
  font-size: 0.95em;
  color: #555555;
}

.page-support__tips-image {
  display: block;
  margin: 40px auto 0;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-support__conclusion-section {
  background-color: #000000;
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  box-sizing: border-box;
  max-width: 100%;
}

.page-support__btn-primary {
  background: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

.page-support__btn-secondary:hover {
  background: #f0f0f0;
  color: #1a8cc4;
  border-color: #1a8cc4;
}

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

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-support__hero-section {
    padding: 60px 0 40px; /* Adjusted for 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.95em;
  }
  .page-support__faq-question,
  .page-support__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__contact-methods {
    grid-template-columns: 1fr;
  }
  .page-support__tips-grid {
    grid-template-columns: 1fr;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary {
    padding: 10px 20px;
    font-size: 1em;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 10px; /* Spacing between stacked buttons */
  }
  .page-support__hero-content .page-support__btn-primary {
    margin-bottom: 0;
  }

  /* Force image responsiveness */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-support__hero-image {
    width: 100%; /* Hero image should fill its container */
    height: 100%;
  }
  /* All containers with images/content */
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__method-card,
  .page-support__tip-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__faq-image, .page-support__tips-image {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset */
  }
  /* Ensure no horizontal scroll */
  .page-support {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8em;
  }
  .page-support__section-title {
    font-size: 1.5em;
  }
  .page-support__faq-question {
    font-size: 1em;
    padding: 15px 10px;
  }
  .page-support__faq-answer {
    padding: 10px 10px;
  }
  .page-support__method-card,
  .page-support__tip-item {
    padding: 20px 15px;
  }
  .page-support__method-icon {
    width: 100px;
    height: 75px;
  }
}