.page-contact {
  color: #ffffff; /* Light text for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-contact__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  /* No filter property to change image color */
}

.page-contact__hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 10px;
  max-width: 800px;
}

.page-contact__hero-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.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, color 0.3s ease;
  min-width: 150px;
  text-align: center;
}

.page-contact__button--primary {
  background-color: #FFD700;
  color: #8B0000;
  border: 2px solid #FFD700;
}

.page-contact__button--primary:hover {
  background-color: #e6c200;
  color: #6a0000;
}

.page-contact__button--secondary {
  background-color: #8B0000;
  color: #FFD700;
  border: 2px solid #8B0000;
}

.page-contact__button--secondary:hover {
  background-color: #6a0000;
  color: #e6c200;
}

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

.page-contact__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 60px;
}

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

.page-contact__info-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.05);
}

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

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

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

.page-contact__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  /* No filter property to change image color */
}

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

.page-contact__card-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-contact__card-title a:hover {
  text-decoration: underline;
}

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

.page-contact__button--card {
  background-color: #8B0000;
  color: #FFD700;
  border: 2px solid #8B0000;
  padding: 10px 20px;
  font-size: 0.9em;
  min-width: 120px;
}

.page-contact__button--card:hover {
  background-color: #6a0000;
  color: #e6c200;
}

.page-contact__form-section {
  padding: 80px 0;
}

.page-contact__form {
  max-width: 700px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 10px;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #FFD700;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-size: 1em;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #ccc;
}

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

.page-contact__button--submit {
  background-color: #FFD700;
  color: #8B0000;
  border: none;
  cursor: pointer;
  width: 100%;
  padding: 15px;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

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

.page-contact__location-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-contact__location-details {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  margin-top: 40px;
  text-align: center;
}

.page-contact__location-details p {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-contact__location-image {
  display: block;
  margin: 50px auto 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  /* No filter property to change image color */
}

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

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

  .page-contact__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__button {
    width: 100%;
  }

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

  .page-contact__section-intro {
    font-size: 0.95em;
  }

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

  .page-contact__card-image {
    max-width: 100%; /* Ensures images in cards are responsive */
    height: auto; /* Ensures images in cards are responsive */
  }

  /* Ensure all content images within .page-contact are responsive and don't overflow */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
  }

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

@media (max-width: 480px) {
  .page-contact__hero-overlay {
    padding: 25px;
  }

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

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

  .page-contact__form-input,
  .page-contact__form-textarea {
    width: calc(100% - 20px);
  }
}