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

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 40px;
  background-color: #f0f0f0;
}

.page-contact__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-contact__hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-contact__main-title {
  font-size: 2.8em;
  font-weight: bold;
  color: #017439;
  line-height: 1.2;
  margin-bottom: 15px;
}

.page-contact__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

/* Common Section Styles */
.page-contact__section-title {
  font-size: 2.2em;
  font-weight: bold;
  color: #017439;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

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

.page-contact__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: justify;
}

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

/* Button Styles */
.page-contact__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

/* Channels Section */
.page-contact__channels-section {
  padding: 60px 0;
  background-color: #017439; /* Brand color dark background */
}

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

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

.page-contact__channel-icon {
  width: 100%; /* Ensure image fills card width */
  max-width: 200px; /* Max width for consistency */
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  object-fit: cover;
}

.page-contact__channel-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
}

.page-contact__channel-description {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1; /* Push button to bottom */
}

/* Contact Form Section */
.page-contact__form-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-contact__contact-form .page-contact__cta-button {
  width: auto;
  min-width: 150px;
  margin-top: 10px;
}

/* When to Contact Section */
.page-contact__when-to-contact-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-contact__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-contact__list-item {
  background-color: #f0fdf5; /* Light green background */
  border-left: 5px solid #017439;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1em;
  line-height: 1.5;
}

.page-contact__list-item strong {
  color: #017439;
}

/* Process Section */
.page-contact__process-section {
  padding: 60px 0;
  background-color: #017439;
}

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

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

.page-contact__step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #017439;
  color: #ffffff;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-contact__step-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
}

.page-contact__step-description {
  font-size: 0.95em;
  flex-grow: 1;
}

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

.page-contact__commitment-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-contact__commitment-item {
  background-color: #f0fdf5; /* Light green background */
  border-left: 5px solid #017439;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1em;
  line-height: 1.5;
}

.page-contact__commitment-item strong {
  color: #017439;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

.page-contact__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  color: #017439;
  font-size: 1.1em;
  list-style: none; /* Hide default marker for details summary */
  position: relative;
}

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

.page-contact__faq-question::after {
  content: '+';
  font-size: 1.5em;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-question::after {
  content: '-';
  transform: rotate(0deg); /* No rotation needed for simple +/- */
}

.page-contact__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #333333;
  border-top: 1px solid #eee;
}

.page-contact__faq-answer p {
  margin: 0;
}

/* --- Responsive Design --- */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .page-contact__container {
    max-width: 960px;
  }

  .page-contact__main-title {
    font-size: 2.5em;
  }

  .page-contact__section-title {
    font-size: 2em;
  }

  .page-contact__channel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-contact__process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-contact__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* General Images */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* General Buttons */
  .page-contact__cta-button,
  .page-contact__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px;
  }

  .page-contact__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-contact__main-title {
    font-size: 2em;
    margin-bottom: 10px;
  }

  .page-contact__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-contact__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
    padding-top: 30px;
  }

  /* Channels Section */
  .page-contact__channels-section {
    padding: 40px 0;
  }

  .page-contact__channel-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact__channel-card {
    padding: 20px;
  }

  .page-contact__channel-icon {
    max-width: 150px;
  }

  /* Contact Form Section */
  .page-contact__form-section {
    padding: 40px 0;
  }

  .page-contact__contact-form {
    padding: 20px;
    margin-top: 20px;
  }

  /* When to Contact Section */
  .page-contact__when-to-contact-section {
    padding: 40px 0;
  }

  /* Process Section */
  .page-contact__process-section {
    padding: 40px 0;
  }

  .page-contact__process-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Commitment Section */
  .page-contact__commitment-section {
    padding: 40px 0;
  }

  /* FAQ Section */
  .page-contact__faq-section {
    padding: 40px 0;
  }

  .page-contact__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-contact__faq-answer {
    padding: 10px 20px 20px;
  }

  .page-contact__faq-toggle {
    font-size: 1.2em;
  }

  .page-contact__list-item,
  .page-contact__commitment-item {
    padding: 12px 15px;
    font-size: 0.95em;
  }
}