.page-contact {
  color: #ffffff; /* Body background is dark (#0d0d0d), so text should be light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #0d0d0d; /* Ensure consistency with shared body background */
}

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

.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: var(--header-offset, 120px) 20px 60px; /* Apply header offset */
  text-align: center;
  overflow: hidden;
  background-color: rgba(1, 116, 57, 0.8); /* Primary brand color with opacity */
}

.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: 1;
  max-width: 800px;
}

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

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

.page-contact__hero-button {
  display: inline-block;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__hero-button:hover {
  background-color: #a00606;
}

.page-contact__info-section {
  padding: 80px 0;
  background-color: #0d0d0d;
  text-align: center;
}

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

.page-contact__info-text {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__info-card {
  background-color: rgba(1, 116, 57, 0.2); /* Semi-transparent brand color */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  border: 1px solid rgba(1, 116, 57, 0.5);
}

.page-contact__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439;
}

.page-contact__card-text {
  font-size: 1em;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-contact__card-detail {
  font-size: 1em;
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-contact__email-link, .page-contact__phone-link {
  color: #FFFF00; /* Yellow for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact__email-link:hover, .page-contact__phone-link:hover {
  color: #f0f0f0;
}

.page-contact__card-button {
  display: inline-block;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__card-button:hover {
  background-color: #a00606;
}

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

.page-contact__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #017439;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.page-contact__social-icon:hover {
  background-color: #005a2e;
}

.page-contact__info-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  object-fit: cover;
}

.page-contact__form-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-contact__form-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #017439;
  position: relative;
  z-index: 1;
}

.page-contact__form-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.page-contact__contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(1, 116, 57, 0.3); /* Semi-transparent brand color */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  text-align: left;
}

.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 rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.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-textarea {
  resize: vertical;
}

.page-contact__form-submit-btn {
  display: block;
  width: 100%;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  padding: 15px 25px;
  border-radius: 5px;
  border: none;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  text-align: center;
}

.page-contact__form-submit-btn:hover {
  background-color: #a00606;
}

.page-contact__faq-section {
  padding: 80px 0;
  background-color: #0d0d0d;
  text-align: center;
}

.page-contact__faq-main-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #017439;
}

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

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

.page-contact__faq-item {
  background-color: rgba(1, 116, 57, 0.2); /* Semi-transparent brand color */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(1, 116, 57, 0.5);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #017439; /* Primary brand color */
  color: #ffffff;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-contact__faq-question-title {
  margin: 0;
  font-size: 1.2em;
  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-toggle {
  transform: rotate(45deg); /* Plus sign rotates to form an 'x' or close icon */
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  text-align: left;
}

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

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

.page-contact__faq-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  object-fit: cover;
}

.page-contact__global-reach-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  text-align: center;
}

.page-contact__global-reach-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #017439;
}

.page-contact__global-reach-description {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

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

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: var(--header-offset, 120px) 15px 40px; /* Adjust padding for mobile */
  }

  .page-contact__hero-title {
    font-size: 2.5em;
  }

  .page-contact__hero-description {
    font-size: 1em;
  }

  .page-contact__info-title,
  .page-contact__form-title,
  .page-contact__faq-main-title,
  .page-contact__global-reach-title {
    font-size: 2em;
  }

  .page-contact__info-text,
  .page-contact__form-description,
  .page-contact__faq-intro-text,
  .page-contact__global-reach-description {
    font-size: 0.95em;
  }

  .page-contact__info-grid {
    grid-template-columns: 1fr;
  }

  .page-contact__hero-image,
  .page-contact__info-image,
  .page-contact__form-bg-image,
  .page-contact__faq-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-contact__hero-button,
  .page-contact__card-button,
  .page-contact__form-submit-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__container,
  .page-contact__hero-content,
  .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;
  }

  .page-contact__social-links {
    flex-wrap: wrap !important;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 2em;
  }

  .page-contact__info-title,
  .page-contact__form-title,
  .page-contact__faq-main-title,
  .page-contact__global-reach-title {
    font-size: 1.8em;
  }

  .page-contact__faq-question-title {
    font-size: 1.1em;
  }
}