/* Base styles for the support page */
.page-support {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

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

.page-support__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
}

.page-support__section-title--white {
  color: #ffffff;
}

.page-support__section-description {
  font-size: 18px;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__section-description--white {
  color: #f0f0f0;
}

.page-support__btn-primary {
  display: inline-block;
  background: #C30808;
  color: #FFFF00;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-support__btn-primary:hover {
  background-color: #a30707;
  transform: translateY(-2px);
}

.page-support__btn-secondary {
  display: inline-block;
  background: #ffffff;
  color: #017439;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
  border: 2px solid #017439;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-support__btn-secondary:hover {
  background-color: #f0f0f0;
  border-color: #005a2e;
  transform: translateY(-2px);
}

.page-support__btn-text {
  display: inline-block;
  color: #017439;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-support__btn-text:hover {
  color: #005a2e;
  text-decoration: underline;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
  padding: 80px 16px;
  overflow: hidden;
  background-color: #f9f9f9;
}

.page-support__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

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

.page-support__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 900px;
}

.page-support__main-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-support__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

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

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 25px;
  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: 28px;
  font-weight: bold;
  color: #017439;
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

details[open] .page-support__faq-toggle {
  transform: rotate(45deg);
}

details.page-support__faq-item .page-support__faq-answer {
  padding: 0 25px 25px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
}

.page-support__faq-answer p {
  margin: 0;
  font-size: 16px;
  color: #555555;
}

.page-support__faq-cta {
  text-align: center;
  margin-top: 50px;
}

.page-support__faq-cta-text {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #017439;
}

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

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

.page-support__contact-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-support__contact-card:hover {
  transform: translateY(-5px);
}

.page-support__contact-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-support__contact-card-title {
  font-size: 24px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
}

.page-support__contact-card-text {
  font-size: 16px;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Guides Section */
.page-support__guides-section {
  padding: 80px 0;
  background: #fcfcfc;
}

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

.page-support__guide-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.page-support__guide-card:hover {
  transform: translateY(-5px);
}

.page-support__guide-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-support__guide-card-title {
  font-size: 22px;
  font-weight: 700;
  color: #017439;
  padding: 20px 25px 10px;
}

.page-support__guide-card-title a {
  color: #017439;
  text-decoration: none;
}

.page-support__guide-card-title a:hover {
  color: #005a2e;
  text-decoration: underline;
}

.page-support__guide-card-text {
  font-size: 15px;
  color: #555555;
  padding: 0 25px 20px;
  flex-grow: 1;
}

.page-support__guide-card .page-support__btn-text {
  align-self: flex-start;
  margin: 0 25px 25px;
}

/* Commitment Section */
.page-support__commitment-section {
  padding: 80px 0;
  background: #017439;
  text-align: center;
}

.page-support__commitment-section .page-support__section-description {
  margin-bottom: 50px;
}

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

/* Responsive adjustments */
@media (max-width: 1023px) {
  .page-support__main-title {
    font-size: 40px;
  }
  .page-support__hero-description {
    font-size: 18px;
  }
  .page-support__section-title {
    font-size: 32px;
  }
  .page-support__section-description {
    font-size: 16px;
  }
  .page-support__contact-methods,
  .page-support__guide-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-support__hero-section {
    padding: 60px 16px;
    min-height: 400px;
  }
  .page-support__main-title {
    font-size: 32px;
  }
  .page-support__hero-description {
    font-size: 16px;
  }
  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    font-size: 16px;
  }
  .page-support__container {
    padding: 0 15px;
  }
  .page-support__section-title {
    font-size: 28px;
  }
  .page-support__section-description {
    font-size: 15px;
  }
  /* FAQ */
  details.page-support__faq-item summary.page-support__faq-question {
    padding: 15px 18px;
  }
  .page-support__faq-qtext {
    font-size: 16px;
  }
  .page-support__faq-toggle {
    font-size: 24px;
    margin-left: 15px;
  }
  details.page-support__faq-item .page-support__faq-answer {
    padding: 0 18px 18px;
  }
  .page-support__faq-answer p {
    font-size: 14px;
  }
  .page-support__faq-cta-text {
    font-size: 18px;
  }
  /* Contact */
  .page-support__contact-methods,
  .page-support__guide-cards {
    grid-template-columns: 1fr;
  }
  .page-support__contact-card,
  .page-support__guide-card {
    padding: 25px;
  }
  .page-support__contact-card-title {
    font-size: 20px;
  }
  .page-support__contact-card-text {
    font-size: 14px;
  }
  .page-support__guide-card-image {
    height: 180px;
  }
  .page-support__guide-card-title {
    font-size: 20px;
    padding: 15px 20px 8px;
  }
  .page-support__guide-card-text {
    padding: 0 20px 15px;
  }
  .page-support__guide-card .page-support__btn-text {
    margin: 0 20px 20px;
  }
  /* All images and containers for mobile */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-support__hero-section,
  .page-support__faq-section,
  .page-support__contact-section,
  .page-support__guides-section,
  .page-support__commitment-section,
  .page-support__container,
  .page-support__contact-card,
  .page-support__guide-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}