.page-contact {
  padding-top: var(--header-offset, 120px);
  background-color: #1a1a1a;
  color: #ffffff;
  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;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 600px;
  overflow: hidden;
  color: #ffffff;
  padding: 20px;
  box-sizing: border-box;
}

.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);
  z-index: 2;
}

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

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

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

.page-contact__hero-cta {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.page-contact__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #017439;
  position: relative;
  padding-bottom: 10px;
}

.page-contact__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #017439;
}

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

.page-contact__introduction-section,
.page-contact__info-section,
.page-contact__form-section,
.page-contact__location-hours-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-contact__dark-bg .page-contact__section-title {
  color: #FFFFFF;
}

.page-contact__dark-bg .page-contact__section-title::after {
  background-color: #FFFFFF;
}

.page-contact__dark-bg .page-contact__section-description {
  color: #e0e0e0;
}

.page-contact__contact-channels {
  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.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-contact__channel-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-contact__channel-text {
  color: #cccccc;
  margin-bottom: 20px;
}

.page-contact__channel-detail {
  font-size: 1.1em;
  font-weight: bold;
  color: #FFFFFF;
  margin-top: 15px;
}

.page-contact__channel-detail a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact__channel-detail a:hover {
  color: #017439;
}

.page-contact__channel-button {
  display: inline-block;
  padding: 10px 25px;
  font-size: 1em;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

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

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

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

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

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #017439;
  outline: none;
}

.page-contact__form-submit {
  display: block;
  width: 100%;
  padding: 15px;
  font-size: 1.1em;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-contact__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  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 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #FFFFFF;
  cursor: pointer;
  background-color: #017439;
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: #015f2e;
}

.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;
  color: #cccccc;
  background-color: rgba(255, 255, 255, 0.05);
}

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

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

.page-contact__faq-answer a {
  color: #017439;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact__faq-answer a:hover {
  text-decoration: underline;
}

.page-contact__location-details {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
  align-items: flex-start;
}

.page-contact__address-block {
  flex: 1;
  min-width: 300px;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__map-container {
  flex: 2;
  min-width: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__map-image {
  width: 100%;
  height: auto;
  display: block;
}

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

.page-contact__text {
  color: #cccccc;
  margin-bottom: 15px;
}

.page-contact__address {
  font-style: normal;
  color: #FFFFFF;
  font-weight: bold;
}

.page-contact__hours-block {
  flex-basis: 100%;
  margin-top: 40px;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__hours-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-contact__hours-item {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 10px;
}

.page-contact__hours-item strong {
  color: #017439;
}

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

.page-contact__social-icon {
  display: inline-flex;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.page-contact__social-icon:hover {
  transform: scale(1.1);
}

.page-contact__social-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Common button styles */
.page-contact__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

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

.page-contact a {
  color: #017439;
  text-decoration: none;
}

.page-contact a:hover {
  text-decoration: underline;
}

/* Custom colors for register/login if applicable, but contact page doesn't have them */
/* .page-contact__btn-register { background-color: #C30808; color: #FFFF00; } */
/* .page-contact__btn-login { background-color: #C30808; color: #FFFF00; } */

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 3em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__contact-channels {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-contact__location-details {
    flex-direction: column;
    align-items: center;
  }
  .page-contact__address-block,
  .page-contact__map-container {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    height: 450px;
  }
  .page-contact__hero-title {
    font-size: 2.2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__introduction-section,
  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__location-hours-section,
  .page-contact__social-section {
    padding: 50px 0;
  }
  .page-contact__container {
    padding: 0 15px;
  }
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__hero-section,
  .page-contact__introduction-section,
  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__location-hours-section,
  .page-contact__social-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__hero-cta,
  .page-contact__channel-button,
  .page-contact__form-submit,
  .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__contact-channels,
  .page-contact__social-links {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__social-icon {
    width: 50px;
    height: 50px;
  }
  .page-contact__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-contact__faq-answer {
    padding: 15px 20px;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    font-size: 0.9em;
  }
  .page-contact__hours-item {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__section-title {
    font-size: 1.5em;
  }
  .page-contact__hero-section {
    height: 350px;
  }
}