/* style/contact.css */

/* Base styles for the contact page, adapting to dark body background from shared.css */
.page-contact {
  color: #ffffff; /* Light text for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-contact__hero-section {
  position: relative;
  padding: 100px 20px;
  text-align: center;
  background-color: #0a0a0a;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.2; /* Slightly dim the background image */
}

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-contact__hero-title {
  font-size: 3.5em;
  color: #26A9E0; /* Brand color for title */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(38, 169, 224, 0.5);
}

.page-contact__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-contact__cta-button {
  display: inline-block;
  background-color: #26A9E0; /* Brand color for button */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
  box-shadow: 0 4px 15px rgba(38, 169, 224, 0.4);
}

.page-contact__cta-button:hover {
  background-color: #1e87c0; /* Darker shade on hover */
  transform: translateY(-2px);
}

.page-contact__cta-button--secondary {
  background-color: transparent;
  border: 2px solid #26A9E0;
  color: #26A9E0;
  margin-left: 20px;
  box-shadow: none;
}

.page-contact__cta-button--secondary:hover {
  background-color: rgba(38, 169, 224, 0.1);
  color: #ffffff;
}

.page-contact__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-contact__section--dark {
  background-color: #1a1a1a; /* Slightly lighter dark background for sections */
  color: #ffffff;
}

.page-contact__section-title {
  font-size: 2.8em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 0 0 8px rgba(38, 169, 224, 0.3);
}

.page-contact__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  color: #e0e0e0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__method-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark background */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  min-height: 280px; /* Ensure min height for cards */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(38, 169, 224, 0.2);
}

.page-contact__method-card:hover {
  transform: translateY(-7px);
  background-color: rgba(255, 255, 255, 0.12);
}

.page-contact__method-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 25px;
  object-fit: contain;
}

.page-contact__method-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-contact__method-text {
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact__method-link {
  color: #ffffff;
  text-decoration: none;
  background-color: #26A9E0;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-size: 1em;
}

.page-contact__method-link:hover {
  background-color: #1e87c0;
}

.page-contact__form-container {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid rgba(38, 169, 224, 0.2);
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 10px;
  color: #f0f0f0;
  font-weight: bold;
  font-size: 1.1em;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.page-contact__form-textarea {
  resize: vertical;
  min-height: 150px;
}

.page-contact__form-submit-button {
  display: block;
  width: 100%;
  background-color: #EA7C07; /* Login color for submit button */
  color: #ffffff;
  padding: 15px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(234, 124, 7, 0.4);
}

.page-contact__form-submit-button:hover {
  background-color: #c76706;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
  color: #ffffff;
}

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

.page-contact__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(38, 169, 224, 0.15);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg); /* Plus to X */
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

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

.page-contact__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
}

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

.page-contact__commitment-section {
  text-align: center;
}

.page-contact__commitment-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 50px auto;
  max-width: 800px;
  text-align: left;
}

.page-contact__commitment-list li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 1.1em;
  border-left: 5px solid #26A9E0;
  color: #f0f0f0;
}

.page-contact__commitment-list li strong {
  color: #26A9E0;
}

.page-contact__section-outro {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-top: 30px;
  margin-bottom: 40px;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 3em;
  }
  .page-contact__section-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 80px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

  .page-contact__hero-description,
  .page-contact__section-intro,
  .page-contact__section-outro {
    font-size: 1em;
  }

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

  .page-contact__section,
  .page-contact__form-container,
  .page-contact__faq-section {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  /* Mobile image responsiveness */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Containers for images/videos/buttons */
  .page-contact__hero-section,
  .page-contact__section,
  .page-contact__method-card,
  .page-contact__form-container,
  .page-contact__faq-section,
  .page-contact__cta-buttons,
  .page-contact__button-group,
  .page-contact__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }

  /* Button responsiveness */
  .page-contact__cta-button,
  .page-contact__method-link,
  .page-contact__form-submit-button,
  .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-left: 15px;
    padding-right: 15px;
  }

  /* For multiple buttons in a row, stack them vertically on mobile */
  .page-contact__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
  }

  /* Video responsiveness (if any) */
  .page-contact video,
  .page-contact__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-contact__method-icon {
    width: 60px;
    height: 60px;
  }

  .page-contact__commitment-list li {
    font-size: 1em;
  }
}