.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Explicitly set for clarity, though body is white */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

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

.page-contact__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login color for emphasis */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #FFFFFF;
}

.page-contact__hero-image-container {
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px; /* Ensure images are not too small */
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin: 60px 0 30px;
  position: relative;
}

.page-contact__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 15px auto 0;
  border-radius: 2px;
}

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

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

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

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

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

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

.page-contact__button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.page-contact__button--login {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-contact__button--login:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-contact__button--register {
  background-color: #000000;
  color: #FFFFFF;
  border-color: #000000;
}

.page-contact__button--register:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-contact__button:not(.page-contact__button--login):not(.page-contact__button--register) {
  background-color: #000000;
  color: #FFFFFF;
  border-color: #000000;
}

.page-contact__button:not(.page-contact__button--login):not(.page-contact__button--register):hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-contact__image-container {
  margin: 50px auto;
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-contact__image-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Global minimum size */
  min-height: 200px; /* Global minimum size */
}

.page-contact__prepare-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 50px auto;
  text-align: left;
}

.page-contact__list-item {
  background-color: #f9f9f9;
  border-left: 5px solid #FCBC45;
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #333333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-contact__list-item strong {
  color: #000000;
}

.page-contact__cta-section {
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  margin-top: 60px;
}

.page-contact__cta-section .page-contact__section-title {
  color: #FCBC45;
}

.page-contact__cta-section .page-contact__section-description {
  color: #e0e0e0;
  margin-bottom: 40px;
}

.page-contact__cta-section .page-contact__button {
  margin: 0 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.8em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-contact {
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  }
  .page-contact__hero-title {
    font-size: 2.2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-description {
    font-size: 0.95em;
  }
  .page-contact__channels-grid, .page-contact__topics-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__button {
    padding: 10px 20px;
    font-size: 1em;
  }
  .page-contact__cta-section .page-contact__button {
    margin: 10px 0;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  .page-contact__image-container img {
    max-width: 100%;
    height: auto;
  }
  .page-contact__list-item {
    font-size: 1em;
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-section {
    padding: 60px 15px 30px;
  }
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__section-title {
    font-size: 1.5em;
    margin: 40px 0 20px;
  }
  .page-contact__section-description {
    margin-bottom: 30px;
  }
  .page-contact__channel-card, .page-contact__topic-card {
    padding: 20px;
  }
  .page-contact__card-title {
    font-size: 1.5em;
  }
  .page-contact__button {
    width: 100%;
    box-sizing: border-box;
  }
  .page-contact__cta-section .page-contact__button {
    margin: 10px auto;
  }
}