.page-contact {
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #F4F7FB; /* Background color */
  color: #1F2D3D; /* Main text color */
}

.page-contact__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  max-width: 1390px;
  margin: 0 auto;
  gap: 20px;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Consistent with HTML width attribute */
  margin-top: 20px;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  line-height: 1.2;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 15px;
  max-width: 800px;
}

.page-contact__description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 900px;
  color: #1F2D3D;
}

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

.page-contact__info-section,
.page-contact__form-section,
.page-contact__cta-section {
  padding: 60px 0;
  text-align: center;
}

.page-contact__info-section {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 10px;
  margin: 40px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-contact__info-title,
.page-contact__form-title,
.page-contact__cta-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 600;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 40px;
}

.page-contact__contact-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.page-contact__method-card {
  background-color: #F4F7FB; /* Background color */
  border: 1px solid #D6E2FF; /* Border color */
  border-radius: 10px;
  padding: 30px;
  flex: 1 1 calc(33% - 40px);
  min-width: 280px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__method-heading {
  font-size: 1.4em;
  color: #2F6BFF; /* Primary color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-contact__method-text {
  font-size: 1em;
  line-height: 1.6;
  color: #1F2D3D;
  margin-bottom: 25px;
}

.page-contact__method-button,
.page-contact__form-submit-button,
.page-contact__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
  color: #FFFFFF;
}

.page-contact__method-button:hover,
.page-contact__form-submit-button:hover,
.page-contact__cta-button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #FFFFFF; /* Card BG */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #D6E2FF; /* Border color */
  border-radius: 8px;
  font-size: 1em;
  color: #1F2D3D;
  background-color: #F4F7FB; /* Background color */
  box-sizing: border-box; /* Ensures padding doesn't increase total width */
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #6FA3FF; /* Auxiliary color for placeholders */
  opacity: 0.8;
}

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

.page-contact__cta-section {
  background-color: #2F6BFF; /* Primary color */
  color: #FFFFFF;
  padding: 80px 20px;
  margin-top: 40px;
}

.page-contact__cta-title {
  color: #FFFFFF;
  margin-bottom: 20px;
}

.page-contact__cta-text {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

  .page-contact__method-card {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    flex-direction: column-reverse; /* Text above image on mobile for better visibility */
  }
  .page-contact__hero-content {
    order: 2; /* Content after image */
  }
  .page-contact__hero-image-wrapper {
    order: 1; /* Image first */
    margin-bottom: 20px;
  }

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

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

  .page-contact__info-title,
  .page-contact__form-title,
  .page-contact__cta-title {
    font-size: clamp(1.6em, 6vw, 2em);
  }

  .page-contact__method-card {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-contact__form-submit-button,
  .page-contact__cta-button {
    padding: 10px 20px;
    font-size: 0.95em;
  }

  .page-contact__contact-form {
    padding: 25px;
  }

  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__cta-section {
    padding: 40px 0;
  }

  .page-contact__container {
    padding: 15px;
  }

  /* Ensure images in content area are responsive and not too small */
  .page-contact img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px; /* Enforce minimum size for content images */
  }
}

@media (max-width: 480px) {
  .page-contact__main-title {
    font-size: clamp(1.6em, 8vw, 2.2em);
  }

  .page-contact__info-title,
  .page-contact__form-title,
  .page-contact__cta-title {
    font-size: clamp(1.4em, 7vw, 1.8em);
  }

  .page-contact__method-card {
    padding: 20px;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px;
  }
}