/* style/support.css */

/* Base styles for the support page */
.page-support {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  line-height: 1.6;
}

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

/* Section titles */
.page-support__section-title {
  color: #ffffff; /* Ensure high contrast */
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__section-description {
  color: #f0f0f0; /* Slightly lighter for descriptions */
  font-size: clamp(16px, 2vw, 18px);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Button styles */
.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

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

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

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

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

.page-support__btn-link {
  background: none;
  border: none;
  color: #26A9E0;
  padding: 0;
  font-weight: 600;
  text-decoration: underline;
  font-size: 15px;
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: #0a0a0a; /* Dark background matching body */
  overflow: hidden;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px; /* Space below image */
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Minimum size requirement */
}

.page-support__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

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

.page-support__intro-text {
  color: #f0f0f0;
  font-size: clamp(16px, 2.2vw, 20px);
  margin-bottom: 40px;
}

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

/* Contact Channels Section */
.page-support__contact-channels {
  background: #0d0d0d; /* Slightly lighter dark background */
  padding: 80px 0;
  color: #ffffff;
}

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

.page-support__channel-card {
  background: rgba(255, 255, 255, 0.05); /* Semi-transparent white for cards */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-height: 300px; /* Ensure cards have some height */
}

.page-support__channel-icon {
  width: 100%;
  max-width: 150px; /* Max width for icons */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

.page-support__card-title {
  color: #26A9E0; /* Brand color for titles */
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.page-support__card-text {
  color: #f0f0f0;
  font-size: 16px;
  margin-bottom: 25px;
  flex-grow: 1; /* Allow text to grow */
}

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

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

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  background: #1a1a1a; /* Slightly darker for question background */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-support__faq-question:hover {
  background: #2a2a2a;
}

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

.page-support__faq-toggle {
  font-size: 24px;
  font-weight: 300;
  margin-left: 15px;
  color: #26A9E0;
}

.page-support__faq-item[open] .page-support__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-support__faq-answer {
  padding: 20px 25px;
  font-size: 16px;
  color: #f0f0f0;
  background: rgba(255, 255, 255, 0.02); /* Very subtle background for answer */
}

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

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

.page-support__faq-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(38, 169, 224, 0.1); /* Light brand color background */
  border-radius: 12px;
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
  gap: 30px;
  flex-wrap: wrap; /* Allow wrapping */
}

.page-support__faq-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

.page-support__faq-cta-content {
  flex: 1;
  min-width: 280px;
  text-align: left;
}

.page-support__faq-cta-content .page-support__card-title {
  color: #ffffff; /* White title on dark background */
  text-align: left;
}

.page-support__faq-cta-content .page-support__card-text {
  color: #f0f0f0;
  text-align: left;
  margin-bottom: 25px;
}

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

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

.page-support__resource-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-height: 250px;
}

.page-support__resource-card .page-support__card-title {
  color: #26A9E0;
  text-align: left;
  margin-bottom: 10px;
}

.page-support__resource-card .page-support__card-text {
  color: #f0f0f0;
  text-align: left;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Final CTA Banner */
.page-support__cta-banner {
  background: #0a0a0a;
  padding: 80px 0;
  color: #ffffff;
}

.page-support__cta-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-support__cta-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

.page-support__cta-content-final {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-support__cta-content-final .page-support__section-title,
.page-support__cta-content-final .page-support__section-description {
  text-align: left;
}

.page-support__cta-content-final .page-support__cta-buttons {
  justify-content: flex-start;
  margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__hero-image {
    width: 100%; /* Ensure hero image scales */
  }
}

@media (max-width: 768px) {
  .page-support__container {
    padding: 0 15px; /* Smaller padding on mobile */
  }

  .page-support__hero-section,
  .page-support__contact-channels,
  .page-support__faq-section,
  .page-support__resources-section,
  .page-support__cta-banner {
    padding: 40px 0;
  }

  .page-support__main-title {
    font-size: 32px;
  }

  .page-support__intro-text {
    font-size: 16px;
  }

  .page-support__section-title {
    font-size: 28px;
  }

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

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

  /* Containers for images/videos/buttons */
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__channels-grid,
  .page-support__resources-grid,
  .page-support__cta-buttons,
  .page-support__faq-cta,
  .page-support__cta-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-support__hero-section {
    padding-top: 10px !important; /* Small fixed padding */
  }
  
  /* Buttons responsiveness */
  .page-support__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-support__faq-cta,
  .page-support__cta-container {
    flex-direction: column;
    text-align: center;
  }

  .page-support__faq-cta-content,
  .page-support__cta-content-final {
    text-align: center;
  }

  .page-support__faq-cta-content .page-support__card-title,
  .page-support__faq-cta-content .page-support__card-text,
  .page-support__cta-content-final .page-support__section-title,
  .page-support__cta-content-final .page-support__section-description {
    text-align: center;
  }
  
  .page-support__cta-content-final .page-support__cta-buttons {
    justify-content: center;
  }

  .page-support__channel-card,
  .page-support__resource-card {
    min-height: auto; /* Allow height to adjust */
  }
  
  .page-support__channel-icon,
  .page-support__faq-image,
  .page-support__cta-image {
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Ensure minimum image size is respected */
.page-support img {
  min-width: 200px;
  min-height: 200px;
}