/* style/support.css */

/* Base styles for the support page */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

.page-support__section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

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

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

.page-support__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px #57E38D; /* Glow */
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: auto; /* Push buttons to the bottom of cards */
}

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

.page-support__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px #57E38D; /* Glow */
}

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

.page-support__btn-secondary:hover {
  background: #2AD16F;
  color: #08160F; /* Background color for text on hover */
  box-shadow: 0 0 15px rgba(42, 209, 111, 0.5);
}

.page-support__btn-large {
  padding: 15px 35px;
  font-size: 18px;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  background-color: #08160F; /* Background */
  overflow: hidden;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for aesthetic */
  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;
  max-height: 600px;
}

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

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

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

/* Channels Section */
.page-support__channels-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 80px 0;
  color: #F2FFF6; /* Text Main */
}

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

.page-support__channel-icon {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

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

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

.page-support__trouble-card {
  text-align: center;
}

.page-support__trouble-icon {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-support__trouble-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  text-align: left;
  flex-grow: 1;
}

.page-support__trouble-list li {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
}

.page-support__trouble-list li::before {
  content: '•';
  color: #2AD16F; /* Main brand color */
  position: absolute;
  left: 0;
  top: 0;
  font-size: 20px;
  line-height: 1.6;
}

/* FAQ Section */
.page-support__faq-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 80px 0;
  color: #F2FFF6; /* Text Main */
}

.page-support__faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

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

.page-support__faq-item summary:hover {
  background-color: rgba(46, 122, 78, 0.3); /* Border color with transparency */
}

.page-support__faq-qtext {
  flex-grow: 1;
}

.page-support__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 20px;
  color: #2AD16F; /* Main brand color */
}

.page-support__faq-answer {
  padding: 0 30px 20px;
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
}

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

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

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

.page-support__commitment-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

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

.page-support__commitment-description {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
}

.page-support__cta-wrapper {
  text-align: center;
  margin-top: 60px;
}

/* Tips Section */
.page-support__tips-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 80px 0;
  color: #F2FFF6; /* Text Main */
}

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

.page-support__tips-list li {
  font-size: 18px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
  position: relative;
  padding-left: 35px;
}

.page-support__tips-list li::before {
  content: '✓';
  color: #2AD16F; /* Main brand color */
  position: absolute;
  left: 0;
  top: 0;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.6;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-section {
    padding-bottom: 40px;
  }

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

  .page-support__description {
    font-size: 18px;
  }

  .page-support__section-title {
    font-size: clamp(26px, 3.5vw, 40px);
  }

  .page-support__section-intro {
    font-size: 16px;
  }

  .page-support__channels-grid,
  .page-support__troubleshooting-grid,
  .page-support__commitment-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-support__faq-item summary {
    font-size: 16px;
    padding: 18px 25px;
  }

  .page-support__faq-answer {
    padding: 0 25px 18px;
    font-size: 15px;
  }

  .page-support__tips-list li {
    font-size: 16px;
  }
}

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

  /* Force responsive images and videos */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-support video,
  .page-support__video {
    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,
  .page-support__video-section,
  .page-support__video-container,
  .page-support__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Buttons responsiveness */
  .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__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;
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }

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

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

  .page-support__main-title {
    font-size: 32px;
  }

  .page-support__description {
    font-size: 16px;
  }

  .page-support__section-title {
    font-size: 28px;
  }

  .page-support__section-intro {
    font-size: 15px;
  }

  .page-support__channels-grid,
  .page-support__troubleshooting-grid,
  .page-support__commitment-grid {
    grid-template-columns: 1fr;
  }

  .page-support__channel-card,
  .page-support__trouble-card,
  .page-support__commitment-card {
    padding: 25px;
  }

  .page-support__faq-item summary {
    padding: 15px 20px;
    font-size: 15px;
  }

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

  .page-support__tips-list {
    padding: 0 15px;
  }

  .page-support__tips-list li {
    font-size: 15px;
  }

  .page-support__cta-wrapper {
    margin-top: 40px;
  }
}