.page-contact {
  background-color: #F4F7FB;
  color: #1F2D3D;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-contact__hero-section {
  position: relative;
  padding-top: 10px; /* Small padding, body handles --header-offset */
  margin-bottom: 40px;
  background-color: #2F6BFF; /* Fallback for image loading */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image slightly for text contrast */
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 900px;
  color: #FFFFFF;
}

.page-contact__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 30px;
  color: #FFFFFF;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__cta-button:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

.page-contact__info-section,
.page-contact__form-section,
.page-contact__faq-section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-contact__info-section {
  background-color: #F4F7FB;
}

.page-contact__info-title,
.page-contact__form-title,
.page-contact__faq-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-contact__info-description,
.page-contact__form-description {
  font-size: 1.1rem;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__info-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF;
}

.page-contact__info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-contact__card-image {
  width: 100%;
  height: auto;
  max-width: 250px; /* Example size, ensure min 200px */
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-contact__card-title {
  font-size: 1.5rem;
  color: #000000;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-contact__card-text {
  font-size: 1rem;
  color: #1F2D3D;
  margin-bottom: 25px;
}

.page-contact__card-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__card-button:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

.page-contact__form-section {
  background-color: #FFFFFF;
  border-top: 1px solid #D6E2FF;
}

.page-contact__form {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  background-color: #FFFFFF;
  border: 1px solid #D6E2FF;
}

.page-contact__form-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Adjust as needed */
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
  margin: 0 auto 30px auto;
  display: block;
  border-radius: 8px;
}

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

.page-contact__form-label {
  display: block;
  font-size: 1rem;
  color: #1F2D3D;
  margin-bottom: 8px;
  font-weight: 500;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: calc(100% - 24px); /* Adjust for padding + border */
  padding: 12px;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  font-size: 1rem;
  color: #1F2D3D;
  background-color: #F4F7FB;
  transition: border-color 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #2F6BFF;
  outline: none;
}

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

.page-contact__form-submit-button {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__form-submit-button:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

.page-contact__faq-section {
  background-color: #F4F7FB;
}

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

.page-contact__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-question {
  font-size: 1.3rem;
  color: #000000;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-contact__faq-answer {
  font-size: 1rem;
  color: #1F2D3D;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-contact__hero-content {
    padding: 30px 15px;
  }

  .page-contact__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-contact__description {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
  }

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

  .page-contact__info-title,
  .page-contact__form-title,
  .page-contact__faq-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .page-contact__form {
    padding: 20px;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    width: calc(100% - 24px); /* Adjust for padding + border */
    padding: 12px;
  }

  /* Ensure content area images are responsive */
  .page-contact__hero-image,
  .page-contact__info-card .page-contact__card-image,
  .page-contact__form-image {
    max-width: 100%;
    height: auto;
  }
}

/* Ensure all content area images are at least 200px on desktop */
.page-contact__info-card .page-contact__card-image,
.page-contact__form-image {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* Ensure no filter is applied to other images */
.page-contact__info-card .page-contact__card-image, 
.page-contact__form-image { 
  filter: none;
}