/* style/support.css */

/* Variables for consistency */
:root {
  --page-support-primary-color: #0A244A; /* Dark Blue */
  --page-support-secondary-color: #FFD700; /* Gold */
  --page-support-text-light: #FFFFFF; /* White for dark backgrounds */
  --page-support-text-dark: #333333; /* Dark grey for light backgrounds */
  --page-support-text-gold-on-dark: #FFD700; /* Gold text on dark background */
  --page-support-bg-light: #F8F9FA; /* Light background */
  --page-support-border-color: rgba(255, 255, 255, 0.1);
  --page-support-border-gold: #FFD700;
  --page-support-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-support-text-dark); /* Default text color */
  background-color: var(--page-support-bg-light);
}

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

/* Hero Section */
.page-support__hero {
  background: linear-gradient(135deg, var(--page-support-primary-color), #2A4C70); /* Darker blue gradient */
  color: var(--page-support-text-light);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.page-support__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15; /* Subtle background image */
  z-index: 0;
}

.page-support__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-support__hero .page-support__container {
  position: relative;
  z-index: 1;
}

.page-support__title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--page-support-text-gold-on-dark);
  font-weight: bold;
}

.page-support__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-support__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1em;
}

.page-support__button--primary {
  background-color: var(--page-support-secondary-color);
  color: var(--page-support-primary-color);
}

.page-support__button--primary:hover {
  background-color: #e6c200; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: var(--page-support-box-shadow);
}

.page-support__button--secondary {
  background-color: transparent;
  color: var(--page-support-secondary-color);
  border: 2px solid var(--page-support-secondary-color);
}

.page-support__button--secondary:hover {
  background-color: var(--page-support-secondary-color);
  color: var(--page-support-primary-color);
  transform: translateY(-2px);
  box-shadow: var(--page-support-box-shadow);
}

/* Subtitle and Text */
.page-support__subtitle {
  font-size: 2.2em;
  color: var(--page-support-primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-support__text {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #555; /* Ensure good contrast */
}

/* FAQ Section */
.page-support__faq {
  padding: 60px 0;
  background-color: var(--page-support-bg-light);
  position: relative;
  overflow: hidden;
}

.page-support__faq-image {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 300px;
  height: auto;
  opacity: 0.05;
  z-index: 0;
  transform: rotate(-15deg);
}

.page-support__faq .page-support__container {
  position: relative;
  z-index: 1;
}

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

.page-support__faq-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 5px solid var(--page-support-primary-color);
}

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

.page-support__faq-question {
  font-size: 1.3em;
  color: var(--page-support-primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__faq-answer {
  font-size: 1em;
  color: var(--page-support-text-dark);
}

.page-support__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

/* Contact Channels Section */
.page-support__contact-channels {
  padding: 80px 0;
  background-color: var(--page-support-primary-color);
  color: var(--page-support-text-light);
}

.page-support__contact-channels .page-support__subtitle {
  color: var(--page-support-secondary-color);
}

.page-support__contact-channels .page-support__text {
  color: rgba(255, 255, 255, 0.8);
}

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

.page-support__channel-item {
  background-color: #1A3B60; /* Slightly lighter dark blue */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--page-support-box-shadow);
  transition: transform 0.3s ease;
}

.page-support__channel-item:hover {
  transform: translateY(-5px);
}

.page-support__channel-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px var(--page-support-secondary-color)); /* Gold glow */
}

.page-support__channel-title {
  font-size: 1.4em;
  color: var(--page-support-secondary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-support__channel-description {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.page-support__button--small {
  padding: 8px 18px;
  font-size: 0.9em;
  border: 1px solid var(--page-support-secondary-color);
  color: var(--page-support-secondary-color);
  background-color: transparent;
}

.page-support__button--small:hover {
  background-color: var(--page-support-secondary-color);
  color: var(--page-support-primary-color);
}

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

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

.page-support__resource-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.page-support__resource-item h3 {
  padding: 20px 20px 0;
  font-size: 1.25em;
  color: var(--page-support-primary-color);
  font-weight: bold;
}

.page-support__resource-description {
  padding: 10px 20px;
  font-size: 0.95em;
  color: #666;
  flex-grow: 1; /* Push link to bottom */
}

.page-support__link {
  display: block;
  padding: 15px 20px;
  text-align: right;
  color: var(--page-support-primary-color);
  text-decoration: none;
  font-weight: bold;
  border-top: 1px solid #eee;
  transition: color 0.3s ease;
}

.page-support__link:hover {
  color: var(--page-support-secondary-color);
}

/* Final CTA Section */
.page-support__cta-final {
  padding: 80px 0;
  background: linear-gradient(to right, var(--page-support-primary-color), #1A3B60);
  color: var(--page-support-text-light);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-support__cta-final .page-support__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.page-support__cta-final .page-support__subtitle {
  color: var(--page-support-secondary-color);
  margin-bottom: 15px;
}

.page-support__cta-final .page-support__text {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
}

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

.page-support__cta-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  z-index: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-support__title {
    font-size: 2em;
  }
  .page-support__subtitle {
    font-size: 1.8em;
  }
  .page-support__description,
  .page-support__text {
    font-size: 1em;
  }
  .page-support__hero-actions,
  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-support__button {
    width: 100%;
    max-width: 300px;
  }
  .page-support__faq-grid,
  .page-support__channels-grid,
  .page-support__resource-grid {
    grid-template-columns: 1fr;
  }
  .page-support__faq-image {
    width: 200px;
    bottom: -30px;
    right: -30px;
  }
}

@media (max-width: 480px) {
  .page-support__hero {
    padding: 60px 0;
  }
  .page-support__title {
    font-size: 1.8em;
  }
  .page-support__subtitle {
    font-size: 1.5em;
  }
  .page-support__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}

/* Ensure text contrast for gold background elements if any */
/* For example, if a section background is gold */
.page-support__gold-section {
  background-color: var(--page-support-secondary-color);
  color: var(--page-support-primary-color); /* Dark text on gold */
}
.page-support__gold-section h2, .page-support__gold-section h3 {
  color: var(--page-support-primary-color);
}
.page-support__gold-section p {
  color: #333; /* Even darker for body text */
}

/* Ensure contrast for specific elements */
.page-support__faq-item,
.page-support__resource-item {
  background-color: #FFFFFF;
  color: var(--page-support-text-dark);
}
.page-support__faq-item h3,
.page-support__resource-item h3 {
  color: var(--page-support-primary-color);
}
.page-support__faq-item p,
.page-support__resource-item p {
  color: #555;
}