/* Contact Us page */

.contact-page {
  background: var(--cream);
}

.contact-hero {
  margin: 16px;
  padding: 20px 16px 120px;
  border-radius: 24px;
  color: #fff;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    linear-gradient(180deg, rgb(108 122 63 / 71%) 70%, rgba(151, 150, 112, 0.5) 90%),
    url("../assets/contact-banner.jpg") center / cover no-repeat;
  animation: hero-in 0.9s var(--ease) both;
}

.contact-hero-inner {
  min-height: clamp(420px, 36vw, 720px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-page .nfb-head .hero-nav-list {
  background: var(--cream);
}

@media (max-width: 1199.98px) {
  .contact-page .sedna_head .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.7);
  }
}

.contact-hero-copy {
  margin: auto 0;
  padding: clamp(24px, 5vw, 60px) 0;
  text-align: center;
}

.contact-hero-title {
  margin: 0;
  font-family: "Lato", sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 5.2vw, 5.25rem);
  line-height: 1.4;
  color: var(--cream);
}

.contact-hero-subtitle {
  margin: 24px 0 0;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 2.125rem);
  line-height: 1.5;
  color: #fff;
}

.contact-main {
  padding: 0 24px 34px;
  position: relative;
  z-index: 2;
}

.contact-card {
  max-width: 1872px;
  margin: 0 auto;
  min-height: 492px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.contact-card-inner {
  position: relative;
  min-height: 492px;
  padding: 70px 50px;
  display: grid;
  grid-template-columns: minmax(0, 739px) minmax(0px, 530px);
  justify-content: space-between;
  align-items: start;
  gap: 48px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 709px;
}

.contact-address,
.contact-email {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 34px;
}

.contact-email {
  align-items: center;
}

.contact-icon-box {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(108, 122, 63, 0.2);
  border-radius: 4px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  color: #6c7a3f;
}

.contact-icon-box--location {
  font-size: 1.625rem;
  line-height: 1;
}

.contact-icon-box--location i {
  width: 26px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon-box--email {
  font-size: 2.25rem;
  line-height: 1;
}

.contact-info-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  max-width: 627px;
}

.contact-email-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  margin-top: -16px;
}

.contact-label {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #466270;
}

.contact-address-text {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 29px;
  color: #1a1c1e;
}

.contact-email-link {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 33px;
  line-height: 36px;
  letter-spacing: -0.75px;
  color: #1a1c1e;
  transition: color 0.2s ease;
}

.contact-email-link:hover {
  color: var(--olive);
}

.contact-map-wrap {
  width: 100%;
  max-width: 525px;
  height: 316px;
  margin-top: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

#sednaMap {
  width: 100%;
  height: 316px;
}

.contact-map-wrap .leaflet-container {
  font-family: "Inter", sans-serif;
}

@media (max-width: 1199.98px) {
  .contact-card-inner {
    grid-template-columns: 1fr;
    padding: 56px 48px 64px;
    min-height: auto;
  }

  .contact-card {
    min-height: auto;
  }

  .contact-details {
    max-width: none;
  }

  .contact-info-content {
    max-width: none;
  }

  .contact-address-text {
    font-size: clamp(1.1rem, 2.2vw, 28px);
    line-height: 1.35;
  }

  .contact-email-link {
    font-size: clamp(1.5rem, 3.5vw, 38px);
    line-height: 1.1;
  }

  .contact-map-wrap {
    max-width: none;
    margin-top: 0;
    height: 316px;
  }
}

@media (max-width: 991.98px) {
  .contact-hero {
    margin: 12px;
    padding-bottom: 96px;
  }

  .contact-hero-inner {
    min-height: auto;
  }

  .contact-main {
    /* margin-top: -64px; */
    padding: 0 12px 24px;
  }

  .contact-card-inner {
    padding: 40px 28px 48px;
  }
}

@media (max-width: 575.98px) {
  .contact-hero {
    margin: 8px;
    border-radius: 16px;
    padding: 14px 10px 72px;
  }

  .contact-card {
    border-radius: 16px;
  }

  .contact-card-inner {
    padding: 32px 20px 40px;
    gap: 36px;
  }

  .contact-details {
    gap: 36px;
  }

  .contact-address,
  .contact-email {
    gap: 20px;
  }

  .contact-email-content {
    margin-top: 0;
  }

  .contact-icon-box {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }
}
