/* style/support.css */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #FFFFFF; /* Default body background */
}

.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-support__hero-section {
  position: relative;
  background-color: #017439;
  color: #FFFFFF;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  overflow: hidden;
}

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

.page-support__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-support__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-support__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-support__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.page-support__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #017439;
}

.page-support__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-support__channels-section, .page-support__faq-section, .page-support__security-section, .page-support__contact-cta-section {
  padding: 60px 0;
}

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

.page-support__channel-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-support__channel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-support__channel-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 2px solid #017439;
  padding: 10px;
}

.page-support__channel-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #017439;
}

.page-support__channel-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* FAQ Section */
.page-support__faq-list {
  margin-top: 40px;
}

.page-support__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: #f0f0f0;
}

.page-support__faq-item-title {
  font-size: 1.2em;
  margin: 0;
  color: #017439;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-toggle {
  transform: rotate(45deg);
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 25px 20px 25px;
}

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

.page-support__cta-box {
  background-color: #017439;
  color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  margin-top: 50px;
}

.page-support__cta-box p {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

/* Security Section */
.page-support__security-section {
  background-color: #f8f8f8;
}

.page-support__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-support__security-image {
  width: 50%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-support__security-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 50%;
}

.page-support__security-list li {
  background-color: #FFFFFF;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 5px solid #017439;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
  color: #333333;
}

.page-support__security-list li strong {
  color: #017439;
}

/* Tips Section */
.page-support__tips-section {
  background-color: #017439;
  color: #FFFFFF;
  padding: 60px 0;
}

.page-support__tips-section .page-support__section-title, .page-support__tips-section .page-support__section-description {
  color: #FFFFFF;
}

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

.page-support__tip-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: #FFFFFF;
}

.page-support__tip-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-support__tip-item p {
  font-size: 1em;
  color: #f0f0f0;
}

/* CTA Buttons */
.page-support__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
}

.page-support__btn-primary {
  background-color: #C30808; /* Use specific color for Login/Register type CTA */
  color: #FFFF00; /* Specific font color for Login/Register type CTA */
  border: 2px solid #C30808;
}

.page-support__btn-primary:hover {
  background-color: #e00b0b;
  transform: translateY(-2px);
}

.page-support__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-support__btn-secondary:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

.page-support__link-inline {
  color: #017439;
  text-decoration: underline;
}

.page-support__link-inline:hover {
  color: #005f2c;
}

.page-support__small-text {
  font-size: 0.9em;
  text-align: center;
  margin-top: 20px;
  color: #555555;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 2.8em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
  .page-support__security-content {
    flex-direction: column;
  }
  .page-support__security-image, .page-support__security-list {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-support__container {
    padding: 0 15px;
  }
  .page-support__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }
  .page-support__hero-title {
    font-size: 2.2em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-support__channels-grid, .page-support__tips-grid {
    grid-template-columns: 1fr;
  }
  .page-support__channel-card, .page-support__tip-item, .page-support__faq-item {
    padding: 20px;
  }
  .page-support__channel-icon {
    width: 120px;
    height: 120px;
  }
  .page-support__channel-title {
    font-size: 1.5em;
  }
  .page-support__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 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 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !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;
  }
  /* Content area images must be >= 200px. This ensures they don't get smaller than that. */
  .page-support__channel-icon, .page-support__security-image {
      min-width: 200px !important;
      min-height: 200px !important;
      width: 100% !important; /* Ensure they fill container but respect min-width */
      height: auto !important;
  }
}

/* Ensure content area images are not smaller than 200px */
.page-support img:not(.shared-header img):not(.shared-footer img) {
    min-width: 200px;
    min-height: 200px;
}