.page-contact {
  background-color: var(--background, #F4F7FB);
  color: var(--text-main, #1F2D3D);
  line-height: 1.6;
  font-family: Arial, sans-serif;
  padding-top: 10px; /* Small top padding to respect body padding-top from shared.css */
}

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

.page-contact__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  background-color: var(--main-color, #2F6BFF);
  color: #FFFFFF;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-width: 100%;
  margin-bottom: 20px;
}

.page-contact__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1; /* Ensure content is above any potential background layers */
}

.page-contact__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 15px;
}

.page-contact__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-contact__section-title {
  font-size: 2.2em;
  font-weight: bold;
  color: var(--custom-color_1776249996415, #000000);
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

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

.page-contact__info-section {
  padding: 60px 0;
  background-color: var(--background, #F4F7FB);
}

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

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

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

.page-contact__info-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  display: block; /* Ensure it's a block element */
  margin-left: auto; /* Center the image */
  margin-right: auto; /* Center the image */
}

.page-contact__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--custom-color_1776249996415, #000000);
}

.page-contact__card-text {
  font-size: 1.1em;
  color: var(--text-main, #1F2D3D);
  margin-bottom: 20px;
}

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

.page-contact__card-link:hover {
  opacity: 0.9;
}

.page-contact__working-hours {
  text-align: center;
  padding: 30px;
  background-color: var(--card-bg, #FFFFFF);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border, #D6E2FF);
}

.page-contact__working-hours .page-contact__card-title {
  color: var(--custom-color_1776249996415, #000000);
}

.page-contact__form-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  background-color: var(--card-bg, #FFFFFF);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border, #D6E2FF);
}

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

.page-contact__form-label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--text-main, #1F2D3D);
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: calc(100% - 20px);
  padding: 12px;
  border: 1px solid var(--border, #D6E2FF);
  border-radius: 5px;
  font-size: 1em;
  color: var(--text-main, #1F2D3D);
  background-color: #F8F9FA;
}

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

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

.page-contact__submit-button {
  display: block;
  width: 100%;
  padding: 15px 20px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.page-contact__submit-button:hover {
  opacity: 0.9;
}

.page-contact__faq-section {
  padding: 60px 0;
  background-color: var(--background, #F4F7FB);
}

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

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

.page-contact__faq-question {
  font-size: 1.3em;
  font-weight: bold;
  color: var(--custom-color_1776249996415, #000000);
  margin-bottom: 10px;
}

.page-contact__faq-answer {
  font-size: 1em;
  color: var(--text-main, #1F2D3D);
}

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

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

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

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

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

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

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

  .page-contact__submit-button {
    font-size: 1.1em;
  }

  /* Enforce max-width for all images within .page-contact */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }

  .page-contact__info-icon {
    width: 80px;
    height: 80px;
  }

  /* Ensure no content causes horizontal overflow */
  .page-contact {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-contact__main-title {
    font-size: 1.7em;
  }

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

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

  .page-contact__card-title {
    font-size: 1.3em;
  }

  .page-contact__faq-question {
    font-size: 1.1em;
  }
}

/* Ensure content area images are not smaller than 200px display size */
.page-contact__info-icon,
.page-contact__hero-image {
  min-width: 200px; /* Applies to display size */
  min-height: 200px; /* Applies to display size */
  /* Override specific smaller icon sizes if they were mistakenly applied */
  width: auto; /* Allow auto scaling based on max-width */
  height: auto; /* Allow auto scaling based on max-width */
}

/* Specific override for info icons to make them smaller but still above 200px if possible, or just ensure they are not tiny */
/* The image placeholder will generate 200x200, so this CSS should not shrink it below that */
.page-contact__info-icon {
  width: 100px; /* This will be overridden by min-width if 100px < 200px. The placeholder is 200x200 */
  height: 100px;
  max-width: 200px; /* Ensure they don't grow too large, but respect min-width */
  max-height: 200px;
}

/* Ensure the contact form input and textarea are not too small */
.page-contact__form-input, .page-contact__form-textarea {
  min-width: 200px;
  min-height: 40px;
}