/* style/contact.css */
.page-contact {
  color: #ffffff; /* Default text color for dark body background */
  line-height: 1.6;
}

.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
  background-color: #1a1a1a; /* Slightly lighter than body for contrast */
  overflow: hidden;
}

.page-contact__hero-content {
  max-width: 900px;
  z-index: 1;
  margin-bottom: 40px;
}

.page-contact__hero-title {
  font-size: 3.2em;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-contact__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-contact__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  overflow: hidden;
}

.page-contact__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* filter: grayscale(50%); */ /* Removed as per strict filter rules */
}

.page-contact__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.page-contact__btn-primary:hover {
  background-color: #1e87b7;
  transform: translateY(-2px);
}

.page-contact__info-section, .page-contact__form-section, .page-contact__faq-section {
  padding: 60px 20px;
  text-align: center;
}

.page-contact__info-section {
  background-color: #121212; /* Match body background */
  color: #ffffff;
}

.page-contact__form-section {
  background-color: #1a1a1a; /* Slightly lighter than body for contrast */
  color: #ffffff;
}

.page-contact__faq-section {
  background-color: #121212; /* Match body background */
  color: #ffffff;
}

.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: 700;
}

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

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

.page-contact__info-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__info-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-contact__info-heading {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-contact__info-text {
  color: #cccccc;
  margin-bottom: 20px;
}

.page-contact__info-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-contact__info-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.page-contact__form {
  max-width: 700px;
  margin: 40px auto 0 auto;
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #ffffff;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #333333;
  border-radius: 5px;
  background-color: #222222;
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #888888;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #26A9E0;
  outline: none;
  box-shadow: 0 0 0 3px rgba(38, 169, 224, 0.3);
}

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

.page-contact__form-submit-btn {
  width: auto;
  margin-top: 20px;
  font-size: 1.1em;
  padding: 12px 25px;
}

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

.page-contact__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  background-color: #26A9E0;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

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

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

.page-contact__faq-item.active .page-contact__faq-question {
  background-color: #1e87b7;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg); /* Changes '+' to 'x' or '-' */
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  background-color: rgba(255, 255, 255, 0.05); /* Lighter semi-transparent for answer */
  color: #cccccc;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.page-contact__faq-answer p {
  margin: 0;
  color: #cccccc;
}

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

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

.page-contact__faq-cta-text {
  margin-top: 40px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-contact__link-text {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-contact__link-text:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.8em;
  }

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

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-contact__hero-section {
    padding: 60px 15px;
  }

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

  .page-contact__hero-description {
    font-size: 1em;
  }

  .page-contact__info-section, .page-contact__form-section, .page-contact__faq-section {
    padding: 40px 15px;
  }

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

  .page-contact__section-description {
    font-size: 0.95em;
  }

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

  .page-contact__info-card,
  .page-contact__form,
  .page-contact__faq-item {
    padding: 20px;
  }

  .page-contact__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-contact__faq-answer {
    padding: 0 20px;
  }

  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 15px 20px;
  }

  /* Mobile image responsiveness */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-contact__hero-image-wrapper,
  .page-contact__info-card,
  .page-contact__form,
  .page-contact__faq-item,
  .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile button responsiveness */
  .page-contact__btn-primary,
  .page-contact__form-submit-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;
  }

  /* Video section specific padding for mobile if it was present */
  .page-contact__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure spacing below fixed header for mobile too */
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }

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

  .page-contact__info-card {
    padding: 15px;
  }

  .page-contact__info-heading {
    font-size: 1.5em;
  }

  .page-contact__form {
    padding: 25px;
  }
}

/* Color contrast specific styles (applied based on body background) */
.page-contact__dark-bg {
  background-color: #1a1a1a; /* Darker background, slightly lighter than body */
  color: #ffffff;
}

.page-contact__light-bg {
  background-color: #121212; /* Match body background */
  color: #ffffff;
}

/* Ensure links within text are visible */
.page-contact p a,
.page-contact li a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-contact p a:hover,
.page-contact li a:hover {
  color: #ffffff;
}