/* style/support.css */

/* Base styles for the page content, ensuring text color contrasts with body background #0a0a0a */
.page-support {
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

/* Container for main content, centered */
.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section titles */
.page-support__section-title {
  font-size: 3em; /* Use em for relative sizing, will adjust for mobile */
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #26A9E0; /* Brand color for titles */
  line-height: 1.2;
}

/* Section descriptions */
.page-support__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background-color: #0a0a0a; /* Ensure hero section background is dark */
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for the image */
  margin-bottom: 30px;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-support__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-support__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 800;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0; /* Slightly off-white for readability */
}

/* CTA Buttons */
.page-support__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 10px;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text break */
}

.page-support__btn-primary {
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

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

.page-support__disabled-button {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Dark Section styling */
.page-support__dark-section {
  background-color: #1a1a1a; /* Darker than body for contrast, but still dark */
  padding: 80px 0;
  color: #ffffff;
}

.page-support__dark-section .page-support__section-title {
  color: #26A9E0; /* Brand color on dark background */
}

/* Why Choose Us Section */
.page-support__why-choose-us {
  padding: 80px 0;
}

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

.page-support__feature-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark bg */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  min-height: 200px; /* Minimum height for card */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.page-support__feature-card .page-support__card-text {
  font-size: 1em;
  color: #e0e0e0;
}

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

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

.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-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  outline: none;
  font-weight: 600;
  font-size: 1.15em;
  color: #ffffff;
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker */
}

.page-support__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit */
}

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

.page-support__faq-qtext {
  flex-grow: 1;
  color: #26A9E0;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  margin-left: 20px;
  color: #ffffff;
}

.page-support__faq-answer {
  padding: 15px 25px 25px 25px;
  font-size: 1em;
  color: #e0e0e0;
}

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

.page-support__link-more {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
}

.page-support__link-more:hover {
  text-decoration: underline;
}

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

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

.page-support__method-card {
  background-color: 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);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 400px; /* Ensure cards are large enough */
}

.page-support__method-icon {
  width: 100%;
  max-width: 250px; /* Ensure icon is not too small, but responsive */
  height: auto;
  margin-bottom: 20px;
  display: block;
  border-radius: 8px; /* Soften edges */
}

.page-support__method-card .page-support__card-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-support__method-card .page-support__card-text {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 25px;
}

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

.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;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px; /* Minimum height for card */
}

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

.page-support__resource-card .page-support__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

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

.page-support__resource-card .page-support__card-text {
  font-size: 0.95em;
  color: #e0e0e0;
}

/* Bottom CTA Section */
.page-support__cta-bottom {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-support__cta-bottom .page-support__section-description {
  margin-bottom: 50px;
}

.page-support__button-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  gap: 20px;
}


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

@media (max-width: 768px) {
  .page-support {
    font-size: 15px;
  }

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

  .page-support__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-support__main-title {
    font-size: clamp(2em, 8vw, 2.8em);
  }

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

  .page-support__section-title {
    font-size: 2em;
    margin-bottom: 25px;
  }

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

  .page-support__why-choose-us,
  .page-support__faq-section,
  .page-support__contact-methods,
  .page-support__resources-section,
  .page-support__cta-bottom {
    padding: 60px 0;
  }

  .page-support__features-grid,
  .page-support__methods-grid,
  .page-support__resources-grid {
    grid-template-columns: 1fr; /* Stack cards vertically */
    gap: 20px;
  }

  .page-support__feature-card,
  .page-support__method-card,
  .page-support__resource-card {
    min-height: auto; /* Allow height to adjust */
    padding: 25px;
  }

  .page-support__faq-item summary {
    font-size: 1em;
    padding: 18px 20px;
  }

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

  /* Mobile image responsiveness */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile video responsiveness - no videos on this page, but keeping the rule */
  .page-support video,
  .page-support__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile button responsiveness */
  .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;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-support__button-group {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }
  
  /* Container padding for mobile */
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-section,
  .page-support__why-choose-us,
  .page-support__faq-section,
  .page-support__contact-methods,
  .page-support__resources-section,
  .page-support__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  /* Specific padding for sections that need it */
  .page-support__why-choose-us .page-support__container,
  .page-support__faq-section .page-support__container,
  .page-support__contact-methods .page-support__container,
  .page-support__resources-section .page-support__container,
  .page-support__cta-bottom .page-support__container {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Ensure images meet minimum size requirements */
.page-support img {
  min-width: 200px;
  min-height: 200px;
}

/* Override any potential smaller widths for content images */
.page-support__method-icon {
  min-width: 200px; /* Enforce min size for cards */
  min-height: 200px;
  max-width: 100%; /* Ensure it's still responsive */
  height: auto;
}

/* No CSS filter for images */
.page-support img {
  filter: none !important;
}

/* Content area image CSS dimensions lower than 200px are forbidden */
/* All images within .page-support are handled by general img rule and specific card img rules */
/* The general `img` rule ensures `max-width: 100%; height: auto;` and `min-width: 200px; min-height: 200px;` */
/* This will prevent any image from being rendered smaller than 200px by CSS. */