/* style/support.css */

/* Base styles for the support page content */
.page-support {
  background-color: #08160F; /* Custom Background */
  color: #F2FFF6; /* Custom Text Main */
  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 {
  color: #F2C14E; /* Custom Gold */
  font-size: clamp(28px, 4vw, 42px); /* H1 font size constraint */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

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

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

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

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

.page-support__main-title {
  color: #F2FFF6; /* Custom Text Main */
  font-size: clamp(32px, 5vw, 56px); /* H1 font size constraint */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
}

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

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

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

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

.page-support__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-support__btn-secondary {
  background: #11271B; /* Custom Card BG */
  color: #2AD16F; /* From Button gradient */
  border: 2px solid #2E7A4E; /* Custom Border */
}

.page-support__btn-secondary:hover {
  transform: translateY(-3px);
  background: #0A4B2C; /* Custom Deep Green */
  box-shadow: 0 5px 15px rgba(46, 122, 78, 0.4);
}

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

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

.page-support__method-card {
  background-color: #11271B; /* Custom Card BG */
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #F2FFF6; /* Custom Text Main */
}

.page-support__method-icon {
  width: 150px;
  height: 112px; /* Maintain aspect ratio for 400x300 display */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-support__method-text {
  color: #A7D9B8; /* Custom Text Secondary */
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-support__method-button {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button */
  color: #F2FFF6; /* Custom Text Main */
  border: none;
  cursor: pointer;
  width: 100%;
  max-width: 250px;
}

.page-support__method-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

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

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  color: #F2FFF6; /* Custom Text Main */
  font-weight: bold;
  font-size: 1.1em;
  background-color: #1E3A2A; /* Custom Divider for summary background */
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: #2E7A4E; /* Custom Border */
}

.page-support__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 20px;
  text-align: center;
}

.page-support__faq-item[open] .page-support__faq-toggle {
  content: '−';
}

.page-support__faq-answer {
  padding: 20px;
  padding-top: 0;
  color: #A7D9B8; /* Custom Text Secondary */
  font-size: 1em;
}

.page-support__faq-answer p {
  margin-bottom: 10px;
  color: #A7D9B8; /* Ensure paragraph color */
}

.page-support__faq-cta {
  text-align: center;
  margin-top: 50px;
}

.page-support__faq-cta p {
  color: #F2FFF6; /* Custom Text Main */
  font-size: 1.2em;
  margin-bottom: 20px;
}

/* Guides Section */
.page-support__guides-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Custom Deep Green */
}

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

.page-support__guide-card {
  background-color: #11271B; /* Custom Card BG */
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #F2FFF6; /* Custom Text Main */
}

.page-support__guide-icon {
  width: 150px;
  height: 112px; /* Maintain aspect ratio for 400x300 display */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-support__guide-text {
  color: #A7D9B8; /* Custom Text Secondary */
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Why Choose Us Section */
.page-support__why-choose-us {
  padding: 80px 0;
  background-color: #08160F; /* Custom Background */
}

.page-support__benefits-list {
  max-width: 900px;
  margin: 40px auto;
  list-style: none;
  padding: 0;
}

.page-support__benefits-list li {
  background-color: #11271B; /* Custom Card BG */
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  color: #F2FFF6; /* Custom Text Main */
  font-size: 1.1em;
  display: flex;
  align-items: flex-start;
}

.page-support__benefits-list li strong {
  color: #F2C14E; /* Custom Gold */
  margin-right: 10px;
  flex-shrink: 0;
}

/* Policy Links Section */
.page-support__policy-links {
  padding: 80px 0;
  background-color: #0A4B2C; /* Custom Deep Green */
}

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

.page-support__policy-link {
  display: block;
  background-color: #11271B; /* Custom Card BG */
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: #F2FFF6; /* Custom Text Main */
  font-weight: bold;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-support__policy-link:hover {
  background-color: #0A4B2C; /* Custom Deep Green */
  border-color: #57E38D; /* Custom Glow */
}

/* Final CTA Section */
.page-support__final-cta {
  padding: 80px 0;
  background-color: #11A84E; /* Main Color */
  color: #F2FFF6; /* Custom Text Main */
}

.page-support__final-cta .page-support__section-title {
  color: #F2FFF6; /* White text on green background */
}

.page-support__final-cta .page-support__section-description {
  color: #F2FFF6; /* White text on green background */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-image-wrapper {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-support__container {
    padding: 0 15px !important;
  }

  .page-support__hero-section,
  .page-support__contact-methods,
  .page-support__faq-section,
  .page-support__guides-section,
  .page-support__why-choose-us,
  .page-support__policy-links,
  .page-support__final-cta {
    padding: 40px 0 !important;
  }

  .page-support__main-title {
    font-size: clamp(28px, 8vw, 48px);
  }

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

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

  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__method-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  .page-support__methods-grid,
  .page-support__guides-grid,
  .page-support__policy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__method-card,
  .page-support__guide-card {
    padding: 20px;
  }

  .page-support__method-icon,
  .page-support__guide-icon {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 150px !important; /* Adjusted min-height for mobile */
  }

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

  .page-support p,
  .page-support li {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Ensure all images and containers adapt to mobile */
  .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,
  .page-support__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }

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

/* For details tag in FAQ */
.page-support__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-support__faq-item summary {
  list-style: none;
}