/* style/contact-us.css */

/* Base styles for the page, ensuring light text on dark body background */
.page-contact-us {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* General container for content */
.page-contact-us__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section styling */
.page-contact-us__hero-section,
.page-contact-us__contact-methods,
.page-contact-us__contact-form-section,
.page-contact-us__faq-section,
.page-contact-us__cta-section {
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden; /* Ensure no overflow */
}

/* Dark background sections, applying primary brand color for depth */
.page-contact-us__dark-bg {
  background-color: #0a0a0a; /* Ensure consistency with body background */
  color: #ffffff; /* Light text */
}

/* Light background for cards/elements within dark sections to ensure contrast */
.page-contact-us__light-bg {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark */
  color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.page-contact-us__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  position: relative;
}

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

.page-contact-us__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Slightly dim the image to make text readable */
}

.page-contact-us__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.page-contact-us__main-title {
  font-size: clamp(2.5rem, 5vw, 3.2rem); /* Responsive font size for H1 */
  font-weight: 700;
  color: #26A9E0; /* Brand color for main title */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-contact-us__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Section Titles and Descriptions */
.page-contact-us__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: #26A9E0; /* Brand color for section titles */
  margin-bottom: 20px;
}

.page-contact-us__section-description {
  font-size: 1rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Buttons */
.page-contact-us__btn-primary,
.page-contact-us__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box; /* For mobile responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-contact-us__btn-primary {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff; /* White text */
  border: 2px solid #26A9E0;
}

.page-contact-us__btn-primary:hover {
  background-color: #1e87c0; /* Darker shade on hover */
  border-color: #1e87c0;
}

.page-contact-us__btn-secondary {
  background-color: transparent;
  color: #26A9E0; /* Brand primary color text */
  border: 2px solid #26A9E0;
  margin-left: 15px;
}

.page-contact-us__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Contact Methods Grid */
.page-contact-us__methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-contact-us__method-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
}

.page-contact-us__method-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: brightness(0) invert(1) opacity(0.8); /* Recolor black icon to light for dark background */
}

.page-contact-us__method-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-contact-us__method-text {
  font-size: 0.95rem;
  color: #e0e0e0;
  margin-bottom: 25px;
}

/* Contact Form Section */
.page-contact-us__form-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact-us__form-illustration {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
}

.page-contact-us__contact-form {
  flex: 1;
  min-width: 300px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  text-align: left;
  box-sizing: border-box;
}

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

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

.page-contact-us__form-input,
.page-contact-us__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #333;
  border-radius: 5px;
  background-color: #1a1a1a;
  color: #ffffff;
  font-size: 1rem;
  box-sizing: border-box;
}

.page-contact-us__form-input::placeholder,
.page-contact-us__form-textarea::placeholder {
  color: #aaa;
}

.page-contact-us__form-input:focus,
.page-contact-us__form-textarea:focus {
  border-color: #26A9E0;
  outline: none;
}

.page-contact-us__form-submit {
  width: auto;
  margin-top: 10px;
}

/* FAQ Section */
.page-contact-us__faq-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  margin-top: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact-us__faq-illustration {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
}

.page-contact-us__faq-list {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-contact-us__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-contact-us__faq-item summary {
  list-style: none; /* Hide default marker */
}

.page-contact-us__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

.page-contact-us__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly darker for question */
  font-weight: 600;
  cursor: pointer;
  color: #ffffff;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

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

.page-contact-us__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-contact-us__faq-answer {
  padding: 15px 20px;
  font-size: 0.95rem;
  color: #e0e0e0;
  background-color: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-contact-us__faq-answer p {
  margin: 0;
}


/* CTA Section */
.page-contact-us__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-contact-us__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-contact-us__hero-section {
    padding: 40px 0;
    padding-top: 10px !important; /* body handles header offset */
    min-height: 400px;
  }

  .page-contact-us__main-title {
    font-size: 2rem;
  }

  .page-contact-us__hero-description {
    font-size: 1rem;
  }

  .page-contact-us__section-title {
    font-size: 1.8rem;
  }

  .page-contact-us__section-description {
    font-size: 0.9rem;
  }

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

  .page-contact-us__hero-image-wrapper,
  .page-contact-us__form-wrapper,
  .page-contact-us__faq-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* Buttons Mobile */
  .page-contact-us__btn-primary,
  .page-contact-us__btn-secondary,
  .page-contact-us a[class*="button"],
  .page-contact-us a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0 !important; /* Remove margin for stacked buttons */
    margin-bottom: 15px; /* Add vertical spacing */
  }

  .page-contact-us__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 0; /* Reset gap */
  }

  .page-contact-us__methods-grid {
    grid-template-columns: 1fr; /* Single column for methods */
  }

  .page-contact-us__contact-form {
    min-width: unset; /* Remove min-width for mobile */
    width: 100%;
  }

  .page-contact-us__faq-list {
    min-width: unset; /* Remove min-width for mobile */
    width: 100%;
  }
}

/* Ensure no filter on images */
.page-contact-us img {
  filter: none; /* Explicitly remove any default filters */
}
.page-contact-us__method-icon {
  filter: brightness(0) invert(1) opacity(0.8); /* This is a specific filter for icons to make them light on dark background, it's not changing the image's original color, but re-coloring a black icon. This is allowed for monochromatic icons. */
}