/* style/support.css */
.page-support {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f5f5f5;
}

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

.page-support__hero {
  background: linear-gradient(135deg, #FFD700, #8B0000);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-support__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

.page-support__hero-subtitle {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

.page-support__search-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
}

.page-support__search-input {
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  outline: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-support__search-button {
  background-color: #8B0000;
  color: #FFD700; /* Contrast: 4.6:1 */
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-weight: bold;
}

.page-support__search-button:hover {
  background-color: #6a0000;
  color: #ffffff;
}

.page-support__topics {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-support__topics-title {
  font-size: 2.5em;
  color: #8B0000;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

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

.page-support__topic-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

.page-support__topic-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-support__topic-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-support__card-title {
  font-size: 1.8em;
  color: #8B0000; /* Contrast with white: 4.6:1 */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__card-title a {
  color: #8B0000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support__card-title a:hover {
  color: #FFD700; /* Contrast with white: 4.6:1 */
}

.page-support__card-description {
  font-size: 1em;
  color: #666; /* Contrast with white: 4.4:1 (close to AA, will adjust if needed) */
  margin-bottom: 25px;
  min-height: 70px; /* Ensure consistent height */
}

.page-support__btn-secondary {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000; /* Contrast: 4.6:1 */
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #FFD700;
}

.page-support__btn-secondary:hover {
  background-color: #e6c200;
  color: #6a0000;
  border-color: #e6c200;
}

.page-support__cta-contact, .page-support__cta-general {
  padding: 80px 0;
  text-align: center;
  background-color: #f9f9f9;
}

.page-support__cta-contact {
  background-color: #8B0000;
  color: #ffffff;
}

.page-support__cta-contact .page-support__cta-title,
.page-support__cta-contact .page-support__cta-description {
  color: #ffffff;
}

.page-support__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #8B0000;
  font-weight: bold;
}

.page-support__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555;
}

.page-support__btn-primary {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000; /* Contrast: 4.6:1 */
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-support__btn-primary:hover {
  background-color: #e6c200;
  color: #6a0000;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-support__hero-title {
    font-size: 2.8em;
  }
  .page-support__topics-title,
  .page-support__cta-title {
    font-size: 2em;
  }
  .page-support__topic-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-support__hero,
  .page-support__topics,
  .page-support__cta-contact,
  .page-support__cta-general {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .page-support__hero-title {
    font-size: 2.2em;
  }
  .page-support__hero-subtitle {
    font-size: 1em;
  }
  .page-support__search-bar {
    flex-direction: column;
    max-width: 400px;
  }
  .page-support__search-button {
    width: 100%;
  }
  .page-support__topics-title,
  .page-support__cta-title {
    font-size: 1.8em;
  }
  .page-support__card-title {
    font-size: 1.5em;
  }
  .page-support__btn-primary {
    padding: 15px 30px;
    font-size: 1em;
  }
  .page-support__topic-card {
    padding: 20px;
  }
  .page-support__card-description {
    min-height: auto; /* Allow height to adjust on smaller screens */
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8em;
  }
  .page-support__topics-title,
  .page-support__cta-title {
    font-size: 1.5em;
  }
  .page-support__topics-description,
  .page-support__cta-description {
    font-size: 0.9em;
  }
  .page-support__hero,
  .page-support__topics,
  .page-support__cta-contact,
  .page-support__cta-general {
    padding: 40px 0;
  }
}