/* style/contact.css */
.page-contact {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
  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__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding for first section */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for hero image */
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  margin-top: -150px; /* Adjust to overlap slightly without obscuring */
  background: linear-gradient(0deg, rgba(8, 22, 15, 0.9) 0%, rgba(8, 22, 15, 0.7) 50%, rgba(8, 22, 15, 0.0) 100%);
  width: 100%;
  max-width: 900px;
  box-sizing: border-box;
}

.page-contact__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-contact__subtitle {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.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;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-contact__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-contact__btn-secondary {
  background: transparent;
  color: #2AD16F; /* A lighter green for contrast */
  border: 2px solid #2AD16F; /* Button gradient start color for border */
}

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

.page-contact__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

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

.page-contact__description--bottom {
  margin-bottom: 0;
  margin-top: 40px;
}

.page-contact__contact-info-section {
  padding: 80px 0;
}

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

.page-contact__method-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-contact__method-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px auto;
  display: block;
  object-fit: contain;
}

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

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

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

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

.page-contact__social-link {
  color: #F2C14E; /* Gold */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

.page-contact__form-section {
  padding: 80px 0;
}

.page-contact__dark-section {
  background-color: #0A4B2C; /* Deep Green, slightly lighter for distinction */
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #11271B; /* Card BG */
  padding: 40px;
  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;
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  font-size: 1.05em;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #2E7A4E; /* Border */
  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: #57E38D; /* Glow */
  box-shadow: 0 0 0 3px rgba(87, 227, 141, 0.3);
}

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

.page-contact__form-submit {
  width: auto;
  min-width: 180px;
  margin-top: 20px;
  cursor: pointer;
}

.page-contact__form-note {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.9em;
  text-align: center;
  margin-top: 30px;
}

.page-contact__address-section {
  padding: 80px 0;
}

.page-contact__address-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
}

.page-contact__address-details {
  flex: 1 1 45%;
  min-width: 300px;
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  color: #F2FFF6; /* Text Main */
  text-align: left;
}

.page-contact__address-heading {
  font-size: 1.8em;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__address-details p {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary */
}

.page-contact__address-details strong {
  color: #F2FFF6; /* Text Main */
}

.page-contact__address-note {
  font-style: italic;
  color: #A7D9B8; /* Text Secondary */
  margin-top: 20px;
}

.page-contact__map-container {
  flex: 1 1 45%;
  min-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

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

.page-contact__faq-section {
  padding: 80px 0;
}

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

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

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  background-color: #11271B; /* Card BG */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-contact__faq-question:hover {
  background-color: #1E3A2A; /* Divider - slightly darker for hover */
}

.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: #57E38D; /* Glow */
}

.page-contact__faq-answer {
  padding: 0 25px 20px 25px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-contact__faq-item[open] .page-contact__faq-answer {
  max-height: 500px; /* Sufficiently large for content */
  padding-top: 10px;
}

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

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

.page-contact__faq-answer a {
  color: #F2C14E; /* Gold */
  text-decoration: underline;
}

.page-contact__faq-note {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
  text-align: center;
  margin-top: 30px;
}

.page-contact__why-contact-section {
  padding: 80px 0;
}

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

.page-contact__benefit-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-contact__benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px auto;
  display: block;
  object-fit: contain;
}

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

.page-contact__benefit-text {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
  flex-grow: 1;
}

.page-contact__cta-banner {
  padding: 80px 0;
  text-align: center;
}

.page-contact__cta-title {
  font-size: clamp(2em, 4vw, 3em);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: bold;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-content {
    margin-top: -100px;
  }
  .page-contact__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }
  .page-contact__section-title {
    font-size: clamp(1.6em, 3.8vw, 2.5em);
  }
  .page-contact__address-details, .page-contact__map-container {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-contact__hero-section {
    padding-bottom: 40px;
  }
  .page-contact__hero-content {
    margin-top: -80px;
    padding: 20px 15px;
  }
  .page-contact__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-contact__subtitle {
    font-size: 1em;
  }
  .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;
    font-size: 1em;
  }

  /* Image responsiveness */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__hero-image {
    max-height: 400px;
  }
  .page-contact__map-image {
    max-height: 300px;
  }

  /* Container responsiveness */
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__hero-section,
  .page-contact__contact-info-section,
  .page-contact__form-section,
  .page-contact__address-section,
  .page-contact__faq-section,
  .page-contact__why-contact-section,
  .page-contact__cta-banner,
  .page-contact__contact-form,
  .page-contact__map-container,
  .page-contact__cta-buttons,
  .page-contact__social-links {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent content overflow */
  }
  .page-contact__hero-section { padding-top: 10px !important; }
  .page-contact__contact-info-section, .page-contact__form-section, .page-contact__address-section, .page-contact__faq-section, .page-contact__why-contact-section, .page-contact__cta-banner {
    padding: 40px 0 !important;
  }

  .page-contact__methods-grid, .page-contact__benefits-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__method-card, .page-contact__benefit-card, .page-contact__address-details {
    padding: 25px;
  }
  .page-contact__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-contact__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-content {
    margin-top: -60px;
  }
  .page-contact__main-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }
  .page-contact__subtitle {
    font-size: 0.9em;
  }
  .page-contact__form-submit {
    width: 100%;
  }
  .page-contact__social-links {
    flex-direction: column;
    gap: 10px;
  }
  .page-contact__social-link {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }
}