/* style/support.css */
/* Body background is #08160F (very dark), so text color should be light (#F2FFF6) */

.page-support {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

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

.page-support__section {
  padding: 60px 0;
  text-align: center;
}

.page-support__section-title {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  background-color: #08160F; /* Ensure hero section background matches body */
}

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

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

.page-support__main-title {
  font-size: clamp(2.5em, 4vw, 3.5em);
  font-weight: 800;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-support__contact-channels {
  background-color: #0A4B2C; /* Deep Green */
}

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

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

.page-support__channel-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-support__channel-title {
  font-size: 1.6em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-support__channel-description {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.page-support__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-support__faq-section {
  background-color: #08160F; /* Background */
}

.page-support__faq-list {
  margin-top: 40px;
  text-align: left;
}

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

.page-support__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
  font-size: 1.2em;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

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

.page-support__faq-item summary:hover {
  background-color: #1E3A2A; /* Divider for hover effect */
}

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

.page-support__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #57E38D; /* Glow */
  transition: transform 0.3s ease;
}

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

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

.page-support__self-help-section {
  background-color: #0A4B2C; /* Deep Green */
}

.page-support__self-help-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-support__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px; /* Max width for video */
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #2E7A4E; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
}

.page-support__guide-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  border-radius: 12px;
  margin: 0 auto;
  border: 1px solid #2E7A4E; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__guide-list {
  text-align: left;
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #2E7A4E; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__guide-title {
  font-size: 1.4em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
}

.page-support__guide-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-support__guide-item {
  margin-bottom: 10px;
}

.page-support__guide-item a {
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

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

.page-support__policies-section {
  background-color: #08160F; /* Background */
}

.page-support__policy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-support__policy-item {
  background-color: #11271B; /* Card BG */
  padding: 15px 25px;
  border-radius: 8px;
  border: 1px solid #2E7A4E; /* Border */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-support__policy-item a {
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.page-support__feedback-section {
  background-color: #0A4B2C; /* Deep Green */
}

.page-support__conclusion-section {
  background-color: #08160F; /* Background */
  padding-bottom: 80px;
}

/* Responsive Styles */
@media (min-width: 769px) {
  .page-support__self-help-content {
    grid-template-columns: 1fr 1fr;
  }
  .page-support__video-wrapper {
    order: 1;
  }
  .page-support__guide-image {
    order: 2;
  }
  .page-support__guide-list {
    grid-column: span 2;
    order: 3;
  }
}

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

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

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

  .page-support__section-description,
  .page-support__intro-text,
  .page-support__feedback-text,
  .page-support__conclusion-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-support__section {
    padding: 40px 0;
  }

  .page-support__container {
    padding: 0 15px !important;
  }

  /* Images responsive */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-support__channel-icon {
    width: 80px !important;
    height: 80px !important;
  }

  /* Video responsive */
  .page-support video,
  .page-support__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-support__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 56.25% !important; /* Ensure aspect ratio */
  }

  /* Buttons responsive */
  .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;
    margin-top: 10px; /* Add some spacing between stacked buttons */
  }

  .page-support__channels-grid,
  .page-support__policy-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .page-support__faq-item summary {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  
  .page-support__faq-answer {
    padding: 0 20px 15px 20px;
  }

  .page-support__self-help-content {
    grid-template-columns: 1fr;
  }
  .page-support__guide-list {
    grid-column: span 1; /* Reset for mobile */
  }
}