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

.page-contact__hero-section {
  background-color: #0A2463; /* Main brand color */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-contact__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 30px;
}

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

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

.page-contact__hero-button {
  display: inline-block;
  background-color: #E0B000;
  color: #0A2463;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__hero-button:hover {
  background-color: #f5db9c; /* Lighter shade of gold for hover */
  transform: translateY(-3px);
}

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

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

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

.page-contact__info-title {
  font-size: 2.5em;
  color: #0A2463;
  margin-bottom: 20px;
}

.page-contact__info-text {
  font-size: 1.1em;
  line-height: 1.6;
  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;
}

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

.page-contact__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-contact__card-icon {
  width: 200px; /* Minimum size requirement */
  height: 133px; /* Maintain aspect ratio for 600x400 */
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

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

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

.page-contact__card-button:hover {
  background-color: #E0B000;
  color: #0A2463;
}

.page-contact__form-section {
  padding: 80px 20px;
  background-color: #E0B000;
  color: #0A2463;
}

.page-contact__form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.page-contact__form-description {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
}

.page-contact__contact-form {
  display: grid;
  gap: 20px;
}

.page-contact__form-group {
  display: flex;
  flex-direction: column;
}

.page-contact__form-label {
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 8px;
  color: #0A2463;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  font-size: 1em;
  font-family: 'Arial', sans-serif;
  color: #333333;
  background-color: #f8f8f8;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #E0B000;
  box-shadow: 0 0 0 3px rgba(224, 176, 0, 0.3);
  outline: none;
}

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

.page-contact__form-submit-button {
  background-color: #0A2463;
  color: #ffffff;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
  align-self: center;
}

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

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

.page-contact__faq-container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-contact__faq-title {
  font-size: 2.5em;
  color: #0A2463;
  margin-bottom: 20px;
}

.page-contact__faq-description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 40px;
}

.page-contact__faq-button {
  display: inline-block;
  background-color: #E0B000;
  color: #0A2463;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 60px 15px;
    min-height: 400px;
  }

  .page-contact__hero-title {
    font-size: 2.2em;
  }

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

  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__faq-section {
    padding: 50px 15px;
  }

  .page-contact__info-title,
  .page-contact__form-title,
  .page-contact__faq-title {
    font-size: 2em;
  }

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

  .page-contact__card-icon {
    width: 200px;
    height: 133px;
  }

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

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