/* style/contact.css */

/* --- General Styles --- */
.page-contact {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-contact__section-title {
  font-size: clamp(28px, 4vw, 48px);
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-contact__text-block {
  margin-bottom: 20px;
  color: #F2FFF6;
  text-align: justify;
}

.page-contact__text-secondary {
  color: #A7D9B8;
}

.page-contact__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-contact__list-item {
  margin-bottom: 10px;
}

/* --- Buttons --- */
.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: 2px solid transparent;
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__btn-secondary {
  background: transparent;
  color: #57E38D;
  border: 2px solid #2E7A4E;
}

.page-contact__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  color: #F2FFF6;
  border-color: #57E38D;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* --- Hero Section --- */
.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, body handles --header-offset */
  overflow: hidden;
  background-color: #08160F; /* Ensure dark background for light text */
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 12px;
}

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

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

.page-contact__main-title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  color: #F2FFF6;
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-contact__hero-description {
  font-size: 18px;
  color: #A7D9B8;
  margin-bottom: 30px;
}

.page-contact__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Why Contact Section --- */
.page-contact__why-contact-section {
  background-color: #0A4B2C; /* Deep Green background for content */
  padding: 60px 20px;
  border-radius: 12px;
  margin-top: 40px;
}

/* --- Contact Methods Section --- */
.page-contact__contact-methods {
  background-color: #08160F;
  padding: 60px 20px;
}

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

.page-contact__method-card {
  background-color: #11271B;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #2E7A4E;
}

.page-contact__method-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-contact__card-title {
  font-size: 24px;
  color: #F2FFF6;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__card-description {
  font-size: 16px;
  color: #A7D9B8;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: justify;
}

.page-contact__card-button {
  margin-top: auto; /* Push button to bottom */
}

.page-contact__email-address,
.page-contact__phone-number {
  font-size: 18px;
  color: #57E38D;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__social-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-contact__social-item {
  font-size: 16px;
  color: #A7D9B8;
  margin-bottom: 5px;
}

/* --- FAQ Section --- */
.page-contact__faq-section {
  background-color: #0A4B2C;
  padding: 60px 20px;
  border-radius: 12px;
  margin-top: 40px;
}

.page-contact__faq-list {
  margin-top: 30px;
}

.page-contact__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: bold;
  color: #F2FFF6;
  cursor: pointer;
  background-color: #1E3A2A;
  user-select: none;
}

.page-contact__faq-item[open] .page-contact__faq-question {
  background-color: #0A4B2C;
}

.page-contact__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D;
}

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

.page-contact__faq-answer {
  padding: 20px 25px;
  font-size: 16px;
  color: #A7D9B8;
  background-color: #11271B;
  border-top: 1px solid #1E3A2A;
}

.page-contact__faq-answer p {
  margin-bottom: 15px;
  color: #A7D9B8;
  text-align: justify;
}

.page-contact__faq-answer .page-contact__btn-secondary {
  margin-top: 10px;
  padding: 8px 15px;
  font-size: 14px;
}

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

/* --- Address Section --- */
.page-contact__address-section {
  background-color: #08160F;
  padding: 60px 20px;
  margin-top: 40px;
}

.page-contact__address-card {
  background-color: #11271B;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
  text-align: center;
  border: 1px solid #2E7A4E;
  margin-top: 30px;
}

.page-contact__address-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-contact__address-details {
  text-align: left;
  width: 100%;
  max-width: 600px;
}

.page-contact__address-details .page-contact__card-title {
  text-align: center;
  margin-bottom: 20px;
}

.page-contact__address-text {
  font-size: 16px;
  color: #A7D9B8;
  margin-bottom: 10px;
  line-height: 1.8;
}

/* --- Conclusion CTA Section --- */
.page-contact__conclusion-cta {
  background-color: #0A4B2C;
  padding: 60px 20px;
  border-radius: 12px;
  margin-top: 40px;
  text-align: center;
}

.page-contact__final-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-contact__hero-description {
    font-size: 16px;
  }
  .page-contact__method-card {
    padding: 25px;
  }
  .page-contact__card-title {
    font-size: 22px;
  }
  .page-contact__card-description {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .page-contact__main-title {
    font-size: clamp(28px, 6vw, 40px);
  }
  .page-contact__hero-description {
    font-size: 15px;
  }
  .page-contact__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__content-area,
  .page-contact__hero-section,
  .page-contact__why-contact-section,
  .page-contact__contact-methods,
  .page-contact__faq-section,
  .page-contact__address-section,
  .page-contact__conclusion-cta,
  .page-contact__method-card,
  .page-contact__faq-item,
  .page-contact__address-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  /* Ensure all image containers are also responsive */
  .page-contact__hero-image-wrapper,
  .page-contact__method-image,
  .page-contact__address-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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

  .page-contact__address-card {
    flex-direction: column;
  }

  .page-contact__address-details {
    text-align: center;
  }

  .page-contact__address-details .page-contact__card-title {
    text-align: center;
  }

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

  .page-contact__faq-answer {
    font-size: 14px;
    padding: 15px 20px;
  }

  .page-contact__final-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-contact__section-title {
    font-size: clamp(24px, 6vw, 36px);
  }
  .page-contact__hero-section {
    padding: 40px 10px;
    padding-top: 10px !important;
  }
  .page-contact__content-area {
    padding: 30px 10px;
  }
  .page-contact__main-title {
    font-size: clamp(24px, 8vw, 32px);
  }
}