/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
  background-color: #08160F; /* Custom Background */
  color: #F2FFF6; /* Custom 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__section-title {
  font-size: clamp(28px, 4vw, 48px);
  color: #F2FFF6; /* Custom Text Main */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-contact__section-description {
  font-size: clamp(16px, 2vw, 18px);
  color: #A7D9B8; /* Custom Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles padding-top from header, this is decorative */
  overflow: hidden;
}

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

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly dim the image for text contrast */
}

.page-contact__hero-content {
  position: absolute;
  text-align: center;
  padding: 20px;
  z-index: 1;
  max-width: 900px;
  color: #F2FFF6; /* Custom Text Main */
}

.page-contact__main-title {
  font-size: clamp(32px, 5vw, 60px);
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.1;
}

.page-contact__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  color: #A7D9B8; /* Custom Text Secondary */
  margin-bottom: 30px;
  line-height: 1.5;
}

/* CTA Button Base */
.page-contact__cta-button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  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__cta-button--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button */
  color: #ffffff;
  border: 2px solid transparent;
}

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

.page-contact__cta-button--secondary {
  background-color: transparent;
  color: #2AD16F; /* Match primary button's highlight color */
  border: 2px solid #2AD16F;
}

.page-contact__cta-button--secondary:hover {
  background-color: rgba(42, 209, 111, 0.1);
  color: #F2FFF6; /* Custom Text Main */
  border-color: #F2FFF6;
}

/* Contact Info Channels Section */
.page-contact__info-channels {
  padding: 60px 0;
}

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

.page-contact__channel-card {
  background-color: #11271B; /* Custom Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Custom Border */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__channel-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 3px solid #57E38D; /* Custom Glow */
}

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

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

.page-contact__email-link {
  color: #57E38D; /* Custom Glow */
  text-decoration: none;
}

.page-contact__email-link:hover {
  text-decoration: underline;
}

/* Contact Form Section */
.page-contact__form-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Custom Deep Green for contrast */
}

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

.page-contact__form-content {
  color: #F2FFF6;
}

.page-contact__contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  padding: 12px 15px;
  border-radius: 5px;
  border: 1px solid #2E7A4E; /* Custom Border */
  background-color: #11271B; /* Custom Card BG */
  color: #F2FFF6; /* Custom Text Main */
  font-size: 16px;
  transition: border-color 0.3s ease;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #57E38D; /* Custom Glow */
  outline: none;
}

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

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

.page-contact__form-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Why Contact Section */
.page-contact__why-contact-section {
  padding: 60px 0;
}

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

.page-contact__advantage-item {
  background-color: #11271B; /* Custom Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Custom Border */
}

.page-contact__advantage-title {
  font-size: 22px;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__advantage-text {
  font-size: 16px;
  color: #A7D9B8; /* Custom Text Secondary */
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Custom Deep Green for contrast */
}

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

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

.page-contact__faq-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

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

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

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

.page-contact__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: #57E38D; /* Custom Glow */
  transition: transform 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  transform: rotate(45deg);
}

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

/* CTA Banner Section */
.page-contact__cta-banner {
  padding: 60px 0;
  text-align: center;
}

.page-contact__cta-banner .page-contact__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-contact__cta-content {
  max-width: 800px;
}

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

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

.page-contact__cta-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-contact__form-grid,
  .page-contact__faq-grid {
    grid-template-columns: 1fr 1fr; /* Two columns for larger screens */
  }

  .page-contact__hero-content {
    position: static;
    padding: 60px 20px;
  }

  .page-contact__hero-image-wrapper {
    max-height: 400px; /* Adjust height for desktop */
  }
}

@media (max-width: 768px) {
  .page-contact__container,
  .page-contact__hero-section,
  .page-contact__info-channels,
  .page-contact__form-section,
  .page-contact__why-contact-section,
  .page-contact__faq-section,
  .page-contact__cta-banner {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-contact__hero-section {
    padding-top: 10px !important; /* body handles --header-offset */
    padding-bottom: 40px;
  }

  .page-contact__hero-image-wrapper {
    max-height: 300px;
  }

  .page-contact__hero-image,
  .page-contact__channel-icon,
  .page-contact__form-image,
  .page-contact__faq-image,
  .page-contact__cta-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-contact__cta-button,
  .page-contact__cta-button--primary,
  .page-contact__cta-button--secondary,
  .page-contact a[class*="button"],
  .page-contact a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px !important;
  }

  .page-contact__cta-buttons-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__section-title {
    font-size: 28px;
  }

  .page-contact__hero-description {
    font-size: 16px;
  }

  .page-contact__hero-content {
    position: static;
    padding: 20px 0;
  }

  .page-contact__form-grid,
  .page-contact__faq-grid {
    grid-template-columns: 1fr;
  }

  .page-contact__faq-list {
    order: 2; /* FAQ list below image on mobile */
  }

  .page-contact__faq-image-wrapper {
    order: 1;
  }
}