.page-contact {
  color: #333333; /* Default text color for light body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-contact__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #0A2463; /* Main brand color */
  color: #ffffff;
  gap: 40px;
}

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

.page-contact__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #E5A000; /* Accent color */
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-contact__hero-button {
  display: inline-block;
  background-color: #E5A000; /* Accent color for button */
  color: #0A2463; /* Text color for accent button */
  padding: 15px 30px;
  border-radius: 8px;
  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: #f5db9c; /* Lighter shade on hover */
  transform: translateY(-3px);
}

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

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.page-contact__methods-title {
  font-size: 2.2em;
  color: #0A2463; /* Main brand color */
  margin-bottom: 40px;
}

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

.page-contact__method-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

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

.page-contact__method-icon {
  width: 250px; /* Enforce min size for content images */
  height: 187px; /* Enforce min size for content images */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

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

.page-contact__method-button {
  display: inline-block;
  background-color: #0A2463;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

.page-contact__method-button:hover {
  background-color: #546692;
}

.page-contact__form-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.page-contact__form-container {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 40px;
  width: 100%;
  max-width: 600px;
}

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

.page-contact__form-description {
  font-size: 1em;
  line-height: 1.5;
  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: 100%;
  padding: 12px 15px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-contact__form-submit-button {
  display: block;
  width: 100%;
  background-color: #E5A000;
  color: #0A2463;
  padding: 15px 20px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__form-submit-button:hover {
  background-color: #f5db9c;
  transform: translateY(-3px);
}

.page-contact__form-image-container {
  width: 100%;
  max-width: 600px;
}

.page-contact__form-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-contact__cta-section {
  background-color: #0A2463; /* Main brand color */
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  margin-top: 60px;
}

.page-contact__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-contact__cta-title {
  font-size: 2.5em;
  color: #E5A000; /* Accent color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__cta-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-contact__cta-button {
  display: inline-block;
  background-color: #E5A000;
  color: #0A2463;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

/* Responsive Design */
@media (min-width: 769px) {
  .page-contact__hero-section {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    padding: 80px 40px;
  }

  .page-contact__hero-content {
    flex: 1;
    padding-right: 40px;
  }

  .page-contact__hero-image-container {
    flex: 1;
    max-width: 600px;
  }

  .page-contact__form-section {
    flex-direction: row;
    justify-content: space-between;
  }

  .page-contact__form-container {
    flex: 1;
    padding: 50px;
  }

  .page-contact__form-image-container {
    flex: 1;
    padding-left: 40px;
  }
}

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

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

  .page-contact__hero-button,
  .page-contact__method-button,
  .page-contact__form-submit-button,
  .page-contact__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-contact__hero-image,
  .page-contact__method-icon,
  .page-contact__form-image {
    max-width: 100%;
    height: auto;
  }

  /* Ensure content images are not too small on mobile */
  .page-contact__method-icon,
  .page-contact__form-image {
    min-width: 200px;
    min-height: 150px;
  }

  .page-contact__method-icon {
    width: 100%; /* Adjust to fit card width */
    height: auto;
  }
}