.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;
}

/* Hero Section */
.page-contact__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 40px 0; /* Small top padding, more bottom padding */
  background-color: #2F6BFF;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height of the image wrapper */
  overflow: hidden;
  margin-bottom: 20px;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensures image covers the area without distortion */
  min-height: 300px; /* Ensure minimum height for hero image */
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.page-contact__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 15px;
  /* Using clamp for responsive font-size, within allowed range */
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-contact__description {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Info Section */
.page-contact__info-section {
  padding: 60px 0;
  background-color: #F4F7FB;
}

.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;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  border: 1px solid #D6E2FF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px; /* Ensure minimum height for cards */
}

.page-contact__card-title {
  font-size: 1.8rem;
  color: #2F6BFF;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-contact__card-text, .page-contact__card-address {
  font-size: 1rem;
  color: #1F2D3D;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-contact__card-link {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s ease;
}

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

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

.page-contact__form-title {
  font-size: 2.5rem;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-contact__form-description {
  font-size: 1.1rem;
  color: #1F2D3D;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
  background-color: #F4F7FB;
  border: 1px solid #D6E2FF;
}

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

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

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

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #6FA3FF;
  opacity: 0.7;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #2F6BFF;
  outline: none;
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.2);
}

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

.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.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

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

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

.page-contact__faq-title {
  font-size: 2.5rem;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

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

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

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

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

/* Map Section */
.page-contact__map-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  text-align: center;
}

.page-contact__map-title {
  font-size: 2.5rem;
  color: #1F2D3D;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-contact__map-image {
  width: 100%;
  max-width: 1000px; /* Max width for the map image */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
  min-height: 200px; /* Minimum height for map image */
}

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

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

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

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

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

  .page-contact__card-title {
    font-size: 1.5rem;
  }

  .page-contact__form-title,
  .page-contact__faq-title,
  .page-contact__map-title {
    font-size: 2rem;
  }

  .page-contact__form-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

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

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

  .page-contact__submit-button {
    padding: 12px 20px;
    font-size: 1rem;
  }

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

  .page-contact__faq-item {
    padding: 20px;
  }

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

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

/* Ensure all content area images meet minimum size requirements */
.page-contact img:not(.shared-header__logo):not(.shared-footer__payment-icon):not(.shared-footer__social-icon):not(.shared-footer__game-provider-icon) {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* Added for consistency */
}