/* style/support.css */

/* Base styles for the support page */
.page-support {
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Ensure all content sections are responsive and do not overflow */
.page-support__section,
.page-support__container,
.page-support__card {
  box-sizing: border-box;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding */
  overflow: hidden;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  max-width: 1920px;
  object-fit: cover;
  display: block;
  margin-bottom: 30px; /* Space between image and content */
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.page-support__main-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2C14E; /* Gold color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 30px;
}

/* General Section Styles */
.page-support__section {
  padding: 40px 20px;
  text-align: center;
}

.page-support__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-support__light-bg {
  background-color: #11271B; /* Card background for light sections */
  color: #F2FFF6;
}

.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Add some horizontal padding for content */
}

.page-support__section-title {
  font-size: 2em;
  color: #F2C14E; /* Gold color for section titles */
  margin-bottom: 30px;
  font-weight: bold;
}

.page-support__text-block {
  font-size: 1em;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Card Styles */
.page-support__card {
  background-color: #11271B; /* Card background */
  color: #F2FFF6;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border color */
}

.page-support__card-title {
  font-size: 1.4em;
  color: #57E38D; /* Glow color for card titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__card p {
  color: #A7D9B8;
  margin-bottom: 15px;
}

/* Grid for multiple cards/channels */
.page-support__channels,
.page-support__content-grid,
.page-support__contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

/* CTA Button Styles */
.page-support__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-support__cta-button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-support__cta-block {
  margin-top: 40px;
  text-align: center;
}

/* Contact Info Specific */
.page-support__email-address {
  color: #57E38D;
  font-weight: bold;
  font-size: 1.1em;
}

.page-support__contact-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin-top: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-support__faq-list {
  margin-top: 30px;
  text-align: left;
}

.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  padding: 0;
  overflow: hidden;
}

.page-support__faq-item summary {
  display: block;
  cursor: pointer;
  padding: 20px;
  background-color: #0A4B2C; /* Deep Green for summary background */
  color: #F2FFF6;
  font-weight: bold;
  font-size: 1.1em;
  position: relative;
  list-style: none;
  -webkit-touch-callout: none; /* Disable callout on iOS */
  -webkit-user-select: none;   /* Disable text selection on iOS */
  -khtml-user-select: none;    /* Disable text selection on Konqueror HTML */
  -moz-user-select: none;      /* Disable text selection on Firefox */
  -ms-user-select: none;       /* Disable text selection on Internet Explorer/Edge */
  user-select: none;           /* Disable text selection on modern browsers */
}

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.page-support__faq-answer {
  padding: 20px;
  padding-top: 0;
  color: #A7D9B8;
  background-color: #11271B;
  font-size: 1em;
}

/* Image styles */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__main-title {
    font-size: 2em;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
}

@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 already has padding-top */
  }

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

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

  .page-support__section-title {
    font-size: 1.5em;
  }

  .page-support__channels,
  .page-support__content-grid,
  .page-support__contact-info {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__card {
    padding: 20px;
  }

  /* Mobile specific image adaptation */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-support__section,
  .page-support__card,
  .page-support__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile specific button adaptation */
  .page-support__cta-button,
  .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__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  /* FAQ specific mobile styles */
  .page-support__faq-item summary {
    font-size: 1em;
    padding: 15px;
  }
  .page-support__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-support__main-title {
    font-size: 1.5em;
  }
  .page-support__section-title {
    font-size: 1.3em;
  }
}