section#top {
  overflow: hidden;
}

body,
p {
  font-size: 18px;
}

section#top,
section#top .col-md-12 {
  padding-left: 0;
  padding-right: 0;
}

.home-hero-content h2 {
  color: var(--navy);
  font-size: 40px;
  line-height: 1.2;
  text-align: left;
  font-weight: 500;
}

h1 strong {
  display: inline-block;
}

.home-hero-content p {
  line-height: 1.2;
  text-align: left;
}

.header-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
}

.home-hero-content {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 100px;
  right: 65%;
  padding-left: 50px;
  padding-right: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.staistics-container:after {
  padding: 0;
  margin: 0;
  display: block;
  content: "";
  width: calc(100% + 10px);
  height: calc(100% - 95px);
  border: 5px solid var(--navy);
  border-top: 0px;
  border-radius: 0px 0px 30px 30px;
  position: absolute;
  right: -5px;
  bottom: -5px;
  z-index: -1;
}

section#top img {
  max-height: 600px;
  object-fit: cover;
}

section#top .row {
  position: relative;
  overflow: hidden;
}
img.img-fluid.hero-img {
  max-height: 500px;
  object-fit: cover;
}

.home-hero-content p {
  font-size: 22px;
}

.statistic_type {
  color: var(--navy);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 25px;
}

.statistic {
  text-transform: uppercase;
  color: var(--purple);
  font-size: 35px;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
}
.statistic span {
  font-size: 25px;
  padding: 5px;
}

.statistics-slide {
  text-align: center;
  padding: 0px 50px 25px;
}
.staistics-container {
  margin-top: -100px;
  background: var(--cream);
  z-index: 2;
  padding: 25px 50px;
  position: relative;
  border-radius: 30px;
}

.stats-nav {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  top: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 50px;
}

.stats-nav .icon svg {
  fill: var(--purple);
}

.stats-glider-prev.stats-nav {
  left: 20px;
}

.stats-glider-next.stats-nav {
  right: 20px;
}

@media only screen and (max-width: 1450px) {
  .home-hero-content h2 {
    color: var(--navy);
    font-size: 40px;
    line-height: 1.2;
    text-align: left;
    font-weight: 500;
  }

  .home-hero-content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 100px;
    right: 60%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .home-hero-content p {
    font-size: 22px;
  }
}

@media only screen and (max-width: 1200px) {
  .home-hero-content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 100px;
    right: 50%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .home-hero-content h2 {
    color: var(--navy);
    font-size: 34px;
    line-height: 1.2;
    text-align: left;
    font-weight: 500;
  }
  .home-hero-content p {
    font-size: 20px;
  }
}

@media only screen and (max-width: 1550px) {
  .home-hero-content h1 {
    color: var(--navy);
    font-size: 35px;
    line-height: 1.2;
    text-align: left;
    font-weight: 500;
  }

  .home-hero-content p {
    font-size: 20px;
  }
}

@media only screen and (max-width: 1450px) {
  section#top {
    margin-top: -1rem;
  }
}

@media only screen and (max-width: 1350px) {
  .home-hero-content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 100px;
    right: 55%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media only screen and (max-width: 1200px) {
  .home-hero-content h1 {
    color: var(--navy);
    font-size: 30px;
    line-height: 1.2;
    text-align: left;
    font-weight: 500;
  }

  .home-hero-content p {
    font-size: 18px;
  }
}

@media only screen and (max-width: 1100px) {
  .home-hero-content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 100px;
    right: 50%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 10%;
  }
}
@media only screen and (max-width: 1000px) {
  .home-hero-content {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    right: auto;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--cream);
    text-align: center;
    border-radius: 30px;
    max-width: 800px;
    width: 95%;
    margin: -50px auto 0;
    /* margin: auto; */
    text-align: center !important;
  }

  .home-hero-content h1,
  .home-hero-content p {
    text-align: center;
  }
  section#top .row {
    position: relative;
    overflow: inherit;
  }
  .header-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    display: none;
  }
  .header-overlay img {
    display: none;
  }
  .home-hero-content h2 {
    text-align: center;
  }

  .staistics-container {
    margin-top: 0px;
  }

  .staistics-container:after {
    display: none;
  }

  .home-hero-content:after {
    padding: 0;
    margin: 15px;
    display: block;
    content: "";
    width: calc(100% + 10px);
    height: calc(100% - 50px);
    border: 5px solid var(--navy);
    border-top: 0px;
    border-radius: 0px 0px 30px 30px;
    position: absolute;
    right: -20px;
    bottom: -15px;
    z-index: 0;
  }
}

@media only screen and (max-width: 1000px) {
  .statistic {
    text-transform: uppercase;
    color: var(--navy);
    font-size: 45px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .statistic_type {
    color: var(--navy);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 25px;
    line-height: 1.2;
  }

  #stats-slider {
    margin-top: 60px;
  }
}
@media (max-width: 500px) {
  .home-hero-content h2 {
    font-size: 25px;
  }
}
