.page-contact {
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a2e; /* Inherit from body or set explicitly if different */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-contact__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
  background-color: #017439; /* Use primary brand color for hero background */
}

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

.page-contact__hero-section .page-contact__container {
  position: relative;
  z-index: 1;
}

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

.page-contact__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

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

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

.page-contact__info-section,
.page-contact__form-section,
.page-contact__faq-section,
.page-contact__why-us-section,
.page-contact__social-section,
.page-contact__global-support-section,
.page-contact__location-section,
.page-contact__final-cta-section {
  padding: 80px 0;
}

.page-contact__info-section {
  background-color: #1a1a2e; /* Dark background */
}

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

.page-contact__channel-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white card for dark background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-contact__channel-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px; /* Enforce min size for images */
  min-height: 200px;
  width: 200px; /* Display size */
  height: 200px;
}

.page-contact__channel-title {
  font-size: 1.8em;
  color: #017439; /* Use brand color for titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__channel-text {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__form-section {
  background-color: #0d0d1a; /* Slightly different dark background */
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.08); /* Lighter semi-transparent background for form */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #017439; /* Brand color border */
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.05); /* Very subtle background */
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: #FFFFFF; /* White border on focus */
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.page-contact__faq-section {
  background-color: #1a1a2e;
}

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

.page-contact__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Card-like background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(1, 116, 57, 0.7); /* Primary color with transparency */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
  user-select: none; /* Prevent text selection on click */
}

.page-contact__faq-question::-webkit-details-marker {
  display: none;
}

.page-contact__faq-qtext {
  flex-grow: 1;
  pointer-events: none; /* Allow click on summary, not just text */
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  pointer-events: none; /* Allow click on summary, not just text */
}

.page-contact__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1.05em;
  color: #e0e0e0;
  background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
}

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

.page-contact__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-contact__inline-link {
  color: #FFFF00; /* Yellow for internal links */
  text-decoration: underline;
}

.page-contact__inline-link:hover {
  color: #FFFFFF;
}

.page-contact__why-us-section {
  background-color: #0d0d1a;
}

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

.page-contact__feature-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white card */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-contact__feature-title {
  font-size: 1.6em;
  color: #017439; /* Brand color for titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__feature-text {
  font-size: 1em;
  color: #e0e0e0;
}

.page-contact__social-section {
  background-color: #1a1a2e;
}

.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;
  transition: transform 0.3s ease;
}

.page-contact__social-icon-link:hover {
  transform: translateY(-5px) scale(1.1);
}

.page-contact__social-icon {
  width: 64px; /* Display size, but min-width rule applies */
  height: 64px;
  min-width: 200px; /* Enforce min size for images */
  min-height: 200px;
  width: 200px; /* Display size */
  height: 200px;
  object-fit: contain;
}

.page-contact__global-support-section {
  background-color: #0d0d1a;
}

.page-contact__location-section {
  background-color: #1a1a2e;
}

.page-contact__address-block {
  text-align: center;
  margin-top: 40px;
}

.page-contact__address-text {
  font-size: 1.1em;
  color: #ffffff;
  margin-bottom: 25px;
}

.page-contact__map-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min size for images */
  min-height: 200px;
  width: 800px; /* Display size */
  height: 600px;
  object-fit: cover;
}

.page-contact__final-cta-section {
  background-color: #017439; /* Primary brand color for final CTA */
  text-align: center;
}

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

/* --- Button Styles --- */
.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__btn-register,
.page-contact__btn-login {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-contact__btn-secondary:hover {
  background: #f0f0f0;
  color: #005a2e;
  border-color: #005a2e;
}

.page-contact__btn-register {
  background: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-contact__btn-register:hover {
  background: #a00606;
  border-color: #a00606;
}

.page-contact__btn-login {
  background: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-contact__btn-login:hover {
  background: #a00606;
  border-color: #a00606;
}

/* --- 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__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    padding-bottom: 40px;
  }
  .page-contact__hero-title {
    font-size: 2.5em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact__btn-register,
  .page-contact__btn-login {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-contact__channels-grid,
  .page-contact__features-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__why-us-section,
  .page-contact__social-section,
  .page-contact__global-support-section,
  .page-contact__location-section,
  .page-contact__final-cta-section {
    padding: 40px 0;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-description {
    font-size: 0.95em;
  }
  .page-contact__channel-card,
  .page-contact__feature-card {
    padding: 25px;
  }
  .page-contact__channel-icon,
  .page-contact__social-icon,
  .page-contact__map-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Ensure min size on mobile as well */
    min-height: 200px !important;
  }
  .page-contact__contact-form {
    padding: 25px;
  }
  .page-contact__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-contact__faq-answer {
    font-size: 1em;
    padding: 10px 20px 15px 20px;
  }
  .page-contact__social-links {
    gap: 15px;
  }
  .page-contact__cta-buttons-final {
    flex-direction: column;
    gap: 15px;
  }
  /* Ensure all content containers are responsive */
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__form-section .page-contact__contact-form,
  .page-contact__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 2em;
  }
  .page-contact__section-title {
    font-size: 1.6em;
  }
  .page-contact__channel-title {
    font-size: 1.5em;
  }
  .page-contact__feature-title {
    font-size: 1.4em;
  }
}