/* Footer: brand, footer navigation, social links */

.community-copyright {
  font-size: 12px;
  font-weight: 300;
  color: var(--color-gray-200);
  padding-bottom: 20px;
  padding-top: 10px;
}

.contact-us-section {
  padding-top: 150px;
}

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

.contact-us-decorative-image {
  position: absolute;
  right: 130px;
  top: 35px;
  width: 20%;
  height: calc(100% + 15%);
  z-index: -10;
  object-fit: contain;
  /* Changed from 'cover' to 'contain' to show full image */
  object-position: right top;
  /* Align image to the right top */
}

/* Footer section */
.contact-us-footer {
  padding: 48px 180px 72px;
  background-color: rgba(0, 0, 0, 0.69);
}

.contact-us-footer-content {
  display: flex;
  justify-content: space-between;
}

.contact-us-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-us-logo {
  width: 327px;
  height: 72px;
  opacity: 0.97;
}

.contact-us-contact-info {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-style: normal;
}

.contact-us-email {
  margin-bottom: 10px;
}

.contact-us-footer-nav {
  margin-right: auto;
  margin-left: 100px;
}

.contact-us-nav-divider {
  width: 225px;
  height: 2px;
  margin-bottom: 20px;
  background-color: #555;
}

.contact-us-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
}

.contact-us-nav-link {
  color: var(--color-gray-200);
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 300;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-us-nav-link:hover,
.contact-us-nav-link:focus {
  color: #ffffff;
  text-decoration: underline;
}

.contact-us-social-section {
  text-align: right;
  padding-top: 100px;
}

.contact-us-social-heading {
  color: var(--color-gray-200);
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 300;
  margin-bottom: 20px;
  text-align: left;
  /* Changed from text-align: right */
}

.contact-us-social-icons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.contact-us-social-icon {
  display: block;
  text-decoration: none;
}

/* Language pills in the footer (base styles in header.css) */
.language-pills--footer {
  margin-top: 28px;
  align-items: flex-end;
}

.language-pills--footer .language-pills-label {
  color: var(--color-gray-200);
  font-weight: 300;
}

.language-pills--footer .language-pills-track {
  align-self: auto;
  border-color: rgba(255, 255, 255, 0.35);
  background-color: rgba(255, 255, 255, 0.08);
}

.language-pills--footer .language-pills-track a {
  color: var(--color-gray-200);
}

.language-pills--footer .language-pills-track a:hover {
  color: #fff;
}

.language-pills--footer .language-pills-track a[aria-current="page"] {
  background-color: #fff;
  color: var(--color-gray-900);
}

.language-pills--footer .language-pills-track a:focus-visible {
  outline-color: #fff;
}

/* Add this to your stylesheet */
.contact-email-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-email-link:hover {
  color: var(--color-blue);
  text-decoration: underline;
}

@media (max-width: 1257px) and (min-width: 1201px) {
  .contact-us-section {
    padding-top: 240px;
  }
}

@media (max-width: 1025px) {
  .contact-us-section {
    padding-top: 0px;
  }
}

@media (max-width: 991px) {
  .contact-us-section {
    width: unset;
  }

  .contact-us-footer {
    padding: 40px;
  }

  .contact-us-footer-content {
    flex-direction: column;
  }

  .contact-us-logo {
    width: 200px;
    height: auto;
  }

  .contact-us-nav-link {
    font-size: 10px;
  }

  .contact-us-social-icons {
    justify-content: center;
  }

  .language-pills--footer {
    align-items: center;
  }
}

@media (max-width: 480px) {
  .contact-us-decorative-image {
    right: 30px;
  }

  .contact-us-section {
    padding-top: 50px;
  }

  .contact-us-footer-content {
    gap: 0;
  }

  .contact-us-footer-nav {
    margin: unset;
    margin-top: 10px;
  }

  .contact-us-nav-links {
    display: none;
    flex-direction: row;
    gap: 50px;
  }

  .contact-us-social-section {
    padding-top: 40px;
  }

  .contact-us-social-heading {
    font-size: 12px;
  }
}

@media (max-width: 350px) {
  .contact-us-section {
    padding-top: 0px;
  }

  .contact-us-decorative-image {
    right: 12px;
  }
}
