/* style/support.css */

/* Base styles for the page */
.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  padding: 0;
  margin: 0;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

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

.page-support__highlight {
  color: #FFD36B; /* Glow color for highlights */
  font-weight: bold;
}

/* Hero Section */
.page-support__hero-section {
  background-color: #111111; /* Card BG */
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-support__hero-section .page-support__main-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-support__hero-content {
  max-width: 800px;
}

.page-support__hero-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2C14E; /* Main color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-support__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(242, 193, 78, 0.5);
  display: block;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

/* CTA Button */
.page-support__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text on bright button */
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-support__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
  opacity: 0.9;
}

/* Section common styles */
.page-support__overview-section,
.page-support__faq-section,
.page-support__contact-section,
.page-support__resources-section,
.page-support__why-choose-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
  border-bottom: 1px solid #3A2A12; /* Border */
}

.page-support__overview-section:last-of-type,
.page-support__why-choose-section:last-of-type {
  border-bottom: none;
}

.page-support__overview-title,
.page-support__faq-title,
.page-support__contact-title,
.page-support__resources-title,
.page-support__why-choose-title {
  font-size: 2.2em;
  font-weight: bold;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
}

.page-support__overview-text,
.page-support__contact-description,
.page-support__resources-description,
.page-support__why-choose-description {
  font-size: 1.05em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #FFF6D6;
}

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

.page-support__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  overflow: hidden;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.15em;
  color: #F2C14E;
  background-color: rgba(242, 193, 78, 0.05); /* Slightly lighter background for question */
  list-style: none; /* Remove default marker */
}

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

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD36B;
}

.page-support__faq-item[open] .page-support__faq-toggle {
  transform: rotate(45deg); /* Change + to X or rotate */
}

.page-support__faq-answer {
  padding: 0 30px 20px 30px;
  font-size: 1em;
  color: #FFF6D6;
}

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

.page-support__faq-answer a {
  color: #FFD36B;
  text-decoration: underline;
}

/* Contact Section */
.page-support__contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__method-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.page-support__method-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 10px;
  display: block; /* Ensure it's not inline */
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-support__method-name {
  font-size: 1.4em;
  color: #F2C14E;
  font-weight: bold;
}

.page-support__method-description {
  font-size: 0.95em;
  color: #FFF6D6;
  flex-grow: 1;
}

/* Resources Section */
.page-support__resources-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__resource-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-support__resource-heading {
  font-size: 1.2em;
  color: #F2C14E;
  font-weight: bold;
}

.page-support__resource-text {
  font-size: 0.9em;
  color: #FFF6D6;
  flex-grow: 1;
}

/* Why Choose Section */
.page-support__why-choose-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-support__why-choose-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-support__why-choose-item h3 {
  font-size: 1.3em;
  color: #F2C14E;
  font-weight: bold;
}

.page-support__why-choose-item p {
  font-size: 0.95em;
  color: #FFF6D6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: clamp(2em, 4vw, 2.5em);
  }
  .page-support__overview-title,
  .page-support__faq-title,
  .page-support__contact-title,
  .page-support__resources-title,
  .page-support__why-choose-title {
    font-size: clamp(1.8em, 3.5vw, 2.2em);
  }
}

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-support__hero-section,
  .page-support__overview-section,
  .page-support__faq-section,
  .page-support__contact-section,
  .page-support__resources-section,
  .page-support__why-choose-section {
    padding: 40px 0;
  }

  .page-support__main-container {
    padding: 0 15px;
  }

  .page-support__hero-section .page-support__main-container {
    flex-direction: column;
    gap: 30px;
  }

  .page-support__hero-title {
    font-size: clamp(1.8em, 7vw, 2.2em);
    margin-bottom: 15px;
  }

  .page-support__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* Ensure all images are responsive */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all image containers are responsive */
  .page-support__hero-image,
  .page-support__method-icon {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Ensure all sections/cards containing images/buttons are responsive */
  .page-support__overview-section,
  .page-support__faq-section,
  .page-support__contact-section,
  .page-support__resources-section,
  .page-support__why-choose-section,
  .page-support__method-card,
  .page-support__resource-item,
  .page-support__why-choose-item,
  .page-support__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Buttons responsive */
  .page-support__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-support__contact-methods,
  .page-support__resources-list,
  .page-support__why-choose-list {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

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

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

/* Color contrast based on specified dark theme, overriding default body white */
.page-support p, .page-support li, .page-support__faq-answer {
  color: #FFF6D6;
}

.page-support h1, .page-support h2, .page-support h3 {
  color: #F2C14E;
}

.page-support a {
  color: #FFD36B;
}

/* Specific contrast adjustment for potential white backgrounds within dark theme */
.page-support__card.page-support__light-bg {
  background: #ffffff;
  color: #333333;
}

.page-support__overview-section,
.page-support__faq-section,
.page-support__contact-section,
.page-support__resources-section,
.page-support__why-choose-section {
  background-color: #0A0A0A;
  color: #FFF6D6;
}

.page-support__faq-item,
.page-support__method-card,
.page-support__resource-item,
.page-support__why-choose-item {
  background-color: #111111;
  color: #FFF6D6;
}

.page-support__cta-button {
  color: #111111; /* Dark text on bright button */
}

.page-support__faq-question {
  color: #F2C14E;
}

.page-support__faq-toggle {
  color: #FFD36B;
}