/* style/support.css */

/* Base styles for the support page */
.page-support {
  color: #FFF6D6; /* Text Main for general content on dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #0A0A0A; /* Ensures consistency, though body is set in shared */
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding for first content section as body handles --header-offset */
  min-height: 500px;
  overflow: hidden;
}

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

.page-support__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  background: rgba(17, 17, 17, 0.7); /* Card BG with transparency for readability */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  margin-top: 40px;
}

.page-support__hero-title {
  font-size: clamp(2em, 3.5vw, 3.2em);
  color: #F2C14E;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

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

.page-support__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* General Section Styles */
.page-support__section {
  padding: 60px 0;
  border-bottom: 1px solid #3A2A12;
}

.page-support__section:last-of-type {
  border-bottom: none;
}

.page-support__section-title {
  font-size: 2.5em;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  letter-spacing: 0.03em;
}

.page-support__section-description {
  font-size: 1.1em;
  color: #FFF6D6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-support__section-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Grid Layouts */
.page-support__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-support__grid--large {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* Card Styles */
.page-support__card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.page-support__card-title {
  font-size: 1.5em;
  color: #FFD36B;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-support__card-link {
  color: #F2C14E;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
  display: inline-block;
  transition: color 0.3s ease;
}

.page-support__card-link:hover {
  color: #FFD36B;
  text-decoration: underline;
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #333333; /* Adjusted for WCAG AA contrast on gold background */
  border: 2px solid transparent;
  box-shadow: 0 2px 10px rgba(242, 193, 78, 0.4);
}

.page-support__btn-primary:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
  color: #000000; /* Adjusted for WCAG AA contrast on lighter gold hover */
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.6);
}

.page-support__btn-secondary {
  background-color: #111111;
  color: #F2C14E;
  border: 2px solid #F2C14E;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-support__btn-secondary:hover {
  background-color: #F2C14E;
  color: #111111;
  border-color: #FFD36B;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-support__text-link {
  color: #F2C14E;
  text-decoration: none;
  font-weight: bold;
}

.page-support__text-link:hover {
  color: #FFD36B;
  text-decoration: underline;
}

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

.page-support__card--contact {
  text-align: center;
  padding-top: 40px;
}

.page-support__contact-icon {
  display: block;
  width: 200px; /* Enforced minimum size */
  height: 200px; /* Enforced minimum size */
  object-fit: contain;
  margin: 0 auto 20px auto;
  border-radius: 5px;
}

/* FAQ Section */
.page-support__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-support__faq-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  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 30px;
  cursor: pointer;
  background-color: #111111;
  color: #FFD36B;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: #1a1a1a;
}

.page-support__faq-question-title {
  margin: 0;
  color: #FFD36B;
}

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

.page-support__faq-item.active .page-support__faq-toggle {
  transform: rotate(45deg);
  color: #FFF6D6;
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  background-color: #111111;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important;
  padding: 15px 30px 30px 30px;
}

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

/* Quick Links */
.page-support__quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
}

.page-support__quick-link-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 5px;
  padding: 15px 20px;
  text-align: center;
  text-decoration: none;
  color: #F2C14E;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.page-support__quick-link-item:hover {
  background-color: #F2C14E;
  color: #111111;
  border-color: #FFD36B;
}

/* Final CTA Section */
.page-support__cta-final {
  text-align: center;
  padding-bottom: 80px;
}

.page-support__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: clamp(2em, 4vw, 3em);
  }
  .page-support__section-title {
    font-size: 2em;
  }
}

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

  .page-support__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding for hero on mobile */
  }

  .page-support__hero-content {
    padding: 20px;
  }

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

  .page-support__hero-description {
    font-size: 1em;
  }

  .page-support__hero-buttons,
  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    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 {
    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__section {
    padding: 40px 0;
  }

  .page-support__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-support__section-description {
    margin-bottom: 30px;
  }

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

  .page-support__grid,
  .page-support__contact-grid,
  .page-support__quick-links-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__card {
    padding: 20px;
  }

  .page-support__card-title {
    font-size: 1.3em;
  }

  .page-support__contact-icon {
    width: 150px; /* Smaller but still compliant for mobile */
    height: 150px;
  }

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

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

  .page-support__faq-item.active .page-support__faq-answer {
    padding: 10px 20px 20px 20px;
  }

  /* Mobile image responsiveness */
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__section,
  .page-support__card,
  .page-support__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure no filter on images */
.page-support img {
  filter: none !important;
}

/* Content area images CSS size lower bound */
.page-support__content-area img,
.page-support__why-choose img,
.page-support__how-can-we-help img,
.page-support__contact-options img:not(.page-support__contact-icon),
.page-support__faq-section img,
.page-support__quick-links img,
.page-support__cta-final img {
  min-width: 200px;
  min-height: 200px;
  width: auto;
  height: auto;
}

/* Specific sizing for contact icons to ensure they are at least 200x200 if not an explicit exception */
/* Re-evaluating based on strict 200px rule: contact icons are not 30x30 or 167x127, so they must be >= 200x200 */
.page-support__contact-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
}