/* style/contact.css */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  padding-bottom: 50px;
}

.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #11271B; /* Card BG */
  overflow: hidden;
}

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

.page-contact__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: brightness(0.7);
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(17, 39, 27, 0.7); /* Card BG with transparency */
  border-radius: 10px;
}

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

.page-contact__description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

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

.page-contact__method-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.page-contact__method-item:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-contact__method-icon {
  font-size: 1.2em;
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 50px;
}

.page-contact__form-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #08160F; /* Background */
}

.page-contact__form-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
  background: #11271B; /* Card BG */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__contact-form {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-contact__form-group {
  display: flex;
  flex-direction: column;
}

.page-contact__form-label {
  font-weight: bold;
  margin-bottom: 8px;
  color: #F2FFF6; /* Text Main */
}

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

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

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

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

.page-contact__submit-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-contact__form-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-contact__form-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  min-width: 200px;
  min-height: 200px;
}

.page-contact__benefits-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #08160F; /* Background */
}

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

.page-contact__benefit-card {
  background: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 350px;
}

.page-contact__benefit-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-contact__benefit-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
}

.page-contact__faq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #08160F; /* Background */
}

.page-contact__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-contact__faq-item {
  background: #11271B; /* Card BG */
  border-radius: 8px;
  padding: 20px 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-contact__faq-item details > summary {
  list-style: none;
}

.page-contact__faq-item details > summary::-webkit-details-marker {
  display: none;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  font-size: 1.1em;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  margin-left: 10px;
  color: #22C768;
}

.page-contact__faq-answer {
  padding-top: 15px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
  line-height: 1.7;
}

.page-contact__faq-answer p {
  margin: 0;
}

.page-contact__link {
  color: #2AD16F; /* A lighter green for links */
  text-decoration: underline;
}

.page-contact__link:hover {
  color: #57E38D; /* Glow */
}

.page-contact__cta-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 60px 20px;
  background: linear-gradient(90deg, #11A84E 0%, #22C768 100%); /* Main color gradient */
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}

.page-contact__cta-content {
  flex: 1;
  min-width: 300px;
  color: #F2FFF6; /* Text Main */
  text-align: left;
}

.page-contact__cta-title {
  font-size: 2.8em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__cta-description {
  font-size: 1.2em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 30px;
}

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

.page-contact__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-contact__cta-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-contact__cta-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  min-width: 200px;
  min-height: 200px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__hero-content {
    padding: 15px;
  }

  .page-contact__main-title {
    font-size: clamp(1.8em, 4vw, 2.5em);
  }

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

  .page-contact__cta-title {
    font-size: 2.2em;
  }

  .page-contact__cta-content {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
    padding-left: 0;
    padding-right: 0;
  }

  .page-contact__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-contact__hero-content {
    padding: 15px;
  }

  .page-contact__main-title {
    font-size: clamp(1.8em, 5vw, 2.2em);
  }

  .page-contact__description {
    font-size: 1em;
  }

  .page-contact__contact-methods {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__method-item {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    padding: 12px 15px;
  }

  .page-contact__section-title {
    font-size: 1.8em;
    padding-top: 30px;
  }

  .page-contact__form-section,
  .page-contact__benefits-section,
  .page-contact__faq-section,
  .page-contact__cta-section {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-contact__form-container {
    flex-direction: column;
    padding: 25px;
  }

  .page-contact__contact-form {
    width: 100%;
  }

  .page-contact__submit-button {
    width: 100%;
    box-sizing: border-box;
    align-self: stretch;
  }

  .page-contact__form-image-wrapper {
    width: 100%;
  }

  .page-contact__form-image,
  .page-contact__cta-image,
  .page-contact__hero-image,
  .page-contact__benefit-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

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

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

  .page-contact__faq-item {
    padding: 15px 20px;
  }

  .page-contact__faq-question {
    font-size: 1em;
  }

  .page-contact__cta-content {
    text-align: center;
    width: 100%;
  }

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

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

  .page-contact__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__cta-image-wrapper {
    width: 100%;
  }
}

/* Ensure all image containers are responsive */
.page-contact__hero-image-wrapper,
.page-contact__form-image-wrapper,
.page-contact__cta-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Additional mobile specific padding for content containers */
@media (max-width: 768px) {
  .page-contact__hero-content,
  .page-contact__form-container,
  .page-contact__benefits-grid,
  .page-contact__faq-list,
  .page-contact__cta-content {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__contact-methods,
  .page-contact__submit-button {
    padding-left: 0;
    padding-right: 0;
  }
}