.page-contact {
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

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

.page-contact__hero-section {
  display: flex;
  flex-direction: column; /* Force image above text */
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  background-color: #F4F7FB; /* Background */
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  margin-bottom: 20px; /* Space between image and content */
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

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

.page-contact__main-title {
  font-size: clamp(2.5rem, 5vw, 3.2rem); /* Using clamp for responsive h1 */
  font-weight: 700;
  line-height: 1.2;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 15px;
  letter-spacing: -0.02em;
}

.page-contact__description {
  font-size: 1.1rem;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
}

.page-contact__section-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

.page-contact__details-section {
  padding: 40px 0;
  background-color: #F4F7FB; /* Background */
}

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

.page-contact__detail-card {
  background-color: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2F6BFF; /* Main Color */
  margin-bottom: 15px;
}

.page-contact__card-text {
  font-size: 1rem;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
}

.page-contact__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
  font-size: 1rem;
  min-width: 200px; /* Minimum width for button */
  text-align: center;
}

.page-contact__button:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%); /* Slightly different gradient on hover */
  transform: translateY(-2px);
}

.page-contact__form-section {
  padding: 40px 0;
  background-color: #F4F7FB; /* Background */
}

.page-contact__form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

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

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

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

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

.page-contact__form-textarea {
  resize: vertical;
  min-height: 120px;
}

.page-contact__submit-button {
  display: block;
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.page-contact__submit-button:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%); /* Slightly different gradient on hover */
  transform: translateY(-2px);
}

.page-contact__map-section {
  padding: 40px 0;
  background-color: #F4F7FB; /* Background */
}

.page-contact__map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-contact__map-image {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-contact__faq-section {
  padding: 40px 0 60px;
  background-color: #F4F7FB; /* Background */
}

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

.page-contact__faq-item {
  background-color: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-contact__faq-question {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2F6BFF; /* Main Color */
  margin-bottom: 10px;
}

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

.page-contact__image-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-contact__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-contact__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

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

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

  .page-contact__detail-card {
    padding: 25px;
  }

  .page-contact__button {
    width: 100%;
  }

  .page-contact__form {
    padding: 20px;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    width: calc(100% - 20px); /* Adjust for smaller padding */
  }

  /* Mobile overflow prevention */
  .page-contact img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
  }
}

@media (max-width: 480px) {
  .page-contact__main-title {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }

  .page-contact__section-title {
    font-size: 1.6rem;
  }

  .page-contact__container {
    padding: 15px;
  }

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