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

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

.page-contact__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 40px;
  background-color: #F4F7FB;
}

.page-contact__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-contact__hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.page-contact__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1F2D3D;
  margin-bottom: 15px;
  font-size: clamp(2em, 4vw, 3em); /* Responsive font size */
}

.page-contact__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #1F2D3D;
  margin-bottom: 30px;
}

.page-contact__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__section-description {
  font-size: 1.1em;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
}

.page-contact__form-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
  gap: 40px;
}

.page-contact__form {
  flex: 1 1 45%;
  min-width: 300px;
  padding: 20px;
  max-width: 600px;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #D6E2FF;
  border-radius: 6px;
  font-size: 1em;
  color: #000000;
  background-color: #FFFFFF;
  transition: border-color 0.3s ease;
}

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

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

.page-contact__submit-button {
  display: block;
  width: 100%;
  padding: 15px 25px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-contact__submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-contact__illustration-wrapper {
  flex: 1 1 45%;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-contact__illustration-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-contact__info-section {
  padding: 60px 20px;
  background-color: #F4F7FB;
  margin-bottom: 40px;
}

.page-contact__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-contact__info-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF;
}

.page-contact__info-heading {
  font-size: 1.3em;
  color: #2F6BFF;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__info-text {
  font-size: 1em;
  line-height: 1.5;
  color: #1F2D3D;
}

.page-contact__info-link {
  color: #2F6BFF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact__info-link:hover {
  color: #6FA3FF;
  text-decoration: underline;
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.page-contact__social-link {
  color: #2F6BFF;
  font-size: 1.8em;
  transition: color 0.3s ease;
}

.page-contact__social-link:hover {
  color: #6FA3FF;
}

.page-contact__map-section {
  padding: 60px 20px;
  background-color: #F4F7FB;
  text-align: center;
}

.page-contact__map-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
  min-width: 200px;
  min-height: 200px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-contact__hero-section {
    padding-bottom: 30px;
  }

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

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

  .page-contact__form-section {
    flex-direction: column;
    padding: 40px 15px;
  }

  .page-contact__form,
  .page-contact__illustration-wrapper {
    min-width: unset;
    width: 100%;
  }

  .page-contact__info-section {
    padding: 40px 15px;
  }

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

  .page-contact__map-section {
    padding: 40px 15px;
  }

  /* Critical: prevent image overflow on mobile */
  .page-contact__hero-image,
  .page-contact__illustration-image,
  .page-contact__map-image {
    max-width: 100%;
    height: auto;
  }

  /* Ensure content area images are not too small */
  .page-contact__form-section img, 
  .page-contact__info-section img, 
  .page-contact__map-section img {
    min-width: 200px;
    min-height: 200px;
  }
}

/* Color Contrast Check (example for main text on background) */
/* Background: #F4F7FB (RGB: 244, 247, 251) */
/* Text Main: #1F2D3D (RGB: 31, 45, 61) */
/* Contrast ratio: (251 + 0.05) / (61 + 0.05) = 4.11 (This is slightly below 4.5:1 for AA for normal text. Will adjust text color to be darker.) */

/* Adjusting text colors for better contrast */
.page-contact__main-title, 
.page-contact__hero-description, 
.page-contact__section-title, 
.page-contact__section-description, 
.page-contact__form-label, 
.page-contact__info-text {
  color: #000000; /* Using Custom Color_1776249996415 */
}

.page-contact__form-input,
.page-contact__form-textarea {
  color: #000000; /* Placeholder color is #888, which is fine */
}

/* Re-check contrast for #000000 on #F4F7FB: (251 + 0.05) / (0 + 0.05) = 21.01. This is excellent. */