/* style/support.css */

/* Body background from shared.css var(--bg), assuming dark for contrast with light text */
.page-support {
  background-color: var(--bg, #08160F); /* Background */
  color: #F2FFF6; /* Text Main */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.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;
  background-color: #08160F; /* Background */
  overflow: hidden;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height of hero image for better content visibility */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image to improve text contrast */
}

.page-support__hero-content {
  position: absolute;
  text-align: center;
  max-width: 800px;
  padding: 20px;
  z-index: 10;
}

.page-support__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-support__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-support__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-support__intro-section,
.page-support__guides-section,
.page-support__contact-section,
.page-support__policies-section,
.page-support__commitment-section,
.page-support__safety-tips-section {
  padding: 60px 0;
}

.page-support__faq-section {
  padding: 60px 0;
  background-color: #11271B; /* Card B G for alternating background */
}

.page-support__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-support__faq-item {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 8px;
  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;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: #F2FFF6; /* Text Main */
  background-color: #11A84E; /* Main color */
  border-bottom: 1px solid #2E7A4E; /* Border */
}

.page-support__faq-item[open] .page-support__faq-question {
  background-color: #13994A; /* Slightly darker main color when open */
}

.page-support__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  width: 24px;
  text-align: center;
}

.page-support__faq-answer {
  padding: 20px;
  background-color: #0A4B2C; /* Deep Green */
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
}

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

.page-support__faq-item details > summary {
  list-style: none;
}

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

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

.page-support__card {
  background-color: #11271B; /* Card B G */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

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

.page-support__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-support__card-title {
  font-size: 1.5rem;
  color: #F2FFF6; /* Text Main */
  padding: 20px 20px 10px;
  font-weight: 600;
}

.page-support__card-content {
  padding: 0 20px 20px;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
}

.page-support__card-content ol,
.page-support__card-content ul {
  margin-top: 15px;
  margin-left: 20px;
}

.page-support__card-content li {
  margin-bottom: 5px;
}

.page-support__card .page-support__btn-primary {
  margin: 0 20px 20px;
  text-align: center;
}

.page-support__contact-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-support__contact-card {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-support__contact-card-title {
  font-size: 1.3rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-support__contact-card p {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-support__btn-secondary {
  display: inline-block;
  background: transparent;
  color: #11A84E; /* Main color */
  border: 2px solid #2E7A4E; /* Border */
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.page-support__btn-secondary:hover {
  background-color: #11A84E; /* Main color */
  color: #F2FFF6; /* Text Main */
}

.page-support__policy-list,
.page-support__safety-list {
  list-style: disc;
  margin-left: 25px;
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  margin: 20px auto;
  padding: 0 20px;
}

.page-support__policy-list li,
.page-support__safety-list li {
  margin-bottom: 10px;
}

.page-support__policy-list a {
  color: #2AD16F; /* Brighter green for links */
  text-decoration: none;
}

.page-support__policy-list a:hover {
  text-decoration: underline;
}

.page-support__video-section {
  padding: 60px 0;
  background-color: #11271B; /* Card B G */
  text-align: center;
}

.page-support__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background-color: #000;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  width: 100%; /* Desktop width */
}

.page-support__video-wrapper .page-support__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-support__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

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

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

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

  .page-support__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-support__description {
    font-size: 1rem;
  }

  .page-support__btn-primary {
    padding: 12px 25px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-support__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-support__intro-section,
  .page-support__guides-section,
  .page-support__contact-section,
  .page-support__policies-section,
  .page-support__commitment-section,
  .page-support__safety-tips-section,
  .page-support__faq-section,
  .page-support__video-section {
    padding: 40px 0;
  }

  .page-support__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

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

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

  .page-support__card-image {
    height: 200px;
  }

  .page-support__card-title {
    font-size: 1.3rem;
  }

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

  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-support__hero-image-wrapper,
  .page-support__card,
  .page-support__contact-card,
  .page-support__video-section,
  .page-support__video-container,
  .page-support__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-support__video-wrapper {
    margin-left: auto;
    margin-right: auto;
  }

  /* Video section top padding for mobile */
  .page-support__video-section {
    padding-top: 10px !important;
  }

  /* Button groups for mobile */
  .page-support__cta-buttons,
  .page-support__button-group,
  .page-support__btn-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure content images are not small icons */
.page-support img:not(.page-support__contact-icon) {
  min-width: 200px;
  min-height: 200px;
}

/* Specific sizing for contact icons to be smaller but still > 200px for consistency if possible, or adjust based on actual design */
.page-support__contact-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  min-width: 100px; /* Still meet minimum size, but allow smaller visual */
  min-height: 100px;
}

/* Color contrast fixes based on background */
.page-support__dark-bg {
  color: #F2FFF6; /* Text Main */
  background: #11A84E; /* Main color */
}

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

.page-support__medium-bg {
  color: #000000;
  background: #22C768; /* Auxiliary color */
}