/* style/support.css */
.page-support {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light body background */
  background-color: #FFFFFF; /* Body background is white */
}

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

.page-support__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  background-color: #f8f8f8;
  text-align: center;
  overflow: hidden;
}

.page-support__container--hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-support__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-support__hero-content {
  text-align: center;
  max-width: 800px;
}

.page-support__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Using clamp for H1 font size */
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-support__description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #555555;
}

.page-support__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-support__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  border-radius: 2px;
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-support__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
  margin: 0 10px;
}

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

.page-support__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  margin: 0 10px;
}

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

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

details.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

details.page-support__faq-item summary.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-support__faq-item summary.page-support__faq-question:hover {
  background: #f5f5f5;
}

.page-support__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-support__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #26A9E0; /* Use brand color for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-support__faq-item .page-support__faq-answer {
  padding: 0 20px 20px;
  background: #fcfcfc;
  border-radius: 0 0 8px 8px;
  color: #555555;
  line-height: 1.6;
}

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

/* Contact Section */
.page-support__contact-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  text-align: center;
}

.page-support__contact-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #555555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

/* Responsive Styles for mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-support__container {
    padding: 0 15px !important;
  }

  .page-support__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px !important;
  }

  .page-support__main-title {
    font-size: clamp(24px, 7vw, 36px) !important; /* Adjusted for mobile */
    margin-bottom: 10px !important;
  }

  .page-support__description {
    font-size: 16px !important;
    margin-bottom: 20px !important;
  }

  .page-support__section-title {
    font-size: 28px !important;
    margin-bottom: 30px !important;
    padding-bottom: 10px !important;
  }

  .page-support__section-title::after {
    width: 60px !important;
    height: 3px !important;
  }

  /* Buttons mobile */
  .page-support__btn-primary,
  .page-support__btn-secondary {
    font-size: 16px !important;
    padding: 12px 20px !important;
    margin: 5px 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-support__contact-methods {
    flex-direction: column !important;
    gap: 10px !important;
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* FAQ mobile */
  .page-support__faq-section {
    padding: 40px 0 !important;
  }

  details.page-support__faq-item summary.page-support__faq-question {
    padding: 15px !important;
  }

  .page-support__faq-qtext {
    font-size: 16px !important;
  }

  .page-support__faq-toggle {
    font-size: 20px !important;
  }

  details.page-support__faq-item .page-support__faq-answer {
    padding: 0 15px 15px !important;
  }

  .page-support__contact-section {
    padding: 40px 0 !important;
  }

  .page-support__contact-description {
    font-size: 16px !important;
    margin-bottom: 30px !important;
  }

  /* Global image responsiveness for mobile */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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