/* style/contact.css */

.page-contact {
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
  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;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  overflow: hidden;
  padding: 100px 0; /* Adjust padding for content, offset handled by main */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  color: #ffffff;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-contact__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: -1;
}

.page-contact__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Use custom color for title */
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* General Section Styles */
.page-contact__section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for sections */
  margin-bottom: 20px;
}

.page-contact__section:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.08);
}

.page-contact__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #017439; /* Brand color for section titles */
}

.page-contact__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

/* Buttons */
.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
  text-align: center;
}

.page-contact__btn-primary {
  background-color: #C30808; /* Custom color for primary CTA */
  color: #FFFF00; /* Custom color for primary CTA font */
  border: 2px solid #C30808;
}

.page-contact__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-contact__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Custom color for secondary CTA font */
  border: 2px solid #C30808;
}

.page-contact__btn-secondary:hover {
  background-color: #C30808;
  color: #FFFF00;
  transform: translateY(-2px);
}

/* Contact Methods Grid */
.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: rgba(1, 116, 57, 0.2); /* Brand color with transparency */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

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

.page-contact__method-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-contact__method-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFF00; /* Custom color for titles in cards */
}

.page-contact__method-text {
  font-size: 1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-contact__email-address, .page-contact__phone-number {
  font-weight: bold;
  color: #FFFF00;
  font-size: 1.1em;
  margin-top: 15px;
}

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

.page-contact__social-link {
  color: #FFFF00; /* Custom color for social links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-contact__social-link:hover {
  color: #ffffff;
}

/* When to Contact Section */
.page-contact__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-contact__info-card {
  background-color: rgba(1, 116, 57, 0.2); /* Brand color with transparency */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-contact__info-title {
  font-size: 1.4em;
  color: #FFFF00; /* Custom color for titles in cards */
  margin-bottom: 15px;
}

.page-contact__info-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-contact__info-card li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: #f0f0f0;
}

.page-contact__info-card li::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: #FFFF00; /* Custom color for checkmark */
}

/* Support Process Section */
.page-contact__process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-contact__process-step {
  flex: 1 1 calc(33% - 30px); /* 3 items per row on desktop */
  max-width: calc(33% - 30px);
  background-color: rgba(1, 116, 57, 0.2); /* Brand color with transparency */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-contact__process-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  object-fit: contain;
}

.page-contact__process-title {
  font-size: 1.3em;
  color: #FFFF00; /* Custom color for titles */
  margin-bottom: 10px;
}

.page-contact__process-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

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

.page-contact__faq-item {
  background-color: rgba(1, 116, 57, 0.2); /* Brand color with transparency */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #017439; /* Darker brand color for question */
  color: #FFFF00; /* Custom color for question text */
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: #005f2e;
}

.page-contact__faq-title {
  margin: 0;
  font-size: 1.1em;
  color: #FFFF00; /* Ensure title color */
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg);
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important; /* Sufficiently large for content */
  padding: 15px 25px;
}

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

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

.page-contact__commitment-item {
  background-color: rgba(1, 116, 57, 0.2); /* Brand color with transparency */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-contact__commitment-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  object-fit: contain;
}

.page-contact__commitment-title {
  font-size: 1.4em;
  color: #FFFF00; /* Custom color for titles */
  margin-bottom: 10px;
}

.page-contact__commitment-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* Bottom CTA Section */
.page-contact__cta-bottom {
  background-color: #017439; /* Main brand color */
  text-align: center;
  padding: 80px 0;
  color: #ffffff;
}

.page-contact__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-contact__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFF00; /* Custom color for title */
}

.page-contact__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 3em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__cta-title {
    font-size: 2.2em;
  }
  .page-contact__process-step {
    flex: 1 1 calc(50% - 30px);
    max-width: calc(50% - 30px);
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    min-height: 450px;
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
  }
  .page-contact__hero-title {
    font-size: 2.5em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__section {
    padding: 40px 0;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-description {
    font-size: 0.95em;
  }
  .page-contact__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-contact__methods-grid,
  .page-contact__info-grid,
  .page-contact__commitment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-contact__method-card,
  .page-contact__info-card,
  .page-contact__commitment-item {
    padding: 25px;
  }
  .page-contact__process-steps {
    flex-direction: column;
    align-items: center;
  }
  .page-contact__process-step {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .page-contact__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-contact__faq-answer {
    padding: 0 20px;
  }
  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 15px 20px;
  }
  .page-contact__cta-title {
    font-size: 1.8em;
  }
  .page-contact__cta-description {
    font-size: 1em;
  }

  /* Mobile specific overrides for images and containers */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-contact__section,
  .page-contact__container,
  .page-contact__method-card,
  .page-contact__info-card,
  .page-contact__process-step,
  .page-contact__faq-item,
  .page-contact__commitment-item,
  .page-contact__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-contact__social-links {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 2em;
  }
  .page-contact__section-title {
    font-size: 1.6em;
  }
  .page-contact__cta-title {
    font-size: 1.6em;
  }
  .page-contact__cta-button {
    font-size: 0.9em;
  }
}