/* 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;
}

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

.page-support__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #F2FFF6; /* Main text color */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 60px 0; /* body handles padding-top, this is for internal spacing */
  overflow: hidden;
  background-color: #0A4B2C; /* Deep Green for hero section background */
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  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;
}

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

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

.page-support__intro-text {
  font-size: 1.25em;
  color: #F2FFF6;
  margin-bottom: 40px;
}

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

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

.page-support__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-support__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Green text for secondary button */
  border: 2px solid #2AD16F;
}

.page-support__btn-secondary:hover {
  background: #2AD16F;
  color: #ffffff;
}

.page-support__btn-inline {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 15px;
}

.page-support__btn-inline:hover {
  filter: brightness(1.1);
}

/* Why Choose Us Section */
.page-support__why-choose-us-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-support__feature-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #F2FFF6;
}

.page-support__feature-card:hover {
  transform: translateY(-5px);
}

.page-support__feature-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-support__feature-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-support__feature-text {
  color: #A7D9B8;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 80px 0;
}

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

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: #F2FFF6;
  background-color: #0A4B2C; /* Deep Green */
  transition: background-color 0.3s ease;
  list-style: none; /* For details tag */
}

.page-support__faq-question::-webkit-details-marker {
  display: none; /* For details tag */
}

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

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

.page-support__faq-answer {
  padding: 20px;
  border-top: 1px solid #2E7A4E;
  color: #A7D9B8;
  font-size: 1.05em;
}

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

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

.page-support__text-link {
  color: #2AD16F;
  text-decoration: none;
  font-weight: 600;
}

.page-support__text-link:hover {
  text-decoration: underline;
}

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

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

.page-support__contact-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6;
}

.page-support__contact-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-support__contact-title {
  font-size: 1.8em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-support__contact-text {
  color: #A7D9B8;
  margin-bottom: 30px;
}

/* Resources Section */
.page-support__resources-section {
  padding: 80px 0;
}

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

.page-support__resource-card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6;
  display: flex;
  flex-direction: column;
}

.page-support__resource-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-support__resource-title {
  font-size: 1.4em;
  color: #F2C14E; /* Gold */
  margin: 20px 20px 10px 20px;
}

.page-support__resource-title a {
  color: inherit;
  text-decoration: none;
}

.page-support__resource-title a:hover {
  text-decoration: underline;
}

.page-support__resource-text {
  color: #A7D9B8;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

/* Final CTA Section */
.page-support__cta-final-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__hero-section {
    padding-bottom: 40px;
  }
  .page-support__main-title {
    font-size: 2.2em;
  }
  .page-support__intro-text {
    font-size: 1.1em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-support__container {
    padding: 0 15px;
  }
  .page-support__hero-section {
    padding-top: 10px !important; /* body handles --header-offset */
    padding-bottom: 30px;
  }
  .page-support__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-support__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-support__main-title {
    font-size: 1.8em;
  }
  .page-support__intro-text {
    font-size: 1em;
  }
  .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__section-title {
    font-size: 1.8em;
    padding-top: 30px;
  }
  .page-support__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-support__why-choose-us-section,
  .page-support__faq-section,
  .page-support__contact-methods-section,
  .page-support__resources-section,
  .page-support__cta-final-section {
    padding: 40px 0;
  }
  .page-support__feature-card,
  .page-support__contact-card,
  .page-support__resource-card {
    padding: 20px;
  }
  .page-support__feature-icon,
  .page-support__contact-icon {
    max-width: 150px;
  }
  .page-support__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-support__faq-answer {
    font-size: 1em;
    padding: 15px;
  }
  .page-support img {
    max-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;
  }
  .page-support__hero-content {
    padding: 0 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 {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-support__main-title {
    font-size: 1.5em;
  }
  .page-support__intro-text {
    font-size: 0.9em;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__btn-inline {
    font-size: 1em;
    padding: 12px 20px;
  }
  .page-support__section-title {
    font-size: 1.5em;
  }
  .page-support__feature-title,
  .page-support__contact-title {
    font-size: 1.3em;
  }
  .page-support__resource-title {
    font-size: 1.2em;
  }
  .page-support__resource-image {
    height: 200px;
  }
}