.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Default body background is white */
}

.page-contact__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-contact__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: #ffffff; /* Light background */
}

.page-contact__main-title {
  font-size: clamp(2.2rem, 5vw, 3rem); /* H1 font size clamp */
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

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

.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-contact__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%; /* Ensure buttons don't overflow */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  text-align: center;
}

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

.page-contact__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

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

.page-contact__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2d;
}

/* Contact Methods Section */
.page-contact__contact-methods {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-contact__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #017439;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-contact__text-block {
  font-size: 1rem;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.page-contact__method-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.page-contact__method-figure {
  margin: 0 0 20px 0;
  width: 100%;
  max-width: 400px; /* Constrain image width within card */
  height: auto;
  overflow: hidden;
  border-radius: 8px;
}

.page-contact__method-figure img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-contact__figure-caption {
  font-size: 0.9rem;
  color: #666;
  margin-top: 10px;
}

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

.page-contact__method-description {
  font-size: 1rem;
  color: #555;
  margin-bottom: 25px;
  flex-grow: 1; /* Allow description to take available space */
}

.page-contact__contact-form {
  width: 100%;
  max-width: 450px; /* Constrain form width */
  margin: 20px auto 0 auto;
  text-align: left;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  color: #333;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #017439;
  outline: none;
}

.page-contact__form-textarea {
  resize: vertical;
  min-height: 100px;
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.page-contact__social-link {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  background-color: #ffffff;
  color: #017439;
  border: 1px solid #017439;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__social-link:hover {
  background-color: #017439;
  color: #ffffff;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
  background-color: #017439; /* Dark background */
  color: #ffffff; /* White text for dark background */
}

.page-contact__section-title--white {
  color: #ffffff;
}

.page-contact__text-block--white {
  color: #f0f0f0;
}

.page-contact__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-contact__faq-item {
  background-color: #006030; /* Slightly lighter green for contrast */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  list-style: none; /* Hide default marker */
  color: #ffffff;
}

.page-contact__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-contact__faq-question::before {
  content: ''; /* Remove default marker */
  display: none;
}

.page-contact__faq-qtext {
  flex-grow: 1;
  color: #ffffff;
}

.page-contact__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: #FFFF00; /* Yellow for toggle icon */
  transition: transform 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  transform: rotate(45deg); /* Change + to X or rotate it */
}

.page-contact__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #f0f0f0;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-contact__faq-item[open] .page-contact__faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding-top: 10px;
}

.page-contact__faq-answer p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-contact__faq-answer .page-contact__cta-button {
  margin-top: 10px;
  display: inline-flex; /* Use flex to center text if button is wide */
  justify-content: center;
  align-items: center;
  width: auto; /* Allow button to size based on content */
}


/* Commitment Section */
.page-contact__commitment-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-contact__commitment-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 900px;
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}