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

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

/* Color scheme application */
.page-contact__dark-bg {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-contact__light-bg {
  background-color: #ffffff; /* Contrast with dark */
  color: #333333; /* Dark text for light background */
}

.page-contact__text-main {
  color: #F2FFF6; /* Text Main */
}

.page-contact__text-secondary {
  color: #A7D9B8; /* Text Secondary */
}

.page-contact__card {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-contact__btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background-color: transparent;
  color: #11A84E; /* Main color for text */
  border: 2px solid #11A84E; /* Main color for border */
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-contact__btn-secondary:hover {
  background-color: #11A84E;
  color: #ffffff;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6);
}

.page-contact__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 800px;
  padding: 20px;
  box-sizing: border-box;
}

.page-contact__main-title {
  font-size: 2.8em;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

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

/* Section Titles */
.page-contact__section-title {
  font-size: 2.2em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #11A84E; /* Main color */
}

.page-contact__dark-bg .page-contact__section-title {
  color: #F2FFF6; /* Text Main for dark background */
}

.page-contact__section-description {
  font-size: 1.05em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #333333; /* Default for light backgrounds */
}

.page-contact__dark-bg .page-contact__section-description {
  color: #A7D9B8; /* Text Secondary for dark background */
}

/* Contact Info Section */
.page-contact__contact-info-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

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

.page-contact__card-icon {
  width: 100%;
  height: auto;
  max-width: 150px; /* Adjust size for card icons */
  margin: 0 auto 20px auto;
  display: block;
  object-fit: contain;
}

.page-contact__card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F2FFF6; /* Text Main */
  text-align: center;
}

.page-contact__card-text {
  font-size: 0.95em;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
}

.page-contact__contact-card .page-contact__btn-secondary {
  width: 100%;
  margin-top: auto; /* Push button to bottom */
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.page-contact__social-icon {
  color: #F2C14E; /* Gold */
  font-size: 1.1em;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact__social-icon:hover {
  color: #57E38D; /* Glow */
}

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

.page-contact__contact-form {
  max-width: 700px;
  margin: 40px auto 0 auto;
  background-color: #11271B; /* Card BG */
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

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

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

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

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

.page-contact__contact-form .page-contact__btn-primary {
  width: 100%;
  padding: 15px;
  font-size: 1.1em;
}

/* Benefits Section */
.page-contact__benefits-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-contact__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-contact__benefit-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-contact__benefit-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #11A84E; /* Main color */
}

.page-contact__benefit-text {
  font-size: 0.95em;
  color: #555555;
}

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

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

.page-contact__faq-item {
  margin-bottom: 20px;
  overflow: hidden;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
  background-color: #1E3A2A; /* Divider or similar dark */
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: #0A4B2C; /* Deep Green */
}

.page-contact__faq-qtext {
  flex-grow: 1;
  color: #F2FFF6; /* Text Main */
}

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

.page-contact__faq-item[open] .page-contact__faq-toggle {
  content: '−';
}

.page-contact__faq-answer {
  padding: 15px 25px;
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  background-color: #11271B; /* Card BG */
  border-radius: 0 0 8px 8px;
  border-top: 1px solid #2E7A4E; /* Border */
}

.page-contact__faq-answer p {
  margin: 0;
  color: #A7D9B8; /* Text Secondary */
}

/* Ensure details summary marker is hidden */
.page-contact__faq-item summary {
  list-style: none;
}
.page-contact__faq-item summary::-webkit-details-marker {
  display: none;
}

/* CTA Banner */
.page-contact__cta-banner {
  padding: 80px 0;
  text-align: center;
  background-color: #08160F;
}

.page-contact__cta-banner .page-contact__section-title {
  color: #F2FFF6; /* Text Main */
}

.page-contact__cta-banner .page-contact__section-description {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 50px;
}

/* Global image reset for content area */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-contact__hero-section {
    padding-bottom: 40px;
  }

  .page-contact__hero-content {
    padding: 15px;
  }

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

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

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

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

  .page-contact__contact-info-section,
  .page-contact__form-section,
  .page-contact__benefits-section,
  .page-contact__faq-section,
  .page-contact__cta-banner {
    padding: 40px 0;
  }

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

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

  .page-contact__contact-cards {
    grid-template-columns: 1fr;
  }

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

  .page-contact__card-icon {
    max-width: 120px;
  }

  .page-contact__contact-form {
    padding: 25px;
  }

  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact a[class*="button"],
  .page-contact a[class*="btn"] {
    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;
  }

  .page-contact__social-links {
    flex-wrap: wrap;
    gap: 10px;
  }

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

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

/* Ensure content area images are not too small */
.page-contact__contact-card img, 
.page-contact__benefit-item img {
  min-width: 200px; /* Enforce min size for content images */
  min-height: 200px;
}

/* Contrast fix classes (if needed) */
.page-contact__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-contact__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}