/* style/contact.css */

/* --- Custom Color Variables from Prompt --- */
:root {
  --main-color: #11A84E;
  --accent-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-b-g: #11271B;
  --background: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* --- Base Styles --- */
.page-contact {
  color: var(--text-main); /* Default text color for the page, light text for dark background */
  background-color: var(--background); /* Dark background */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  padding-bottom: 50px; /* Add some padding at the bottom for content before footer */
}

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

.page-contact__section-title {
  font-size: 2.5em;
  color: var(--text-main); /* Light text for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.page-contact__description {
  font-size: 1.1em;
  color: var(--text-secondary); /* Secondary light text */
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* --- 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: 60px 20px; 
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: var(--deep-green); /* Fallback/accent background for the section */
}

.page-contact__hero-image-wrapper {
  width: 100%;
  position: relative;
  margin-bottom: 30px; /* Space between image and text content */
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.page-contact__hero-content {
  position: relative; /* Not absolute, to flow below image */
  max-width: 900px;
  margin: 0 auto;
  z-index: 2; 
  padding: 0 20px;
}

.page-contact__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Use clamp for H1 font-size */
  color: var(--text-main); /* Light text */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

.page-contact__subtitle {
  font-size: 1.2em;
  color: var(--text-secondary); /* Secondary light text */
  margin-bottom: 30px;
  line-height: 1.7;
}

.page-contact__cta-button {
  display: inline-block;
  background: var(--button-gradient);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-contact__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

/* --- Contact Methods Section --- */
.page-contact__methods-section,
.page-contact__faq-section,
.page-contact__commitment-section {
  padding: 80px 0;
  background-color: var(--background); /* Dark background */
}

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

.page-contact__card {
  background-color: var(--card-b-g); /* Dark card background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border); /* Green border */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-contact__card-icon {
  width: 100px;
  height: auto;
  margin: 0 auto 20px auto;
  display: block;
  object-fit: contain;
  filter: none; /* Ensure no CSS filter on images */
}

.page-contact__card-title {
  font-size: 1.8em;
  color: var(--text-main); /* Light text */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__card-text {
  color: var(--text-secondary); /* Secondary light text */
  margin-bottom: 20px;
  flex-grow: 1; 
  line-height: 1.7;
}

.page-contact__email-address {
  color: var(--gold); /* Gold text */
  font-weight: bold;
  margin-bottom: 20px;
  font-size: 1.1em;
}

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

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

.page-contact__social-icon-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.page-contact__social-icon-link:hover {
  transform: translateY(-5px);
}

.page-contact__social-icon-link img {
   /* Display size for social icons */
  
  border-radius: 50%;
  object-fit: cover;
  filter: none; /* Ensure no CSS filter on images */
}

/* --- FAQ Section --- */
.page-contact__faq-list {
  margin-top: 40px;
}

.page-contact__faq-item {
  background-color: var(--card-b-g); /* Dark card background */
  border: 1px solid var(--divider); /* Divider green border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-contact__faq-item[open] {
  background-color: var(--deep-green); /* Slightly different background when open */
  border-color: var(--main-color);
}

.page-contact__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: var(--text-main); /* Light text */
  font-weight: bold;
  font-size: 1.2em;
  outline: none;
  list-style: none; /* Remove default marker */
  transition: color 0.3s ease;
}

.page-contact__faq-item summary:hover {
  color: var(--glow);
}

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

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.page-contact__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--glow); /* Glow color for toggle */
  transition: transform 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-contact__faq-answer {
  padding: 0 25px 20px 25px;
  color: var(--text-secondary); /* Secondary light text */
  font-size: 1em;
  text-align: left;
  line-height: 1.7;
}

.page-contact__faq-answer p {
  margin-bottom: 10px;
}

/* --- Commitment Section --- */
.page-contact__commitment-section {
  text-align: center;
}

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

.page-contact__point-card {
  background-color: var(--card-b-g); /* Dark card background */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border); /* Green border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__point-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-contact__point-icon {
  width: 100px;
  height: auto;
  margin: 0 auto 20px auto;
  display: block;
  object-fit: contain;
  filter: none; /* Ensure no CSS filter on images */
}

.page-contact__point-title {
  font-size: 1.6em;
  color: var(--text-main); /* Light text */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-contact__point-text {
  color: var(--text-secondary); /* Secondary light text */
  font-size: 0.95em;
  line-height: 1.7;
}

.page-contact__final-cta {
  font-size: 1.3em;
  color: var(--gold); /* Gold text */
  margin-top: 50px;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-contact__cta-button--large {
  padding: 18px 40px;
  font-size: 1.1em;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }
  .page-contact__subtitle {
    font-size: 1.1em;
  }
  .page-contact__method-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  /* Global responsive image/video/button rules for mobile */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact video,
  .page-contact__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__hero-section,
  .page-contact__methods-section,
  .page-contact__faq-section,
  .page-contact__commitment-section,
  .page-contact__container,
  .page-contact__card,
  .page-contact__faq-item,
  .page-contact__point-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__hero-section {
    padding-top: 10px !important; /* body handles --header-offset */
    padding-bottom: 40px !important;
  }
  .page-contact__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }
  .page-contact__subtitle {
    font-size: 1em;
  }
  .page-contact__cta-button,
  .page-contact__cta-button--small,
  .page-contact__cta-button--large {
    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;
    margin-bottom: 10px; /* For stacked buttons */
  }
  .page-contact__method-cards,
  .page-contact__commitment-points {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-contact__card,
  .page-contact__point-card {
    padding: 20px;
  }
  .page-contact__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-contact__faq-answer {
    padding: 0 20px 15px 20px;
  }
  .page-contact__social-links {
    flex-wrap: wrap;
    gap: 15px;
  }
}

/* Ensure contrast for text on various backgrounds */
.page-contact__dark-bg { /* Example class if needed for specific dark elements */
  color: var(--text-main);
  background: var(--deep-green);
}

.page-contact__light-bg { /* Not used much with current dark theme, but good to define */
  color: #333333;
  background: #ffffff;
}

.page-contact p,
.page-contact li,
.page-contact__description,
.page-contact__card-text,
.page-contact__point-text,
.page-contact__faq-answer {
  color: var(--text-secondary); /* Ensure secondary text uses specified color */
}

.page-contact__section-title,
.page-contact__main-title,
.page-contact__card-title,
.page-contact__point-title,
.page-contact__faq-item summary {
  color: var(--text-main); /* Ensure main titles use specified color */
}

.page-contact__email-address,
.page-contact__final-cta {
  color: var(--gold); /* Specific gold color */
}

.page-contact__faq-toggle {
  color: var(--glow); /* Specific glow color for toggle */
}

.page-contact__faq-item {
  border: 1px solid var(--divider); /* Specific divider color for borders */
}

/* No CSS filters on images */
.page-contact img {
  filter: none;
}