.page-contact {
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  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: 60px 20px 40px;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 30px;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-contact__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FCBC45; /* Accent color for title */
}

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

.page-contact__channels-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

.page-contact__channels-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

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

.page-contact__channel-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 12px 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 {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-contact__channel-icon {
  width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

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

.page-contact__channel-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1em;
}

.page-contact__channel-button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-contact__channel-button--login:hover {
  background-color: #e0a53a;
}

.page-contact__channel-button--register {
  background-color: #000000;
  color: #FFFFFF;
}

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

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

.page-contact__channel-button:not(.page-contact__channel-button--login):not(.page-contact__channel-button--register):hover {
  background-color: #333333;
}

.page-contact__form-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-contact__form-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px;
  background-color: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-contact__form-group {
  margin-bottom: 25px;
}

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #000000;
  font-size: 1em;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  font-size: 1em;
  color: #333333;
  background-color: #FFFFFF;
  transition: border-color 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FCBC45;
  outline: none;
}

.page-contact__form-textarea {
  resize: vertical;
}

.page-contact__form-submit-button {
  display: block;
  width: 100%;
  padding: 15px;
  background-color: #FCBC45;
  color: #000000;
  border: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-contact__form-submit-button:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

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

.page-contact__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45;
}

.page-contact__cta-text {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px;
}

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

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

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

.page-contact__cta-button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

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

.page-contact__cta-button--login:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.8em;
  }
  .page-contact__channels-title,
  .page-contact__form-title,
  .page-contact__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 40px 15px 30px;
  }
  .page-contact__hero-title {
    font-size: 2.2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__channels-section,
  .page-contact__form-section,
  .page-contact__cta-section {
    padding: 40px 0;
  }
  .page-contact__channels-title,
  .page-contact__form-title,
  .page-contact__cta-title {
    font-size: 1.8em;
  }
  .page-contact__channel-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__channel-card {
    padding: 25px;
  }
  .page-contact__channel-icon {
    width: 200px;
  }
  .page-contact__channel-heading {
    font-size: 1.5em;
  }
  .page-contact__contact-form {
    padding: 20px;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    width: calc(100% - 20px); /* Adjust for padding */
  }
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__cta-button {
    width: 80%;
    margin: 0 auto;
  }
  /* CRITICAL: Mobile content image overflow prevention */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__channels-title,
  .page-contact__form-title,
  .page-contact__cta-title {
    font-size: 1.5em;
  }
  .page-contact__hero-description,
  .page-contact__channels-intro,
  .page-contact__form-description,
  .page-contact__cta-text {
    font-size: 0.9em;
  }
  .page-contact__channel-button,
  .page-contact__form-submit-button,
  .page-contact__cta-button {
    font-size: 0.9em;
    padding: 12px 20px;
  }
  .page-contact__cta-button {
    width: 90%;
  }
}