.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Main text color for dark background */
  background-color: #0A0A0A; /* Page background color */
}

.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit hero image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-contact__hero-content {
  position: relative;
  text-align: center;
  padding: 20px;
  max-width: 900px;
  margin-top: 40px; /* Space between image and content */
  z-index: 1;
}

.page-contact__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #F2C14E;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #FFF6D6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: 2px solid transparent;
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  color: #000000;
}

.page-contact__btn-secondary {
  background: transparent;
  color: #F2C14E;
  border: 2px solid #F2C14E;
}

.page-contact__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
}

.page-contact__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

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

.page-contact__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #F2C14E;
}

.page-contact__section-description {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

.page-contact__contact-methods,
.page-contact__faq-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-contact__methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-contact__method-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

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

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

.page-contact__contact-form-section,
.page-contact__social-media-section {
  padding: 80px 0;
  background-color: #f8f9fa; /* Light background for form/social */
  color: #333333; /* Dark text for light background */
}

.page-contact__contact-form-section .page-contact__section-description,
.page-contact__contact-form-section .page-contact__section-title {
  color: #333333; /* Ensure dark text on light background */
}

.page-contact__contact-form {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  margin: 0 auto 50px auto;
  border: 1px solid #e0e0e0;
}

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

.page-contact__form-label {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333333; /* Dark text for labels */
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  font-size: 1rem;
  color: #333333;
  background-color: #fefefe;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

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

.page-contact__form-submit {
  width: auto;
  padding: 14px 40px;
  cursor: pointer;
  font-size: 1.1rem;
}

.page-contact__form-illustration {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.page-contact__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #FFD36B;
  cursor: pointer;
  background-color: #1a1a1a;
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: #2a2a2a;
}

.page-contact__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 20px;
  transition: transform 0.3s ease;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg);
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  font-size: 1rem;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important; /* Important for JS to work */
  padding: 15px 30px 30px 30px;
}

.page-contact__faq-answer p {
  margin-bottom: 10px;
}

.page-contact__faq-illustration {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 50px auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Social Media Section */
.page-contact__social-media-section .page-contact__section-title,
.page-contact__social-media-section .page-contact__section-description {
  color: #333333; /* Ensure dark text on light background */
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-contact__social-icon-link {
  display: inline-block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-contact__social-icon-link:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-contact__social-icon-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Contrast Fixes */
.page-contact__dark-bg {
  color: #ffffff; /* Deep dark background, light text */
  background: #0A0A0A;
}

.page-contact__light-bg {
  color: #333333; /* Light background, dark text */
  background: #f8f9fa;
}

.page-contact__text-contrast-fix {
  color: #333333 !important; /* Force dark text on light sections */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-contact__hero-content {
    margin-top: 20px;
  }
  .page-contact__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-contact__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-contact__hero-section {
    padding-bottom: 40px;
  }
  .page-contact__hero-content {
    padding: 15px;
  }
  .page-contact__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-contact__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__contact-methods,
  .page-contact__contact-form-section,
  .page-contact__faq-section,
  .page-contact__social-media-section {
    padding: 40px 0;
  }
  .page-contact__section-description {
    margin-bottom: 30px;
  }
  .page-contact__method-card {
    padding: 25px;
  }
  .page-contact__card-title {
    font-size: 1.4rem;
  }
  .page-contact__card-text {
    font-size: 0.95rem;
  }
  .page-contact__contact-form {
    padding: 30px;
  }
  .page-contact__form-label {
    font-size: 0.95rem;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px 12px;
    font-size: 0.95rem;
  }
  .page-contact__form-submit {
    width: 100%;
    font-size: 1rem;
  }
  .page-contact__faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
  }
  .page-contact__faq-answer {
    padding: 0 20px;
  }
  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 10px 20px 20px 20px;
  }
  .page-contact__social-links {
    gap: 15px;
  }
  .page-contact__social-icon-link {
    width: 50px;
    height: 50px;
  }

  /* Responsive images */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  .page-contact__section,
  .page-contact__card,
  .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Ensure no top padding for video section on mobile if it were present */
  .page-contact__video-section {
    padding-top: 10px !important;
  }
}