/* 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: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-support__section {
  padding: 80px 0;
  text-align: center;
}

.page-support__section-title {
  font-size: 3em;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-support__section-title--light {
  color: #FFFFFF;
}

.page-support__section-intro {
  font-size: 1.1em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 60px auto;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  min-height: 600px;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  padding-bottom: 80px; /* Ensure content is not too close to bottom */
}

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

.page-support__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
}

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

.page-support__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-support__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin: 10px;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  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: #1e87c2;
  border-color: #1e87c2;
}

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

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

/* Why Choose Section */
.page-support__why-choose {
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-support__feature-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-support__feature-item:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-support__feature-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px; /* Added for image style consistency */
}

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

.page-support__feature-description {
  color: #f0f0f0;
  font-size: 1em;
}

/* Contact Channels Section */
.page-support__contact-channels {
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-support__channel-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-support__channel-item:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-support__channel-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px; /* Added for image style consistency */
}

.page-support__channel-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-support__channel-description {
  color: #f0f0f0;
  font-size: 1em;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-support__faq {
  background-color: #0a0a0a;
  color: #ffffff;
}

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

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

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

.page-support__faq-heading {
  font-size: 1.3em;
  color: #FFFFFF;
  margin: 0;
}

.page-support__faq-toggle {
  font-size: 2em;
  line-height: 1;
  color: #26A9E0;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-toggle {
  transform: rotate(0deg);
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px 25px;
}

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

/* CTA Bottom Section */
.page-support__cta-bottom {
  padding: 100px 0;
}

.page-support__cta-bottom .page-support__container {
  background-color: #26A9E0;
  padding: 60px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.page-support__cta-bottom .page-support__section-title {
  color: #ffffff;
  margin-bottom: 20px;
}

.page-support__cta-bottom .page-support__section-intro {
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

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

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

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

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

  .page-support__section-intro {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
  }

  .page-support__hero-content {
    padding: 15px;
  }

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

  .page-support__hero-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-support__section {
    padding: 60px 0;
  }

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

  .page-support__section-intro {
    font-size: 0.9em;
    margin-bottom: 40px;
  }

  .page-support__features-grid,
  .page-support__channels-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-support__feature-item,
  .page-support__channel-item {
    padding: 25px;
  }

  .page-support__feature-icon,
  .page-support__channel-icon {
    width: 120px;
    height: 120px;
  }

  .page-support__feature-title,
  .page-support__channel-title {
    font-size: 1.5em;
  }

  .page-support__faq-list {
    margin-top: 40px;
  }

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

  .page-support__faq-heading {
    font-size: 1.1em;
  }

  .page-support__faq-toggle {
    font-size: 1.8em;
  }

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

  .page-support__faq-item.active .page-support__faq-answer {
    padding: 15px 20px 20px 20px;
  }

  .page-support__cta-bottom {
    padding: 80px 0;
  }

  .page-support__cta-bottom .page-support__container {
    padding: 40px 20px;
  }

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

  .page-support__btn-primary,
  .page-support__btn-secondary {
    padding: 12px 25px;
    width: 100%;
    box-sizing: border-box !important;
    max-width: 100% !important;
    margin: 0;
  }

  /* Mobile image and container specific overrides */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__feature-item,
  .page-support__channel-item,
  .page-support__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__hero-section .page-support__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
}