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

.page-contact__hero-section {
  background-color: #f8f8f8;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.page-contact__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-contact__hero-title {
  font-size: 2.8em;
  color: #8B0000; /* Auxiliary color for emphasis */
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-contact__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Main brand color */
  color: #8B0000; /* Dark text for light button */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #FFD700;
}

.page-contact__hero-button:hover {
  background-color: #8B0000; /* Auxiliary color on hover */
  color: #FFD700; /* Main brand color for text on hover */
  border-color: #8B0000;
}

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

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

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

.page-contact__info-title {
  font-size: 2.2em;
  color: #8B0000;
  margin-bottom: 20px;
}

.page-contact__info-text {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__method-card {
  background-color: #fdfdfd;
  border: 1px solid #eee;
  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__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-contact__method-icon {
  width: 100%; /* Ensure full width within card */
  height: auto;
  max-height: 250px; /* Limit height for aesthetic */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-contact__method-title {
  font-size: 1.5em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-contact__method-description {
  color: #666666;
  margin-bottom: 25px;
}

.page-contact__method-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #FFD700;
}

.page-contact__method-button:hover {
  background-color: #8B0000;
  color: #FFD700;
  border-color: #8B0000;
}

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

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

.page-contact__faq-title {
  font-size: 2.2em;
  color: #8B0000;
  margin-bottom: 20px;
}

.page-contact__faq-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

.page-contact__faq-button {
  display: inline-block;
  background-color: #8B0000;
  color: #FFD700;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #8B0000;
}

.page-contact__faq-button:hover {
  background-color: #FFD700;
  color: #8B0000;
  border-color: #FFD700;
}

.page-contact__form-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

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

.page-contact__form-title {
  font-size: 2.2em;
  color: #8B0000;
  margin-bottom: 15px;
  text-align: center;
}

.page-contact__form-description {
  font-size: 1.1em;
  color: #666666;
  margin-bottom: 30px;
  text-align: center;
}

.page-contact__contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

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

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

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

.page-contact__form-submit-button {
  background-color: #FFD700;
  color: #8B0000;
  padding: 15px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #FFD700;
}

.page-contact__form-submit-button:hover {
  background-color: #8B0000;
  color: #FFD700;
  border-color: #8B0000;
}

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

  .page-contact__hero-description,
  .page-contact__info-text,
  .page-contact__faq-description,
  .page-contact__form-description {
    font-size: 1em;
  }

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

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

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

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

  /* Ensure content area images are responsive and do not overflow */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
}

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

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

  .page-contact__method-card {
    padding: 20px;
  }

  .page-contact__method-title {
    font-size: 1.3em;
  }
}