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

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

/* Hero Section */
.page-contact__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF; /* Light text for dark background */
  padding: 80px 20px;
  position: relative;
  overflow: hidden; /* Ensure image doesn't overflow */
  min-height: 400px; /* Minimum height for hero section */
}

.page-contact__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.page-contact__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the area, crop if necessary */
  opacity: 0.3; /* Subtle background */
  min-width: 200px;
  min-height: 200px;
}

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

.page-contact__main-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
}

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

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

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

/* Contact Info Section */
.page-contact__info-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  text-align: center;
}

.page-contact__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #000000;
}

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

.page-contact__method-card {
  background-color: #000000; /* Dark background for cards */
  color: #FFFFFF; /* Light text for dark cards */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.page-contact__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FCBC45; /* Highlight with accent color */
}

.page-contact__card-description {
  margin-bottom: 25px;
  font-size: 1.1em;
}

.page-contact__card-button {
  display: inline-block;
  background-color: #FCBC45; /* Accent color for button */
  color: #000000; /* Dark text for button */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

/* Contact Form Section */
.page-contact__form-section {
  padding: 60px 0;
  background-color: #f8f8f8; /* Slightly off-white for contrast */
}

.page-contact__form-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px auto;
  color: #333333;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #FFFFFF;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  color: #333333;
  background-color: #FFFFFF;
  box-sizing: border-box; /* Include padding in width */
  min-width: 200px;
  min-height: 40px; /* Minimum height for input fields */
}

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

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

.page-contact__form-textarea {
  resize: vertical; /* Allow vertical resizing */
  min-height: 100px; /* Minimum height for textarea */
}

.page-contact__form-submit-button {
  display: block;
  width: 100%;
  background-color: #000000; /* Main color for submit button */
  color: #FFFFFF; /* Light text for dark button */
  padding: 15px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

/* CTA Section */
.page-contact__cta-section {
  background-color: #000000; /* Main color for CTA background */
  color: #FFFFFF; /* Light text for dark background */
  padding: 80px 20px;
  text-align: center;
}

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

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

.page-contact__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Accent color for button */
  color: #000000; /* Dark text for button */
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-size: 1.3em;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__cta-button:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 60px 20px;
  }

  .page-contact__main-title {
    font-size: 2.2em;
  }

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

  .page-contact__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-contact__section-title {
    font-size: 2em;
  }

  .page-contact__contact-methods {
    grid-template-columns: 1fr; /* Stack cards vertically */
  }

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

  .page-contact__card-title {
    font-size: 1.5em;
  }

  .page-contact__form-section {
    padding: 40px 0;
  }

  .page-contact__contact-form {
    padding: 30px 20px;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px;
  }

  .page-contact__form-submit-button {
    padding: 12px 15px;
    font-size: 1.1em;
  }

  .page-contact__cta-title {
    font-size: 2em;
  }

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

  .page-contact__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  /* Mobile image scaling */
  .page-contact img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  /* Ensure content area does not overflow */
  .page-contact {
    overflow-x: hidden;
  }
}

/* Ensure all images within .page-contact are at least 200px wide/high */
.page-contact img {
    min-width: 200px;
    min-height: 200px;
}