:root {
  --primary-color: #017439;
  --secondary-color: #C30808; /* For register/login */
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --bg-color-light: #ffffff;
  --bg-color-dark: #017439;
  --border-color: #e0e0e0;
  --form-input-bg: #f5f5f5;
  --form-input-border: #cccccc;
  --faq-question-bg: #ffffff;
  --faq-answer-bg: #f9f9f9;
}

.page-contact {
  color: var(--text-color-dark);
  background-color: var(--bg-color-light);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-contact__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-contact__section-title--light {
  color: var(--text-color-light);
}

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

.page-contact__section-description--light {
  color: #e0e0e0;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-color) 0%, #009688 100%); /* Slightly different gradient to add visual interest, still green-focused */
  padding: 80px 0;
  text-align: center;
  color: var(--text-color-light);
}

.page-contact__hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-contact__hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-color-light);
}

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

.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color); /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid var(--secondary-color);
}

.page-contact__cta-button--login {
  background: var(--primary-color);
  color: var(--text-color-light);
  border: 2px solid var(--primary-color);
}

.page-contact__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

/* Contact Methods Section */
.page-contact__contact-methods {
  padding: 80px 0;
  background-color: var(--bg-color-light);
}

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

.page-contact__method-item {
  text-align: center;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: var(--faq-question-bg); /* Ensure contrast */
  color: var(--text-color-dark);
}

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

.page-contact__method-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-contact__method-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-contact__method-text {
  font-size: 16px;
  margin-bottom: 25px;
  color: #555555;
}

.page-contact__method-text a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-contact__method-text a:hover {
  text-decoration: underline;
}

.page-contact__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__btn-primary:hover {
  background-color: #005f2c; /* Darker green on hover */
  transform: translateY(-2px);
}

/* Feedback Form Section */
.page-contact__feedback-form {
  padding: 80px 0;
  background-color: var(--bg-color-dark);
  color: var(--text-color-light);
}

.page-contact__form {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark bg */
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.page-contact__form-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-color-light);
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-color-light);
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: var(--text-color-light);
  background-color: rgba(255, 255, 255, 0.1);
  outline: none;
}

.page-contact__form button[type="submit"] {
  width: 100%;
  padding: 15px;
  background: var(--secondary-color); /* Use secondary color for submit button */
  color: #FFFF00; /* Register/Login font color */
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__form button[type="submit"]:hover {
  background-color: #a30606; /* Darker red on hover */
  transform: translateY(-2px);
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 80px 0;
  background-color: var(--bg-color-light);
}

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

.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: #555555;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px !important; /* Enforce with !important */
  padding: 20px 15px !important; /* Enforce with !important */
  opacity: 1;
  background: var(--faq-answer-bg);
  border-radius: 0 0 5px 5px;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--faq-question-bg);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-contact__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}
}