.page-contact {
  padding-bottom: 40px;
  background-color: #140C0C; /* Background */
  color: #FFF1E8; /* Text Main */
}

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

.page-contact__hero-section {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  padding-top: 10px; /* Small top padding to avoid header overlap */
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
}

.page-contact__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 800px;
  width: 90%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for readability */
  border-radius: 10px;
  box-sizing: border-box;
  z-index: 1; /* Ensure content is above image if using position absolute */
}

.page-contact__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-contact__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.page-contact__section-title {
  font-size: 2.2em;
  color: #F3C54D; /* Gold */
  text-align: center;
  margin: 40px 0 30px;
  font-weight: 700;
}

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

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

.page-contact__contact-item {
  background-color: #2A1212; /* Card B G */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #6A1E1E; /* Border */
}

.page-contact__item-title {
  font-size: 1.6em;
  color: #E53030; /* Auxiliary color */
  margin-bottom: 15px;
}

.page-contact__item-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #FFF1E8; /* Text Main */
}

.page-contact__button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
  color: #140C0C; /* Dark text for contrast */
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
  min-width: 200px; /* Ensure button is not too small */
}

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

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

.page-contact__contact-form {
  background-color: #2A1212; /* Card B G */
  padding: 40px;
  border-radius: 10px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #6A1E1E; /* Border */
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #FFF1E8; /* Text Main */
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #6A1E1E; /* Border */
  background-color: #140C0C; /* Background */
  color: #FFF1E8; /* Text Main */
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: rgba(255, 241, 232, 0.6); /* Lighter placeholder text */
}

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

.page-contact__submit-button {
  width: 100%;
  padding: 15px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
  color: #140C0C; /* Dark text for contrast */
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.page-contact__faq-section {
  padding: 40px 0;
}

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

.page-contact__faq-item {
  background-color: #2A1212; /* Card B G */
  padding: 25px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #6A1E1E; /* Border */
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__faq-question {
  font-size: 1.3em;
  color: #E53030; /* Auxiliary color */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-contact__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
}

.page-contact__inline-link {
  color: #F3C54D; /* Gold */
  text-decoration: none;
  font-weight: 500;
}

.page-contact__inline-link:hover {
  text-decoration: underline;
}

.page-contact__cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #2A1212; /* Card B G */
  margin-top: 40px;
  border-top: 1px solid #6A1E1E; /* Border */
}

.page-contact__cta-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFF1E8; /* Text Main */
}

.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-contact__button--primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
  color: #140C0C; /* Dark text for contrast */
}

.page-contact__button--secondary {
  background-color: #C61F1F; /* Main color */
  color: #FFF1E8; /* Text Main */
  border: 1px solid #E53030; /* Auxiliary color */
}

.page-contact__button--secondary:hover {
  background-color: #E53030; /* Auxiliary color */
}

/* Mobile responsiveness */
@media (max-width: 849px) {
  .page-contact__hero-content {
    padding: 15px;
    width: 95%;
  }

  .page-contact__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem); /* Adjust clamp values for better mobile scaling */
  }

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

  .page-contact__section-title {
    font-size: 1.8em;
    margin: 30px 0 20px;
  }

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

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

  .page-contact__form-section, .page-contact__faq-section {
    padding: 30px 0;
  }

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

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

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

  .page-contact__button {
    min-width: unset;
    width: 100%;
  }

  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .page-contact__container {
    padding: 0 10px;
  }

  .page-contact__hero-image {
    max-width: 100%;
    height: auto;
  }

  .page-contact__form-input, .page-contact__form-textarea {
    max-width: 100%;
    height: auto;
  }

  .page-contact__contact-item img, .page-contact__faq-item img, .page-contact__cta-section img {
    max-width: 100%;
    height: auto;
  }

  .page-contact__main-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
}

@media (max-width: 549px) {
  .page-contact__hero-content {
    padding: 10px;
  }

  .page-contact__main-title {
    font-size: clamp(1.1rem, 4.5vw, 1.75rem);
  }

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

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

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

  .page-contact__item-title {
    font-size: 1.4em;
  }

  .page-contact__item-text {
    font-size: 0.95em;
  }

  .page-contact__form-label {
    font-size: 0.95em;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px;
    font-size: 0.95em;
  }

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

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

  .page-contact__faq-answer {
    font-size: 0.95em;
  }

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