/* style/support.css */

/* Base styles for the support page */
.page-support {
  background-color: #0A0A0A; /* Background color from custom palette */
  color: #FFF6D6; /* Main text color from custom palette */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.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;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
  background-color: #111111;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

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

.page-support__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #FFF6D6;
}

.page-support__main-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFD36B;
  line-height: 1.2;
}

.page-support__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
}

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

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: 2px solid transparent;
}

.page-support__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-support__btn-secondary {
  background: transparent;
  color: #FFD36B;
  border: 2px solid #3A2A12;
}

.page-support__btn-secondary:hover {
  background-color: #3A2A12;
  color: #FFF6D6;
}

/* Section Titles and Descriptions */
.page-support__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD36B;
}

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

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  background-color: #111111;
  transition: background-color 0.3s ease;
}

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

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

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

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

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

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

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

.page-support__faq-answer a {
  color: #F2C14E; /* Link color */
  text-decoration: underline;
}

.page-support__faq-answer a:hover {
  color: #FFD36B;
}

/* Contact Options Section */
.page-support__contact-options {
  padding: 60px 0;
  background-color: #111111; /* Card BG color */
}

.page-support__contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-content: center;
}

.page-support__contact-card {
  background-color: #1a1a1a; /* Slightly lighter card for contrast */
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF6D6;
}

.page-support__contact-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-support__card-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFD36B;
}

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

/* Resources Section */
.page-support__resources-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-support__resource-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #FFF6D6;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-support__resource-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-support__resource-card .page-support__card-title {
  font-size: 1.4em;
  margin: 0 15px 10px 15px;
  color: #FFD36B;
}

.page-support__resource-card .page-support__card-text {
  font-size: 0.95em;
  margin: 0 15px 20px 15px;
  flex-grow: 1;
}

/* Final CTA Section */
.page-support__cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #111111;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__main-title {
    font-size: 2.8em;
  }
  .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: 60px 15px;
    padding-top: 10px !important;
  }
  .page-support__hero-content {
    padding: 0 15px;
  }
  .page-support__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-support__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
  }
  .page-support__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-support__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
    padding: 0 15px;
  }
  .page-support__faq-section, .page-support__contact-options, .page-support__resources-section, .page-support__cta-section {
    padding: 40px 0;
  }
  .page-support__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-support__faq-answer {
    padding: 0 20px;
  }
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 10px 20px;
  }
  .page-support__contact-grid {
    gap: 20px;
    padding: 0 15px;
  }
  .page-support__contact-card,
  .page-support__resource-card {
    padding: 20px;
  }
  .page-support__resources-grid {
    padding: 0 15px;
  }
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-support__container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-support__main-title {
    font-size: 1.8em;
  }
  .page-support__section-title {
    font-size: 1.5em;
  }
  .page-support__contact-icon {
    width: 80px;
  }
  .page-support__card-title {
    font-size: 1.5em;
  }
  .page-support__resource-image {
    height: 150px;
  }
}