/* style/support.css */

/* Base styles for the support page */
.page-support {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Inherit from shared.css body */
  line-height: 1.6;
}

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

.page-support__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Accent color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-support__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: 1;
}

.page-support__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

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

.page-support__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-support__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal; /* Allow button text to wrap */
  word-wrap: break-word; /* Ensure long words break */
  box-sizing: border-box;
}

.page-support__btn-primary {
  background-color: #FFD700;
  color: #0A1931;
  border: 2px solid #FFD700;
}

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

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

.page-support__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A1931;
  transform: translateY(-2px);
}

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

.page-support__btn-link:hover {
  color: #e6c200;
}

/* Intro Section */
.page-support__intro-section {
  padding: 80px 0;
  background-color: #0A1931;
}

.page-support__dark-section {
  background-color: #0A1931;
  color: #ffffff;
}

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

.page-support__feature-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for features */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

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

.page-support__feature-text {
  font-size: 1.05em;
  color: #f0f0f0;
}

/* Video Section */
.page-support__video-section {
  padding: 80px 0;
  background-color: #1a1a2e; /* Slightly different dark background */
}

.page-support__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  margin-top: 30px;
}

.page-support__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
  display: block; /* Ensure it behaves as a block element */
}

.page-support__video-caption {
  text-align: center;
  color: #cccccc;
  margin-top: 20px;
  font-style: italic;
}

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

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

.page-support__contact-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-support__contact-card:hover {
  transform: translateY(-5px);
}

.page-support__contact-icon {
  width: 100%; /* Make icon take full width of card */
  height: auto;
  max-height: 200px; /* Limit height */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block; /* Ensure block behavior */
}

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

.page-support__contact-text {
  font-size: 1.05em;
  color: #f0f0f0;
  margin-bottom: 25px;
}

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

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

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

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

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

.page-support__faq-question h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.2em;
}

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

.page-support__faq-item.active .page-support__faq-toggle {
  transform: rotate(0deg); /* No rotation for minus sign */
}

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

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

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

/* Security Section */
.page-support__security-section {
  padding: 80px 0;
  background-color: #1a1a2e;
}

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

.page-support__security-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}

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

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

.page-support__security-text {
  font-size: 1.05em;
  color: #f0f0f0;
}

.page-support__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Resources Section */
.page-support__resources-section {
  padding: 80px 0;
  background-color: #0A1931;
}

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

.page-support__resource-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.page-support__resource-card:hover {
  transform: translateY(-5px);
}

.page-support__resource-title {
  font-size: 1.6em;
  margin-bottom: 15px;
}

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

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

.page-support__resource-text {
  font-size: 1.05em;
  color: #cccccc;
}

/* CTA Section */
.page-support__cta-section {
  padding: 80px 0;
  background-color: #1a1a2e;
  text-align: center;
}

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

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

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

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-support__hero-section {
    height: 500px;
  }

  .page-support__hero-title {
    font-size: 2.5em;
  }

  .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__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-support__button-group {
    flex-direction: column;
    gap: 15px;
  }

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

  /* Mobile image responsiveness */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important; /* Ensure it takes full width of parent */
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* Mobile video responsiveness */
  .page-support video,
  .page-support__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-support__video-section,
  .page-support__video-container,
  .page-support__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-support__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Re-apply header offset for video section on mobile */
  }

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

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

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

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

  .page-support__feature-item,
  .page-support__contact-card,
  .page-support__security-item,
  .page-support__resource-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 2em;
  }

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

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

  .page-support__hero-section {
    height: 400px;
  }

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

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

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