.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a1a; /* Inherited from body via shared.css */
}

.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  text-align: center;
  background-color: #8B0000; /* Main brand color for hero */
  color: #ffffff;
  overflow: hidden;
}

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

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

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.8;
  color: #f0f0f0;
}

.page-contact__hero-cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700; /* Auxiliary color for CTA */
  color: #8B0000; /* Main brand color for text */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-contact__hero-cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  overflow: hidden;
}

.page-contact__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%);
  transform: scale(1.1);
}

.page-contact__form-section {
  padding: 80px 20px;
  background-color: #f9f9f9; /* Light background for form section */
  color: #333333; /* Dark text for light background */
  text-align: center;
}

.page-contact__form-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
}

.page-contact__form-title {
  font-size: 2.5em;
  color: #8B0000; /* Main brand color */
  margin-bottom: 20px;
  width: 100%;
}

.page-contact__form-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 800px;
  width: 100%;
}

.page-contact__contact-form {
  flex: 2;
  min-width: 300px;
  background: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  text-align: left;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  font-size: 1em;
  color: #333333;
  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: #FFD700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
  outline: none;
}

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

.page-contact__form-submit-button {
  display: inline-block;
  padding: 14px 35px;
  background: #8B0000; /* Main brand color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.05em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__form-submit-button:hover {
  background: #6a0000;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__form-image-wrapper {
  flex: 1;
  min-width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-contact__form-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-contact__direct-info-section {
  padding: 80px 20px;
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff; /* Light text */
  text-align: center;
}

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

.page-contact__direct-info-title {
  font-size: 2.8em;
  color: #FFD700; /* Auxiliary color */
  margin-bottom: 20px;
}

.page-contact__direct-info-description {
  font-size: 1.1em;
  margin-bottom: 50px;
  line-height: 1.7;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-contact__contact-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-contact__contact-item {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark bg */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__contact-item-title {
  font-size: 1.6em;
  color: #FFD700; /* Auxiliary color */
  margin-bottom: 15px;
}

.page-contact__contact-item-content {
  font-size: 1.1em;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-contact__contact-item-note {
  font-size: 0.9em;
  color: #cccccc;
}

.page-contact__social-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  margin-right: 10px;
  transition: color 0.3s ease;
}

.page-contact__social-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.page-contact__direct-info-image-wrapper {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 40px;
}

.page-contact__direct-info-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-contact__purpose-section {
  padding: 80px 20px;
  background-color: #f9f9f9; /* Light background */
  color: #333333; /* Dark text */
  text-align: center;
}

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

.page-contact__purpose-title {
  font-size: 2.8em;
  color: #8B0000; /* Main brand color */
  margin-bottom: 20px;
}

.page-contact__purpose-description {
  font-size: 1.1em;
  margin-bottom: 50px;
  line-height: 1.7;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__purpose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.page-contact__purpose-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

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

.page-contact__purpose-item-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

.page-contact__purpose-item-title {
  font-size: 1.8em;
  color: #8B0000; /* Main brand color */
  margin-bottom: 15px;
}

.page-contact__purpose-item-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
  line-height: 1.7;
}

.page-contact__purpose-item-button {
  display: inline-block;
  padding: 10px 25px;
  background: #FFD700; /* Auxiliary color */
  color: #8B0000; /* Main brand color */
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.95em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__purpose-item-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-contact__location-section {
  padding: 80px 20px;
  background-color: #8B0000; /* Main brand color */
  color: #ffffff; /* Light text */
  text-align: center;
}

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

.page-contact__location-title {
  font-size: 2.8em;
  color: #FFD700; /* Auxiliary color */
  margin-bottom: 20px;
}

.page-contact__location-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-contact__location-map-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
}

.page-contact__location-map-image {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-contact__location-address {
  font-size: 1.2em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-contact__location-note {
  font-size: 1em;
  color: #cccccc;
}

.page-contact__commitment-section {
  padding: 80px 20px;
  background-color: #f9f9f9; /* Light background */
  color: #333333; /* Dark text */
  text-align: center;
}

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

.page-contact__commitment-title {
  font-size: 2.5em;
  color: #8B0000; /* Main brand color */
  margin-bottom: 20px;
}

.page-contact__commitment-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  line-height: 1.7;
}

.page-contact__commitment-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  text-align: left;
  display: inline-block;
}

.page-contact__commitment-item {
  font-size: 1em;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  color: #555555;
}

.page-contact__commitment-item::before {
  content: '✔';
  color: #FFD700; /* Auxiliary color for checkmark */
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-contact__commitment-call-to-action {
  font-size: 1.2em;
  font-weight: bold;
  color: #8B0000; /* Main brand color */
  margin-bottom: 30px;
}

.page-contact__commitment-cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #8B0000; /* Main brand color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__commitment-cta-button:hover {
  background: #6a0000;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.8em;
  }
  .page-contact__form-title,
  .page-contact__direct-info-title,
  .page-contact__purpose-title,
  .page-contact__location-title,
  .page-contact__commitment-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-contact__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-contact__hero-title {
    font-size: 2.2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__hero-cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }

  .page-contact__form-section,
  .page-contact__direct-info-section,
  .page-contact__purpose-section,
  .page-contact__location-section,
  .page-contact__commitment-section {
    padding: 50px 15px;
  }
  .page-contact__form-container {
    flex-direction: column;
    gap: 30px;
  }
  .page-contact__contact-form {
    padding: 30px;
  }
  .page-contact__form-title,
  .page-contact__direct-info-title,
  .page-contact__purpose-title,
  .page-contact__location-title,
  .page-contact__commitment-title {
    font-size: 1.8em;
  }
  .page-contact__form-description,
  .page-contact__direct-info-description,
  .page-contact__purpose-description,
  .page-contact__location-description,
  .page-contact__commitment-description {
    font-size: 0.95em;
  }
  .page-contact__contact-details-grid,
  .page-contact__purpose-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-contact__contact-item,
  .page-contact__purpose-item {
    padding: 25px;
  }
  .page-contact__contact-item-title,
  .page-contact__purpose-item-title {
    font-size: 1.4em;
  }
  .page-contact__location-address {
    font-size: 1em;
  }
  .page-contact__commitment-list {
    text-align: center;
  }
  .page-contact__commitment-item {
    font-size: 0.95em;
    padding-left: 25px;
  }
  .page-contact__commitment-item::before {
    left: auto;
    transform: translateX(-150%); /* Adjust for centered list */
  }

  /* Mobile image and button responsive rules */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__hero-image-wrapper,
  .page-contact__form-image-wrapper,
  .page-contact__direct-info-image-wrapper,
  .page-contact__location-map-wrapper,
  .page-contact__hero-container,
  .page-contact__form-container,
  .page-contact__direct-info-container,
  .page-contact__purpose-container,
  .page-contact__location-container,
  .page-contact__commitment-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-contact__hero-cta-button,
  .page-contact__form-submit-button,
  .page-contact__purpose-item-button,
  .page-contact__commitment-cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-contact__contact-form {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}