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

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

.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  min-height: 500px;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
  background-color: #26A9E0; /* Brand primary color */
  color: #FFFFFF; /* White text for brand primary background */
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.6;
}

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

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  color: #FFFFFF;
}

.page-contact__hero-description a {
  color: #e0f2f7; /* Slightly lighter blue for links */
  text-decoration: underline;
}

.page-contact__hero-description a:hover {
  color: #ffffff;
}

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

.page-contact__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

.page-contact__section-description a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-contact__section-description a:hover {
  color: #1a7aab;
}

.page-contact__methods-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Light background */
  color: #333333;
}

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

.page-contact__card {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-contact__card-icon {
  width: 100%; /* Ensure large images */
  max-width: 300px;
  height: auto;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-contact__card-text {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

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

.page-contact__card-text a:hover {
  color: #1a7aab;
}

.page-contact__form-section {
  padding: 60px 0;
  background-color: #26A9E0; /* Brand primary color */
  color: #FFFFFF; /* White text for brand primary background */
}

.page-contact__form-section .page-contact__section-title,
.page-contact__form-section .page-contact__section-description {
  color: #FFFFFF;
}

.page-contact__form-section .page-contact__section-description a {
  color: #e0f2f7;
}

.page-contact__form-section .page-contact__section-description a:hover {
  color: #ffffff;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

.page-contact__form-submit-btn {
  width: auto;
  padding: 12px 30px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-contact__faq-section {
  padding: 60px 0;
  background-color: #f0f8ff; /* Light blue tint */
  color: #333333;
}

.page-contact__faq-section .page-contact__section-title {
  color: #26A9E0;
}

.page-contact__faq-section .page-contact__section-description {
  color: #555555;
}

.page-contact__faq-section .page-contact__section-description a {
  color: #26A9E0;
}

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

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

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  background-color: #eaf6ff; /* Lighter blue for summary */
  color: #26A9E0;
  transition: background-color 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-question {
  background-color: #d8ecff;
}

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

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

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

.page-contact__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1em;
  color: #555555;
  border-top: 1px solid #f0f0f0;
}

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

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

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

.page-contact__faq-answer a:hover {
  color: #1a7aab;
}

.page-contact__commitment-section {
  padding: 60px 0;
  background-color: #26A9E0; /* Brand primary color */
  color: #FFFFFF; /* White text for brand primary background */
}

.page-contact__commitment-section .page-contact__section-title,
.page-contact__commitment-section .page-contact__section-description {
  color: #FFFFFF;
}

.page-contact__commitment-section .page-contact__section-description a {
  color: #e0f2f7;
}

.page-contact__commitment-section .page-contact__section-description a:hover {
  color: #ffffff;
}

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

.page-contact__commitment-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: #FFFFFF;
}

.page-contact__commitment-item a {
  color: #e0f2f7;
  text-decoration: underline;
}

.page-contact__commitment-item a:hover {
  color: #ffffff;
}

.page-contact__commitment-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #EA7C07; /* Login color for checkmark */
  font-weight: bold;
  font-size: 1.2em;
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap; /* Prevent text wrapping on desktop */
}

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

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

.page-contact__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  margin-left: 15px;
}

.page-contact__btn-secondary:hover {
  background-color: #e0f8ff;
  color: #1a7aab;
  border-color: #1a7aab;
}

.page-contact__btn-small {
  padding: 8px 18px;
  font-size: 0.9em;
}

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

.page-contact__cta-buttons--center {
  text-align: center;
}

/* Ensure all images are responsive and not tiny icons */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Specific overrides for details summary for cross-browser consistency */
.page-contact__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-contact__faq-item summary {
  list-style: none;
}

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

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

  .page-contact__method-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

  .page-contact__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

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

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

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

  .page-contact__card {
    padding: 25px;
  }

  .page-contact__contact-form {
    padding: 30px 20px;
  }

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

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

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

  .page-contact__btn-secondary {
    margin-left: 0;
  }

  /* Mobile responsive for images, videos, and buttons */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-contact__section,
  .page-contact__card,
  .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__cta-button,
  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact a[class*="button"],
  .page-contact a[class*="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;
  }

  .page-contact__cta-buttons,
  .page-contact__button-group,
  .page-contact__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-contact__cta-buttons {
    flex-direction: column;
  }

  /* Video specific mobile responsive */
  .page-contact video,
  .page-contact__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-contact__video-section,
  .page-contact__video-container,
  .page-contact__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}