.page-contact {
  color: #333333; /* Dark text for light body background */
}

.page-contact__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #0A246A; /* Main brand color for hero background */
  color: #ffffff; /* White text for dark background */
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero section */
}

.page-contact__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
  z-index: 1;
}

.page-contact__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #F3C500; /* Auxiliary color for emphasis */
}

.page-contact__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__methods-section {
  padding: 80px 20px;
  background-color: #f9f9f9;
}

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

.page-contact__methods-title,
.page-contact__faq-title {
  font-size: 2.5em;
  color: #0A246A;
  text-align: center;
  margin-bottom: 20px;
}

.page-contact__methods-intro,
.page-contact__faq-description {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-contact__method-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 450px; /* Ensure cards have enough space for images and text */
}

.page-contact__method-icon {
  width: 100%; /* Make image fill card width */
  max-width: 400px; /* Max width to prevent overly large images */
  height: auto; /* Maintain aspect ratio */
  min-height: 200px; /* Ensure images are not small */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

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

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

.page-contact__button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-contact__button--primary {
  background-color: #F3C500; /* Auxiliary color */
  color: #0A246A; /* Main color for text */
  border: 2px solid #F3C500;
}

.page-contact__button--primary:hover {
  background-color: #e0b400;
  border-color: #e0b400;
  transform: translateY(-2px);
}

.page-contact__button--secondary {
  background-color: transparent;
  color: #F3C500;
  border: 2px solid #F3C500;
}

.page-contact__button--secondary:hover {
  background-color: #F3C500;
  color: #0A246A;
  transform: translateY(-2px);
}

.page-contact__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #0A246A; /* Main color */
  color: #F3C500; /* Auxiliary color for text */
  border: 2px solid #0A246A;
}

.page-contact__button--small:hover {
  background-color: #061a4f;
  border-color: #061a4f;
  transform: translateY(-2px);
}

.page-contact__faq-section {
  padding: 80px 20px;
  background-color: #f4f4f4;
  text-align: center;
}

.page-contact__faq-section .page-contact__button {
  margin-top: 30px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.8em;
  }
  .page-contact__methods-title,
  .page-contact__faq-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    min-height: 400px;
    padding: 40px 15px;
  }
  .page-contact__hero-title {
    font-size: 2.2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__button {
    width: 100%;
    max-width: 300px;
  }
  .page-contact__methods-section,
  .page-contact__faq-section {
    padding: 60px 15px;
  }
  .page-contact__methods-title,
  .page-contact__faq-title {
    font-size: 2em;
  }
  .page-contact__methods-intro,
  .page-contact__faq-description {
    font-size: 0.95em;
  }
  .page-contact__method-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__method-card {
    min-height: auto;
  }
  /* Ensure content images are responsive */
  .page-contact img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px; /* Enforce minimum size for content images */
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__methods-title,
  .page-contact__faq-title {
    font-size: 1.8em;
  }
  .page-contact__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}