/* style/support.css */
/*
  Body background color from shared.css: var(--body-bg) which is #08160F (dark).
  Therefore, text color should be light, e.g., #F2FFF6.
*/
.page-support {
  font-family: 'Arial', sans-serif;
  color: var(--text-main, #F2FFF6); /* Main text color, assuming body is dark */
  background-color: var(--background, #08160F); /* Page background */
  line-height: 1.6;
  font-size: 16px;
}

.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); /* Responsive font size for titles */
  color: var(--text-main, #F2FFF6);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-support__section-description {
  font-size: 18px;
  color: var(--text-secondary, #A7D9B8);
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* HERO Section */
.page-support__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
  background-color: var(--background, #08160F);
  overflow: hidden; /* Ensure content doesn't overflow */
}

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

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

.page-support__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-support__hero-title {
  font-size: clamp(36px, 5vw, 56px); /* H1 font size with clamp */
  color: var(--text-main, #F2FFF6);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
}

.page-support__hero-description {
  font-size: 20px;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 40px;
}

.page-support__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  justify-content: center;
  gap: 20px;
  width: 100%; /* Ensure container takes full width */
  max-width: 600px; /* Limit button group width */
  margin: 0 auto;
  box-sizing: border-box;
}

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  min-width: 180px; /* Minimum width for buttons */
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

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

.page-support__btn-secondary {
  background: transparent;
  color: var(--text-main, #F2FFF6);
  border: 2px solid var(--border, #2E7A4E);
}

.page-support__btn-secondary:hover {
  background: rgba(46, 122, 78, 0.2); /* Slight background on hover */
  transform: translateY(-2px);
}

/* Grid Layout for Cards */
.page-support__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-support__card {
  background-color: var(--card-bg, #11271B);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--text-main, #F2FFF6);
  border: 1px solid var(--border, #2E7A4E);
  box-sizing: border-box;
}

.page-support__card-title {
  font-size: 24px;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__card-image {
  width: 100%;
  height: auto;
  max-height: 250px; /* Limit card image height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it respects max-width */
}

.page-support__card-text {
  font-size: 16px;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 20px;
  flex-grow: 1; /* Allow text to grow and push link to bottom */
}

.page-support__card-link {
  color: var(--glow, #57E38D); /* Use glow color for links */
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s ease;
  margin-top: auto; /* Push link to the bottom */
}

.page-support__card-link:hover {
  color: var(--gold, #F2C14E); /* Gold on hover */
}

/* Content Blocks (e.g., Security Section) */
.page-support__content-block {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  padding-top: 20px;
  color: var(--text-main, #F2FFF6);
}

.page-support__content-subtitle {
  font-size: 26px;
  color: var(--text-main, #F2FFF6);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__content-text {
  font-size: 17px;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 20px;
}

.page-support__content-image {
  width: 100%;
  height: auto;
  max-width: 800px; /* Limit image width in content block */
  display: block;
  margin: 30px auto;
  border-radius: 12px;
  object-fit: cover;
}

/* FAQ Section */
.page-support__faq {
  background-color: var(--deep-green, #0A4B2C); /* Darker background for FAQ */
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.page-support__faq-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main, #F2FFF6);
}

.page-support__faq-item summary {
  list-style: none; /* Hide default marker */
}

.page-support__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-main, #F2FFF6);
  background-color: var(--card-bg, #11271B);
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: var(--deep-green, #0A4B2C); /* Slightly darker on hover */
}

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

.page-support__faq-toggle {
  font-size: 24px;
  margin-left: 15px;
  color: var(--glow, #57E38D);
}

.page-support__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: var(--text-secondary, #A7D9B8);
  line-height: 1.8;
}

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

.page-support__faq-link {
  color: var(--glow, #57E38D);
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-support__faq-link:hover {
  color: var(--gold, #F2C14E);
}

/* Contact Channels Section */
.page-support__contact-channels {
  background-color: var(--background, #08160F);
}

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

.page-support__contact-card {
  padding: 35px;
  text-align: center;
  align-items: center; /* Center items in card */
}

/* Commitment Section */
.page-support__commitment {
  background-color: var(--deep-green, #0A4B2C);
}

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


/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: clamp(32px, 4.5vw, 50px);
  }
  .page-support__hero-description {
    font-size: 18px;
  }
  .page-support__section-title {
    font-size: clamp(26px, 3.5vw, 38px);
  }
  .page-support__card-title {
    font-size: 22px;
  }
  .page-support__content-subtitle {
    font-size: 24px;
  }
  .page-support__faq-question {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-support__section {
    padding: 40px 0;
  }
  .page-support__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-support__hero-title {
    font-size: clamp(28px, 8vw, 40px);
  }
  .page-support__hero-description {
    font-size: 16px;
  }
  .page-support__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
    padding: 0 15px; /* Add padding to container */
  }
  .page-support__btn-primary,
  .page-support__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-support__grid,
  .page-support__contact-grid {
    grid-template-columns: 1fr; /* Single column layout for cards */
    padding: 0 15px; /* Add padding to container */
  }

  .page-support__card {
    padding: 25px;
    align-items: center; /* Center content in cards on mobile */
  }

  .page-support__card-image {
    max-height: 200px; /* Adjust image height for mobile cards */
  }

  .page-support__content-block {
    padding: 0 15px;
  }

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

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

  /* Mobile image responsiveness */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile container responsiveness for images/videos/buttons */
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__content-block,
  .page-support__faq-list,
  .page-support__hero-content,
  .page-support__hero-image-wrapper,
  .page-support__grid,
  .page-support__contact-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }
  /* Specific padding for sections that are not full width */
  .page-support__section:not(.page-support__hero-section) .page-support__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__contact-card {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Ensure content area images are not too small */
.page-support__card-image,
.page-support__content-image,
.page-support__commitment-image {
  min-width: 200px;
  min-height: 200px;
  /* Object fit cover ensures aspect ratio is maintained while filling space */
  object-fit: cover;
}

/* Color contrast fixes based on rules */
/* Body background is dark (#08160F), so default text is light #F2FFF6 */
/* Card background is dark (#11271B), so text is light #F2FFF6 */
/* Buttons use gradient with white text, already high contrast */
/* Links use var(--glow, #57E38D) on dark backgrounds, which has good contrast */