.page-contact {
  color: #F2FFF6; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #08160F; /* Background color from custom palette */
}

.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden; /* Ensure no overflow issues */
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height of hero image */
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-top: 40px; /* Space between image and content */
  background-color: rgba(17, 39, 27, 0.9); /* Card B G with some transparency */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid #2E7A4E; /* Border color */
}

.page-contact__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-contact__hero-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-contact__btn-secondary {
  background: #11271B; /* Card B G */
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2AD16F;
}

.page-contact__btn-secondary:hover {
  background: #2E7A4E; /* Border color */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-contact__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-top: 60px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__section-description {
  font-size: 1.05rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__channels-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-contact__channel-card {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-contact__channel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-contact__channel-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-contact__card-title {
  font-size: 1.5rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__card-text {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__form-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

.page-contact__contact-form {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  padding: 40px;
  max-width: 700px;
  margin: 40px auto 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-contact__form-label {
  display: block;
  font-size: 1.1rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 8px;
  font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #2E7A4E;
  border-radius: 5px;
  background-color: rgba(17, 39, 27, 0.7); /* Slightly darker for input */
  color: #F2FFF6; /* Text Main */
  font-size: 1rem;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #A7D9B8; /* Text Secondary */
  opacity: 0.7;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: #2AD16F; /* Button primary color for focus */
  box-shadow: 0 0 0 3px rgba(42, 209, 111, 0.3);
}

.page-contact__form-textarea {
  resize: vertical;
  min-height: 120px;
}

.page-contact__contact-form .page-contact__btn-primary {
  width: auto;
  margin-top: 20px;
}

.page-contact__faq-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-contact__faq-item {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #F2FFF6; /* Text Main */
}

.page-contact__faq-item summary {
  list-style: none;
}

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

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  background-color: rgba(17, 39, 27, 0.8); /* Slightly lighter than card bg */
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: rgba(17, 39, 27, 1);
}

.page-contact__faq-item[open] .page-contact__faq-question {
  border-bottom-color: #2E7A4E;
}

.page-contact__faq-qtext {
  flex-grow: 1;
}

.page-contact__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F; /* Button primary color */
}

.page-contact__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  background-color: #11271B; /* Card B G */
}

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

.page-contact__faq-answer a {
  color: #2AD16F;
  text-decoration: underline;
}

.page-contact__faq-answer a:hover {
  color: #57E38D; /* Glow color */
}

.page-contact__location-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

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

.page-contact__address-info {
  flex: 1;
  min-width: 300px;
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__sub-title {
  font-size: 1.3rem;
  color: #F2FFF6; /* Text Main */
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-contact__address-info p {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 8px;
}

.page-contact__address-info p strong {
  color: #F2FFF6; /* Text Main */
}

.page-contact__map-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  height: 400px; /* Fixed height for map */
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-contact__cta-banner {
  padding: 60px 0;
  text-align: center;
  background-color: #0A4B2C; /* Deep Green */
}

.page-contact__cta-banner .page-contact__container.page-contact__card {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__cta-banner .page-contact__section-title {
  margin-top: 0;
  color: #F2FFF6; /* Text Main */
}

.page-contact__cta-banner .page-contact__section-description {
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-contact__cta-banner .page-contact__btn-primary {
  width: auto;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-contact__hero-content {
    margin-top: 30px;
    padding: 25px;
  }
  .page-contact__main-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }
  .page-contact__hero-description {
    font-size: 1rem;
  }
  .page-contact__section-title {
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-contact__hero-section {
    padding: 40px 15px;
    padding-top: 10px;
  }
  .page-contact__hero-content {
    margin-top: 20px;
    padding: 20px;
    max-width: 100%;
  }
  .page-contact__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-contact__hero-description {
    font-size: 0.95rem;
  }
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    padding: 12px 20px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-contact__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-contact__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-top: 40px;
    margin-bottom: 15px;
  }
  .page-contact__section-description {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }
  .page-contact__channels-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__location-section,
  .page-contact__cta-banner {
    padding: 50px 0;
  }
  .page-contact__channel-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-contact__channel-card {
    padding: 25px;
  }
  .page-contact__channel-icon {
    width: 120px;
    height: 120px;
  }
  .page-contact__card-title {
    font-size: 1.3rem;
  }
  .page-contact__contact-form {
    padding: 30px;
  }
  .page-contact__form-label {
    font-size: 1rem;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px 12px;
    font-size: 0.95rem;
  }
  .page-contact__faq-question {
    font-size: 1.1rem;
    padding: 18px 20px;
  }
  .page-contact__faq-answer {
    padding: 15px 20px;
    font-size: 0.9rem;
  }
  .page-contact__location-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-contact__address-info,
  .page-contact__map-wrapper {
    min-width: unset;
    width: 100%;
  }
  .page-contact__map-wrapper {
    height: 300px;
  }

  /* Image responsive styles */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__hero-image-wrapper,
  .page-contact__map-wrapper,
  .page-contact__channel-card {
    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: 10px !important;
  }
  .page-contact__contact-form {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-contact video,
.page-contact__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-contact__video-section,
.page-contact__video-container,
.page-contact__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

.page-contact a:hover {
  text-decoration: underline;
  color: #57E38D;
}

.page-contact__address-info a {
  color: #2AD16F;
}
.page-contact__address-info a:hover {
  color: #57E38D;
}

.page-contact__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-contact__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}