/* style/support.css */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark, so text is light */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-support__hero-section {
  background-color: #26A9E0; /* Main brand color for hero background */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

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

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

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

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  max-width: 100%; /* Ensure buttons are responsive */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

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

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

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

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

.page-support__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: center;
  color: #26A9E0; /* Main brand color for section titles */
}

.page-support__dark-section .page-support__section-title {
  color: #ffffff;
}

.page-support__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #f0f0f0; /* Light grey for intro text on dark background */
}

.page-support__why-choose-section,
.page-support__common-issues-section,
.page-support__faq-section,
.page-support__video-tutorial-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Dark background from shared.css */
  color: #ffffff;
}

.page-support__dark-section {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #ffffff;
  padding: 80px 0;
}

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

.page-support__feature-card,
.page-support__contact-card,
.page-support__issue-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}

.page-support__feature-card:hover,
.page-support__contact-card:hover,
.page-support__issue-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-support__feature-title,
.page-support__contact-title,
.page-support__issue-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-support__feature-description,
.page-support__contact-description,
.page-support__issue-description {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-support__contact-card .page-support__btn-primary,
.page-support__contact-card .page-support__btn-secondary {
  margin-top: auto;
}

.page-support__btn-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  margin-top: auto;
  display: inline-block;
  padding-top: 10px;
}

.page-support__btn-link:hover {
  text-decoration: underline;
}

.page-support__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.page-support__security-content--reverse {
  flex-direction: row-reverse;
}

.page-support__security-text {
  flex: 1;
  min-width: 300px;
  color: #f0f0f0;
}

.page-support__security-text p {
  margin-bottom: 20px;
}

.page-support__sub-title {
  font-size: 2em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-support__security-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-support__security-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.page-support__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-support__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block; /* Ensure it doesn't leave extra space below */
}

.page-support__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
}

.page-support__video-description {
  text-align: center;
  margin-top: 20px;
  font-size: 1.1em;
  color: #f0f0f0;
}

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

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

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

.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: #f0f0f0;
}

.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: 0;
}

.page-support__cta-section {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

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

@media (max-width: 768px) {
  .page-support {
    padding-top: var(--header-offset, 120px) !important;
    font-size: 16px;
    line-height: 1.6;
  }

  .page-support__hero-section,
  .page-support__why-choose-section,
  .page-support__contact-methods,
  .page-support__common-issues-section,
  .page-support__security-section,
  .page-support__video-tutorial-section,
  .page-support__faq-section,
  .page-support__cta-section {
    padding: 60px 0;
  }

  .page-support__container {
    padding: 0 15px;
  }

  .page-support__main-title {
    font-size: 2.2em;
  }

  .page-support__hero-description {
    font-size: 1em;
  }

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

  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

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

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

  .page-support__features-grid,
  .page-support__contact-grid,
  .page-support__issue-grid {
    grid-template-columns: 1fr;
  }

  .page-support__feature-card,
  .page-support__contact-card,
  .page-support__issue-card {
    padding: 25px;
  }

  .page-support__feature-image {
    min-width: 200px !important; /* Enforce min size */
    min-height: 200px !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__security-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-support__security-content--reverse {
    flex-direction: column;
  }

  .page-support__security-img {
    min-width: 200px !important; /* Enforce min size */
    min-height: 200px !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__video-wrapper {
    margin: 30px auto;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }

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

  .page-support__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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

@media (max-width: 480px) {
  .page-support__main-title {
    font-size: 1.8em;
  }
  .page-support__section-title {
    font-size: 1.6em;
  }
  .page-support__sub-title {
    font-size: 1.5em;
  }
  .page-support__feature-title,
  .page-support__contact-title,
  .page-support__issue-title {
    font-size: 1.3em;
  }
}