/* style/support.css */

/* Global styles for page-support scope */
.page-support {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Default text color for dark background sections */
  background-color: #08160F; /* Overall background color */
  line-height: 1.6;
}

/* Ensure text on light backgrounds is dark, though this page primarily uses dark backgrounds */
.page-support__light-bg {
  background-color: #11271B; /* Card BG as light for these specific cards */
  color: #F2FFF6; /* Text Main for light-bg cards */
}

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

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
}

.page-support__hero-content {
  max-width: 900px;
  width: 100%; /* Ensure content block takes full width up to max */
  z-index: 1;
  color: #F2FFF6; /* Text Main */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Enhance readability on potentially busy images */
}

.page-support__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: bold;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
  letter-spacing: 1px;
}

.page-support__intro-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

/* CTA Button */
.page-support__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-support__cta-button--large {
  font-size: 1.3rem;
  padding: 18px 35px;
}

/* Section General Styling */
.page-support__section {
  padding: 80px 20px;
  text-align: center;
  background-color: #08160F; /* Default section background */
  color: #F2FFF6; /* Default section text color */
}

.page-support__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: bold;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

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

/* FAQ Section */
.page-support__faq-section {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
}

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

.page-support__faq-item {
  margin-bottom: 15px;
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  background-color: rgba(17, 39, 27, 0.7); /* Slightly lighter Card BG for contrast */
  transition: background-color 0.3s ease;
}

.page-support__faq-item:hover {
  background-color: rgba(17, 39, 27, 1); /* Darker on hover */
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  color: #F2FFF6; /* Text Main */
  list-style: none; /* Remove default marker for details summary */
}

.page-support__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

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

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

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

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

.page-support__btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 25px;
  background-color: #11A84E; /* Main color */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: 10px;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-secondary:hover {
  background-color: #22C768; /* Auxiliary color */
}

/* Detailed Guides Section */
.page-support__detailed-guides {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-support__guide-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-support__guide-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%; /* Ensure cards are same height */
  color: #F2FFF6; /* Text Main */
}

.page-support__guide-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-support__guide-card h3,
.page-support__guide-card p,
.page-support__guide-card ul {
  padding: 0 25px;
}

.page-support__guide-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
}

.page-support__guide-description {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1; /* Allow description to take up available space */
}

.page-support__guide-steps {
  list-style: disc;
  margin-left: 45px; /* Adjust for padding + list-style */
  padding-bottom: 15px;
  color: #A7D9B8; /* Text Secondary */
}

.page-support__guide-steps li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.page-support__guide-card .page-support__btn-primary {
  margin: 20px 25px 25px;
  align-self: flex-start; /* Align button to the left */
}

.page-support__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

/* Policy Section */
.page-support__policy-section {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
}

.page-support__policy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-support__policy-card {
  background-color: rgba(17, 39, 27, 0.7); /* Slightly lighter Card BG for contrast */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6; /* Text Main */
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-support__policy-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
}

.page-support__policy-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
}

.page-support__policy-card .page-support__btn-secondary {
  margin-top: auto; /* Push button to bottom */
  align-self: flex-start;
}

/* Contact Section */
.page-support__contact-section {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-support__contact-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-support__contact-channel-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-support__contact-channel-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
}

.page-support__contact-channel-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
}

.page-support__contact-channel-item .page-support__btn-primary {
  margin-top: auto;
  align-self: center;
}

.page-support__contact-note {
  margin-top: 40px;
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
}

/* Tips Section */
.page-support__tips-section {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
}

.page-support__tips-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-support__tips-list li {
  background-color: rgba(17, 39, 27, 0.7); /* Slightly lighter Card BG for contrast */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 15px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #A7D9B8; /* Text Secondary */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-support__tips-list li strong {
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
}

.page-support__tips-list li a {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

/* Conclusion Section */
.page-support__conclusion-section {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-support__conclusion-cta {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #A7D9B8; /* Text Secondary */
}

.page-support__conclusion-cta a {
  color: #57E38D; /* Glow */
  text-decoration: underline;
  font-weight: bold;
}

/* Links within content */
.page-support a {
  color: #57E38D; /* Glow */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support a:hover {
  color: #F2C14E; /* Gold */
  text-decoration: underline;
}

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

@media (max-width: 768px) {
  .page-support__hero-section {
    padding: 10px 15px 40px;
  }

  .page-support__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 20px;
  }

  .page-support__hero-content {
    padding: 0 10px;
  }

  .page-support__main-title {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 15px;
  }

  .page-support__intro-text {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-support__cta-button,
  .page-support__cta-button--large {
    font-size: 1rem;
    padding: 12px 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-support__section {
    padding: 50px 15px;
  }

  .page-support__section-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    margin-bottom: 15px;
  }

  .page-support__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
    padding: 0 5px;
  }

  .page-support__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-support__faq-answer {
    font-size: 0.95rem;
    padding: 0 20px 15px;
  }

  .page-support__guide-cards,
  .page-support__policy-cards,
  .page-support__contact-channels {
    grid-template-columns: 1fr; /* Single column layout on mobile */
    gap: 25px;
  }

  .page-support__guide-image {
    height: 200px; /* Adjust image height for smaller screens */
  }

  .page-support__guide-card h3,
  .page-support__guide-card p,
  .page-support__guide-card ul,
  .page-support__policy-card h3,
  .page-support__policy-card p,
  .page-support__contact-channel-item h3,
  .page-support__contact-channel-item p {
    padding: 0 20px;
  }

  .page-support__guide-steps {
    margin-left: 40px; /* Adjust for padding + list-style */
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 10px 15px;
  }

  .page-support__guide-card .page-support__btn-primary,
  .page-support__policy-card .page-support__btn-secondary {
    margin-left: 20px;
    margin-right: 20px;
  }

  .page-support__contact-channel-item .page-support__btn-primary {
    margin-left: auto;
    margin-right: auto;
  }

  .page-support__tips-list li {
    padding: 15px 20px;
    font-size: 1rem;
  }

  /* Image responsiveness for all img tags */
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Container responsiveness */
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-section,
  .page-support__hero-content,
  .page-support__faq-section,
  .page-support__faq-list,
  .page-support__detailed-guides,
  .page-support__guide-cards,
  .page-support__policy-section,
  .page-support__policy-cards,
  .page-support__contact-section,
  .page-support__contact-channels,
  .page-support__tips-section,
  .page-support__tips-list,
  .page-support__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  /* Specific padding for hero-section to avoid double padding with body */
  .page-support__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-support__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* Ensure links in text are readable */
.page-support p a,
.page-support li a {
    color: #57E38D; /* Glow */
    text-decoration: underline;
}

/* Adjust for better contrast on dark backgrounds for general text */
.page-support__faq-answer p,
.page-support__policy-card p,
.page-support__contact-channel-item p,
.page-support__tips-list li {
  color: #A7D9B8; /* Text Secondary */
}