/* style/support.css */
/* Base styles for the page, ensuring text contrast on dark background */
.page-support {
  background-color: #0D0E12; /* Dark background as per color scheme */
  color: #FFF3E6; /* Light text for contrast on dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Ensure all links inherit color or have sufficient contrast */
.page-support a {
  color: #FFA53A; /* Auxiliary color for links */
  text-decoration: none;
}

.page-support a:hover {
  color: #FFB04D; /* Lighter glow color on hover */
  text-decoration: underline;
}

/* Section styling */
.page-support__section {
  padding: 60px 20px;
  margin-bottom: 20px;
}

.page-support__section-title {
  color: #FFB04D; /* Glow color for main titles */
  font-size: clamp(24px, 4vw, 36px); /* Responsive font size */
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-support__text {
  margin-bottom: 15px;
  font-size: 16px;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding */
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.page-support__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 20px;
  max-width: 900px;
  background: rgba(13, 14, 18, 0.7); /* Semi-transparent dark background for text readability */
  border-radius: 10px;
  margin-top: 100px; /* Adjust to ensure content is below image if image is fixed height or to push it down */
}

.page-support__main-title {
  color: #FFB04D; /* Glow color for main titles */
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__description {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-support__cta-button:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FFA53A 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 176, 77, 0.4);
}

.page-support__cta-button--secondary {
  background: #17191F; /* Card BG color */
  border: 2px solid #FFA53A;
  color: #FFA53A;
}

.page-support__cta-button--secondary:hover {
  background: #FFA53A;
  color: #17191F;
}

/* Video Section */
.page-support__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding */
  background-color: #17191F; /* Card BG for video section */
}

.page-support__video-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background-color: #000;
  border-radius: 10px;
}

.page-support__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer; /* Indicate it's clickable */
}

.page-support__video-caption {
  text-align: center;
  margin-top: 20px;
  font-size: 16px;
  color: #FFF3E6;
}

.page-support__cta-button--video {
  margin-top: 15px;
}

/* Dark background sections */
.page-support__dark-bg {
  background-color: #17191F; /* Card BG color */
  color: #FFF3E6;
}

/* Grid layout for content blocks with images */
.page-support__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 769px) {
  .page-support__grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-support__grid--reversed {
    grid-template-areas: "image content";
  }
  .page-support__grid--reversed .page-support__content-block {
    grid-area: content;
  }
  .page-support__grid--reversed .page-support__image-block {
    grid-area: image;
  }
}

.page-support__content-block {
  padding: 20px;
  background-color: #17191F; /* Card BG */
  border-radius: 8px;
  border: 1px solid #A84F0C; /* Border color */
}

.page-support__image-block {
  text-align: center;
}

.page-support__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block; /* Ensure it behaves as a block element for max-width */
}

/* FAQ Section Styling */
.page-support__faq-item {
  background-color: #0D0E12; /* Dark background for FAQ item */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF3E6;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  background-color: #17191F; /* Card BG for question header */
  color: #FFB04D; /* Glow color for question text */
  user-select: none;
}

.page-support__faq-question::-webkit-details-marker,
.page-support__faq-question::marker {
  display: none;
}

.page-support__faq-question:hover {
  background-color: #2a2c33; /* Slightly lighter on hover */
}

.page-support__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 10px;
  color: #FFA53A; /* Auxiliary color for toggle icon */
}

.page-support__faq-answer {
  padding: 15px 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #FFF3E6; /* Light text for answer */
  background-color: #0D0E12; /* Body BG for answer content */
}

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

.page-support__faq-answer ul,
.page-support__faq-answer ol {
  margin-left: 20px;
  margin-bottom: 10px;
}

/* Contact Info Section */
.page-support__contact-info {
  text-align: center;
}

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

.page-support__contact-item {
  flex: 1 1 300px; /* Allow items to grow/shrink, min-width 300px */
  max-width: 350px;
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__contact-heading {
  color: #FFA53A; /* Auxiliary color for contact headings */
  font-size: 22px;
  margin-bottom: 15px;
}

.page-support__contact-description {
  font-size: 16px;
  margin-bottom: 25px;
}

/* CTA Group */
.page-support__cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

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

/* Responsive Styles */
@media (max-width: 768px) {
  .page-support__section {
    padding: 40px 15px;
  }

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

  .page-support__hero-content {
    padding: 40px 15px;
    margin-top: 50px;
  }

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

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

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

  .page-support__cta-group {
    flex-direction: column;
    align-items: center;
  }

  /* Images responsive */
  .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__content-block,
  .page-support__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  /* Video responsive */
  .page-support video,
  .page-support__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .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;
  }

  .page-support__video-section {
    padding-top: 10px !important;
  }

  /* 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;
  }
  
  .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-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .page-support__contact-list {
    flex-direction: column;
    align-items: center;
  }

  .page-support__contact-item {
    max-width: 100%;
  }

  .page-support__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-support__grid--reversed {
    grid-template-areas: unset;
  }
  .page-support__grid--reversed .page-support__content-block,
  .page-support__grid--reversed .page-support__image-block {
    grid-area: unset;
  }
}

/* Specific styling for details/summary to ensure consistent look */
.page-support__faq-item[open] .page-support__faq-toggle {
  content: "−";
}

.page-support__faq-item:not([open]) .page-support__faq-toggle {
  content: "+";
}