.page-contact {
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Ensure content background is white if body isn't */
  padding-top: var(--header-offset, 120px); /* Space for fixed header */
}

.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero content */
  color: #FFFFFF;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.4; /* Make image subtle under text */
}

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

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

.page-contact__hero-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

.page-contact__button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
  font-size: 1.05em;
}

.page-contact__button--primary {
  background-color: #FCBC45; /* Login accent color */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-contact__button--secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-contact__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-contact__channels-section,
.page-contact__form-section,
.page-contact__cta-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.page-contact__channels-title,
.page-contact__form-title,
.page-contact__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000;
}

.page-contact__channels-description,
.page-contact__form-description,
.page-contact__cta-description {
  font-size: 1.05em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-contact__channel-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__channel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.page-contact__channel-icon {
  width: 250px; /* Min 200px */
  height: auto;
  max-width: 100%;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-contact__channel-text {
  font-size: 0.95em;
  line-height: 1.5;
  color: #555555;
  margin-bottom: 20px;
}

.page-contact__button--link {
  background-color: #000000; /* Primary color for link buttons */
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 10px 25px;
  font-size: 1em;
}

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

.page-contact__contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 700px;
  margin: 40px auto 0 auto;
  background-color: #f8f8f8;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.page-contact__form-group {
  display: flex;
  flex-direction: column;
}

.page-contact__form-label {
  font-weight: bold;
  margin-bottom: 8px;
  color: #000000;
}

.page-contact__form-input,
.page-contact__form-textarea {
  padding: 12px 15px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  font-size: 1em;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FCBC45;
  box-shadow: 0 0 0 3px rgba(252, 188, 69, 0.2);
  outline: none;
}

.page-contact__form-textarea {
  resize: vertical;
  min-height: 120px;
}

.page-contact__button--submit {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  padding: 14px 30px;
  font-size: 1.05em;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

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

.page-contact__cta-section .page-contact__button--primary {
  margin-top: 20px;
}

/* Responsive Design */
@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: 60px 15px;
  }
  .page-contact__hero-title {
    font-size: 2.2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__channels-section,
  .page-contact__form-section,
  .page-contact__cta-section {
    margin: 40px auto;
    padding: 0 15px;
  }
  .page-contact__channels-title,
  .page-contact__form-title,
  .page-contact__cta-title {
    font-size: 1.8em;
  }
  .page-contact__channels-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__channel-card {
    padding: 25px;
  }
  .page-contact__contact-form {
    padding: 30px;
  }
  .page-contact__button--submit {
    align-self: stretch;
  }
  /* Ensure content images are responsive and do not overflow */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
  .page-contact__channel-icon {
    width: 200px; /* Min 200px */
    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__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-contact__channel-name {
    font-size: 1.5em;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px 12px;
  }
}