/* style/support.css */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-support__hero-section {
  position: relative;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px; /* Adjust as needed */
  background: linear-gradient(135deg, #E44D26 0%, #333333 100%); /* Blend of brand colors */
  overflow: hidden;
}

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

.page-support__hero-title {
  font-size: 3.2em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-support__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  z-index: 0;
  overflow: hidden;
}

.page-support__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%); /* Subtle effect to keep focus on text, without changing color */
}

.page-support__section-title {
  font-size: 2.5em;
  color: #E44D26;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 40px;
}

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

.page-support__contact-methods,
.page-support__faq-section,
.page-support__security-section,
.page-support__cta-bottom {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}

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

.page-support__contact-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-support__contact-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-support__contact-icon {
  width: 200px; /* Minimum size requirement */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-support__card-title {
  font-size: 1.8em;
  color: #E44D26;
  margin-bottom: 15px;
}

.page-support__contact-card p {
  color: #cccccc;
  margin-bottom: 20px;
}

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-support__btn-primary {
  background-color: #E44D26;
  color: #ffffff;
  border: 2px solid #E44D26;
}

.page-support__btn-primary:hover {
  background-color: #ff6a3d;
  border-color: #ff6a3d;
}

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

.page-support__btn-secondary:hover {
  background-color: #E44D26;
  color: #ffffff;
}

.page-support__btn-tertiary {
  background-color: #333333;
  color: #ffffff;
  border: 2px solid #333333;
}

.page-support__btn-tertiary:hover {
  background-color: #555555;
  border-color: #555555;
}

.page-support__faq-list {
  margin-top: 30px;
}

.page-support__faq-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-support__faq-title {
  font-size: 1.3em;
  color: #ffffff;
  margin: 0;
}

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

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

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 20px !important;
  color: #cccccc;
}

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

.page-support__security-section {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 80px;
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-support__security-content {
  flex: 1;
}

.page-support__security-content .page-support__section-title {
  text-align: left;
  margin-top: 0;
}

.page-support__security-content .page-support__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 30px;
}

.page-support__security-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-support__cta-bottom {
  text-align: center;
  margin-top: 80px;
  background: linear-gradient(90deg, #E44D26, #ff6a3d);
  padding: 60px 20px;
  border-radius: 12px;
}

.page-support__cta-bottom .page-support__section-title {
  color: #ffffff;
}

.page-support__cta-bottom .page-support__section-description {
  color: #f0f0f0;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 2.8em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
  .page-support__security-section {
    flex-direction: column;
    text-align: center;
  }
  .page-support__security-content .page-support__section-title,
  .page-support__security-content .page-support__section-description {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }
  .page-support__hero-title {
    font-size: 2.2em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__section-description {
    font-size: 0.95em;
  }
  .page-support__contact-grid {
    grid-template-columns: 1fr;
  }
  .page-support__faq-question {
    padding: 15px;
  }
  .page-support__faq-title {
    font-size: 1.1em;
  }
  .page-support__faq-answer {
    padding: 0 15px;
  }
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 15px !important;
  }
  .page-support__security-section {
    padding: 30px 15px;
  }
  .page-support__cta-bottom {
    padding: 40px 15px;
  }

  /* Responsive images */
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-support__hero-image-wrapper,
  .page-support__contact-card,
  .page-support__security-image-wrapper,
  .page-support__faq-item,
  .page-support__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__hero-section,
  .page-support__contact-methods,
  .page-support__faq-section,
  .page-support__security-section,
  .page-support__cta-bottom {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-support__hero-buttons,
  .page-support__cta-bottom .page-support__cta-buttons {
    flex-direction: column !important;
    gap: 10px;
    padding: 0 15px;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__btn-tertiary {
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8em;
  }
  .page-support__section-title {
    font-size: 1.5em;
  }
  .page-support__card-title {
    font-size: 1.5em;
  }
}