/* style/contact.css */
/* Body background color is #08160F (dark), so text color should be light (#F2FFF6) */

.page-contact {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
  font-size: 16px;
}

.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;
  padding-top: 10px;
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-contact__hero-image-container {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7); /* Darken image slightly for text contrast */
}

.page-contact__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 8px;
}

.page-contact__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  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__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__btn-text {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

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

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px rgba(42, 209, 111, 0.6);
}

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

.page-contact__btn-secondary:hover {
  background-color: #2AD16F;
  color: #08160F; /* Background */
}

.page-contact__btn-text {
  background-color: transparent;
  color: #2AD16F;
  border: none;
  padding: 0;
  text-decoration: underline;
}

.page-contact__btn-text:hover {
  color: #57E38D;
}

/* General Section Styles */
.page-contact__info-section,
.page-contact__methods-section,
.page-contact__form-section,
.page-contact__faq-section,
.page-contact__security-section,
.page-contact__final-cta-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

.page-contact__info-section {
  background-color: #11271B; /* Card BG */
}

.page-contact__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-contact__text-block {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

/* Benefits Grid */
.page-contact__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

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

.page-contact__benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(42, 209, 111, 0.3);
}

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

.page-contact__card-text {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
}

/* Contact Methods Section */
.page-contact__methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

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

.page-contact__method-card:hover {
  transform: translateY(-10px);
}

.page-contact__method-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #2AD16F;
}

.page-contact__email-link,
.page-contact__phone-link {
  color: #2AD16F; /* Button color */
  text-decoration: none;
  font-weight: 600;
}

.page-contact__email-link:hover,
.page-contact__phone-link:hover {
  text-decoration: underline;
  color: #57E38D;
}

/* Contact Form Section */
.page-contact__form-section {
  background-color: #0A4B2C; /* Deep Green */
}

.page-contact__form-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.page-contact__contact-form {
  flex: 1;
  min-width: 300px;
  background-color: #11271B; /* Card BG */
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #2E7A4E;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}

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

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

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

.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 {
  outline: none;
  border-color: #2AD16F; /* Button color */
  box-shadow: 0 0 0 3px rgba(42, 209, 111, 0.3);
}

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

.page-contact__form-submit-btn {
  width: 100%;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  padding: 15px 25px;
  border: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-contact__form-submit-btn:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px rgba(42, 209, 111, 0.6);
}

.page-contact__form-image-container {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-contact__form-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}

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

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

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

.page-contact__faq-item[open] {
  box-shadow: 0 6px 25px rgba(42, 209, 111, 0.2);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.2em;
  color: #F2FFF6; /* Text Main */
  background-color: #11271B; /* Card BG */
  border-bottom: 1px solid transparent;
  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; /* Divider */
  border-bottom: 1px solid #2E7A4E;
}

.page-contact__faq-question:hover {
  background-color: #1E3A2A;
}

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

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

.page-contact__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

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

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

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

.page-contact__faq-cta {
  text-align: center;
  margin-top: 60px;
}

/* Security Section */
.page-contact__security-section {
  background-color: #11271B; /* Card BG */
  text-align: center;
}

.page-contact__security-section a {
  color: #2AD16F;
  text-decoration: none;
  font-weight: 600;
}

.page-contact__security-section a:hover {
  text-decoration: underline;
  color: #57E38D;
}

.page-contact__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 40px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

/* Final CTA Section */
.page-contact__final-cta-section {
  padding-bottom: 100px;
}

.page-contact__cta-buttons--final {
  margin-top: 50px;
  gap: 25px;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-contact__hero-content {
    max-width: 600px;
  }
  .page-contact__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-contact__description {
    font-size: 1em;
  }
  .page-contact__section-title {
    font-size: clamp(1.6em, 4vw, 2.5em);
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 15px;
  }
  .page-contact__hero-section {
    padding-bottom: 40px;
  }
  .page-contact__hero-content {
    max-width: 90%;
    padding: 15px;
    top: 55%;
  }
  .page-contact__main-title {
    font-size: 2.2em !important; /* Ensure readable on mobile */
    margin-bottom: 15px;
  }
  .page-contact__description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }
  .page-contact__info-section,
  .page-contact__methods-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__security-section,
  .page-contact__final-cta-section {
    padding: 50px 0;
  }
  .page-contact__container {
    padding: 0 15px !important;
  }
  .page-contact__section-title {
    font-size: 2em !important;
    margin-bottom: 30px;
  }
  .page-contact__text-block {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-contact__benefits-grid,
  .page-contact__methods-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-contact__method-icon {
    width: 80px;
    height: 80px;
  }
  .page-contact__form-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .page-contact__contact-form {
    padding: 30px;
  }
  .page-contact__form-label {
    font-size: 1em;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px 12px;
  }
  .page-contact__form-submit-btn {
    padding: 12px 20px;
    font-size: 1.1em;
  }
  .page-contact__form-image-container {
    order: -1; /* Image appears above form on mobile */
  }
  .page-contact__faq-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }
  .page-contact__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
  }

  /* Responsive images */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__form-wrapper,
  .page-contact__contact-form,
  .page-contact__form-image-container,
  .page-contact__method-card,
  .page-contact__benefit-card,
  .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 {
    padding-top: 10px !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-contact__hero-image-container {
    padding-left: 0;
    padding-right: 0;
  }
  .page-contact__cta-buttons--final {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-contact__main-title {
    font-size: 1.8em !important;
  }
  .page-contact__section-title {
    font-size: 1.6em !important;
  }
  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    font-size: 0.95em;
    padding: 10px 15px;
  }
  .page-contact__hero-content {
    padding: 10px;
  }
}

/* Ensure contrast for specific elements if needed (though global light text on dark bg is set) */
/* Example: If a card background was light, this would ensure dark text */
.page-contact__light-bg-card {
  background-color: #F2FFF6;
  color: #08160F;
}

/* Filter for darkening hero image to improve text contrast */
.page-contact__hero-image {
  filter: brightness(0.7);
}