/* style/support.css */

/* Base styles for the support page */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is #000000, so use light text */
  background-color: transparent; /* Rely on body background from shared.css */
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #000000;
  overflow: hidden;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

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

.page-support__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Use clamp for H1 */
  font-weight: bold;
  color: #FFFFFF;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.2rem;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* General Section Styles */
.page-support__intro-section, 
.page-support__contact-methods, 
.page-support__faq-section, 
.page-support__troubleshooting-section, 
.page-support__security-privacy, 
.page-support__feedback-section,
.page-support__conclusion-section {
  padding: 60px 0;
  text-align: center;
}

.page-support__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-support__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-support__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: bold;
  margin-bottom: 25px;
  color: inherit; /* Inherit from parent section (dark/light) */
}

.page-support__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-support__text-link {
  color: #EA7C07;
  text-decoration: underline;
}

.page-support__text-link:hover {
  color: #FFD700;
}

.page-support__highlight-text {
  color: #EA7C07;
  font-weight: bold;
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-tertiary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.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__btn-tertiary {
  background-color: #EA7C07;
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-support__btn-tertiary:hover {
  background-color: #cc6a00;
  border-color: #cc6a00;
}

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

.page-support__method-card {
  background-color: rgba(38, 169, 224, 0.1);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%; /* Ensure cards are same height */
  box-sizing: border-box;
  color: #333333; /* For light-bg section */
}

.page-support__light-bg .page-support__method-card {
  background-color: #f8f8f8;
  color: #333333;
}

.page-support__method-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  max-width: 100%;
  height: auto;
  display: block;
}

.page-support__method-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: inherit;
}

.page-support__method-description {
  font-size: 1rem;
  margin-bottom: 20px;
  flex-grow: 1;
  color: inherit;
}

/* FAQ Section */
.page-support__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-support__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  list-style: none; /* Hide default marker */
  color: #ffffff;
}

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.page-support__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  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: 1rem;
  color: #f0f0f0;
}

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

.page-support__trouble-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: #333333;
  height: 100%;
  box-sizing: border-box;
}

.page-support__trouble-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-support__trouble-list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #555555;
  flex-grow: 1;
}

.page-support__trouble-list li {
  margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-image {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-support__container {
    padding: 0 15px;
  }

  .page-support__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding on mobile */
  }

  .page-support__hero-image {
    max-height: 400px;
    margin-bottom: 20px;
  }

  .page-support__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-support__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__btn-tertiary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-support__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .page-support__text-block {
    font-size: 0.95rem;
  }

  .page-support__methods-grid,
  .page-support__troubleshooting-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__method-card,
  .page-support__trouble-card {
    padding: 25px;
  }

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

  .page-support__faq-answer {
    padding: 0 20px 18px 20px;
    font-size: 0.95rem;
  }

  /* Mobile specific image/video/container responsiveness */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-support video,
  .page-support__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__video-section,
  .page-support__video-container,
  .page-support__video-wrapper,
  .page-support__cta-buttons,
  .page-support__button-group,
  .page-support__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-support__cta-buttons {
    flex-direction: column !important; 
    gap: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-support__hero-section {
    padding: 30px 10px;
    padding-top: 10px !important;
  }

  .page-support__main-title {
    font-size: clamp(1.5rem, 10vw, 2rem);
  }

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

  .page-support__section-title {
    font-size: clamp(1.3rem, 8vw, 1.8rem);
  }

  .page-support__faq-item summary {
    font-size: 1rem;
  }

  .page-support__faq-answer {
    font-size: 0.9rem;
  }
}