/* style/support.css */
/*
  Body background color: #0A0A0A (from shared.css)
  Main text color: #FFF6D6
  Card background: #111111
  Button background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%)
  Button text: #111111 (Dark text for contrast on gold button)
  Border color: #3A2A12
  Glow: #FFD36B
*/

.page-support {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main */
  line-height: 1.6;
}

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

.page-support__hero-image-wrapper {
  width: 100%;
  position: relative;
  z-index: 0;
  margin-bottom: 40px; /* Space between image and text content */
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

.page-support__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFF6D6; /* Text Main */
}

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

.page-support__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for contrast on gold button */
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-support__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 211, 107, 0.4); /* Glow */
}

/* Section General Styling */
.page-support__section {
  padding: 60px 0;
}

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

.page-support__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Main Color */
}

.page-support__section-description {
  font-size: 1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #FFF6D6; /* Text Main */
}

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

.page-support__feature-item {
  background: #111111; /* Card B G */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-support__feature-title {
  font-size: 1.4em;
  color: #FFD36B; /* Auxiliary Color */
  margin-bottom: 15px;
}

.page-support__feature-text {
  font-size: 0.95em;
  color: #FFF6D6; /* Text Main */
}

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

.page-support__contact-card {
  background: #111111; /* Card B G */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-support__contact-icon {
  width: 200px; /* Min size 200x200 */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 211, 107, 0.5)); /* Subtle glow */
}

.page-support__card-title {
  font-size: 1.5em;
  color: #F2C14E; /* Main Color */
  margin-bottom: 10px;
}

.page-support__card-text {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__cta-button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

/* FAQ Section */
.page-support__faq-list {
  margin-top: 40px;
}

.page-support__faq-item {
  background: #111111; /* Card B G */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: #1a1a1a; /* Slightly darker background for question */
  color: #FFD36B; /* Auxiliary Color */
  font-weight: 600;
  transition: background 0.3s ease;
}

.page-support__faq-question:hover {
  background: #222222;
}

.page-support__faq-title {
  font-size: 1.15em;
  margin: 0;
  color: #FFD36B; /* Auxiliary Color */
}

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

.page-support__faq-item.active .page-support__faq-toggle {
  transform: rotate(45deg); /* Plus sign to X or minus */
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6; /* Text Main */
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px 25px; /* Expanded padding */
}

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

.page-support__faq-answer a {
  color: #F2C14E; /* Main Color for links */
  text-decoration: underline;
}

.page-support__faq-answer a:hover {
  text-decoration: none;
}

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

.page-support__resource-card {
  background: #111111; /* Card B G */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  text-decoration: none;
  color: #FFF6D6; /* Text Main */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-support__resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Feedback Section */
.page-support__feedback-section {
  text-align: center;
  background: #1a1a1a; /* Slightly darker background */
  padding: 80px 0;
}

.page-support__cta-button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* Community Section */
.page-support__social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-support__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  background: #111111; /* Card B G */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  color: #F2C14E; /* Main Color */
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.page-support__social-link:hover {
  background: #F2C14E; /* Main Color */
  color: #111111; /* Dark text for contrast */
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-image-wrapper {
    margin-bottom: 30px;
  }
  .page-support__hero-content {
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-support__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-support__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-support__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-support__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-support__section {
    padding: 40px 0;
  }
  .page-support__section-title {
    font-size: clamp(1.6em, 7vw, 2em);
    margin-bottom: 30px;
  }
  .page-support__section-description {
    margin-bottom: 30px;
  }
  .page-support__features-grid,
  .page-support__contact-grid,
  .page-support__resources-grid {
    grid-template-columns: 1fr;
  }
  .page-support__contact-icon {
    width: 150px;
    height: 120px;
  }
  .page-support__faq-question {
    padding: 15px 20px;
  }
  .page-support__faq-title {
    font-size: 1em;
  }
  .page-support__faq-answer {
    padding: 0 20px;
  }
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 15px 20px 20px 20px;
  }
  .page-support__feedback-section {
    padding: 60px 0;
  }
  .page-support__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-support__social-links {
    flex-direction: column;
    align-items: center;
  }
  .page-support__social-link {
    width: 80%;
    max-width: 300px;
  }

  /* Force responsive for images */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Buttons responsive */
  .page-support__cta-button,
  .page-support__cta-button--small,
  .page-support__cta-button--large,
  .page-support__social-link {
    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__social-links {
    display: flex;
    flex-direction: column !important; /* Force vertical stacking for social links */
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
}