.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark background */
  background-color: var(--accent-color, #017439); /* Assuming body background is dark green */
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background: linear-gradient(135deg, #017439, #005a2e);
  color: #ffffff;
}

.page-contact__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-contact__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
}

.page-contact__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-contact__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Custom color for main title */
}

.page-contact__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
}

.page-contact__cta-button:hover {
  background: #e00b0b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* General Section Styles */
.page-contact__section-title {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-contact__section-description {
  font-size: 1.05em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 0;
}

.page-contact__dark-bg {
  background-color: #017439;
  color: #ffffff;
  padding: 60px 0;
}

.page-contact__light-bg .page-contact__section-title {
  color: #017439;
}

.page-contact__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 30px;
}

.page-contact__image-center {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Contact Methods Section */
.page-contact__method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-contact__method-item {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__method-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-contact__method-item.page-contact__card {
  background-color: #ffffff;
  color: #333333;
}

.page-contact__method-item.page-contact__card .page-contact__method-title {
  color: #017439;
}

.page-contact__method-text {
  margin-bottom: 25px;
}

.page-contact__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: #017439; /* Primary button color */
  color: #ffffff; /* Primary button text color */
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
}

.page-contact__btn-primary:hover {
  background: #005a2e;
}