.page-contact {
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
}

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

.page-contact__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF; /* Light text on dark background */
  text-align: center;
  padding-bottom: 80px;
}

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

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

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

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

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

.page-contact__button--primary:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

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

.page-contact__button--secondary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

.page-contact__methods-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

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

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

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

.page-contact__method-icon {
  width: 100%; /* Ensure images are responsive */
  height: auto;
  max-width: 250px; /* Max width for content images, within card */
  min-width: 200px; /* Ensure images are not small icons */
  min-height: 200px;
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 8px;
}

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

.page-contact__method-text {
  font-size: 1em;
  line-height: 1.5;
  margin-bottom: 25px;
  color: #555555;
}

.page-contact__button--link {
  background-color: #000000;
  color: #FFFFFF;
  border-color: #000000;
  padding: 10px 20px;
  font-size: 1em;
}

.page-contact__button--link:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-contact__form-section {
  padding: 80px 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;
  max-width: 700px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-contact__form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #f8f8f8;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

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

.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;
}

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

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #999999;
}

.page-contact__button--submit {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
  width: 100%;
  padding: 15px;
  font-size: 1.2em;
}

.page-contact__button--submit:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

.page-contact__faq-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
}

.page-contact__faq-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 60px;
  color: #FFFFFF;
}

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

.page-contact__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page-contact__faq-question {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FCBC45;
}

.page-contact__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-contact__faq-more {
  text-align: center;
  margin-top: 50px;
  font-size: 1.1em;
}

.page-contact__link {
  color: #FCBC45;
  text-decoration: underline;
}

.page-contact__link:hover {
  color: #e0a53b;
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {
  .page-contact__hero-title {
    font-size: 2.5em;
  }

  .page-contact__hero-description {
    font-size: 1em;
  }

  .page-contact__hero-actions {
    flex-direction: column;
  }

  .page-contact__button {
    width: 100%;
    max-width: 300px;
  }

  .page-contact__methods-title,
  .page-contact__form-title,
  .page-contact__faq-title {
    font-size: 2em;
  }

  .page-contact__methods-grid,
  .page-contact__faq-grid {
    grid-template-columns: 1fr;
  }

  .page-contact__form {
    padding: 30px;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    width: calc(100% - 20px); /* Adjust width for padding */
  }

  /* Ensure content images are responsive and not overflowing */
  .page-contact__method-icon {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
  }
}

/* Mobile content area overflow prevention for all images */
@media (max-width: 768px) {
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-contact {
    overflow-x: hidden;
  }
}