.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: #002060; /* Primary dark blue background for hero */
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: #ffffff; /* Light text for dark background */
}

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

.page-contact__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Dim the background image significantly for text readability */
}

.page-contact__hero-container {
  max-width: 800px;
  margin-bottom: 40px;
  z-index: 1; /* Ensure text is above the dimmed image */
  position: relative;
}

.page-contact__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

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

.page-contact__hero-button {
  display: inline-block;
  background-color: #FFD700;
  color: #002060;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-contact__methods-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

.page-contact__methods-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-contact__methods-title {
  font-size: 2.5em;
  color: #002060;
  margin-bottom: 50px;
  font-weight: bold;
}

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

.page-contact__method-card {
  background-color: #f0f5fa;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__method-icon {
  width: 250px; /* Minimum 200x200 for content images */
  height: 187.5px; /* Maintain aspect ratio for 400x300 placeholder */
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-contact__method-card-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 25px;
}

.page-contact__method-button {
  display: inline-block;
  background-color: #002060;
  color: #FFD700;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: auto; /* Push button to bottom */
}

.page-contact__method-button:hover {
  background-color: #001a4d;
  transform: translateY(-2px);
}

.page-contact__cta-section {
  background-color: #002060;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-contact__cta-container {
  max-width: 900px;
}

.page-contact__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
}

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

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
}

.page-contact__cta-button--primary {
  background-color: #FFD700;
  color: #002060;
}

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

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

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

.page-contact__cta-image {
  width: 600px; /* Example display size */
  height: 450px; /* Maintain aspect ratio */
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.8em;
  }
  .page-contact__methods-title {
    font-size: 2.2em;
  }
  .page-contact__cta-title {
    font-size: 2.4em;
  }
  .page-contact__cta-image {
    width: 500px;
    height: 375px;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 60px 20px;
  }
  .page-contact__hero-title {
    font-size: 2.2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__methods-section {
    padding: 40px 20px;
  }
  .page-contact__methods-title {
    font-size: 2em;
  }
  .page-contact__method-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__cta-section {
    padding: 60px 20px;
  }
  .page-contact__cta-title {
    font-size: 2em;
  }
  .page-contact__cta-description {
    font-size: 1em;
  }
  .page-contact__cta-buttons {
    flex-direction: column;
  }
  .page-contact__cta-button {
    width: 100%;
  }
  .page-contact__cta-image {
    width: 100%;
    height: auto;
  }
  /* Ensure all content area images are not smaller than 200px in mobile */
  .page-contact__hero-image,
  .page-contact__method-icon,
  .page-contact__cta-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 150px; /* Proportionate min-height for 4:3 aspect */
  }
  .page-contact__method-icon {
    min-width: 250px;
    min-height: 187.5px;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__methods-title {
    font-size: 1.8em;
  }
  .page-contact__method-card-title {
    font-size: 1.5em;
  }
  .page-contact__cta-title {
    font-size: 1.8em;
  }
}