/* style/contact.css */

/* Base styles and container */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--body-bg, #ffffff); /* Inherit from shared or default to white */
}

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

.page-contact__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

/* Dark section styling */
.page-contact__dark-section {
  background-color: #017439;
  color: #ffffff;
  padding: 80px 0;
}

.page-contact__dark-section .page-contact__section-title,
.page-contact__dark-section .page-contact__section-description {
  color: #ffffff;
}

/* Light section styling */
.page-contact__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 80px 0;
}

/* Buttons */
.page-contact__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

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

.page-contact__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #017439; /* Brand color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
  border: 2px solid #017439;
  cursor: pointer;
  font-size: 1.1em;
}

.page-contact__btn-secondary:hover {
  background-color: #f0f0f0;
  border-color: #005a2e;
  transform: translateY(-2px);
}

/* Hero Section */
.page-contact__hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  min-height: 600px;
  text-align: left;
}

.page-contact__hero-content {
  flex: 1;
  max-width: 600px;
  padding: 20px;
}

.page-contact__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

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

.page-contact__hero-image-wrapper {
  flex: 1;
  max-width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}