/* style/support.css */

/* Base Styles */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #ffffff; /* Assuming default light background */
}

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

.page-support__dark-section {
  background-color: #1A202C;
  color: #ffffff;
}

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

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

.page-support__dark-section .page-support__section-title {
  color: #FFD700;
}

.page-support__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-support__hero-section .page-support__container {
  position: relative;
  z-index: 2;
}

.page-support__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-support__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.page-support__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.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;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

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

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

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

.page-support__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
}

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

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

.page-support__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #1A202C;
  cursor: pointer;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: #f0f0f0;
}

.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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important;
  padding: 15px 25px;
}

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

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

/* Contact Methods Section */
.page-support__contact-methods-section {
  padding: 80px 0;
}

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

.page-support__contact-card {
  background-color: #2a313d;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

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

.page-support__contact-card p {
  color: #f0f0f0;
  margin-bottom: 25px;
}

.page-support__contact-button {
  width: 100%;
  padding: 12px 20px;
  font-size: 1em;
  border-radius: 5px;
}

/* Troubleshooting Section */
.page-support__troubleshooting-section {
  padding: 80px 0;
}

.page-support__troubleshooting-list {
  max-width: 900px;
  margin: 40px auto;
  list-style: none;
  padding: 0;
}

.page-support__troubleshooting-list li {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
}

.page-support__troubleshooting-list h3 {
  font-size: 1.5em;
  color: #1A202C;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-support__troubleshooting-list p {
  color: #555555;
  margin-bottom: 0;
}

.page-support__troubleshooting-image {
  display: block;
  margin: 60px auto 0 auto;
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}

/* Contact Form Section */
.page-support__form-section {
  padding: 80px 0;
}

.page-support__contact-form {
  max-width: 700px;
  margin: 40px auto;
  background-color: #2a313d;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__form-group {
  margin-bottom: 20px;
}

.page-support__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #FFD700;
}

.page-support__form-input,
.page-support__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #444;
  border-radius: 5px;
  background-color: #3a414d;
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-support__form-input::placeholder,
.page-support__form-textarea::placeholder {
  color: #bbb;
}

.page-support__form-input:focus,
.page-support__form-textarea:focus {
  border-color: #FFD700;
  outline: none;
}

.page-support__submit-button {
  width: auto;
  padding: 15px 40px;
  cursor: pointer;
  font-size: 1.1em;
  border-radius: 8px;
}

/* Safety Section */
.page-support__safety-section {
  padding: 80px 0;
  text-align: center;
}

.page-support__safety-tips-list {
  max-width: 900px;
  margin: 40px auto;
  list-style: none;
  padding: 0;
  text-align: left;
}

.page-support__safety-tips-list li {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px 25px;
  margin-bottom: 10px;
  color: #333333;
  font-size: 1.1em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 3em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }

  .page-support__hero-title {
    font-size: 2.5em;
  }

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

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

  .page-support__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-support__contact-grid {
    grid-template-columns: 1fr;
  }

  .page-support__faq-section,
  .page-support__contact-methods-section,
  .page-support__troubleshooting-section,
  .page-support__form-section,
  .page-support__safety-section {
    padding: 50px 0;
  }

  .page-support__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-support__form-input,
  .page-support__form-textarea {
    width: 100% !important;
  }

  .page-support__contact-form {
    padding: 30px 20px;
  }

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

  /* Container for images, videos, buttons */
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__cta-group,
  .page-support__contact-grid,
  .page-support__faq-list,
  .page-support__troubleshooting-list,
  .page-support__safety-tips-list,
  .page-support__contact-form {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Specific overrides for padding on sections that already have it */
  .page-support__hero-section .page-support__container {
    padding-left: 0;
    padding-right: 0;
  }
  .page-support__faq-list, .page-support__troubleshooting-list, .page-support__safety-tips-list {
    padding-left: 0;
    padding-right: 0;
  }
  .page-support__faq-item, .page-support__troubleshooting-list li, .page-support__safety-tips-list li {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__faq-answer {
    padding: 15px 15px !important;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 2em;
  }

  .page-support__section-title {
    font-size: 1.8em;
  }
}