/* style/contact.css */
/* Base styles for the page-contact scope */
.page-contact {
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 50px; /* Add some padding at the bottom */
}

/* Ensure body's padding-top is not duplicated here */
.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 for the first section in main, body handles header offset */
  text-align: center;
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-contact__hero-content {
  max-width: 800px;
  margin-bottom: 30px;
  z-index: 1; /* Ensure text is above image if any overlap */
}

.page-contact__main-title {
  color: #F2FFF6; /* Main text color */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Example clamp, ensuring responsiveness */
}

.page-contact__hero-description {
  color: #A7D9B8; /* Secondary text color */
  font-size: 1.1rem;
}

.page-contact__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__section-title {
  color: #F2FFF6; /* Main text color */
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.5rem;
  font-weight: bold;
}

.page-contact__section-description {
  color: #A7D9B8; /* Secondary text color */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 1.05rem;
}

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

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

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

.page-contact__method-title {
  color: #F2FFF6; /* Main text color */
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.page-contact__method-card p {
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 10px;
}

.page-contact__method-card ul {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.page-contact__method-card ul li {
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 5px;
}

.page-contact__link {
  color: #57E38D; /* Glow color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact__link:hover {
  color: #F2C14E; /* Gold color on hover */
  text-decoration: underline;
}

/* Form Section */
.page-contact__contact-form {
  background-color: #11271B; /* Card BG color */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  padding: 40px;
  max-width: 800px;
  margin: 40px auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-contact__form-label {
  display: block;
  color: #F2FFF6; /* Main text color */
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #2E7A4E;
  border-radius: 5px;
  background-color: #0A4B2C; /* Deep Green for input background */
  color: #F2FFF6; /* Main text color */
  font-size: 1rem;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #A7D9B8; /* Secondary text color */
  opacity: 0.7;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: #57E38D; /* Glow color on focus */
  box-shadow: 0 0 0 3px rgba(87, 227, 141, 0.3);
}

.page-contact__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #ffffff; /* White text for button */
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Reverse gradient on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

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

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

.page-contact__faq-item[open] > .page-contact__faq-question {
  background-color: #0A4B2C; /* Deep Green for open FAQ */
}

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

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

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

.page-contact__faq-answer {
  padding: 0 25px 20px 25px;
  color: #A7D9B8; /* Secondary text color */
  font-size: 1rem;
}

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

/* Commitment Section & CTA Section */
.page-contact__commitment-section,
.page-contact__cta-section {
  padding: 60px 20px;
  text-align: center;
}

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

  .page-contact__hero-section {
    padding-top: 10px !important; /* body handles --header-offset */
    padding-bottom: 40px;
  }

  .page-contact__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .page-contact__hero-description {
    font-size: 1rem;
  }

  .page-contact__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-top: 30px;
  }

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

  .page-contact__section-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .page-contact__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

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

  .page-contact__method-card {
    padding: 25px;
  }

  .page-contact__method-title {
    font-size: 1.3rem;
  }

  .page-contact__contact-form {
    padding: 30px;
    margin: 30px auto;
  }

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

  .page-contact__form-label {
    font-size: 1rem;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  .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: 15px 20px;
    font-size: 1rem;
  }

  .page-contact__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

  .page-contact__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95rem;
  }

  /* Image responsiveness for all img tags */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video section rules, even if not explicitly used, for compliance */
  .page-contact__video-section {
    padding-top: 10px !important;
  }
  .page-contact__video-container,
  .page-contact__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

/* Ensure images within any card/container are responsive */
.page-contact__card img,
.page-contact__container img,
.page-contact__methods-section img,
.page-contact__form-section img,
.page-contact__faq-section img,
.page-contact__commitment-section img,
.page-contact__cta-section img {
  max-width: 100%;
  height: auto;
  display: block;
}