.hero-container{
  background: white;
  height: 666px;
  overflow: hidden;
}

.hero-container .container {
  max-width: 1140px;
}

.hero-container .pre-slider-container{
  margin-bottom: 32px;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 577px;
  grid-template-rows: 312px 1fr;
  grid-template-areas:
      "hero-title hero-slider"
      "hero-buttons hero-slider";
}

.hero-container .pre-slider-container .hero-title{
  grid-area: hero-title;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 32px;
}

.hero-container .pre-slider-container .hero-image {
  display: none;
}

.hero-container .pre-slider-container .hero-image img {
  max-width: 388px;
  border-radius: 15px;
}

.hero-container .pre-slider-container .hero-slider {
  grid-area: hero-slider;
  overflow: hidden;
  position: relative;
}

.hero-container .pre-slider-container .hero-slider-title{
  color: #071209;
  font-size: 60px;
  font-weight: 600;
  letter-spacing: -1.8px;
  margin-bottom: 0;
  line-height: 67px;
}

.hero-container .hero-buttons-features-wrapper {
  grid-area: hero-buttons;
}

.hero-container .hero-buttons-features-wrapper .hero-buttons {
  margin-bottom: 32px;
  display: flex;
  gap: 16px;
}

.hero-container .hero-buttons p.branded-banner-button a {
  display: inline-flex;
  color: #FFF;
  padding: 10px 18px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}

.hero-container .hero-features ul li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 8px;
  color: #071209BB;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.hero-container .hero-features ul li:last-of-type {
  margin-bottom: 0;
}

@media screen and (max-width: 1199px) {
  .hero-container .pre-slider-container .hero-slider-title {
    font-size: 45px;
    line-height: 52px;
  }
}

@media screen and (max-width: 998px) {
  .hero-container {
    height: auto;
    margin-top: 0;
    padding: 40px 0;
  }

  .hero-container .pre-slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: auto;
    max-width: 420px;
    margin: 0 auto;
  }

  .hero-buttons {
    justify-content: center;
  }
  
  .hero-container .hero-features ul {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    column-gap: 35px;
  }

  .hero-container .hero-features ul li {
    min-width: 170px;
  }

  .hero-container .pre-slider-container .hero-slider-title {
    font-size: 38px;
    line-height: 48px;
  }

  .hero-container .hero-slider {
    display: none;
  }

  .hero-container .pre-slider-container .hero-slider {
    display: none;
    visibility: hidden;
  }
}

@media all and (max-width:768px) {
  .hero-container{
    padding: 40px 0px;
  }

  .hero-container .pre-slider-container .hero-image {
    display: block;
    width: 100%;
  }

  .hero-container .pre-slider-container {
    grid-template-columns: 1fr;
    grid-template-areas:
    "hero-title"
    "hero-slider"
    "hero-buttons";
    text-align: center;
    margin-bottom: 0;
  }

  .hero-container .pre-slider-container .hero-slider-title{
    font-size: 32px;
    line-height: normal;
  }
  
  .hero-container .pre-slider-container .hero-slider {
    padding: 0 16px;
  } 

  .hero-container .hero-buttons-features-wrapper {
    padding: 32px 16px 0 16px;
    width: 100%;
  }

  .hero-container .hero-features ul {
    display: block;
    max-width: 205px;
    margin: 0 auto;
  }

  .hero-container .hero-buttons {
    margin-bottom: 32px;
    display: flex;
    gap: 16px;
  }

  .hero-container .hero-buttons p.branded-banner-button a {
    text-transform: unset;
  }

  .hero-container .hero-buttons p.branded-banner-button {
    display: flex;
    flex: 1;
  }

  .hero-container .hero-buttons p.branded-banner-button a {
    flex: 1;
  }

  .hero-container .hero-buttons p.outline-button {
    display: flex;
    flex: 1;
  }

  .hero-container .hero-buttons p.outline-button a {
    flex: 1;
  }
}