/* style/contact.css */

/* Base styles for page-contact */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  padding-bottom: 60px; /* Space above footer */
}

.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-contact__section {
  padding: 60px 0;
}

.page-contact__dark-bg {
  background-color: #11271B; /* Card BG, used for dark sections */
}

.page-contact__section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-contact__description {
  font-size: 18px;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

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

.page-contact__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

.page-contact__main-title {
  font-size: clamp(36px, 5vw, 58px); /* H1 font size with clamp */
  font-weight: 800;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.page-contact__hero-description {
  font-size: 20px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
  line-height: 1.5;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

.page-contact__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

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

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

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

/* Why Contact Section */
.page-contact__why-contact {
  background-color: #08160F;
}

.page-contact__content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-contact__text-block p {
  color: #A7D9B8;
  margin-bottom: 20px;
  font-size: 17px;
}

.page-contact__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-contact__list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%232AD16F"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #F2FFF6;
  font-size: 17px;
}

.page-contact__list li strong {
  color: #2AD16F;
}

.page-contact__image-wrapper {
  text-align: center;
}

.page-contact__image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

/* Contact Methods Section */
.page-contact__contact-methods {
  background-color: #11271B;
}

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

.page-contact__card {
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F2FFF6;
}

.page-contact__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

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

.page-contact__card p {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-contact__contact-info a {
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: 600;
}

.page-contact__contact-info a:hover {
  text-decoration: underline;
}

.page-contact__social-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-contact__social-list li {
  margin-bottom: 10px;
}

.page-contact__social-list a {
  color: #F2C14E; /* Gold */
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
}

.page-contact__social-list a:hover {
  text-decoration: underline;
}

/* Contact Form Section */
.page-contact__contact-form {
  background-color: #08160F;
}

.page-contact__form-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-contact__form {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  background-color: #08160F;
  color: #F2FFF6;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #2AD16F;
  outline: none;
}

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

.page-contact__form-image-wrapper {
  text-align: center;
}

/* FAQ Section */
.page-contact__faq-section {
  background-color: #11271B;
}

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

.page-contact__faq-item {
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-contact__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  outline: none;
  list-style: none; /* Remove default marker */
  transition: background-color 0.3s ease;
}

.page-contact__faq-item summary:hover {
  background-color: #1E3A2A; /* Divider */
}

.page-contact__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit browsers */
}

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

.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  margin-left: 15px;
  color: #2AD16F;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  content: '−'; /* Change to minus when open */
}

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

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

/* Commitment Section */
.page-contact__commitment {
  background-color: #08160F;
}

.page-contact__commitment .page-contact__description {
  color: #A7D9B8;
}

/* CTA Bottom Section */
.page-contact__cta-bottom {
  background-color: #11271B;
  text-align: center;
}

.page-contact__cta-bottom .page-contact__section-title {
  margin-bottom: 20px;
}

.page-contact__cta-bottom .page-contact__description {
  margin-bottom: 30px;
}

/* Global image settings for responsiveness */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Adjustments */
@media (max-width: 992px) {
  .page-contact__hero-section {
    min-height: 500px;
  }
  .page-contact__main-title {
    font-size: clamp(30px, 4.5vw, 48px);
  }
  .page-contact__hero-description {
    font-size: 18px;
  }
  .page-contact__section-title {
    font-size: clamp(24px, 4vw, 36px);
  }
  .page-contact__description {
    font-size: 16px;
  }
  .page-contact__methods-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-contact__why-contact .page-contact__content-grid,
  .page-contact__contact-form .page-contact__form-wrapper {
    grid-template-columns: 1fr;
  }
  .page-contact__form-image-wrapper {
    order: -1; /* Image above form on mobile */
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-contact__container {
    padding: 0 15px;
  }
  .page-contact__section {
    padding: 40px 0;
  }
  .page-contact__hero-section {
    min-height: 400px;
    padding-bottom: 40px;
  }
  .page-contact__main-title {
    font-size: clamp(28px, 6vw, 40px);
  }
  .page-contact__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-contact__cta-bottom .page-contact__btn-primary {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__methods-grid,
  .page-contact__form-wrapper {
    gap: 20px;
  }
  .page-contact__card {
    padding: 25px;
  }
  .page-contact__card-title {
    font-size: 20px;
  }
  .page-contact__form {
    padding: 30px;
  }
  .page-contact__form-label {
    font-size: 16px;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 12px;
    font-size: 15px;
  }
  .page-contact__faq-item summary {
    padding: 15px 20px;
    font-size: 16px;
  }
  .page-contact__faq-toggle {
    font-size: 20px;
  }
  .page-contact__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 15px;
  }
  /* Mobile image responsiveness */
  .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__form,
  .page-contact__methods-grid,
  .page-contact__content-grid {
    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__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  .page-contact__cta-buttons,
  .page-contact__button-group,
  .page-contact__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-contact__cta-buttons {
    display: flex;
    flex-direction: column; 
  }
}