.page-contact {
  background-color: #08160F; /* Background color from custom palette */
  color: #F2FFF6; /* Main text color from custom palette for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Ensure space above footer */
}

/* Ensure content area images are at least 200px wide/tall */
.page-contact img:not(.page-contact__method-icon) {
  min-width: 200px;
  min-height: 200px;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  box-sizing: border-box;
}

.page-contact__hero-content-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column; /* Image then text */
  align-items: center;
  gap: 30px;
  padding: 0 20px;
  box-sizing: border-box;
}

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

.page-contact__hero-text-content {
  text-align: center;
  max-width: 800px;
}

.page-contact__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #F2FFF6; /* Main text color */
  margin-bottom: 20px;
}

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

.page-contact__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  gap: 15px;
  justify-content: center;
  width: 100%;
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
  color: #ffffff; /* White text for primary button */
  border: none;
}

.page-contact__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-contact__btn-secondary {
  background: #0A4B2C; /* Deep Green from custom palette */
  color: #F2FFF6; /* Main text color for secondary button */
  border: 2px solid #2E7A4E; /* Border color from custom palette */
}

.page-contact__btn-secondary:hover {
  background: #11A84E; /* Main color on hover */
  transform: translateY(-2px);
}

/* General Section Styling */
.page-contact__section {
  padding: 60px 0;
}

.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; /* Main text color */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

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

/* Contact Methods Grid */
.page-contact__contact-methods {
  background-color: #08160F; /* Background color from custom palette */
}

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

.page-contact__method-card {
  background-color: #11271B; /* Card BG from custom palette */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  color: #F2FFF6; /* Main text color */
}

.page-contact__method-icon {
  width: 100px; /* Example size, ensuring >200px min-size rule is for content images */
  height: 100px;
  object-fit: contain;
  margin-bottom: 10px;
}

.page-contact__method-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #F2FFF6; /* Main text color */
  margin-bottom: 10px;
}

.page-contact__method-text {
  font-size: 1em;
  color: #A7D9B8; /* Secondary text color */
  flex-grow: 1; /* Push button to bottom */
}

.page-contact__email-link {
  color: #57E38D; /* Glow color for links */
  text-decoration: none;
}

.page-contact__email-link:hover {
  text-decoration: underline;
}

.page-contact__note-card {
  background-color: #0A4B2C; /* Deep Green from custom palette */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  color: #F2FFF6; /* Main text color */
  margin-top: 30px;
}

.page-contact__note-text {
  font-size: 1.1em;
}

/* When to Contact Section */
.page-contact__when-to-contact {
  background-color: #0A4B2C; /* Deep Green from custom palette */
}

.page-contact__reason-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-contact__reason-card {
  background-color: #11271B; /* Card BG from custom palette */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #F2FFF6; /* Main text color */
}

.page-contact__reason-title {
  font-size: 1.3em;
  font-weight: bold;
  color: #57E38D; /* Glow color for emphasis */
}

.page-contact__reason-text {
  font-size: 0.95em;
  color: #A7D9B8; /* Secondary text color */
}

/* Support Process Section */
.page-contact__support-process {
  background-color: #08160F; /* Background color from custom palette */
}

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

.page-contact__step-item {
  background-color: #11271B; /* Card BG from custom palette */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  color: #F2FFF6; /* Main text color */
}

.page-contact__step-number {
  font-size: 3em;
  font-weight: bold;
  color: rgba(87, 227, 141, 0.2); /* Semi-transparent Glow color */
  position: absolute;
  top: 10px;
  left: 10px;
  line-height: 1;
}

.page-contact__step-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #57E38D; /* Glow color */
  margin-top: 20px;
  margin-bottom: 10px;
}

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

/* FAQ Section */
.page-contact__faq {
  background-color: #0A4B2C; /* Deep Green from custom palette */
}

.page-contact__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-contact__faq-item {
  background-color: #11271B; /* Card BG from custom palette */
  border-radius: 8px;
  overflow: hidden;
  color: #F2FFF6; /* Main text color */
}

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

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

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #F2FFF6; /* Main text color */
  background-color: #11271B; /* Card BG */
  border-bottom: 1px solid #2E7A4E; /* Border color */
}

.page-contact__faq-question:hover {
  background-color: #1a332a; /* Slightly lighter hover */
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #57E38D; /* Glow color */
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to become X or similar */
}

.page-contact__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Secondary text color */
  background-color: #0a1f16; /* Slightly lighter than card bg */
}

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

/* Conclusion CTA Section */
.page-contact__conclusion-cta {
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__main-title {
    font-size: 2.8em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
}

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

  .page-contact__hero-section {
    padding-bottom: 40px;
  }

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

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

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

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

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

  .page-contact__section {
    padding: 40px 0;
  }

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

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

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

  .page-contact__methods-grid,
  .page-contact__reason-cards-grid,
  .page-contact__process-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .page-contact__method-card,
  .page-contact__reason-card,
  .page-contact__step-item,
  .page-contact__faq-item {
    padding: 20px;
  }

  .page-contact__method-icon {
    width: 80px;
    height: 80px;
  }

  .page-contact__method-title,
  .page-contact__reason-title,
  .page-contact__step-title {
    font-size: 1.3em;
  }

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

  /* Mobile image, video, container responsiveness */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-contact__hero-image {
    min-width: unset;
    min-height: unset;
  }

  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__video-section,
  .page-contact__video-container,
  .page-contact__video-wrapper,
  .page-contact__cta-buttons,
  .page-contact__button-group,
  .page-contact__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  /* Specific padding for sections if needed */
  .page-contact__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}