.page-contact {
  background-color: #0a0a0a; /* Body background is dark, so main text is light */
  color: #ffffff;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
  padding-top: 0; /* body padding-top should handle offset */
}

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

.page-contact__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-contact__hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 20px;
}

.page-contact__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  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__hero-button {
  display: inline-block;
  background-color: #017439; /* Main color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-contact__hero-button:hover {
  background-color: #005f2c; /* Slightly darker green */
}

/* General Section Styling */
.page-contact__methods-section,
.page-contact__form-section,
.page-contact__why-contact-section,
.page-contact__faq-section,
.page-contact__video-section,
.page-contact__cta-section {
  padding: 60px 0;
  text-align: center;
}

.page-contact__methods-section,
.page-contact__why-contact-section,
.page-contact__cta-section {
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff;
}

.page-contact__form-section,
.page-contact__faq-section {
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #ffffff;
}

.page-contact__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-contact__section-intro {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Contact Methods Section */
.page-contact__methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-contact__method-card {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #ffffff;
}

.page-contact__method-icon {
  width: 100%; /* Ensure images are responsive within cards */
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  object-fit: cover;
}

.page-contact__method-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439; /* Brand color for titles */
}

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

.page-contact__email-address,
.page-contact__phone-number {
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439;
}

.page-contact__method-button,
.page-contact__social-button {
  display: inline-block;
  background-color: #017439;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin: 5px;
}

.page-contact__method-button:hover,
.page-contact__social-button:hover {
  background-color: #005f2c;
}

.page-contact__social-links {
  margin-top: 15px;
}

/* Contact Form Section */
.page-contact__contact-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  background-color: #0a0a0a;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #ffffff;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #017439;
  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: #aaaaaa;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: #017439;
  box-shadow: 0 0 0 3px rgba(1, 116, 57, 0.5);
}

.page-contact__form-submit-button {
  background-color: #017439;
  color: #ffffff;
  padding: 15px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.page-contact__form-submit-button:hover {
  background-color: #005f2c;
}

/* Why Contact Section */
.page-contact__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-contact__feature-item {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #ffffff;
}

.page-contact__feature-icon {
  width: 100%;
  max-width: 100px; /* Icons are smaller, but still > 200px according to prompt */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  /* Ensure min size is met for all images */
  min-width: 200px;
  min-height: 200px;
}

.page-contact__feature-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #017439;
}

.page-contact__feature-description {
  font-size: 1em;
  color: #cccccc;
}

/* FAQ Section */
.page-contact__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-contact__faq-item {
  background-color: #0a0a0a;
  border: 1px solid #017439;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #017439; /* Brand color for question background */
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: #005f2c;
}

.page-contact__faq-title {
  margin: 0;
  color: #ffffff;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-contact__faq-item.active .page-contact__faq-question {
  background-color: #005f2c;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg); /* Plus sign becomes a cross */
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  background-color: #1a1a1a;
  color: #cccccc;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

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

.page-contact__faq-answer p {
  margin-bottom: 15px;
  color: #cccccc;
}

.page-contact__faq-link {
  display: inline-block;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.page-contact__faq-link:hover {
  background-color: #a10606;
}

/* Video Section */
.page-contact__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 40px auto 0 auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-contact__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
}

.page-contact__video-overlay-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(195, 8, 8, 0.9); /* Register/Login color with transparency */
  color: #FFFF00;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  z-index: 10;
  transition: background-color 0.3s ease;
  opacity: 0.9;
}

.page-contact__video-overlay-button:hover {
  background-color: #C30808;
  opacity: 1;
}

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

.page-contact__cta-button {
  display: inline-block;
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: all 0.3s ease;
  min-width: 200px;
  text-align: center;
  box-sizing: border-box;
}

.page-contact__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-contact__btn-primary:hover {
  background-color: #a10606;
  border-color: #a10606;
}

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

.page-contact__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 3em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__methods-grid,
  .page-contact__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    height: 500px;
  }
  .page-contact__hero-title {
    font-size: 2.5em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-intro {
    font-size: 0.95em;
  }
  .page-contact__methods-grid,
  .page-contact__features-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__method-card,
  .page-contact__feature-item {
    padding: 20px;
  }
  .page-contact__contact-form {
    padding: 25px;
  }
  .page-contact__form-submit-button {
    font-size: 1em;
    padding: 12px 20px;
  }
  .page-contact__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-contact__faq-answer {
    padding: 10px 20px;
  }
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__cta-button {
    width: 100%;
    max-width: 100%;
    font-size: 1.1em;
    padding: 15px 20px;
  }

  /* Responsive Images, Videos, Buttons - Forced with !important */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .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;
  }
  .page-contact video,
  .page-contact__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__video-section,
  .page-contact__video-container,
  .page-contact__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-contact__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-contact__cta-button,
  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .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__cta-buttons,
  .page-contact__button-group,
  .page-contact__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-contact__cta-buttons {
    flex-direction: column !important;
  }
}