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

.page-contact__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #007bff; /* Primary brand color */
  color: #ffffff;
  gap: 30px;
}

.page-contact__hero-content {
  max-width: 800px;
}

.page-contact__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #ffc107; /* Auxiliary brand color for emphasis */
}

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

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

.page-contact__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

.page-contact__cta-button {
  display: inline-block;
  background-color: #ffc107; /* Auxiliary brand color */
  color: #007bff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

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

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

.page-contact__methods-title {
  font-size: 2.2em;
  margin-bottom: 20px;
  color: #007bff;
}

.page-contact__methods-intro {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__card:hover {
  transform: translateY(-5px);
}

.page-contact__card-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
}

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

.page-contact__card-button {
  display: inline-block;
  background-color: #007bff;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: auto; /* Push button to bottom */
}

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

.page-contact__card img {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-top: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-contact__social-media-section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
  background-color: #f8f9fa;
  border-radius: 10px;
}

.page-contact__social-media-title {
  font-size: 2em;
  color: #007bff;
  margin-bottom: 15px;
}

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

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

.page-contact__social-button {
  display: inline-block;
  background-color: #ffc107;
  color: #007bff;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

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

.page-contact__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #007bff; /* Primary brand color */
  color: #ffffff;
  margin-top: 40px;
}

.page-contact__cta-title {
  font-size: 2.5em;
  margin-bottom: 15px;
  color: #ffc107;
}

.page-contact__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-contact__cta-button--primary {
  background-color: #ffc107;
  color: #007bff;
}

.page-contact__cta-button--primary:hover {
  background-color: #e0a800;
}

.page-contact__cta-button--secondary {
  background-color: transparent;
  border: 2px solid #ffc107;
  color: #ffc107;
}

.page-contact__cta-button--secondary:hover {
  background-color: #ffc107;
  color: #007bff;
}

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

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

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

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

  .page-contact__card img {
    max-width: 100%;
    min-width: 200px;
    min-height: 200px;
  }

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

  .page-contact__cta-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  /* Ensure images do not overflow on mobile */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-contact {
    overflow-x: hidden;
  }
}