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

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

.page-contact__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF; /* Text on hero image should be white */
  text-align: center;
  padding: 80px 20px;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.page-contact__hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
  max-width: 800px;
}

.page-contact__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  font-weight: bold;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 600px;
  color: #F0F0F0;
}

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

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

.page-contact__hero-button--primary:hover {
  background-color: #e0a73d;
  transform: translateY(-2px);
}

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

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

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

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

/* Channels Section */
.page-contact__channels-section {
  padding: 60px 0;
  background-color: #F8F8F8;
}

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

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

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

.page-contact__channel-icon {
  width: 200px; /* Min size */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

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

.page-contact__channel-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
}

.page-contact__faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-contact__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 25px;
  transition: box-shadow 0.3s ease;
}

.page-contact__faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

.page-contact__faq-answer {
  font-size: 1em;
  color: #555555;
  padding-left: 10px;
  border-left: 3px solid #FCBC45;
  display: block; /* All answers visible for content length */
}

.page-contact__faq-answer p {
  margin-bottom: 10px;
}

.page-contact__faq-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-contact__faq-link:hover {
  color: #e0a73d;
  text-decoration: underline;
}

.page-contact__faq-cta {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: #F8F8F8;
  border-radius: 10px;
}

.page-contact__faq-cta p {
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 25px;
}

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

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

/* Social Section */
.page-contact__social-section {
  padding: 60px 0;
  background-color: #F8F8F8;
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.page-contact__social-icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333333;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease, transform 0.3s ease;
}

.page-contact__social-icon-link:hover {
  color: #FCBC45;
  transform: translateY(-5px);
}

.page-contact__social-icon {
  width: 200px; /* Enforced min size for content images */
  height: 200px; /* Enforced min size for content images */
  object-fit: contain;
  margin-bottom: 10px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.page-contact__social-icon:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Feedback Section */
.page-contact__feedback-section {
  padding: 60px 0;
}

.page-contact__feedback-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 40px;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #CCCCCC;
  border-radius: 5px;
  font-size: 1em;
  color: #333333;
  background-color: #FDFDFD;
  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.3);
  outline: none;
}

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

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

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

/* Resources Section */
.page-contact__resources-section {
  padding: 60px 0 80px;
  background-color: #F0F0F0;
}

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

.page-contact__resource-card {
  display: block;
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: center;
  text-decoration: none;
  color: #333333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__resource-icon {
  width: 200px; /* Enforced min size for content images */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-contact__resource-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
}

.page-contact__resource-description {
  font-size: 0.95em;
  color: #666666;
}


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

@media (max-width: 768px) {
  .page-contact__hero-title {
    font-size: 2.5em;
  }
  .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-intro {
    font-size: 0.95em;
  }
  .page-contact__channels-grid,
  .page-contact__resources-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__channel-card,
  .page-contact__faq-item,
  .page-contact__resource-card,
  .page-contact__feedback-form {
    padding: 20px;
  }
  .page-contact__social-links {
    flex-direction: column;
    align-items: center;
  }
  /* Mobile overflow prevention */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
  .page-contact {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 2em;
  }
  .page-contact__hero-description {
    font-size: 0.9em;
  }
  .page-contact__hero-button {
    padding: 10px 20px;
    font-size: 0.9em;
    margin: 5px;
  }
  .page-contact__hero-container {
    padding: 20px;
  }
  .page-contact__section-title {
    font-size: 1.5em;
  }
  .page-contact__section-intro {
    font-size: 0.9em;
  }
  .page-contact__channel-title {
    font-size: 1.5em;
  }
  .page-contact__faq-question {
    font-size: 1.2em;
  }
  .page-contact__faq-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-contact__form-label {
    font-size: 1em;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 12px;
  }
  .page-contact__form-submit-button {
    padding: 15px;
    font-size: 1.1em;
  }
}