.page-contact {
  background-color: #0A0A0A;
  color: #FFF6D6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding for the first section */
  overflow-x: hidden;
}

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

.page-contact__hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9; /* Default aspect ratio for hero */
  object-fit: cover;
  display: block;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-contact__main-title {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: bold;
  color: #F2C14E;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-contact__hero-description {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: #FFF6D6;
  opacity: 0.9;
  margin-bottom: 30px;
}

.page-contact__section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: #F2C14E;
  text-align: center;
  margin: 60px auto 40px;
  max-width: 90%;
  position: relative;
  padding-bottom: 10px;
}

.page-contact__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: #FFD36B;
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-contact__info-section, .page-contact__form-section, .page-contact__faq-section {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 15px;
}

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

.page-contact__info-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 15px #FFD36B50;
}

.page-contact__card-title {
  font-size: 1.4rem;
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-contact__card-text {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-contact__card-link {
  display: inline-block;
  color: #F2C14E;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-contact__card-link:hover {
  color: #FFD36B;
  text-decoration: underline;
}

.page-contact__section-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 50px auto 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 800px;
}

.page-contact__form-description {
  text-align: center;
  font-size: 1.05rem;
  color: #FFF6D6;
  max-width: 700px;
  margin: -20px auto 40px;
}

.page-contact__contact-form {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

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

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

.page-contact__form-input, .page-contact__form-textarea {
  width: calc(100% - 20px);
  padding: 12px 10px;
  background-color: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 5px;
  color: #FFF6D6;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__form-input:focus, .page-contact__form-textarea:focus {
  border-color: #F2C14E;
  box-shadow: 0 0 0 3px rgba(242, 193, 78, 0.3);
  outline: none;
}

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

.page-contact__submit-button {
  display: block;
  width: 100%;
  padding: 15px 25px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-contact__submit-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-contact__faq-list {
  margin-top: 30px;
}

.page-contact__faq-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.page-contact__faq-question {
  font-size: 1.15rem;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-contact__faq-answer {
  font-size: 0.95rem;
  color: #FFF6D6;
  opacity: 0.85;
}

/* Responsive adjustments */
@media (max-width: 849px) {
  .page-contact__main-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
  .page-contact__hero-description {
    font-size: clamp(0.95rem, 3vw, 1.1rem);
  }
  .page-contact__hero-image {
    aspect-ratio: 4/3;
  }
  .page-contact__info-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__info-card {
    padding: 25px;
  }
  .page-contact__section-image {
    max-width: 100%;
  }
}

@media (max-width: 549px) {
  .page-contact__hero-section {
    padding: 15px 10px 30px;
  }
  .page-contact__main-title {
    font-size: clamp(1.3rem, 7vw, 2.2rem);
  }
  .page-contact__hero-description {
    font-size: clamp(0.9rem, 4vw, 1rem);
  }
  .page-contact__section-title {
    margin: 40px auto 30px;
  }
  .page-contact__contact-form {
    padding: 25px;
  }
  .page-contact__form-input, .page-contact__form-textarea {
    width: calc(100% - 20px);
  }
  .page-contact__faq-item {
    padding: 18px 20px;
  }
  .page-contact__faq-question {
    font-size: 1.05rem;
  }
  .page-contact__faq-answer {
    font-size: 0.9rem;
  }
  /* Ensure all content area images are responsive */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
}

/* Global image responsiveness for content area */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure no content area image is smaller than 200px */
.page-contact__hero-image,
.page-contact__section-image {
  min-width: 200px;
  min-height: 200px; /* Ensure aspect ratio is maintained, but enforce min size */
}

/* Specific rule for content images to prevent smaller than 200px display */
.page-contact__info-section img,
.page-contact__faq-section img {
    width: 100%; /* Occupy full available width */
    max-width: 800px; /* Or appropriate max-width */
    height: auto;
    min-width: 200px;
    min-height: 200px;
}

@media (max-width: 768px) {
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
}