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

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

.page-contact__hero-section {
  background-color: #000000; /* Primary color for hero background */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-contact__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login button color for emphasis */
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-contact__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-contact__hero-button:hover {
  background-color: #e0a53b;
}

.page-contact__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
  margin-top: 60px;
}

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

.page-contact__channels-section, .page-contact__faq-section, .page-contact__dedicated-support-section, .page-contact__feedback-section, .page-contact__cta-section {
  padding: 60px 0;
}

.page-contact__channels-section {
  background-color: #f8f8f8;
}

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

.page-contact__channel-card, .page-contact__support-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__channel-icon, .page-contact__support-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: none; /* Ensure no color filter */
}

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

.page-contact__card-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
}

.page-contact__card-button {
  display: inline-block;
  background-color: #000000; /* Primary color */
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-contact__card-button:hover {
  background-color: #333333;
}

.page-contact__faq-list {
  margin-top: 40px;
}

.page-contact__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 25px 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-contact__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-contact__feedback-section {
  background-color: #f8f8f8;
}

.page-contact__feedback-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  margin-top: 30px;
}

.page-contact__feedback-button:hover {
  background-color: #333333;
}

.page-contact__cta-section {
  background-color: #000000; /* Primary color */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
}

.page-contact__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-contact__cta-button--register {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
}

.page-contact__cta-button--register:hover {
  background-color: #f0f0f0;
}

.page-contact__cta-button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
}

.page-contact__cta-button--login:hover {
  background-color: #e0a53b;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.8em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__channel-grid, .page-contact__support-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-contact__hero-title {
    font-size: 2.2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-description {
    font-size: 0.95em;
  }
  .page-contact__channel-grid, .page-contact__support-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__channel-card, .page-contact__support-card {
    padding: 20px;
  }
  .page-contact__channel-icon, .page-contact__support-icon {
    width: 200px;
    height: 200px;
  }
  .page-contact__card-title {
    font-size: 1.5em;
  }
  .page-contact__faq-question {
    font-size: 1.2em;
  }
  .page-contact__cta-buttons {
    flex-direction: column;
  }
  .page-contact__cta-button {
    width: 100%;
  }
  /* Ensure content images do not overflow */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
  .page-contact__channel-icon, .page-contact__support-icon {
    max-width: 100%; /* Ensure these icons also respect max-width */
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__hero-description {
    font-size: 0.9em;
  }
  .page-contact__section-title {
    font-size: 1.5em;
  }
  .page-contact__faq-question {
    font-size: 1.1em;
  }
  .page-contact__hero-section, .page-contact__cta-section {
    padding: 60px 15px;
  }
  .page-contact__channels-section, .page-contact__faq-section, .page-contact__dedicated-support-section, .page-contact__feedback-section {
    padding: 40px 0;
  }
  .page-contact__container {
    padding: 15px;
  }
}