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

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

.page-contact__dark-section {
  background-color: #017439; /* Primary brand color for dark sections */
  color: #FFFFFF;
}

.page-contact__light-bg {
  background-color: #FFFFFF; /* Secondary brand color / light background */
  color: #333333;
}

.page-contact__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  text-align: center;
  padding-bottom: 40px;
}

.page-contact__hero-image {
  margin-bottom: 20px;
}

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

.page-contact__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-contact__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #FFFF00; /* Yellow for prominence */
  margin-bottom: 20px;
}

.page-contact__intro-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

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

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%; /* Button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-contact__btn-primary:hover {
  background-color: #e00b0b;
  color: #FFFFFF;
}

.page-contact__btn-secondary {
  background-color: #FFFFFF;
  color: #017439; /* Primary brand color */
  border: 2px solid #017439;
}

.page-contact__btn-secondary:hover {
  background-color: #017439;
  color: #FFFFFF;
}

.page-contact__section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
  color: inherit; /* Inherit from section for contrast */
}

.page-contact__section-description {
  font-size: 1.05rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-contact__info-section,
.page-contact__form-section,
.page-contact__faq-section,
.page-contact__why-choose-us,
.page-contact__cta-section {
  padding: 60px 0;
}

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

.page-contact__method-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-contact__method-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px auto;
  display: block;
}

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

.page-contact__method-description {
  font-size: 1rem;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-contact__method-button {
  margin-top: auto; /* Push button to bottom */
}

/* Contact Form */
.page-contact__form-wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-contact__form-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  display: block;
  border-radius: 12px;
}

.page-contact__contact-form {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  background-color: #FFFFFF;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
}

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

.page-contact__form-submit-btn {
  display: block;
  width: 100%;
  padding: 15px 20px;
  background-color: #C30808;
  color: #FFFF00;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-contact__form-submit-btn:hover {
  background-color: #e00b0b;
}

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

.page-contact__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #017439;
  cursor: pointer;
  background-color: #eaf7ed; /* Light green background */
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-contact__faq-question::-webkit-details-marker {
  display: none;
}

.page-contact__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  transform: rotate(45deg);
}

.page-contact__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #555555;
  border-top: 1px solid #e0e0e0;
  background-color: #ffffff;
}

.page-contact__faq-answer p {
  margin-bottom: 10px;
}

.page-contact__faq-link {
  color: #017439;
  text-decoration: none;
  font-weight: 600;
}

.page-contact__faq-link:hover {
  text-decoration: underline;
}