.page-contact__hero-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-contact__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.page-contact__hero-description {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-contact__section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
  color: #017439;
}

.page-contact__section-intro {
  font-size: 1.1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.6;
  color: #333333;
}

/* Dark background section styling */
.page-contact__dark-bg {
  background: #1a1a2e; /* Body background color */
  color: #ffffff; /* Light text for dark background */
  padding: 80px 0;
}

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

.page-contact__dark-bg .page-contact__section-intro {
  color: #f0f0f0;
}

.page-contact__channels-section {
  padding: 80px 0;
}

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

.page-contact__channel-card {
  background: #ffffff; /* Light background for cards */
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__channel-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-contact__light-bg {
  background: #ffffff; /* Explicit light background */
  color: #333333; /* Dark text for light background */
}

.page-contact__channel-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px; /* Added border-radius for consistency */
}

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

.page-contact__channel-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #555555;
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  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__form-section {
  padding: 80px 0;
  background: #f8f8f8;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  color: #333333;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-contact__submit-button {
  width: auto;
  padding-left: 40px;
  padding-right: 40px;
  font-size: 1.1rem;
}

.page-contact__faq-section {
  padding: 80px 0;
}

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

.page-contact__faq-item {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease;
}

.page-contact__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-contact__faq-title {
  font-size: 1.25rem;
  color: #ffffff;
  margin: 0;
  flex-grow: 1;
}

.page-contact__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ffffff;
  margin-left: 20px;
  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: #f0f0f0;
  line-height: 1.6;
}

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

.page-contact__faq-answer p {
  margin: 0;
  padding-top: 10px; /* Adjust padding for paragraph inside answer */
}

.page-contact__social-section {
  padding: 80px 0;
  background: #f8f8f8;
}

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

.page-contact__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #017439;
  color: #ffffff;
  font-size: 1.5rem;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-contact__social-link img {
  
  
  object-fit: contain;
  border-radius: 0; /* Social icons don't need round border-radius for the image itself */
}

.page-contact__social-link:hover {
  transform: translateY(-5px);
  background: #005a2e;
}

/* General image responsiveness */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 3rem;
  }
  .page-contact__section-title {
    font-size: 2rem;
  }
  .page-contact__channel-title {
    font-size: 1.5rem;
  }
  .page-contact__channel-icon {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    min-height: 400px;
    padding: 60px 0;
  }
  .page-contact__hero-title {
    font-size: 2.2rem;
  }
  .page-contact__hero-description {
    font-size: 1rem;
  }
  .page-contact__section-title {
    font-size: 1.8rem;
  }
  .page-contact__section-intro {
    font-size: 0.95rem;
  }
  .page-contact__channels-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__channel-card {
    padding: 25px;
  }
  .page-contact__channel-icon {
    width: 100px;
    height: 100px;
  }
  .page-contact__faq-question,
  .page-contact__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__faq-title {
    font-size: 1.1rem;
  }
  .page-contact__faq-toggle {
    font-size: 1.5rem;
  }

  /* Mobile specific overrides with !important */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-contact__channels-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__social-section,
  .page-contact__container,
  .page-contact__contact-form,
  .page-contact__channels-grid,
  .page-contact__faq-list,
  .page-contact__social-links {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .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 !important;
    padding-right: 15px !important;
  }

  .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__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8rem;
  }
  .page-contact__section-title {
    font-size: 1.5rem;
  }
  .page-contact__channel-title {
    font-size: 1.3rem;
  }
  .page-contact__social-links {
    gap: 15px;
  }
  .page-contact__social-link {
    width: 50px;
    height: 50px;
  }
  .page-contact__social-link img {
    
    
  }
}