/* style/support.css */

/* Base Styles */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Ensure consistency with body background */
}

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

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

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

.page-support__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

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

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

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

.page-support__btn-secondary:hover {
  background: #FFD700;
  color: #0A1931;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  padding: 120px 0 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

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

.page-support__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.page-support__main-heading {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__intro-text {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* Video Section */
.page-support__video-section {
  padding: 80px 0;
  background-color: #0A1931;
  text-align: center;
}

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

.page-support__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
}

.page-support__video-cta {
  margin-top: 20px;
}

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

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

.page-support__card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}

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

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

.page-support__card-button {
  width: 100%;
}

.page-support__contact-image {
  display: block;
  margin: 60px auto 30px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.page-support__contact-note {
  font-size: 0.95em;
  color: #cccccc;
  margin-top: 20px;
}

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

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

.page-support__faq-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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 30px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #f0f0f0;
}

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

.page-support__faq-answer p {
  margin-bottom: 1em;
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-support__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

.page-support__faq-answer a:hover {
  color: #e6c200;
}

.page-support__faq-image {
  display: block;
  margin: 60px auto 30px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

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

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

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

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

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

.page-support__security-image {
  display: block;
  margin: 60px auto 30px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* 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(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-support__resource-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.page-support__resource-link .page-support__card {
  height: 100%;
  padding: 25px;
}

.page-support__resource-link:hover .page-support__card {
  background: rgba(255, 255, 255, 0.15);
}

.page-support__resource-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-support__resource-text {
  font-size: 0.95em;
  color: #f0f0f0;
  flex-grow: 1;
}

/* Final CTA Section */
.page-support__final-cta-section {
  padding: 80px 0;
  background-color: #000000;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__main-heading {
    font-size: 3em;
  }
  .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: 100px 0 60px;
    padding-top: var(--header-offset, 120px) !important; /* Re-apply for mobile */
  }

  .page-support__hero-content {
    padding: 0 15px;
  }

  .page-support__main-heading {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-support__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
  }

  .page-support__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-support__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-support__cta-button,
  .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;
    padding-right: 15px;
    margin-bottom: 10px; /* Add space between stacked buttons */
  }

  .page-support__cta-button:last-child {
    margin-bottom: 0;
  }

  .page-support__cards-grid,
  .page-support__security-features,
  .page-support__resources-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-support__card {
    padding: 20px;
  }

  .page-support__card-title,
  .page-support__feature-title {
    font-size: 1.5em;
  }

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

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

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

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

  /* Video responsiveness */
  .page-support video,
  .page-support__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !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__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-support__main-heading {
    font-size: 1.8em;
  }
  .page-support__section-title {
    font-size: 1.5em;
  }
  .page-support__cta-button {
    padding: 12px 20px;
    font-size: 1em;
  }
}

/* Global image rules for content area - prevent small sizes */
.page-support img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

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

/* Ensure content area images are not too small in CSS */
.page-support__hero-image,
.page-support__contact-image,
.page-support__faq-image,
.page-support__security-image {
  width: 100%; /* Occupy full available width */
  max-width: 100%;
  height: auto;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

/* Ensure card images are large */
.page-support__card img {
  width: 100%; /* Card images should fill card width */
  height: auto;
  min-width: 200px;
  min-height: 200px;
}

/* Ensure video element is not too small in CSS */
.page-support__video {
  min-width: 200px;
  min-height: 200px;
}