/* style/support.css */

/* --- General Styles --- */
.page-support {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Body background from shared.css is dark, so main content text is light */
  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__section-title {
  font-size: 2.5em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  padding-bottom: 10px;
}

.page-support__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2AD16F 0%, #13994A 100%); /* Button gradient for accent */
  margin: 10px auto 0 auto;
  border-radius: 2px;
}

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

/* --- Buttons --- */
.page-support__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%; /* Button responsive */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background: transparent;
  color: #57E38D; /* Glow color for border */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid #57E38D; /* Glow color for border */
  cursor: pointer;
  max-width: 100%; /* Button responsive */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1); /* Light transparent glow */
  color: #F2FFF6;
}

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

.page-support__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 20px;
}

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

.page-support__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

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

.page-support__description {
  font-size: clamp(1em, 1.5vw, 1.2em); /* Responsive font size */
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* --- About Us Section --- */
.page-support__about-us-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green for a section background */
}

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

.page-support__card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border color */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-support__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.page-support__card-text {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1; /* Allows text to take up available space */
}

.page-support__card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.page-support__card-list li {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.page-support__list-icon {
  color: #2AD16F; /* Button green for checkmark */
  margin-right: 10px;
  font-weight: bold;
  font-size: 1.2em;
}

/* --- Channels Section --- */
.page-support__channels-section {
  padding: 80px 0;
  background-color: #08160F; /* Background color */
}

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

.page-support__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-support__card .page-support__btn-primary {
    margin-top: auto; /* Push button to bottom */
}

.page-support__email-link {
    color: #57E38D; /* Glow color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-support__email-link:hover {
    color: #F2FFF6;
    text-decoration: underline;
}

/* --- FAQ Section --- */
.page-support__faq-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green for a section background */
}

.page-support__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-support__faq-item summary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Border color transparent */
}

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

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F; /* Button green */
}

.page-support__faq-item[open] .page-support__faq-toggle {
  content: "−"; /* Change to minus when open */
}

.page-support__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.7;
}

.page-support__faq-answer p {
    margin: 0;
    padding: 0;
}

.page-support__faq-answer a {
    color: #57E38D; /* Glow color for links */
    text-decoration: underline;
}

.page-support__faq-answer a:hover {
    color: #F2FFF6;
}

/* --- Policy Section --- */
.page-support__policy-section {
  padding: 80px 0;
  background-color: #08160F; /* Background color */
}

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

.page-support__policy-cards .page-support__card {
  text-align: center;
}

.page-support__policy-cards .page-support__card-text {
  text-align: left;
}

/* --- Contact Form Section --- */
.page-support__contact-form-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green for a section background */
}

.page-support__contact-form {
  max-width: 700px;
  margin: 50px auto 30px auto;
  background-color: #11271B; /* Card BG */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border color */
}

.page-support__form-group {
  margin-bottom: 25px;
}

.page-support__form-label {
  display: block;
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-support__form-input,
.page-support__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  background-color: rgba(17, 39, 27, 0.8); /* Slightly transparent Card BG */
  color: #F2FFF6; /* Text Main */
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-support__form-input:focus,
.page-support__form-textarea:focus {
  border-color: #57E38D; /* Glow color */
  box-shadow: 0 0 0 3px rgba(87, 227, 141, 0.3); /* Glow effect */
  outline: none;
}

.page-support__form-input::placeholder,
.page-support__form-textarea::placeholder {
  color: #A7D9B8; /* Text Secondary */
  opacity: 0.7;
}

.page-support__form-submit-btn {
  width: 100%;
  padding: 15px 25px;
  font-size: 1.2em;
}

.page-support__contact-info {
    margin-top: 40px;
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
}

.page-support__contact-info a {
    color: #57E38D; /* Glow color for links */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-support__contact-info a:hover {
    color: #F2FFF6;
    text-decoration: underline;
}

/* --- Image and Video Responsive --- */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-support video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-support__section-title {
    font-size: 2em;
  }
  .page-support__hero-image-wrapper {
      max-height: 400px;
  }
}

@media (max-width: 768px) {
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__text-block {
    font-size: 1em;
  }
  .page-support__hero-image-wrapper {
      max-height: 300px;
  }
  .page-support__hero-content {
    padding: 0 15px;
  }
  .page-support__main-title {
    font-size: 2em;
  }
  .page-support__description {
    font-size: 0.95em;
  }
  .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__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;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-support__card {
    padding: 20px;
  }
  .page-support__card-title {
    font-size: 1.3em;
  }
  .page-support__card-text {
    font-size: 0.95em;
  }
  .page-support__card-image {
    height: 200px;
  }
  .page-support__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-support__faq-answer {
    font-size: 0.95em;
    padding: 0 20px 15px 20px;
  }
  .page-support__form-input,
  .page-support__form-textarea {
    padding: 12px;
  }
  .page-support__form-label {
    font-size: 1em;
  }

  /* Force responsive for images and videos */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-support video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__video-section,
  .page-support__video-container,
  .page-support__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }
  .page-support__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, small top padding */
  }
}

@media (max-width: 480px) {
  .page-support__section-title {
    font-size: 1.5em;
  }
  .page-support__main-title {
    font-size: 1.8em;
  }
  .page-support__description {
    font-size: 0.9em;
  }
  .page-support__hero-image-wrapper {
      max-height: 250px;
  }
  .page-support__faq-item summary {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-support__faq-answer {
    font-size: 0.9em;
    padding: 0 15px 12px 15px;
  }
  .page-support__form-input,
  .page-support__form-textarea {
    padding: 12px;
  }
  .page-support__form-label {
    font-size: 1em;
  }
}

/* --- Color Contrast Fixes (if needed) --- */
/* These are applied via direct background-color and color in sections/cards */
/* Example: .page-support__about-us-section uses background-color: #0A4B2C; */
/* Text colors are set to #F2FFF6 or #A7D9B8 to ensure contrast */