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

.page-contact__hero-section {
  background-color: #000000; /* Main color for hero background */
  padding: 80px 20px;
  text-align: center;
  color: #FFFFFF; /* Light text for dark background */
  position: relative;
  overflow: hidden;
}

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

.page-contact__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  margin-top: 40px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-contact__info-section {
  padding: 60px 20px;
  background-color: #f8f8f8;
}

.page-contact__info-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

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

.page-contact__contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

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

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

.page-contact__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 150px;
  text-align: center;
}

.page-contact__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for light button */
}

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

.page-contact__button--secondary {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* Light text for dark button */
}

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

.page-contact__form-section {
  padding: 60px 20px;
  background-color: #FFFFFF;
}

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

.page-contact__form-title {
  font-size: 2.2em;
  color: #000000;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}

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

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: calc(100% - 20px);
  padding: 12px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 1em;
  color: #333333;
  background-color: #FFFFFF;
}

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

.page-contact__button--submit {
  width: 100%;
  padding: 15px;
  background-color: #FCBC45;
  color: #000000;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-contact__social-section {
  padding: 60px 20px;
  background-color: #000000; /* Main color for social section */
  color: #FFFFFF;
  text-align: center;
}

.page-contact__social-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

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

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

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

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

.page-contact__social-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 10px;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  min-width: 64px; /* Adjust min-width/height to match display size for these specific elements */
  min-height: 64px; 
  object-fit: contain; /* Use contain for icons */
  background-color: #222; /* Dark background for social icons */
  padding: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-contact__hero-title {
    font-size: 2.5em;
  }

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

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

  .page-contact__contact-card {
    padding: 20px;
  }

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

  .page-contact__form-container {
    padding: 30px;
  }

  .page-contact__form-title {
    font-size: 1.8em;
  }

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

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

  /* Mobile content area image overflow prevention */
  .page-contact__hero-image,
  .page-contact__social-icon {
    max-width: 100%;
    height: auto;
  }
  
  .page-contact__contact-card img {
    max-width: 100%;
    height: auto;
  }
}

/* Ensure all images in content area respect min size and no filter */
.page-contact img {
  min-width: 200px; /* Global enforcement for content images */
  min-height: 200px; /* Global enforcement for content images */
  object-fit: cover;
  filter: none; /* Explicitly ensure no filter is applied */
}

/* Override min-width/height for specifically small elements like social icons, which are already defined with width/height */
.page-contact__social-icon {
    min-width: 64px;
    min-height: 64px;
    object-fit: contain;
}