/* style/contact.css */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Default background */
}

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

.page-contact__container--center {
  text-align: center;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  margin-bottom: 40px;
  padding-top: 10px; /* Small top padding */
}

.page-contact__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

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

.page-contact__hero-content {
  text-align: center;
  padding: 40px 20px;
  background-color: #ffffff; /* Explicit background for text block */
  max-width: 900px;
  margin: -60px auto 0 auto; /* Pull up over image slightly */
  position: relative;
  z-index: 1;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__main-title {
  font-size: clamp(2em, 3.5vw, 2.8em);
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-contact__description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

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

.page-contact__btn-secondary:hover {
  background-color: #f0f8ff;
  color: #1e87c0;
  border-color: #1e87c0;
}

/* General Section Styling */
.page-contact__section {
  padding: 50px 0;
  margin-bottom: 30px;
}

.page-contact__section-title {
  font-size: 2.2em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-contact__text-block {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333333;
  text-align: justify;
}

.page-contact__text-block a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-contact__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Dark Section */
.page-contact__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-contact__dark-section .page-contact__section-title,
.page-contact__dark-section .page-contact__text-block,
.page-contact__dark-section .page-contact__card-title,
.page-contact__dark-section .page-contact__card-text {
  color: #ffffff;
}

.page-contact__dark-section .page-contact__text-block a {
  color: #f0f8ff;
}

/* Method Cards */
.page-contact__method-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-contact__card {
  background-color: #ffffff; /* Default for light-bg cards */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #333333;
}

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

.page-contact__card-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Guide Steps */
.page-contact__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-contact__step-item {
  background-color: #f9f9f9;
  border-left: 5px solid #26A9E0;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-contact__step-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-contact__step-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
}

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

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

.page-contact__dark-section .page-contact__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  list-style: none;
}

.page-contact__dark-section .page-contact__faq-question {
  color: #ffffff;
}

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

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

.page-contact__faq-qtext a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-contact__dark-section .page-contact__faq-qtext a {
  color: #f0f8ff;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  transform: rotate(45deg);
}

.page-contact__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-contact__dark-section .page-contact__faq-answer {
  color: #f0f0f0;
}

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

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

.page-contact__cta-buttons--center {
  margin-top: 30px;
}

/* Benefits Section */
.page-contact__benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-contact__benefit-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-contact__benefit-icon {
  width: 100%; /* Ensure it's not smaller than 200px, but responsive */
  max-width: 250px;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 50%;
}

.page-contact__benefit-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-contact__benefit-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
}

/* Final CTA Section */
.page-contact__final-cta-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
}

.page-contact__final-cta-section .page-contact__section-title {
  color: #ffffff;
}

.page-contact__final-cta-section .page-contact__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-contact__final-cta-section .page-contact__text-block a {
  color: #ffffff;
  text-decoration: underline;
}

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

  .page-contact__hero-section {
    margin-bottom: 20px;
    padding-top: 10px !important;
  }

  .page-contact__hero-content {
    padding: 30px 15px;
    margin: -40px auto 0 auto; /* Adjust for smaller screens */
  }

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

  .page-contact__description {
    font-size: 1em;
  }

  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-contact__section {
    padding: 30px 0;
    margin-bottom: 15px;
  }

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

  .page-contact__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__text-block {
    font-size: 0.95em;
    text-align: left;
  }

  /* Images in content area */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-contact__image-content {
    margin: 20px auto;
  }

  /* Method Cards */
  .page-contact__method-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact__card {
    padding: 25px;
  }

  .page-contact__card-title {
    font-size: 1.3em;
  }

  /* Guide Steps */
  .page-contact__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact__step-item {
    padding: 20px;
  }

  .page-contact__step-title {
    font-size: 1.2em;
  }

  /* FAQ Section */
  .page-contact__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-contact__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95em;
  }

  /* Benefits Section */
  .page-contact__benefits-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact__benefit-item {
    padding: 25px;
  }

  .page-contact__benefit-icon {
    max-width: 200px;
  }

  .page-contact__benefit-title {
    font-size: 1.2em;
  }

  /* Final CTA Section */
  .page-contact__final-cta-section {
    padding: 40px 0;
  }

  .page-contact__final-cta-section .page-contact__text-block {
    font-size: 0.95em;
  }

  .page-contact__cta-buttons--center {
    padding: 0 15px;
  }
}

/* Ensure all image containers are responsive */
.page-contact__hero-image-wrapper,
.page-contact__section,
.page-contact__container,
.page-contact__method-cards,
.page-contact__card,
.page-contact__guide-steps,
.page-contact__step-item,
.page-contact__faq-list,
.page-contact__faq-item,
.page-contact__benefits-list,
.page-contact__benefit-item {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden; /* Prevent content overflow */
}