/* style/support.css */

/* Base styles for the page */
.page-support {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Ensure space above footer */
}

.page-support__section-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 15px;
}

.page-support__section-title {
  font-size: 2.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-support__section-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  margin: 0 auto;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-support__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-support__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive H1 font size */
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  letter-spacing: -0.02em;
}

.page-support__intro-text {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-support__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-support__btn-secondary {
  background: transparent;
  color: #2AD16F; /* From Button gradient */
  border: 2px solid #2AD16F; /* From Button gradient */
}

.page-support__btn-secondary:hover {
  background: #2AD16F;
  color: #F2FFF6; /* Text Main */
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

/* Video Section */
.page-support__video-section {
  padding: 60px 20px;
  background-color: #0A4B2C; /* Deep Green */
  text-align: center;
}

.page-support__video-container {
  max-width: 1000px;
  width: 100%; /* Ensure width 100% for desktop */
  margin: 0 auto;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-support__video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

.page-support__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-support__faq-list {
  margin-top: 30px;
}

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

.page-support__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.15em;
  color: #F2FFF6; /* Text Main */
  transition: background-color 0.3s ease;
}

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

.page-support__faq-item summary:hover {
  background-color: #0A4B2C; /* Deep Green for hover */
}

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

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

.page-support__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  border-top: 1px solid #1E3A2A; /* Divider */
  margin-top: 10px;
  padding-top: 20px;
}

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

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

.page-support__cta-section--faq {
  text-align: center;
  margin-top: 40px;
  padding: 30px;
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  border: 1px solid #2E7A4E; /* Border */
}

.page-support__cta-text {
  font-size: 1.2em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 25px;
}

/* Contact Section */
.page-support__contact-section {
  padding: 60px 20px;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-support__contact-card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F2FFF6; /* Text Main */
}

.page-support__contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-support__contact-icon {
  width: 200px; /* Set a fixed size that meets minimum */
  height: 200px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
  object-fit: contain;
}

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

.page-support__contact-card-text {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-support__contact-link {
  display: inline-block;
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: bold;
  position: relative;
}

.page-support__contact-link::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #57E38D; /* Glow */
  bottom: -5px;
  left: 0;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

.page-support__contact-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Security Section */
.page-support__security-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-support__security-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: #F2FFF6; /* Text Main */
}

.page-support__security-icon {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
  object-fit: cover;
}

.page-support__security-item-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-support__security-item-text {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

/* Final CTA Section */
.page-support__cta-final-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0A4B2C 0%, #08160F 100%); /* Mix Deep Green and Background */
  text-align: center;
  margin-top: 60px;
}

.page-support__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-support__cta-final-title {
  font-size: clamp(2em, 3.5vw, 2.8em); /* Responsive title */
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-support__cta-final-description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
}

.page-support__btn-primary--large {
  padding: 18px 40px;
  font-size: 1.2em;
  min-width: 250px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-support__hero-content {
    padding: 0 30px;
  }
  .page-support__section-title {
    font-size: 2em;
  }
  .page-support__section-description {
    font-size: 1em;
  }
  .page-support__main-title {
    font-size: clamp(2em, 3.5vw, 2.8em);
  }
  .page-support__intro-text {
    font-size: 1.1em;
  }
}

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

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

  .page-support__hero-image-wrapper {
    max-height: 400px;
  }

  .page-support__hero-image,
  .page-support__video,
  .page-support__contact-icon,
  .page-support__security-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__video-section,
  .page-support__video-container,
  .page-support__video-wrapper,
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__contact-card,
  .page-support__security-item,
  .page-support__cta-buttons,
  .page-support__button-group,
  .page-support__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-support__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .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__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }

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

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

  .page-support__contact-icon {
    width: 200px; /* Explicitly ensure contact icons meet 200px min */
    height: 200px;
    min-width: 200px; 
    min-height: 200px;
  }

  .page-support__security-content {
    grid-template-columns: 1fr;
  }

  .page-support__cta-final-section {
    padding: 60px 20px;
  }

  .page-support__cta-final-title {
    font-size: 1.8em;
  }

  .page-support__cta-final-description {
    font-size: 1em;
  }
}

/* Ensure min-size for all images, overriding smaller values if any */
.page-support img {
  min-width: 200px;
  min-height: 200px;
}

/* Color Contrast Fixes (if needed) */
/* The chosen color scheme already provides good contrast for text on dark backgrounds */
/* Main text #F2FFF6 on #08160F background */
/* Secondary text #A7D9B8 on #08160F background */
/* Card text #F2FFF6 on #11271B background */
/* Button text #F2FFF6 on gradient background */