/* style/contact.css */

/* --- Base Styles --- */
.page-contact {
  background-color: #08160F; /* Background color from custom palette */
  color: #F2FFF6; /* Text Main from custom palette for general content */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-contact__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__section-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Ensure paragraph and list item colors are set for contrast */
.page-contact p {
  color: #F2FFF6; /* Text Main */
}

.page-contact li {
  color: #F2FFF6; /* Text Main */
}

/* --- Buttons --- */
.page-contact__cta-button {
  display: block;
  width: fit-content;
  margin: 30px auto 0 auto;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #ffffff; /* White text for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  text-align: center;
  transition: background-color 0.3s ease;
  border: none; /* No border for gradient buttons */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-contact__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__cta-button--small {
  padding: 10px 20px;
  font-size: 1em;
}

/* --- Hero Section --- */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #0A4B2C; /* Deep Green for hero section background */
  overflow: hidden;
}

.page-contact__hero-image {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 40px;
}

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

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

.page-contact__hero-description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

/* --- Why Contact Section --- */
.page-contact__why-contact-section {
  padding: 80px 0;
  background-color: #08160F; /* Background color */
}

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

.page-contact__feature-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border color */
}

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

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

.page-contact__feature-text {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
}

/* --- Contact Methods Section --- */
.page-contact__contact-methods-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-contact__contact-methods-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto 60px auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-contact__method-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border color */
}

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

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

.page-contact__method-info {
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-contact__method-info strong {
  color: #57E38D; /* Glow color for emphasis */
}

.page-contact__phone-link,
.page-contact__email-link,
.page-contact__social-link {
  color: #2AD16F; /* Lighter green for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact__phone-link:hover,
.page-contact__email-link:hover,
.page-contact__social-link:hover {
  color: #57E38D; /* Glow color on hover */
  text-decoration: underline;
}

/* --- FAQ Section --- */
.page-contact__faq-section {
  padding: 80px 0;
  background-color: #08160F; /* Background color */
}

.page-contact__faq-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 40px auto 60px auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__faq-list {
  margin-top: 40px;
}

.page-contact__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

.page-contact__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-contact__faq-item summary {
  list-style: none; /* Remove default marker for details */
}

.page-contact__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for details */
}


.page-contact__faq-question:hover {
  background-color: #1E3A2A; /* Divider color for subtle hover */
}

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

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

.page-contact__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-contact__faq-item[open] .page-contact__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  transition: max-height 0.5s ease-in;
}

/* For JS-controlled FAQ (if details/summary not used or for fallback) */
.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 500px !important; /* Important for JS controlled max-height */
}

/* --- CTA Banner Section --- */
.page-contact__cta-banner-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-contact__cta-banner-section .page-contact__container {
  background-color: #11271B; /* Card BG for the inner container */
  border-radius: 12px;
  padding: 50px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid #2E7A4E; /* Border color */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-contact__cta-banner-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: 0 auto 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__cta-content .page-contact__section-title {
  font-size: 2.2em;
  margin-bottom: 15px;
}

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

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-contact__hero-section {
    padding: 40px 15px;
    padding-top: 10px;
  }

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

  .page-contact__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-contact__hero-description {
    font-size: 1.1em;
  }

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

  .page-contact__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-contact__why-contact-section,
  .page-contact__contact-methods-section,
  .page-contact__faq-section,
  .page-contact__cta-banner-section {
    padding: 60px 0;
  }

  .page-contact__features-grid,
  .page-contact__methods-grid {
    gap: 20px;
  }

  .page-contact__faq-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }

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

  .page-contact__cta-banner-section .page-contact__container {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .page-contact__container {
    padding: 0 15px !important;
  }

  .page-contact__hero-section {
    padding: 30px 15px !important;
    padding-top: 10px !important; /* body handles --header-offset, this is decorative */
  }

  .page-contact__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em) !important;
  }

  .page-contact__hero-description {
    font-size: 1em !important;
  }

  .page-contact__section-title {
    font-size: 1.8em !important;
    margin-bottom: 15px !important;
  }

  .page-contact__section-description {
    font-size: 0.95em !important;
    margin-bottom: 25px !important;
  }

  .page-contact__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  .page-contact__cta-button--small {
    padding: 8px 15px !important;
    font-size: 0.9em !important;
  }

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

  /* All containers with images/buttons/videos must be 100% width on mobile */
  .page-contact__hero-section,
  .page-contact__why-contact-section,
  .page-contact__contact-methods-section,
  .page-contact__faq-section,
  .page-contact__cta-banner-section,
  .page-contact__container,
  .page-contact__features-grid,
  .page-contact__methods-grid,
  .page-contact__faq-list,
  .page-contact__cta-banner-section .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-contact__why-contact-section,
  .page-contact__contact-methods-section,
  .page-contact__faq-section,
  .page-contact__cta-banner-section {
    padding: 40px 0 !important;
  }

  .page-contact__features-grid,
  .page-contact__methods-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-contact__feature-card,
  .page-contact__method-card {
    padding: 25px !important;
  }

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

  .page-contact__faq-answer {
    padding: 0 20px 15px 20px !important;
  }

  .page-contact__cta-banner-section .page-contact__container {
    padding: 30px !important;
  }
}

@media (max-width: 480px) {
  .page-contact__main-title {
    font-size: 1.8em !important;
  }
  .page-contact__section-title {
    font-size: 1.6em !important;
  }
  .page-contact__hero-description,
  .page-contact__section-description,
  .page-contact__feature-text,
  .page-contact__method-text,
  .page-contact__method-info,
  .page-contact__faq-answer {
    font-size: 0.9em !important;
  }
  .page-contact__feature-title,
  .page-contact__method-title {
    font-size: 1.3em !important;
  }
  .page-contact__faq-question {
    font-size: 0.95em !important;
  }
}