.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 below fixed header */
}

.page-contact__hero-section {
  position: relative;
  width: 100%;
  height: 60vh; /* Responsive height */
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-contact__hero-content {
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}

.page-contact__main-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #E5B80B; /* Auxiliary color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-contact__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-contact__action-button,
.page-contact__cta-button {
  display: inline-block;
  background-color: #E5B80B; /* Auxiliary color */
  color: #0A2342; /* Main color for text */
  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__action-button:hover,
.page-contact__cta-button:hover {
  background-color: #f0c94f;
  transform: translateY(-2px);
}

.page-contact__info-section,
.page-contact__form-section,
.page-contact__cta-section {
  padding: 60px 20px;
  background-color: #ffffff;
  text-align: center;
}

.page-contact__info-section {
  background-color: #f9f9f9;
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #0A2342; /* Main color */
  margin-bottom: 20px;
}

.page-contact__section-description {
  font-size: 1.1em;
  color: #666666;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__card {
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-contact__card-icon {
  width: 100px; /* Ensuring minimum size for content images */
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min-width */
  min-height: 200px; /* Enforce min-height */
}

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

.page-contact__card-text {
  color: #555555;
  margin-bottom: 20px;
}

.page-contact__card-link {
  display: inline-block;
  color: #E5B80B;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #E5B80B;
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-contact__card-link:hover {
  color: #0A2342;
  border-color: #0A2342;
}

.page-contact__form-container {
  max-width: 700px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-contact__submit-button {
  background-color: #0A2342; /* Main color */
  color: #ffffff;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__submit-button:hover {
  background-color: #1a3a60;
  transform: translateY(-2px);
}

.page-contact__cta-section {
  background-color: #0A2342; /* Main color for strong CTA */
  color: #ffffff;
  padding: 80px 20px;
}

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

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

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

  .page-contact__description {
    font-size: 1em;
  }

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

  .page-contact__card-icon {
    min-width: 150px;
    min-height: 150px;
  }

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

  .page-contact__hero-section {
    height: 50vh;
  }

  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__cta-section {
    padding: 40px 15px;
  }

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

  /* Ensure images in content area are responsive */
  .page-contact__info-container img,
  .page-contact__form-container img,
  .page-contact__cta-container img {
    max-width: 100%;
    height: auto;
  }
  .page-contact__hero-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-contact__main-title {
    font-size: 1.8em;
  }

  .page-contact__action-button,
  .page-contact__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-contact__card-icon {
    min-width: 120px;
    min-height: 120px;
  }

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