.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 500px;
  padding-top: var(--header-offset, 120px); /* Apply header offset */
}

.page-contact__dark-section {
  background-color: #017439; /* Primary brand color */
  color: #ffffff;
}

.page-contact__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

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

.page-contact__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* General Section Styling */
.page-contact__contact-methods,
.page-contact__contact-form-section,
.page-contact__faq-section,
.page-contact__why-contact-us,
.page-contact__cta-bottom {
  padding: 80px 0;
}

.page-contact__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from parent section */
}

.page-contact__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: inherit;
}

/* Buttons */
.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFFFF; /* Changed for contrast: white text for primary button */
  border: 2px solid #C30808;
}

.page-contact__btn-primary:hover {
  background-color: #e02020;
  border-color: #e02020;
  transform: translateY(-2px);
}

/* Secondary buttons on dark background */
.page-contact__dark-section .page-contact__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}