.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Matches body background */
}

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

.page-contact__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for sections */
  color: #ffffff;
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px);
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

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

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

.page-contact__hero-title {
  font-size: 3.2em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

/* General Sections */
.page-contact__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 60px;
}

.page-contact__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
}

/* Methods Section */
.page-contact__methods-section {
  padding: 80px 0;
}

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

.page-contact__method-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-contact__method-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.page-contact__method-icon {
  width: 250px; /* Min size 200x200 */
  height: 187px; /* For 4:3 aspect ratio example */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-contact__method-text {
  color: #e0e0e0;
  margin-bottom: 25px;
}

.page-contact__email-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

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

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__method-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-contact__btn-primary,
.page-contact__method-button.page-contact__btn-primary {
  background-color: #FFD700;
  color: #1a1a1a; /* Dark text for primary button */
  border: 2px solid #FFD700;
}

.page-contact__btn-primary:hover,
.page-contact__method-button.page-contact__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-contact__btn-secondary,
.page-contact__method-button.page-contact__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-contact__btn-secondary:hover,
.page-contact__method-button.page-contact__btn-secondary:hover {
  background-color: #FFD700;
  color: #1a1a1a;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Slightly darker for contrast */
}

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

.page-contact__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: #FFD700;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

.page-contact__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  transition: transform 0.3s ease;
  color: #FFD700;
}

.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;
  color: #e0e0e0;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 15px 25px 25px 25px;
}

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

/* CTA Section */
.page-contact__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-contact__cta-section .page-contact__section-title {
  color: #8B0000; /* Use auxiliary color for contrast on light background */
}

.page-contact__cta-section .page-contact__section-description {
  color: #555555; /* Darker text for light background */
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.8em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__method-icon {
    width: 200px; /* Min size */
    height: 150px; /* Min size for 4:3 */
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-contact__hero-section {
    padding-bottom: 60px;
  }
  .page-contact__hero-title {
    font-size: 2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__hero-buttons,
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact__method-button,
  .page-contact a[class*="button"],
  .page-contact a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__method-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__method-card,
  .page-contact__faq-item,
  .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__hero-image,
  .page-contact__method-icon,
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__section-title {
    font-size: 1.8em;
    padding-top: 40px;
  }
  .page-contact__section-description {
    font-size: 1em;
  }
  .page-contact__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-contact__faq-answer {
    padding: 0 20px;
  }
  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 10px 20px 20px 20px;
  }
  .page-contact__methods-section,
  .page-contact__faq-section,
  .page-contact__cta-section {
    padding: 50px 0;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__hero-description {
    font-size: 0.9em;
  }
  .page-contact__section-title {
    font-size: 1.5em;
  }
  .page-contact__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
}