/* style/support.css */

/* Base styles for the support page */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background 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;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small decorative top padding */
  text-align: center;
  overflow: hidden;
  background-color: #000000; /* Ensure dark background for hero section */
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  filter: brightness(0.4); /* Darken image for text readability */
}

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

.page-support__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-support__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-link,
.page-support__btn-text-link {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

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

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

.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: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff;
  line-height: 1.2;
}

.page-support__text-block {
  font-size: 1.05em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

.page-support__services-section,
.page-support__contact-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Dark background for content sections */
  color: #ffffff;
}

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

.page-support__card {
  background: rgba(255, 255, 255, 0.08); /* Light semi-transparent on dark body */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-support__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.page-support__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-support__service-image,
.page-support__method-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-support__btn-link,
.page-support__btn-text-link {
  color: #26A9E0;
  font-weight: 600;
  margin-top: auto;
  padding: 8px 15px;
  border: 1px solid #26A9E0;
  border-radius: 5px;
  background: transparent;
}

.page-support__btn-link:hover,
.page-support__btn-text-link:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-support__faq-section,
.page-support__resources-section {
  padding: 80px 0;
  background-color: #000000; /* Dark background */
  color: #ffffff;
}

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

.page-support__faq-item {
  margin-bottom: 20px;
  text-align: left;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.page-support__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: #26A9E0;
  transition: color 0.3s ease;
}

.page-support__faq-item summary:hover {
  color: #4ac3ff;
}

.page-support__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-support__faq-qtext {
  flex-grow: 1;
}

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

.page-support__faq-item[open] .page-support__faq-toggle {
  transform: rotate(45deg);
}

.page-support__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-support__resource-card {
  text-decoration: none;
  color: #ffffff;
}

.page-support__resource-card .page-support__card-title {
  color: #26A9E0;
}

.page-support__resource-card p {
  color: #f0f0f0;
}

/* Ensure content area images are at least 200px */
.page-support img:not(.page-support__hero-image):not(.page-support__method-icon) {
  min-width: 200px;
  min-height: 200px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-support__hero-content {
    padding: 0 15px;
  }

  .page-support__section-title {
    margin-bottom: 30px;
  }

  .page-support__text-block {
    margin-bottom: 40px;
  }

  .page-support__services-section,
  .page-support__contact-section,
  .page-support__faq-section,
  .page-support__resources-section {
    padding: 60px 0;
  }

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

@media (max-width: 768px) {
  .page-support__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body has padding-top, only small decorative padding here */
  }

  .page-support__main-title {
    font-size: 2rem;
  }

  .page-support__description {
    font-size: 1em;
  }

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

  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__btn-link,
  .page-support__btn-text-link {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
  }

  .page-support__service-grid,
  .page-support__contact-methods,
  .page-support__resource-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-support__card {
    padding: 25px;
  }

  .page-support__card-title {
    font-size: 1.3em;
  }

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

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

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

  .page-support__hero-image {
    position: relative;
    height: 250px;
  }

  .page-support__service-image,
  .page-support__method-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-support__container,
  .page-support__service-item,
  .page-support__method-item,
  .page-support__faq-item,
  .page-support__resource-card,
  .page-support__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-support__services-section .page-support__container,
  .page-support__contact-section .page-support__container,
  .page-support__faq-section .page-support__container,
  .page-support__resources-section .page-support__container {
    padding-left: 0;
    padding-right: 0;
  }
}