.page-contact {
  color: #ffffff; /* Light text for dark body background */
  background-color: #000000; /* Ensuring main content matches body background */
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-contact__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000;
  position: relative;
  overflow: hidden;
}

.page-contact__hero-content {
  max-width: 800px;
  margin-bottom: 40px;
  z-index: 1;
}

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

.page-contact__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-contact__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for light button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-contact__hero-image {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
}

.page-contact__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

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

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

.page-contact__method-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-contact__method-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.page-contact__method-icon {
  width: 250px; /* Minimum 200px */
  height: 187px; /* Maintain aspect ratio */
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-contact__method-description {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 25px;
}

.page-contact__method-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

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

.page-contact__form-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 40px 20px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-contact__form-description {
  font-size: 1.1em;
  color: #cccccc;
  text-align: center;
  margin-bottom: 40px;
}

.page-contact__contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-contact__form-group {
  text-align: left;
}

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

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

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

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

.page-contact__form-submit-button {
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  align-self: center;
  max-width: 200px;
}

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

.page-contact__social-section {
  max-width: 1200px;
  margin: 60px auto 80px auto;
  padding: 0 20px;
  text-align: center;
}

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

.page-contact__social-description {
  font-size: 1.1em;
  color: #cccccc;
  margin-bottom: 30px;
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-contact__social-link {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-contact__social-link:hover {
  background-color: #FCBC45;
  color: #000000;
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-contact {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
  }

  .page-contact__hero-title {
    font-size: 2.5em;
  }

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

  .page-contact__hero-section {
    flex-direction: column;
    padding: 40px 15px;
  }

  .page-contact__hero-image {
    margin-top: 30px;
  }

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

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

  .page-contact__method-card {
    padding: 25px;
  }

  .page-contact__method-icon {
    width: 200px; /* Ensure minimum 200px on mobile */
    height: 150px; /* Maintain aspect ratio */
  }

  .page-contact__form-section {
    padding: 30px 15px;
  }

  .page-contact__social-links {
    flex-direction: column;
    gap: 15px;
  }

  /* Critical: Prevent content overflow */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
  .page-contact {
    overflow-x: hidden;
  }
}