/* style/contact.css */

/* General styles for the contact page */
.page-contact {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  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;
}

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

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

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

.page-contact__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-contact__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle overlay */
  filter: grayscale(50%); /* Enhance mood */
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #F2FFF6;
}

.page-contact__main-title {
  font-size: clamp(2em, 5vw, 3.8em); /* Responsive font size */
  font-weight: 700;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
  line-height: 1.2;
}

.page-contact__tagline {
  font-size: clamp(1em, 2.5vw, 1.3em);
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

/* Contact Info Section */
.page-contact__info-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

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

.page-contact__method-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

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

.page-contact__method-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.page-contact__method-title {
  font-size: 1.8em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-contact__method-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
  margin-bottom: 20px;
}

.page-contact__email-address, .page-contact__phone-number {
  font-size: 1.1em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
}

.page-contact__email-address a, .page-contact__phone-number a {
  color: #22C768; /* Auxiliary color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact__email-address a:hover, .page-contact__phone-number a:hover {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

.page-contact__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(34, 199, 104, 0.3);
}

/* Contact Form Section */
.page-contact__form-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 40px auto 0;
  padding: 40px;
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid #2E7A4E; /* Border */
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
  font-weight: 600;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 6px;
  color: #F2FFF6; /* Text Main */
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #A7D9B8; /* Text Secondary */
  opacity: 0.7;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #22C768; /* Auxiliary color */
  box-shadow: 0 0 0 3px rgba(34, 199, 104, 0.3);
  outline: none;
}

.page-contact__form-textarea {
  resize: vertical;
  min-height: 120px;
}

.page-contact__form-submit-btn {
  width: auto;
  padding: 15px 40px;
  font-size: 1.2em;
  border-radius: 8px;
  margin-top: 20px;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

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

.page-contact__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.page-contact__faq-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11271B; /* Card BG */
  border-bottom: 1px solid #1E3A2A; /* Divider */
  list-style: none; /* For details/summary */
}

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

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

.page-contact__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #22C768; /* Auxiliary color */
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-contact__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-contact__faq-answer ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-top: 10px;
}

.page-contact__faq-answer li {
  margin-bottom: 5px;
}

.page-contact__faq-answer a {
  color: #22C768; /* Auxiliary color */
  text-decoration: none;
}

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

/* Call to Action Section */
.page-contact__call-to-action-section {
  padding: 80px 0;
  text-align: center;
  background-color: #0A4B2C; /* Deep Green */
}

.page-contact__large-btn {
  padding: 18px 45px;
  font-size: 1.3em;
  border-radius: 10px;
}

/* Text colors */
.page-contact__text-main {
  color: #F2FFF6;
}

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

/* Card background for general use */
.page-contact__card {
  background-color: #11271B;
  color: #F2FFF6;
}

/* Dark background for sections where needed */
.page-contact__dark-bg {
  background-color: #08160F;
}

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

  .page-contact__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body has padding-top, this is for visual spacing */
  }

  .page-contact__main-title {
    font-size: clamp(2em, 8vw, 3em);
  }

  .page-contact__tagline {
    font-size: clamp(1em, 4vw, 1.1em);
  }

  .page-contact__cta-button,
  .page-contact__btn-primary,
  .page-contact__form-submit-btn,
  .page-contact__large-btn {
    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; /* Add margin for stacked buttons */
  }

  .page-contact__contact-methods {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact__method-card {
    padding: 25px;
  }

  .page-contact__section-title {
    font-size: 2em;
  }

  .page-contact__section-description {
    font-size: 1em;
  }

  .page-contact__contact-form {
    padding: 30px 20px;
  }

  .page-contact__form-label {
    font-size: 1em;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px 12px;
  }

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

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

  /* Ensure images are responsive */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-contact__hero-image-wrapper,
  .page-contact__contact-methods,
  .page-contact__method-card,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__call-to-action-section,
  .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-contact__contact-form,
  .page-contact__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}