/* style/support.css */

/* Base styles for the page content */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: transparent; /* Body handles actual background */
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  box-sizing: border-box;
  text-align: center;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Max width for image container */
  margin-bottom: 30px; /* Space between image and content */
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-support__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-support__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
  font-weight: bold;
  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;
}

/* General Section Styles */
.page-support__section {
  padding: 60px 20px;
  box-sizing: border-box;
}

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

.page-support__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
}

.page-support__section-intro {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 50px;
}

/* Card Grid Layout */
.page-support__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-support__card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #F2FFF6; /* Text Main on dark card background */
  border: 1px solid #2E7A4E; /* Border */
}

.page-support__card-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-support__card-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-support__card-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1; /* Allow text to grow and push button to bottom */
}

/* Product Card Grid */
.page-support__product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-support__product-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #F2FFF6; /* Text Main on dark card background */
  border: 1px solid #2E7A4E; /* Border */
}

.page-support__product-image {
  width: 100%;
  height: auto;
  max-width: 600px; /* Ensure images are not too small */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-support__product-title {
  font-size: 1.6rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-support__product-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

/* List Styles */
.page-support__list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-support__list-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

.page-support__list-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-support__list-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-support__section-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
  box-sizing: border-box; /* Include padding and border in element's total width */
  max-width: 100%; /* Ensure button does not exceed container */
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-support__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-support__btn-secondary {
  background-color: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #57E38D; /* Glow */
}

.page-support__btn-secondary:hover {
  background-color: #57E38D; /* Glow */
  color: #11271B; /* Card BG */
}

.page-support__btn-text-link {
  color: #57E38D; /* Glow */
  text-decoration: underline;
  font-weight: bold;
  font-size: 0.95rem;
}

.page-support__btn-text-link:hover {
  color: #F2FFF6; /* Text Main */
}

.page-support__promotions-cta {
  margin-top: 30px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

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


/* FAQ Section */
.page-support__faq-section {
  padding-bottom: 60px;
}

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

.page-support__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6; /* Text Main */
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2rem;
  color: #F2FFF6; /* Text Main */
  list-style: none; /* For details/summary */
}

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

.page-support__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-support__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-support__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: left;
}

.page-support__faq-item[open] .page-support__faq-answer {
  /* No max-height needed for <details> native open state */
}

/* Conclusion Section */
.page-support__conclusion {
  text-align: center;
  padding-top: 40px;
  padding-bottom: 80px;
}

.page-support__conclusion-text {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  max-width: 900px;
  margin: 0 auto 30px auto;
}

/* All images minimal size requirement */
.page-support img {
  min-width: 200px;
  min-height: 200px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-support__section-title {
    font-size: 2rem;
  }
  .page-support__card-title,
  .page-support__product-title {
    font-size: 1.4rem;
  }
  .page-support__list-title {
    font-size: 1.3rem;
  }
}

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

  .page-support__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset, this is for decorative top space */
  }

  .page-support__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-support__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

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

  .page-support__container {
    padding: 0; /* Remove inner padding as section already has it */
  }

  .page-support__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-support__section-intro {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-support__card-grid,
  .page-support__product-grid {
    grid-template-columns: 1fr; /* Stack cards vertically */
    gap: 20px;
  }

  .page-support__card,
  .page-support__product-card,
  .page-support__list-item {
    padding: 20px;
    margin-bottom: 15px;
  }

  .page-support__card-image,
  .page-support__product-image,
  .page-support__section-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Enforce min-width for mobile */
    min-height: 200px !important; /* Enforce min-height for mobile */
  }

  /* All images responsive for mobile */
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/videos/buttons responsive for mobile */
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-section,
  .page-support__hero-image-wrapper,
  .page-support__product-card,
  .page-support__faq-list,
  .page-support__faq-item,
  .page-support__cta-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Buttons responsive for mobile */
  .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;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-support__cta-group {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
  }

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

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