/* style/support.css */
.page-support {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

/* Hero Section */
.page-support__hero-section {
  background: linear-gradient(135deg, #FFD700, #8B0000); /* Golden to deep red gradient */
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-support__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-bottom: 40px;
}

.page-support__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: bold;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  opacity: 0.9;
}

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

.page-support__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-support__button--primary {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Deep Red */
  border: 2px solid #FFD700;
}

.page-support__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-support__button--secondary {
  background-color: #8B0000; /* Deep Red */
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-support__button--secondary:hover {
  background-color: #6a0000;
  transform: translateY(-2px);
}

.page-support__hero-image-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Section Titles & Descriptions */
.page-support__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Deep Red */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  font-weight: bold;
}

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

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

.page-support__faq-list {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.page-support__faq-item {
  border-bottom: 1px solid #eeeeee;
}

.page-support__faq-item:last-child {
  border-bottom: none;
}

.page-support__faq-question {
  background-color: #ffffff;
  padding: 20px 30px;
  font-size: 1.2em;
  color: #333333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  transition: background-color 0.3s ease;
}

.page-support__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-support__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

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

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

.page-support__faq-answer.active {
  max-height: 300px; /* Adjust based on content */
  padding: 20px 30px;
}

.page-support__faq-answer p {
  margin: 0 0 10px 0;
  color: #555555;
}

.page-support__faq-answer a {
  color: #8B0000;
  text-decoration: none;
  font-weight: bold;
}

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

.page-support__faq-image {
  display: block;
  margin: 40px auto 0 auto;
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.page-support__contact-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-support__contact-card {
  background-color: #fefefe;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-support__card-title {
  font-size: 1.5em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-support__card-description {
  color: #666666;
  margin-bottom: 25px;
}

.page-support__contact-image {
  display: block;
  margin: 40px auto 0 auto;
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-support__resource-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-support__resource-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-support__resource-card .page-support__card-title {
  padding: 20px 20px 0 20px;
  text-align: left;
  font-size: 1.3em;
}

.page-support__resource-card .page-support__card-title a {
  color: #8B0000;
  text-decoration: none;
}

.page-support__resource-card .page-support__card-title a:hover {
  text-decoration: underline;
}

.page-support__resource-card .page-support__card-description {
  padding: 0 20px 20px 20px;
  text-align: left;
  color: #666666;
}

.page-support__button--link {
  display: inline-block;
  padding: 10px 20px;
  margin: 0 20px 20px 20px;
  background-color: transparent;
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-support__button--link:hover {
  background-color: #FFD700;
  color: #8B0000;
}

/* Download App Section */
.page-support__download-app-section {
  padding: 60px 0;
  background-color: #8B0000; /* Deep Red background */
  color: #ffffff;
}

.page-support__download-app-section .page-support__section-title,
.page-support__download-app-section .page-support__section-description {
  color: #FFD700; /* Gold text */
}

.page-support__app-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-support__app-text {
  flex: 1;
  min-width: 300px;
}

.page-support__app-text ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-support__app-text li {
  margin-bottom: 10px;
  font-size: 1.1em;
  position: relative;
  padding-left: 25px;
}

.page-support__app-text li::before {
  content: '✔';
  color: #FFD700; /* Gold checkmark */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-support__app-image-container {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-support__app-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__main-title {
    font-size: 2.8em;
  }
  .page-support__hero-description {
    font-size: 1.1em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
  .page-support__faq-question,
  .page-support__card-title {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-support {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
  }
  .page-support__hero-section {
    padding: 60px 15px;
  }
  .page-support__main-title {
    font-size: 2.2em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-support__button {
    width: 100%;
    max-width: 300px;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__section-description {
    font-size: 0.95em;
  }
  .page-support__faq-list {
    margin: 0 15px;
  }
  .page-support__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-support__faq-answer.active {
    padding: 15px 20px;
  }
  .page-support__contact-methods {
    grid-template-columns: 1fr;
    margin: 0 15px 40px 15px;
  }
  .page-support__resources-grid {
    grid-template-columns: 1fr;
    margin: 0 15px;
  }
  .page-support__app-content {
    flex-direction: column-reverse;
    margin: 0 15px;
  }
  /* Mobile image constraint */
  .page-support img {
    max-width: 100%;
    height: auto;
  }
  .page-support__hero-image,
  .page-support__faq-image,
  .page-support__contact-image,
  .page-support__resource-image,
  .page-support__app-image {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-support__main-title {
    font-size: 1.8em;
  }
  .page-support__hero-description {
    font-size: 0.9em;
  }
  .page-support__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-support__section-title {
    font-size: 1.5em;
  }
  .page-support__section-description {
    font-size: 0.9em;
  }
  .page-support__faq-question {
    font-size: 0.9em;
  }
  .page-support__faq-answer p {
    font-size: 0.9em;
  }
  .page-support__contact-card,
  .page-support__resource-card {
    padding: 20px;
  }
  .page-support__card-title {
    font-size: 1.3em;
  }
  .page-support__card-description {
    font-size: 0.9em;
  }
  .page-support__app-text li {
    font-size: 1em;
  }
}