.page-contact {
  font-family: 'Arial', sans-serif;
  color: #333333;
  background: #FFFFFF;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

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

.page-contact__section {
  padding: 60px 0;
}

.page-contact__section:nth-of-type(odd) {
  background: #f9f9f9;
}

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

.page-contact__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  overflow: hidden;
  color: #ffffff;
}

.page-contact__hero-container {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.page-contact__hero-image img {
  width: 100%;
  height: auto;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  display: block;
  object-fit: cover;
}

.page-contact__hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  text-align: center;
  background: rgba(0, 0, 0, 0.5); /* Overlay for text readability */
  padding: 20px;
  box-sizing: border-box;
}

.page-contact__main-heading {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.page-contact__intro-text {
  font-size: 20px;
  max-width: 900px;
  margin-bottom: 40px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__cta-button--primary {
  background: #017439;
  color: #ffffff;
}

.page-contact__cta-button--primary:hover {
  background: #005f2f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-contact__cta-button--secondary {
  background: #C30808;
  color: #FFFF00;
}

.page-contact__cta-button--secondary:hover {
  background: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-contact__channel-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

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

.page-contact__channel-icon {
  width: 100%;
  max-width: 250px; /* Adjust max-width for card images */
  height: auto;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

.page-contact__channel-title {
  font-size: 24px;
  color: #017439;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-contact__channel-description {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact__email-address, .page-contact__phone-number {
    font-size: 17px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 15px;
}

.page-contact__email-address a, .page-contact__phone-number a {
    color: #017439;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-contact__email-address a:hover, .page-contact__phone-number a:hover {
    color: #005f2f;
    text-decoration: underline;
}

.page-contact__social-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.page-contact__social-list li {
    margin-bottom: 8px;
}

.page-contact__social-list a {
    color: #017439;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-contact__social-list a:hover {
    color: #005f2f;
    text-decoration: underline;
}

.page-contact__btn-primary {
  background: #017439;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  margin-top: auto; /* Push button to bottom */
}

.page-contact__btn-primary:hover {
  background: #005f2f;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Why Contact Section */
.page-contact__why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-contact__why-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__why-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-contact__why-title {
  font-size: 22px;
  color: #017439;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-contact__why-item p {
  font-size: 16px;
  color: #555555;
}

/* Common Issues Section */
.page-contact__issues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-contact__issue-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__issue-title {
  font-size: 22px;
  color: #017439;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-contact__issue-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-contact__issue-card li {
  font-size: 16px;
  color: #555555;
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.page-contact__issue-card li::before {
  content: '•';
  color: #017439;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Effective Contact Section */
.page-contact__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-contact__guide-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__guide-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-contact__guide-image {
  width: 100%;
  max-width: 350px; /* Adjust max-width for card images */
  height: auto;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

.page-contact__guide-title {
  font-size: 24px;
  color: #017439;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-contact__guide-item p {
  font-size: 16px;
  color: #555555;
}

/* FAQ Section */
.page-contact__faq-list {
  margin-top: 40px;
}

.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-contact__faq-item.active .page-contact__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: #017439;
}

.page-contact__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-contact__faq-question:active {
  background: #eeeeee;
}

.page-contact__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #333333;
}

.page-contact__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  color: #017439;
  transform: rotate(45deg);
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  background: #fdfdfd;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
}

.page-contact__faq-answer p {
  margin: 0;
  font-size: 16px;
  color: #555555;
}

/* Commitment Section */
.page-contact__section--commitment {
  background: #017439;
  color: #ffffff;
}

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

.page-contact__section--commitment .page-contact__section-description {
  color: #f0f0f0;
}

.page-contact__commitment-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-contact__commitment-list li {
  font-size: 18px;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  color: #ffffff;
}

.page-contact__list-icon {
  font-size: 24px;
  margin-right: 15px;
  color: #FFFF00; /* Highlight icon */
  font-weight: bold;
  line-height: 1;
}

/* General Image Styles (for content area) */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__main-heading {
    font-size: 40px;
  }
  .page-contact__intro-text {
    font-size: 18px;
  }
  .page-contact__section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-contact {
    padding-top: var(--header-offset, 120px) !important;
    font-size: 16px;
    line-height: 1.6;
  }

  .page-contact__hero-section {
    padding: 0;
  }

  .page-contact__hero-content {
    padding: 15px;
  }

  .page-contact__main-heading {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-contact__intro-text {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-contact__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-contact__section {
    padding: 40px 0;
  }

  .page-contact__section-title {
    font-size: 28px;
  }

  .page-contact__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-contact__channels-grid,
  .page-contact__why-grid,
  .page-contact__issues-grid,
  .page-contact__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact__channel-card,
  .page-contact__why-item,
  .page-contact__issue-card,
  .page-contact__guide-item {
    padding: 25px;
  }

  .page-contact__channel-icon,
  .page-contact__guide-image {
    max-width: 200px; /* Smaller for mobile cards */
    min-width: 150px;
    min-height: 150px;
  }

  .page-contact__channel-title,
  .page-contact__why-title,
  .page-contact__issue-title,
  .page-contact__guide-title {
    font-size: 20px;
  }

  .page-contact__faq-question {
    padding: 15px;
  }

  .page-contact__faq-question h3 {
    font-size: 15px;
  }

  .page-contact__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-contact__faq-answer {
    padding: 0 15px;
  }

  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 15px !important;
  }
  
  .page-contact__commitment-list {
    margin: 30px auto;
  }

  .page-contact__commitment-list li {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .page-contact__list-icon {
    font-size: 20px;
    margin-right: 10px;
  }

  /* General mobile image and container rules */
  .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-container,
  .page-contact__channels-grid,
  .page-contact__why-grid,
  .page-contact__issues-grid,
  .page-contact__guide-steps,
  .page-contact__faq-list,
  .page-contact__commitment-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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;
  }
}

@media (max-width: 480px) {
  .page-contact__main-heading {
    font-size: 28px;
  }
  .page-contact__intro-text {
    font-size: 15px;
  }
  .page-contact__section-title {
    font-size: 24px;
  }
  .page-contact__cta-button {
    padding: 10px 20px;
    font-size: 15px;
  }
}