/* ==========================================================================
   Front Page Specific Styles
   ========================================================================== */

/* Hero Section Enhancements */
.landing-hero {
  position: fixed;
  top: 5.875rem;
  left: 0;
  width: 100%;
  height: 46.625rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: auto;
  margin-bottom: auto;
  padding-top: 1.875rem;
  padding-bottom: 1.875rem;
  z-index: 1;

  @media (max-width: 910px) {
    height: 36.875rem;
  }

  @media (max-width: 480px) {
    height: 23.125rem;
  }
}

.hero-content {
  text-align: center;
  padding: 2rem 0;
  position: relative;
  z-index: 99;
  margin: 0 auto;
  @media (max-width: 480px) {
    padding: 0rem;
  }
}

.hero-copy h1 {
  font-family: var(--font-primary);
  font-size: 4.25rem;
  margin-bottom: 1.125rem;

  color: var(--bs-white);
  font-weight: 700;
  /* text-shadow: 0 0.25rem 0.625rem #214355; */
  span {
    padding: 0.625rem 1rem;
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    line-height: 1;
    position: relative;
    &::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: 0.313rem solid var(--bs-secondary);
      @media (max-width: 480px) {
        border: 0.25rem solid var(--bs-secondary);
      }
    }
  }
  i {
    font-style: normal;
    color: var(--bs-secondary);
  }
  @media (max-width: 1024px) {
    font-size: 4.25rem;
  }
  @media (max-width: 480px) {
    font-size: 1.875rem;
  }
}

.hero-copy h2 {
  font-family: var(--font-primary);
  font-size: 1.875rem;
  margin-bottom: 2rem;
  color: var(--bs-white);
  @media (max-width: 1024px) {
    font-size: 1.5rem;
  }
  @media (max-width: 480px) {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
  }
}

.sub-hero-links ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  @media (max-width: 480px) {
    padding: 0 1rem;
    a {
      font-size: 0.75rem;
    }
  }
}

.hero-learn-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 99;
  flex-grow: 1;
  text-align: center;
  margin-top: 3.125rem;
  @media (max-width: 480px) {
    margin-top: 1.5rem;
  }
}

.slogan-section {
  margin-top: auto;

  position: relative;
  z-index: 99;
  text-align: center;
  h3 {
    font-size: 3.125rem;
    margin-bottom: 0;

    color: var(--bs-white);
    @media (max-width: 1024px) {
      font-size: 2.125rem;
    }
    @media (max-width: 480px) {
      font-size: 1.125rem;
    }
  }
}

.hero-learn-more-content {
  .scroll-down:hover {
    img {
      transform: rotate(90deg);
      transition: var(--bs-transition-slow);
    }
    & + .hero-learn-more-title {
      visibility: visible;
      opacity: 1;
    }
  }
  .hero-learn-more-title {
    visibility: hidden;
    opacity: 0;
    transition: var(--bs-transition-slow);
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--bs-white);
    margin-top: 1rem;

    @media (max-width: 480px) {
      font-size: 1.25rem;
      margin-bottom: 1.25rem;
    }
  }
}
.scroll-down {
  display: inline-block;
  animation: bounce 2s infinite;
  img {
    width: 2.75rem;
    height: 2.75rem;
    @media (max-width: 480px) {
      width: 2.25rem;
      height: 2.25rem;
    }
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-0.625rem);
  }
  60% {
    transform: translateY(-0.3125rem);
  }
}

.landing-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
  background-color: var(--bs-dark);
}

.landing-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}
.video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  object-position: bottom center;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
/* Call Outs Section */
.landing-call-outs {
  padding: 4rem 0;
  background: transparent;
  .btn {
    padding: 0.75rem 3.125rem;
  }
}

.call-outs-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
  gap: 2rem;
  margin-top: -15.875rem;
  @media (max-width: 1024px) {
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    margin-top: -11.875rem;
  }
  @media (max-width: 768px) {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.call-outs {
  padding: 2.75rem 3.5rem;
  border-radius: 1.25rem;
  -webkit-backdrop-filter: blur(3.125rem);
  backdrop-filter: blur(3.125rem);
  background-color: var(--bs-white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  @media (max-width: 768px) {
    padding: 2rem 1.5rem;
  }
  @media (max-width: 480px) {
    padding: 1.5rem 1rem;
  }
  &:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
  }
  h3 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--bs-tertiary);
    margin-bottom: 2rem;

    @media (max-width: 768px) {
      font-size: 1.5rem;
      margin-bottom: 1.5rem;
    }
    @media (max-width: 480px) {
      font-size: 1.25rem;
      margin-bottom: 1rem;
    }
  }
  ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  li {
    display: flex;
    align-items: first baseline;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--bs-body-color);
    @media (max-width: 768px) {
      font-size: 1.125rem;
    }
    @media (max-width: 480px) {
      font-size: 1rem;
    }
    &:not(:last-child) {
      margin-bottom: 2rem;
      @media (max-width: 768px) {
        margin-bottom: 1.5rem;
      }
      @media (max-width: 480px) {
        margin-bottom: 1rem;
      }
    }
    p {
      margin-bottom: 0;
    }
  }
}

.co-icon {
  margin-right: 1rem;
  flex-shrink: 0;
  transform: translateY(-0.375rem);
  @media (max-width: 480px) {
    margin-right: 0.75rem;
  }
  img {
    width: 2rem;
    height: 2rem;
    @media (max-width: 480px) {
      width: 1.5rem;
      height: 1.5rem;
    }
  }
}

.main-section {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  position: relative;
  z-index: 9;
  margin-top: 46.625rem;
  .container {
    max-width: 67.5rem;
  }
  @media (max-width: 910px) {
    margin-top: 36.875rem;
  }

  @media (max-width: 480px) {
    margin-top: 23.125rem;
  }
  .section-content {
    padding: 4.5rem 0;
    padding-bottom: 15.875rem;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.44;
    text-align: center;
    @media (max-width: 768px) {
      padding: 3rem 0;
      padding-bottom: 10rem;
    }
    @media (max-width: 480px) {
      padding: 3rem 0;
      padding-bottom: 10rem;
    }
    h3 {
      font-size: 3.125rem;
      font-weight: 700;
      text-align: center;

      @media (max-width: 768px) {
        font-size: 2rem;
      }
    }
  }
}

.counter-section {
  padding-top: 4.375rem;
  padding-bottom: 6.25rem;
  background-color: var(--bs-tertiary);
  @media (max-width: 768px) {
    padding-top: 3rem;
    padding-bottom: 4rem;
  }
}

.counter-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
  gap: 2rem;
  @media (max-width: 1024px) {
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  }
  @media (max-width: 768px) {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  h3 {
    font-size: 8.125rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--bs-white);
    @media (max-width: 768px) {
      font-size: 4rem;
    }
    span {
      color: var(--bs-tertiary);
    }
  }
  .counter-title {
    font-size: 2.125rem;
    font-weight: 500;
    color: var(--bs-tertiary);

    @media (max-width: 768px) {
      font-size: 1.5rem;
    }
  }
}

.services-section {
  h3 {
    font-size: 3.125rem;
    font-weight: 700;
    color: var(--bs-body-color);
    text-align: center;
    margin-bottom: 3.125rem;
    @media (max-width: 1024px) {
      font-size: 2.75rem;
    }
    @media (max-width: 768px) {
      font-size: 2.125rem;
      margin-bottom: 1.875rem;
    }
  }
  h4 {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--bs-body-color);
    text-align: center;
    margin-bottom: 3.125rem;
    @media (max-width: 1024px) {
      font-size: 2.125rem;
      margin-bottom: 1.875rem;
    }
    @media (max-width: 768px) {
      font-size: 1.5rem;
    }
  }
}

.services-section-content {
  padding-top: 2.5rem;
  text-align: center;
  font-size: 1.5rem;

  @media (max-width: 768px) {
    padding-top: 1.875rem;
    font-size: 1.125rem;
  }
}

.service-section-card-container {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  padding: 7.5rem 0;
  margin-top: 14.375rem;
  min-height: 38.125rem;
  @media (max-width: 768px) {
    min-height: 30.625rem;
    padding: 4rem 0;
    margin-top: 12rem;
  }
}

.service-card-listing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2rem;
  row-gap: 7.625rem;
  margin-top: calc(-10.875rem - 7.5rem);
  @media (max-width: 768px) {
    grid-template-columns: 1fr;
    row-gap: 2rem;
    margin-top: calc(-10rem - 4rem);
  }
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  -webkit-backdrop-filter: blur(3.125rem);
  backdrop-filter: blur(3.125rem);
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 1.25rem;
  gap: 1.875rem;
  padding: 1.625rem 1.25rem;
  font-size: 1.25rem;
  text-align: center;
  box-shadow: 0 0 0.9375rem -0.3125rem rgba(0, 0, 0, 0.05);
  @media (max-width: 768px) {
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
  @media (max-width: 480px) {
    padding: 1.5rem 1rem;
    gap: 1rem;
  }
  .title {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.38;
    text-align: center;
    color: var(--bs-tertiary);
    margin-bottom: 0;
    @media (max-width: 1024px) {
      font-size: 2rem;
    }
    @media (max-width: 768px) {
      font-size: 1.5rem;
    }
    @media (max-width: 480px) {
      font-size: 1.25rem;
    }
  }
  p {
    font-size: 1.25rem;
    font-weight: normal;
    line-height: 1.52;
    text-align: center;
    color: var(--bs-body-color);
    margin-bottom: 0;
    @media (max-width: 768px) {
      font-size: 1rem;
    }
    @media (max-width: 480px) {
      font-size: 0.9rem;
    }
  }
  ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    justify-content: space-between;
    flex-grow: 1;
  }
}

.service-card-listing > *:nth-child(3) {
  grid-column: span 2;
  @media (max-width: 768px) {
    grid-column: span 1;
  }
  &.service-item {
    border-radius: 1.25rem;
    background-blend-mode: multiply;
    background-color: rgba(49, 56, 62, 0.6);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;

    .title {
      color: var(--bs-white);
      font-size: 3.125rem;
      @media (max-width: 1024px) {
        font-size: 2.75rem;
      }
      @media (max-width: 768px) {
        font-size: 1.875rem;
      }
    }
    p {
      color: var(--bs-white);
    }
  }
}

.no-icon {
  font-size: 1.5rem;
  line-height: 1;
  font-weight: normal;
  text-align: center;
  color: var(--bs-body-color);
  padding: 1.25rem;
  border-radius: 2rem;
  background: var(--bs-white);
  border: 0.125rem solid var(--bs-secondary);
  align-items: center;
  justify-content: center;
  &:not(:last-child) {
    margin-bottom: 0.75rem !important;
  }
}

.download-section {
  padding: 3.125rem 0;
}

.download-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  @media (max-width: 480px) {
    flex-direction: column;
    a {
      width: 100%;
    }
  }
}

.structured-about-copy {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  padding: 7.5rem 0;
  min-height: 38.125rem;
  display: flex;
  align-items: center;
  justify-content: baseline;
  @media (max-width: 768px) {
    min-height: 30.625rem;
  }
  .structured-copy {
    border-radius: 1.25rem;
    gap: 1.875rem;
    padding: 1.625rem 1.25rem;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    font-weight: 700;
    text-align: center;
    background-blend-mode: multiply;
    background-color: rgba(49, 56, 62, 0.6);
    color: var(--bs-white);
    font-size: 3.125rem;
    @media (max-width: 1024px) {
      font-size: 2.75rem;
    }
    @media (max-width: 768px) {
      font-size: 1.875rem;
    }
  }
}

.help-section {
  padding: 3.125rem 0;
}

.help-section-card {
  border-radius: 1.5rem;
  -webkit-backdrop-filter: blur(0.9375rem);
  backdrop-filter: blur(0.9375rem);
  box-shadow: 0 0 4.375rem 0 rgba(var(--bs-body-color-rgb), 0.05),
    inset 0 0 6.1875rem 0 #fff;
  background-color: var(--bs-white);
  padding: 3.125rem;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: left;
  @media (max-width: 1024px) {
    padding: 3.125rem 2rem;
  }
  @media (max-width: 768px) {
    padding: 1.25rem;
    text-align: center;
  }
  h2,
  h3,
  h4 {
    font-size: 2.125rem;
    font-weight: 700;
    color: var(--bs-tertiary);
    margin-bottom: 2rem;
    @media (max-width: 768px) {
      margin-bottom: 0.5rem;
    }
  }
  ul {
    list-style: none;
    font-weight: 400;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    @media (max-width: 768px) {
      font-size: 1.125rem;
      gap: 0.5rem;
    }
    li {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      @media (max-width: 768px) {
        gap: 0.5rem;
      }
      &::before {
        content: "";
        flex: 0 0 auto;
        width: 1.5rem;
        height: 1.5rem;
        background-image: url("../_svg/icons/tick.svg");
        background-size: contain;
        background-repeat: no-repeat;
        margin-top: 6px;
        @media (max-width: 768px) {
          margin-top: 2px;
        }
      }
    }
  }
}

/* Additional Responsive Design */
@media (min-width: 1400px) {
  .call-outs-container {
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
  }
  .counter-container {
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
  }
}
