.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for dark body background */
  background-color: var(--primary-color, #0A0A0A); /* Inherit from shared or use default dark */
}

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

.page-contact__dark-section {
  background-color: #0A0A0A;
  color: #ffffff;
}

.page-contact__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-contact__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
  background-color: #0A0A0A;
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
}

.page-contact__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-contact__btn-primary {
  display: inline-block;
  background-color: #FFD700;
  color: #0A0A0A;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.page-contact__btn-primary:hover {
  background-color: #e6c200;
  color: #000000;
}

.page-contact__btn-secondary {
  display: inline-block;
  background-color: #0A0A0A;
  color: #FFD700;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #FFD700;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  font-size: 1em;
}

.page-contact__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A0A0A;
}

.page-contact__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-contact__section-title--light {
  color: #FFD700;
}

.page-contact__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

.page-contact__section-intro--light {
  color: #f0f0f0;
}

.page-contact__methods-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-contact__method-card {
  background-color: #0A0A0A;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-contact__method-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.page-contact__method-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin: 0 auto 20px auto;
  display: block;
}

.page-contact__method-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-contact__method-description {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact__email-address, .page-contact__phone-number {
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 15px;
  color: #FFD700;
}

.page-contact__link-text {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact__link-text:hover {
  color: #e6c200;
  text-decoration: underline;
}

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

.page-contact__social-link {
  font-size: 1.1em;
  font-weight: bold;
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact__social-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

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

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

.page-contact__faq-item {
  background-color: #1a1a1a;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1a1a1a;
  color: #FFD700;
  font-size: 1.2em;
  font-weight: bold;
  border-bottom: 1px solid #333333;
}

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

.page-contact__faq-heading {
  margin: 0;
  color: #FFD700;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #2a2a2a;
  color: #cccccc;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 20px 25px;
}

.page-contact__faq-answer p {
  margin: 0;
  color: #cccccc;
}

.page-contact__form-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 50px auto 0 auto;
  background-color: #0A0A0A;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #FFD700;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #333333;
  border-radius: 5px;
  background-color: #2a2a2a;
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FFD700;
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
}

.page-contact__form-textarea {
  resize: vertical;
  min-height: 120px;
}

.page-contact__commitment-section {
  padding: 80px 0;
  background-color: #0A0A0A;
  color: #ffffff;
}

.page-contact__commitment-list {
  max-width: 800px;
  margin: 50px auto 30px auto;
  list-style: none;
  padding: 0;
}

.page-contact__commitment-item {
  background-color: #1a1a1a;
  padding: 15px 25px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #f0f0f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-left: 45px;
}

.page-contact__commitment-item::before {
  content: '✔';
  color: #FFD700;
  font-weight: bold;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 3em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-contact__hero-section {
    min-height: 450px;
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure spacing below fixed header for mobile */
  }
  .page-contact__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-contact__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-contact__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-contact__methods-section,
  .page-contact__faq-section,
  .page-contact__form-section,
  .page-contact__commitment-section {
    padding: 50px 0;
  }
  .page-contact__methods-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-contact__method-card {
    padding: 25px;
  }
  .page-contact__method-icon {
    width: 150px;
    height: 150px;
    margin-bottom: 15px;
  }
  .page-contact__method-title {
    font-size: 1.5em;
  }
  .page-contact__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-contact__faq-answer {
    padding: 15px 20px;
  }
  .page-contact__contact-form {
    padding: 30px 20px;
  }
  .page-contact__form-label {
    font-size: 1em;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px 12px;
    font-size: 0.95em;
  }
  .page-contact__commitment-item {
    font-size: 1em;
    padding: 12px 20px 12px 40px;
  }
  
  /* Image responsiveness for mobile */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Video responsiveness for mobile */
  .page-contact video,
  .page-contact__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/videos/buttons for mobile */
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__methods-section,
  .page-contact__faq-section,
  .page-contact__form-section,
  .page-contact__commitment-section,
  .page-contact__hero-section,
  .page-contact__hero-content,
  .page-contact__methods-grid,
  .page-contact__method-card,
  .page-contact__faq-list,
  .page-contact__faq-item,
  .page-contact__contact-form,
  .page-contact__form-group,
  .page-contact__commitment-list,
  .page-contact__social-links {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  
  /* Specific adjustments for button groups on mobile */
  .page-contact__social-links {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    margin-bottom: 10px; /* Add space between stacked buttons */
  }
}