/* style/contact.css */

/* Base styles for the page-contact scope */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #1a1a1a; /* Dark background for hero section */
  overflow: hidden;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  max-height: 500px; /* Limit height for hero image */
  object-fit: cover;
  display: block;
  margin-bottom: 30px; /* Space between image and content */
  min-width: 200px; /* Ensure hero image is also large enough */
  min-height: 200px;
}

.page-contact__hero-content {
  position: relative;
  z-index: 1; /* Ensure content is above image if any overlap */
  max-width: 800px;
  margin: 0 auto;
}

.page-contact__main-title {
  font-size: clamp(2em, 4vw, 3em); /* Responsive font size */
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-contact__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons are responsive */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  text-align: center;
}

.page-contact__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-contact__btn-primary:hover {
  background-color: #1e87b0;
  border-color: #1e87b0;
}

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

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

/* Info Section (Contact Methods) */
.page-contact__info-section {
  padding: 80px 0;
  text-align: center;
  background-color: #1a1a1a; /* Dark background for this section */
  color: #ffffff;
}

.page-contact__dark-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-contact__light-bg {
  background-color: #1a1a1a; /* Keep dark for consistency with body */
  color: #ffffff;
}

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

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

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

.page-contact__method-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter dark card */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
}

.page-contact__method-icon {
  width: 100%;
  max-width: 150px; /* Adjust size as needed, but minimum 200px wide for image requirement */
  height: auto;
  margin-bottom: 20px;
  display: block;
  min-width: 200px; /* Enforce minimum size for content images */
  min-height: 200px;
  object-fit: contain; /* Use contain to avoid cropping if image aspect ratio is different */
}

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

.page-contact__method-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1; /* Make text take up available space */
}

.page-contact__link {
  color: #26A9E0;
  text-decoration: none;
}

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

.page-contact__social-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.page-contact__social-icon {
    background-color: #26A9E0;
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.page-contact__social-icon:hover {
    background-color: #1e87b0;
}


/* FAQ Section */
.page-contact__faq-section {
  padding: 80px 0;
  background-color: #121212; /* Match body background for seamless look */
  color: #ffffff;
}

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

.page-contact__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-question {
    background-color: rgba(255, 255, 255, 0.15);
}

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

.page-contact__faq-qtext {
  flex-grow: 1;
  color: #26A9E0; /* Question text in brand color */
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  font-weight: 600;
  margin-left: 15px;
  color: #ffffff;
}

.page-contact__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #f0f0f0;
  border-top: 1px solid rgba(255, 255, 255, 0.05); /* Lighter border for answer */
}

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

.page-contact__faq-link {
    color: #26A9E0;
    text-decoration: underline;
    font-weight: 600;
}

.page-contact__faq-link:hover {
    color: #1e87b0;
}

.page-contact__cta-block {
    text-align: center;
    margin-top: 40px;
}

.page-contact__cta-text {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 25px;
}


/* Trust Section */
.page-contact__trust-section {
  padding: 80px 0;
  text-align: center;
  background-color: #1a1a1a; /* Dark background for consistency */
  color: #ffffff;
}

.page-contact__trust-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 50px auto 0 auto;
  max-width: 1000px;
}

.page-contact__trust-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: #ffffff;
}

.page-contact__trust-heading {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-contact__trust-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-contact__final-cta {
    margin-top: 60px;
    text-align: center;
}

.page-contact__final-cta-text {
    font-size: 1.3em;
    color: #ffffff;
    margin-bottom: 30px;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-contact__hero-section {
    padding: 50px 15px;
    padding-top: 10px;
  }
  .page-contact__main-title {
    font-size: clamp(1.8em, 5vw, 2.5em);
  }
  .page-contact__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body has padding, keep this small */
  }

  .page-contact__hero-image {
    max-height: 350px;
    margin-bottom: 20px;
  }

  .page-contact__main-title {
    font-size: clamp(1.8em, 7vw, 2.2em);
    margin-bottom: 15px;
  }

  .page-contact__description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-contact__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding: 0 15px; /* Add padding to container */
  }

  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    width: 100% !important; /* Full width buttons */
    max-width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-contact__info-section,
  .page-contact__faq-section,
  .page-contact__trust-section {
    padding: 50px 0;
  }

  .page-contact__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-contact__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-contact__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-contact__contact-methods,
  .page-contact__trust-list {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }

  .page-contact__method-card,
  .page-contact__trust-item {
    padding: 25px;
  }

  .page-contact__method-icon {
    max-width: 120px;
  }

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

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

  /* Image responsive rules for content area */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

/* Ensure no filter on images */
.page-contact img {
  filter: none !important;
}