.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--auxiliary-color); /* Matches body background: #FFFFFF */
}

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

/* 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;
  overflow: hidden;
}

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

.page-contact__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.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__hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-contact__hero-description {
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-contact__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-contact__btn-register {
  background: #C30808; /* Custom color for Register */
  color: #FFFF00; /* Custom color for Register font */
  border: 2px solid #C30808;
}

.page-contact__btn-register:hover {
  background: #a10707;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-contact__btn-support {
  background: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-contact__btn-support:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Contact Methods Section */
.page-contact__methods-section {
  padding: 80px 20px;
  background: #017439; /* Dark background */
  color: #ffffff; /* Light text */
}

.page-contact__methods-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #ffffff;
}

.page-contact__methods-intro {
  font-size: 17px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

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

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

.page-contact__method-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
}

.page-contact__method-heading {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-contact__method-description {
  font-size: 16px;
  line-height: 1.7;
  color: #e0e0e0;
  margin-bottom: 25px;
}

.page-contact__method-link {
  display: inline-block;
  padding: 10px 25px;
  background: #FFFFFF;
  color: #017439;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-contact__method-link:hover {
  background: #e0e0e0;
  color: #005a2e;
}

.page-contact__email-link, .page-contact__phone-link {
  color: #FFFF00;
  text-decoration: underline;
}

.page-contact__email-link:hover, .page-contact__phone-link:hover {
  color: #f0f0f0;
}

.page-contact__operating-hours {
  margin-top: 60px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
}

.page-contact__hours-heading {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-contact__hours-description {
  font-size: 18px;
  color: #e0e0e0;
}

/* Contact Form Section */
.page-contact__form-section {
  padding: 80px 20px;
  background: #ffffff;
  color: #333333;
}

.page-contact__form-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #017439;
}

.page-contact__form-description {
  font-size: 17px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

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

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  font-size: 16px;
  color: #333333;
  background-color: #ffffff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #017439;
  box-shadow: 0 0 0 3px rgba(1, 116, 57, 0.2);
  outline: none;
}

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