/* style/support.css */

/* Base styles for page-support */
.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 is handled by shared.css */
}

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

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

.page-support__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 20px;
  color: #26A9E0;
  line-height: 1.2;
}

.page-support__section-intro {
  font-size: 18px;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6);
}

.page-support__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 900px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}

.page-support__main-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  margin-bottom: 15px;
  color: #FFFFFF;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-support__hero-description {
  font-size: clamp(16px, 2vw, 22px);
  margin-bottom: 30px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  margin: 10px;
  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: #1a8ac7;
  border-color: #1a8ac7;
  transform: translateY(-2px);
}

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

.page-support__btn-secondary:hover {
  background-color: #e0e0e0;
  border-color: #1a8ac7;
  transform: translateY(-2px);
}

.page-support__text-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-support__text-link:hover {
  text-decoration: underline;
}

/* Why Choose Us Section */
.page-support__why-choose-us {
  background-color: #0a0a0a; /* Ensure contrast with light text */
  color: #ffffff;
}

.page-support__why-choose-us .page-support__section-title {
  color: #26A9E0;
}

.page-support__why-choose-us .page-support__section-intro {
  color: #f0f0f0;
}

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

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

.page-support__feature-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-support__feature-icon {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-support__feature-text {
  font-size: 16px;
  color: #f0f0f0;
}

/* FAQ Section */
.page-support__faq-section {
  background-color: #0d0d0d; /* Slightly lighter dark for variety */
  color: #ffffff;
}

.page-support__faq-section .page-support__section-title {
  color: #26A9E0;
}

.page-support__faq-section .page-support__section-intro {
  color: #f0f0f0;
}

.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.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-support__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-support__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

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

.page-support__faq-qtext {
  flex-grow: 1;
  color: #26A9E0;
}

.page-support__faq-toggle {
  font-size: 24px;
  margin-left: 15px;
  color: #ffffff;
}

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

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

/* Contact Methods Section */
.page-support__contact-methods {
  background-color: #26A9E0; /* Brand color as background */
  color: #ffffff;
}

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

.page-support__contact-methods .page-support__section-intro {
  color: #f0f0f0;
}

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

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

.page-support__contact-icon {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-support__contact-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-support__contact-text {
  font-size: 16px;
  margin-bottom: 25px;
  color: #f0f0f0;
}

/* Security & Privacy Section */
.page-support__security-privacy {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-support__security-privacy .page-support__section-title {
  color: #26A9E0;
}

.page-support__security-privacy .page-support__section-intro {
  color: #f0f0f0;
}

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

.page-support__info-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

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

.page-support__info-text {
  font-size: 16px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

/* Guides & Tutorials Section */
.page-support__guides-tutorials {
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-support__guides-tutorials .page-support__section-title {
  color: #26A9E0;
}

.page-support__guides-tutorials .page-support__section-intro {
  color: #f0f0f0;
}

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

.page-support__guide-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-support__guide-card a {
  color: #26A9E0;
  text-decoration: none;
}

.page-support__guide-card a:hover {
  text-decoration: underline;
}

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

.page-support__guide-text {
  font-size: 16px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

/* CTA Bottom Section */
.page-support__cta-bottom {
  background-color: #26A9E0;
  color: #ffffff;
  padding-bottom: 80px;
}

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

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

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

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

  .page-support__main-title {
    font-size: clamp(28px, 4.5vw, 48px);
  }

  .page-support__hero-description {
    font-size: clamp(15px, 1.8vw, 20px);
  }

  .page-support__section-title {
    font-size: clamp(24px, 3.5vw, 38px);
  }

  .page-support__section-intro {
    font-size: 17px;
  }

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

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }

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

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

  .page-support__hero-section {
    padding-bottom: 40px;
  }

  .page-support__hero-content {
    position: static;
    transform: none;
    text-align: center;
    padding: 20px 15px;
    margin-top: -100px; /* Pull content up over image a bit for better flow */
    background-color: rgba(0, 0, 0, 0.5); /* Add background for readability */
    border-radius: 10px;
  }

  .page-support__hero-image-wrapper {
    max-height: 300px;
  }

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

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

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

  .page-support__feature-icon,
  .page-support__contact-icon {
    width: 200px !important;
    height: auto !important;
  }

  /* Buttons responsive */
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support a[class*="button"],
  .page-support a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 5px 0 !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

  .page-support__section-intro {
    font-size: 16px;
  }

  .page-support__feature-card,
  .page-support__contact-card,
  .page-support__info-item,
  .page-support__guide-card {
    padding: 25px;
  }

  .page-support__feature-title,
  .page-support__contact-title,
  .page-support__info-title,
  .page-support__guide-title {
    font-size: 20px;
  }

  .page-support__faq-item summary {
    font-size: 16px;
    padding: 15px 20px;
  }

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

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

  .page-support__why-choose-us .page-support__container,
  .page-support__faq-section .page-support__container,
  .page-support__contact-methods .page-support__container,
  .page-support__security-privacy .page-support__container,
  .page-support__guides-tutorials .page-support__container,
  .page-support__cta-bottom .page-support__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Ensure no overflow for any containers */
  .page-support__features-grid,
  .page-support__contact-grid,
  .page-support__info-grid,
  .page-support__guides-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}