/* style/contact.css */

/* --- Base Styles & Layout --- */
.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;
}

.page-contact__section-title {
  font-size: clamp(28px, 4vw, 42px); /* Responsive font size */
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for titles */
  line-height: 1.2;
}

.page-contact__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

/* --- Color Scheme Application --- */
.page-contact__dark-bg {
  background-color: #0a0a0a; /* Ensure consistency with body background if needed, or a slightly different dark tone */
  color: #ffffff; /* Light text for dark background */
  padding: 60px 0;
}

.page-contact__light-bg {
  background-color: #1a1a1a; /* A slightly lighter dark background for contrast sections */
  color: #f0f0f0; /* Light text for this background */
  padding: 60px 0;
}

/* Specific text colors for sections */
.page-contact__light-bg .page-contact__section-title {
  color: #26A9E0;
}

.page-contact__light-bg .page-contact__section-description {
  color: #e0e0e0;
}

/* --- Buttons --- */
.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%; /* Ensure container takes full width */
  max-width: 100%; /* Ensure container takes full width */
  box-sizing: border-box;
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure button adapts to container width */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  text-align: center;
}

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

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

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

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

/* --- Hero Section --- */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  overflow: hidden;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height of the image wrapper */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px; /* Space between image and content */
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-contact__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-contact__main-title {
  font-size: clamp(36px, 5vw, 56px); /* Responsive H1 size */
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.1;
}

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

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

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

.page-contact__reason-card {
  background-color: #2a2a2a; /* Darker background for cards on light-bg section */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
}

.page-contact__reason-card .page-contact__card-title {
  font-size: 24px;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-contact__reason-card p {
  font-size: 16px;
  color: #e0e0e0;
}

/* --- Contact Methods Section --- */
.page-contact__methods-section {
  padding: 60px 0;
}

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

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

.page-contact__method-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 8px; /* Added for consistency */
}

.page-contact__method-card .page-contact__card-title {
  font-size: 24px;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-contact__method-card p {
  font-size: 16px;
  color: #e0e0e0;
  flex-grow: 1; /* Make paragraphs take up available space */
  margin-bottom: 20px;
}

.page-contact__contact-info {
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-contact__method-card .page-contact__btn-primary,
.page-contact__method-card .page-contact__btn-secondary {
  width: auto; /* Buttons within cards can be auto width */
  min-width: 180px;
  margin-top: auto; /* Push button to the bottom */
}

/* --- FAQ Section --- */
.page-contact__faq-section {
  padding: 60px 0;
}

.page-contact__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-contact__faq-item {
  background-color: #2a2a2a; /* Darker background for FAQ items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: #333333; /* Slightly different background for question */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.page-contact__faq-qtext {
  flex-grow: 1;
}

.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  margin-left: 15px;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to become cross */
}

.page-contact__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 16px;
  color: #e0e0e0;
  background-color: #2a2a2a;
}

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

/* --- Commitment Section --- */
.page-contact__commitment-section {
  padding: 60px 0;
}

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

.page-contact__commitment-list li {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 15px 25px;
  margin-bottom: 15px;
  border-left: 4px solid #26A9E0;
  border-radius: 4px;
  font-size: 18px;
  color: #ffffff;
}

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

.page-contact__final-cta-text {
  font-size: 20px;
  text-align: center;
  max-width: 800px;
  margin: 40px auto 20px auto;
  color: #f0f0f0;
}

.page-contact__cta-buttons--bottom {
  margin-top: 20px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
  .page-contact__container {
    padding: 0 15px;
  }

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

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

  /* Hero Section */
  .page-contact__hero-section {
    padding: 10px 0 40px 0;
  }

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

  .page-contact__main-title {
    font-size: 32px;
  }

  .page-contact__description {
    font-size: 16px;
  }

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

  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    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;
  }

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

  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__hero-section,
  .page-contact__why-contact-section,
  .page-contact__methods-section,
  .page-contact__faq-section,
  .page-contact__commitment-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent content overflow */
  }

  .page-contact__video-section { /* Even if no video, keep for consistency */
    padding-top: 10px !important;
  }

  .page-contact__reasons-grid,
  .page-contact__methods-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }

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

  .page-contact__card-title {
    font-size: 20px;
  }

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

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

  .page-contact__faq-answer {
    font-size: 14px;
    padding: 10px 20px 15px 20px;
  }

  .page-contact__commitment-list li {
    font-size: 16px;
    padding: 12px 20px;
  }

  .page-contact__final-cta-text {
    font-size: 16px;
  }
}

/* Contrast Fixes (as per instructions for dark body background) */
.page-contact__hero-section,
.page-contact__methods-section,
.page-contact__commitment-section {
  background-color: #0a0a0a; /* Ensure dark background */
  color: #ffffff; /* Ensure light text */
}

.page-contact__why-contact-section,
.page-contact__faq-section {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast sections */
  color: #f0f0f0; /* Ensure light text */
}

.page-contact__reason-card,
.page-contact__method-card,
.page-contact__faq-item {
  background-color: #2a2a2a; /* Card backgrounds */
  color: #ffffff;
}

.page-contact__faq-question {
  background-color: #333333; /* FAQ question background */
  color: #26A9E0; /* Brand color for question text */
}

.page-contact p,
.page-contact li,
.page-contact__description,
.page-contact__section-description,
.page-contact__reason-card p,
.page-contact__method-card p,
.page-contact__contact-info,
.page-contact__faq-answer p,
.page-contact__final-cta-text {
  color: #e0e0e0; /* General paragraph text color for dark backgrounds */
}

.page-contact__main-title,
.page-contact__section-title,
.page-contact__card-title,
.page-contact__commitment-list li strong {
  color: #26A9E0; /* Titles and emphasized text use brand color */
}

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

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

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