/* style/contact.css */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  padding-bottom: 50px; /* Ensure space above footer */
}

.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: linear-gradient(180deg, #08160F 0%, #0A4B2C 100%); /* Deep Green gradient */
  text-align: center;
}

.page-contact__hero-image-container {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

.page-contact__hero-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-contact__hero-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-top: 15px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__contact-info-section {
  background-color: #11271B; /* Card BG */
  padding: 60px 20px;
  text-align: center;
}

.page-contact__contact-info-title,
.page-contact__faq-title,
.page-contact__responsibility-title,
.page-contact__cta-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em); /* Responsive H2 */
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 40px;
}

.page-contact__contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-contact__contact-method {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 15px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__contact-method:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.page-contact__method-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-contact__method-text {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-contact__method-button,
.page-contact__responsibility-button,
.page-contact__cta-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__method-button:hover,
.page-contact__responsibility-button:hover,
.page-contact__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-contact__map-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 20px;
  object-fit: cover;
  min-width: 200px; /* Minimum image size */
  min-height: 200px;
}

.page-contact__faq-section {
  background-color: #08160F; /* Background */
  padding: 60px 20px;
}

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

.page-contact__faq-item {
  background: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  color: #F2FFF6; /* Text Main */
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-contact__faq-item summary::marker {
  display: none;
}

.page-contact__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Slightly lighter hover */
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  content: '−'; /* Change to minus when open for details tag */
}

.page-contact__faq-answer {
  padding: 0 25px 18px;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px; /* Large enough to accommodate content */
  padding: 0 25px 25px;
}

.page-contact__faq-item[open] .page-contact__faq-answer {
  max-height: 2000px; /* For details tag */
  padding: 0 25px 25px;
}

.page-contact__responsibility-section {
  background-color: #11271B; /* Card BG */
  padding: 60px 20px;
  text-align: center;
}

.page-contact__responsibility-text {
  color: #A7D9B8; /* Text Secondary */
  max-width: 900px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.page-contact__cta-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 60px 20px;
  text-align: center;
}

.page-contact__cta-description {
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

/* General image responsiveness */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-contact {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-contact__hero-section,
  .page-contact__contact-info-section,
  .page-contact__faq-section,
  .page-contact__responsibility-section,
  .page-contact__cta-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset, this is for internal spacing */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-contact__hero-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

  .page-contact__contact-info-title,
  .page-contact__faq-title,
  .page-contact__responsibility-title,
  .page-contact__cta-title {
    font-size: clamp(1.5em, 7vw, 2.2em);
    margin-bottom: 30px;
  }

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

  .page-contact__method-button,
  .page-contact__responsibility-button,
  .page-contact__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-contact__hero-image-container,
  .page-contact__map-image,
  .page-contact__faq-list,
  .page-contact__contact-methods {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
}