/* style/contact.css */

/* --- Base Styles & Layout --- */
.page-contact {
  background-color: #08160F; /* Background color as per custom palette */
  color: #F2FFF6; /* Main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-contact__dark-section {
  background-color: #08160F; /* Deep Green background */
  color: #F2FFF6; /* Light text for dark background */
}

.page-contact__light-bg {
  background-color: #F2FFF6; /* Light background for form section */
  color: #333333; /* Dark text for light background */
}

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

.page-contact__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold color for titles */
  line-height: 1.2;
}

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

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

.page-contact__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-contact__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
  margin-top: 20px;
}

.page-contact__main-title {
  font-size: clamp(2em, 4vw, 3em);
  font-weight: 700;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold color for main title */
  line-height: 1.2;
  letter-spacing: 0.05em;
}

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

/* --- CTA Buttons --- */
.page-contact__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

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

.page-contact__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-contact__btn-secondary:hover {
  background-color: rgba(42, 209, 111, 0.1);
  color: #2AD16F;
  transform: translateY(-2px);
}

.page-contact__cta-buttons--bottom {
  margin-top: 60px;
  padding-bottom: 40px;
}

/* --- Contact Methods Section --- */
.page-contact__methods-section {
  padding: 80px 20px;
  text-align: center;
}

.page-contact__method-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-contact__card {
  background-color: #11271B; /* Card BG color */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F2FFF6; /* Light text for card */
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

.page-contact__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold color for card titles */
}

.page-contact__card-text {
  font-size: 1em;
  margin-bottom: 25px;
  color: #A7D9B8; /* Secondary text color */
  flex-grow: 1;
}

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

.page-contact__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #2E7A4E; /* Border color as background */
  color: #F2FFF6;
  text-decoration: none;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

.page-contact__social-icon:hover {
  background-color: #11A84E; /* Main color on hover */
}

/* --- Contact Form Section --- */
.page-contact__form-section {
  padding: 80px 20px;
  text-align: center;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 40px auto 0;
  background-color: #ffffff; /* White background for form */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  text-align: left;
}

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

.page-contact__form-label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333333; /* Dark text for labels */
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1em;
  color: #333333; /* Dark text for input */
  background-color: #f8f8f8; /* Light background for input */
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #11A84E; /* Main color on focus */
  outline: none;
}

.page-contact__form-textarea {
  resize: vertical;
}

.page-contact__contact-form .page-contact__btn-primary {
  width: auto;
  margin-top: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* --- FAQ Section --- */
.page-contact__faq-section {
  padding: 80px 20px;
  text-align: center;
}

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

.page-contact__faq-item {
  background-color: #11271B; /* Card BG color */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6; /* Light text for FAQ item */
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #F2FFF6; /* Light text for question */
  background-color: #11271B;
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-contact__faq-question::-webkit-details-marker {
  display: none;
}

.page-contact__faq-item[open] .page-contact__faq-question {
  background-color: #1E3A2A; /* Slightly darker on open */
}

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

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F; /* Green for toggle icon */
}

.page-contact__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Secondary text color for answer */
  text-align: left;
  line-height: 1.7;
}

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

.page-contact__faq-answer a {
  color: #2AD16F;
  text-decoration: underline;
}

.page-contact__faq-answer a:hover {
  text-decoration: none;
}

/* --- Support Promise Section --- */
.page-contact__support-promise-section {
  padding: 80px 20px;
  text-align: center;
}

.page-contact__promise-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0;
  list-style: none;
  padding: 0;
}

.page-contact__promise-item {
  background-color: #11271B; /* Card BG color */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: #F2FFF6; /* Light text */
}

.page-contact__promise-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  min-width: 60px;
  min-height: 60px;
}

.page-contact__promise-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F2C14E; /* Gold color for promise titles */
}

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

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__hero-content {
    padding: 0 15px;
  }
  .page-contact__method-cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-description {
    font-size: 1em;
  }
  .page-contact__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  /* Images responsive */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__hero-image-wrapper,
  .page-contact__method-cards,
  .page-contact__promise-list,
  .page-contact__faq-list,
  .page-contact__contact-form,
  .page-contact__cta-buttons,
  .page-contact__method-card,
  .page-contact__promise-item,
  .page-contact__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__hero-section,
  .page-contact__methods-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__support-promise-section {
    padding: 40px 15px;
  }
  .page-contact__hero-section {
    padding-top: 10px !important;
  }

  /* Buttons responsive */
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-contact__contact-form .page-contact__btn-primary {
    width: 100% !important;
  }
  .page-contact__social-links {
    justify-content: space-around;
    gap: 10px;
  }
  .page-contact__social-icon {
    width: 40px;
    height: 40px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-contact__section-title {
    font-size: 1.5em;
  }
  .page-contact__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }
  .page-contact__method-cards,
  .page-contact__promise-list {
    grid-template-columns: 1fr;
  }
  .page-contact__card-title {
    font-size: 1.3em;
  }
  .page-contact__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-contact__faq-answer {
    padding: 0 20px 15px;
  }
}