.page-contact {
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-contact__hero-section {
  position: relative;
  background: linear-gradient(135deg, #1E90FF, #0056b3); /* Royal Blue gradient background */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero */
}

.page-contact__hero-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.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__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-contact__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
}

.page-contact__button--primary {
  background-color: #FFD700; /* Gold */
  color: #1E90FF; /* Royal Blue */
}

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

.page-contact__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-contact__button--secondary:hover {
  background-color: #FFD700;
  color: #1E90FF; /* Royal Blue */
  transform: translateY(-2px);
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #1E90FF; /* Royal Blue */
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-contact__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Gold underline */
  border-radius: 2px;
}

.page-contact__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
}

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

.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 8px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__method-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-contact__method-icon {
  width: 200px; /* Min size for content images */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-contact__method-title {
  font-size: 1.8em;
  color: #1E90FF;
  margin-bottom: 15px;
}

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

.page-contact__button--inline {
  background-color: #FFD700;
  color: #1E90FF;
  padding: 12px 25px;
  font-size: 1em;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-contact__button--inline:hover {
  background-color: #e6c200;
}

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

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #f0f8ff; /* Light blue background for form */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.page-contact__form-group {
  margin-bottom: 25px;
}

.page-contact__form-label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #1E90FF;
  font-size: 1.1em;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #1E90FF;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.2);
  outline: none;
}

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

.page-contact__button--submit {
  width: 100%;
  padding: 18px;
  background-color: #FFD700;
  color: #1E90FF;
  font-size: 1.2em;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-weight: bold;
}

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

.page-contact__commitment-section {
  padding: 80px 0;
  background-color: #f2f2f2;
}

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

.page-contact__commitment-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__commitment-icon {
  width: 200px; /* Min size for content images */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-contact__commitment-heading {
  font-size: 1.6em;
  color: #1E90FF;
  margin-bottom: 10px;
}

.page-contact__commitment-description {
  font-size: 0.95em;
  color: #666666;
}

.page-contact__cta-section {
  background: linear-gradient(45deg, #1E90FF, #0056b3); /* Royal Blue gradient */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-contact__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.8em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__cta-title {
    font-size: 2.4em;
  }
}

@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__hero-buttons,
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-intro {
    font-size: 0.95em;
  }
  .page-contact__methods-section,
  .page-contact__form-section,
  .page-contact__commitment-section,
  .page-contact__cta-section {
    padding: 50px 0;
  }
  .page-contact__methods-grid,
  .page-contact__commitment-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__contact-form {
    padding: 30px;
  }

  /* Mobile content image constraint */
  .page-contact__methods-section img,
  .page-contact__commitment-section img,
  .page-contact__hero-image {
    max-width: 100%;
    height: auto;
  }
  /* Ensure no image within .page-contact is smaller than 200px */
  .page-contact img {
    min-width: 200px;
    min-height: 200px;
  }
  .page-contact__method-icon, .page-contact__commitment-icon {
    width: 100%; /* Make icons responsive */
    height: auto;
    max-width: 250px; /* Cap max size for smaller screens */
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__button--primary,
  .page-contact__button--secondary {
    font-size: 0.9em;
    padding: 10px 15px;
  }
  .page-contact__section-title {
    font-size: 1.6em;
  }
  .page-contact__cta-title {
    font-size: 2em;
  }
}