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

.page-contact__hero-section {
  background-color: #f8f8f8;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-contact__hero-container {
  max-width: 800px;
  margin-bottom: 40px;
  z-index: 1;
  position: relative;
}

.page-contact__hero-title {
  font-size: 3.2em;
  color: #8B0000; /* Auxiliary color for emphasis */
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

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

.page-contact__hero-cta-button {
  display: inline-block;
  background-color: #FFD700; /* Primary color */
  color: #8B0000; /* Auxiliary color for contrast */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #FFD700;
}

.page-contact__hero-cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-contact__hero-image {
  width: 100%;
  max-width: 1000px; /* Adjust as needed for layout */
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

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

.page-contact__section-title {
  font-size: 2.5em;
  color: #8B0000;
  margin-bottom: 40px;
  text-align: center;
  font-weight: bold;
}

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

.page-contact__method-card {
  background-color: #fefefe;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  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(-8px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.page-contact__method-icon {
  width: 200px; /* Minimum size requirement */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

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

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

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

.page-contact__method-button:hover {
  background-color: #e6c200;
}

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

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: calc(100% - 20px); /* Adjust for padding */
  padding: 12px 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  color: #333;
  transition: border-color 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FFD700;
  outline: none;
}

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

.page-contact__form-submit-button {
  display: block;
  width: 100%;
  background-color: #8B0000; /* Auxiliary color */
  color: #ffffff;
  padding: 15px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-contact__form-submit-button:hover {
  background-color: #6a0000;
}

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

.page-contact__faq-description {
  font-size: 1.1em;
  color: #666;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-contact__faq-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  margin: 0 10px 15px 10px;
  transition: background-color 0.3s ease;
  border: 2px solid #FFD700;
}

.page-contact__faq-button:hover {
  background-color: #e6c200;
}

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

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

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

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

  .page-contact__method-icon {
    width: 200px; /* Ensure minimum size */
    height: auto;
  }

  .page-contact__contact-form {
    padding: 20px;
  }

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

  .page-contact__hero-image {
    max-width: 100%;
    height: auto;
  }

  .page-contact__methods-section img, .page-contact__form-section img, .page-contact__faq-section img {
    max-width: 100%;
    height: auto;
  }

  .page-contact__faq-button {
    display: block;
    margin: 10px auto;
    width: fit-content;
  }
}

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

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

  .page-contact__hero-cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

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

  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px;
  }
}

/* Ensure all images within .page-contact adhere to min-size and responsive rules */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block; /* Prevent extra space below images */
}

/* Specific rules to ensure content images are not too small */
.page-contact__hero-image,
.page-contact__method-icon {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* or contain, depending on desired visual */
}

/* Override for smaller screens to ensure responsiveness while maintaining min-size for content images */
@media (max-width: 768px) {
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
  .page-contact__method-icon {
    width: 200px; /* Fixed width to ensure min size if parent is smaller */
    height: auto;
    max-width: 100%; /* Ensure it doesn't overflow if 200px is too wide */
  }
}