/**
 * Homepage specific styling goes here. Excluded on all subpages
 *
 * @format
 */

/* For most builds, this stylesheet should be wiped and started fresh */

/* PRELOADER */
.preloader-outer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9;
  width: 100%;
  height: 100vh;
  background-color: var(--color-white);
  transition: opacity 600ms ease-out;
}

.preloader-outer.active {
  visibility: visible !important;
}

.preloader-outer.preloader-remove {
  opacity: 0;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.preloader-inner p {
  margin-bottom: 15px;
}

.preloader-inner p:last-of-type {
  margin: 0;
}

.preloader-part {
  margin: 20px;
  display: none;
}

.preloader-part-left.active {
  display: block;
  -webkit-animation: fadeinright 800ms ease-out;
  animation: fadeInRight 800ms ease-out;
}

.preloader-part-right.active {
  display: block;
  -webkit-animation: fadeinleft 500ms ease-out;
  animation: fadeInLeft 500ms ease-out;
}

/* hero */
.hero:before {
  left: 0;
  top: 0;
  width: 100%;
  height: 215px;
  content: '';
  z-index: 1;
  pointer-events: none;
  position: absolute;
  background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
}

.hero-slider {
  left: 0;
  width: 100%;
  position: absolute;
}

.hero-slider-slide {
  height: 600px !important;
}

.hero-slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-slider-slide:before,
.hero-slider-slide:after {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  content: '';
  width: 100%;
  pointer-events: none;
}

.hero-slider-slide:after {
  top: auto;
  bottom: 0;
  /* height: 250px; */
  height: 340px;
  /* background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%); */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.65) 30%, rgba(255, 255, 255, 1) 100%);
}

.hero-slider-slide:before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-color: rgba(0, 0, 0, 0.45);
}

.hero-content {
  z-index: 1;
  padding-top: 140px;
  position: relative;
  padding-bottom: 45px;
}

.hero-content-info {
  position: relative;
  margin-bottom: 15px;
}

.hero-content-info h1 {
  margin-bottom: 0;
  text-align: center;
}

.hero-content-info h1 > strong {
  font-size: 3.75rem;
  line-height: 1;
  font-weight: 300;
  margin-bottom: 9px;
  display: block;
  letter-spacing: 6px;
  overflow: hidden;
  color: var(--color-dark-green);
}

.hero-content-info h1 > span {
  font-size: 1.313rem;
  letter-spacing: 1px;
  display: block;
  line-height: 1.2;
  overflow: hidden;
  color: var(--color-white);
}

.hero-content-info span span,
.hero-content-info strong span,
.hero-content-location h3 span {
  display: block;
  animation-delay: 500ms;
  transform: translateY(100%);
  transition: transform 1s ease 1s;
}

.hero-content-info span span {
  animation-delay: 1000ms;
  transition: transform 1s ease 1.5s;
}

.hero-content-info .animated span,
.hero-content-location .animated span {
  transform: translateY(0);
}

.hero-content-location {
  position: relative;
  z-index: 2;
}

.hero-content-location h3 {
  font-size: 1.125rem;
  margin-bottom: 22px;
  text-align: center;
  line-height: 1.3;
  overflow: hidden;
  color: var(--color-white);
}

.hero-content-location h3 span {
  transition: transform 1s ease 2s;
}

.hero-content-location .select-firm {
  animation-delay: 2500ms;
}

@media screen and (min-width: 768px) {
  .hero-slider .slick-dots {
    top: 40%;
    z-index: 2;
    right: 10px;
    width: auto;
    margin-top: 0;
    display: flex;
    position: absolute;
    flex-direction: column;
    transform: translateY(-50%);
    border-right: 1px solid var(--color-white);
  }

  .hero-slider .slick-dots li {
    width: 100%;
  }

  .hero-slider .slick-dots li + li {
    margin: 0;
  }

  .hero-slider .slick-dots button {
    border: 0;
    width: 25px;
    height: 27px;
    font-size: 0.75rem;
    border-radius: 0;
    font-weight: 500;
    display: block;
    padding-right: 8px;
    border-right: 3px solid transparent;
    background: transparent;
  }

  .hero-slider .slick-dots button:before {
    content: '0';
  }

  .hero-slider .slick-dots li.slick-active button {
    background: transparent;
    border-right-color: var(--color-white);
  }

  .hero-slider-slide {
    height: 700px !important;
  }

  .hero-content {
    padding-top: 240px;
  }

  .hero-content-info {
    margin-bottom: 55px;
  }

  .hero-content-info h1 {
    text-align: unset;
  }

  .hero-content-info h1 > strong {
    font-size: 3.75rem;
    margin-bottom: 26px;
  }

  .hero-content-info h1 > span {
    font-size: 1.313rem;
    letter-spacing: 2.3px;
    line-height: unset;
  }

  .hero-content-location {
    display: flex;
  }

  .hero-content-location h3 {
    flex: 1;
    font-size: 1.875rem;
    margin-bottom: 0;
    text-align: unset;
    color: var(--color-white);
  }

  .hero-content-location .select-firm {
    width: 37.36%;
    margin-left: var(--gutter-size);
  }
}

@media screen and (min-width: 1025px) {
  .hero-slider .slick-dots {
    top: 50%;
    right: 40px;
  }

  .hero-slider-slide {
    height: 883px !important;
  }

  .hero-content {
    padding-top: 260px;
  }

  .hero-content-info h1 > strong {
    font-size: 8.313rem;
    letter-spacing: 33px;
  }

  .hero-content-info h1 > span {
    font-size: 2.813rem;
  }

  .hero-content-location h3 {
    font-size: 2.25rem;
  }
}

@media screen and (min-width: 1920px) {
  .hero-content {
    padding-top: 220px;
  }

  .hero-content-info h1 > strong {
    font-size: 10.313rem;
  }

  .hero-content-location .select-firm {
    width: 33.33%;
  }
}

/* intro */
.intro {
  z-index: 1;
  position: relative;
  margin-bottom: 22px;
}

.intro-left {
  line-height: 1.6;
  text-align: center;
}

.intro-left p:last-child {
  margin-bottom: 0;
}

.intro-left + .intro-image {
  margin-top: 30px;
}

.intro-image img {
  width: 100%;
  display: block;
}

@media screen and (min-width: 768px) {
  .intro {
    margin-bottom: 62px;
  }

  .intro-holder {
    display: flex;
    justify-content: space-between;
  }

  .intro-left {
    padding: 0;
    /* max-width: 530px; */
    line-height: 1.9;
    text-align: unset;
    align-self: flex-end;
    /* width: calc(66.66% - var(--gutter-size)); */
  }

  .intro-left + .intro-image {
    margin-top: 0;
    margin-left: var(--gutter-size);
  }

  .intro-image {
    width: 37.36%;
  }
}

@media screen and (min-width: 1920px) {
  .intro-image {
    width: 33.33%;
  }
}

/* usp */
.vision {
  margin-bottom: 50px;
  position: relative;
  z-index: 11;
}

.vision-info + .vision-info {
  margin-top: 35px;
}

.vision-info p:last-child {
  margin-bottom: 0;
}

.vision-info h4 {
  padding-top: 2px;
  padding-bottom: 2px;
  position: relative;
  padding-left: 24px;
  margin-bottom: 18px;
  letter-spacing: 0;
  overflow: hidden;
}

.vision-info h4:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 100%;
  content: '';
  z-index: 1;
  background-color: var(--color-orange);
}

.vision-info h4 span {
  display: block;
  transform: translateX(-100%);
  transition: transform 1s ease 0.5s;
}

.vision-info h4.animated span {
  transform: translateX(0);
}

@media screen and (min-width: 768px) {
  .vision {
    margin-bottom: 0;
  }

  .vision-holder {
    display: grid;
    grid-column-gap: 20px;
    grid-template-columns: repeat(3, 1fr);
  }

  .vision-info {
    margin-bottom: 50px;
  }

  .vision-info + .vision-info {
    margin-top: 0;
  }
}

@media screen and (min-width: 1025px) {
  .vision-holder {
    grid-column-gap: 40px;
  }
}

/* info */
.info {
  position: relative;
  z-index: 1;
  padding-bottom: 50px;
  background-color: var(--color-primary);
}

.info-holder {
  position: relative;
}

.info-left {
  margin-bottom: 20px;
}

.info-left img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.info-info {
  text-align: center;
  color: var(--color-white);
}

.info-info strong {
  font-weight: 600;
}

.info-info p:last-child {
  margin-bottom: 0;
}

.info:after {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  content: '';
  pointer-events: none;
  width: 100%;
  height: 76px;
  background-color: var(--color-white);
}

@media screen and (min-width: 768px) {
  .info {
    padding-top: 63px;
    padding-bottom: 60px;
  }

  .info-holder {
    display: flex;
    align-items: center;
  }

  .info-left {
    flex: 1;
  }

  .info-left img {
    min-height: 269px;
  }

  .info-info {
    width: 454px;
    line-height: 1.85;
    text-align: unset;
    margin-left: 50px;
    margin-right: 50px;
  }

  .info:after {
    top: 0;
    left: 0;
    right: calc(50% + 250px);
    width: auto;
    height: 100%;
    background-color: var(--color-white);
  }

  .info-scroll {
    position: absolute;
    bottom: 30px;
    right: -15px;
    transform: rotate(270deg);
  }

  .info-scroll button {
    padding: 0;
    border: 0;
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: normal;
    text-decoration: none;
    color: var(--color-white);
    text-transform: uppercase;
  }

  .info-scroll button:focus,
  .info-scroll button:hover {
    color: var(--color-white);
    background-color: transparent;
  }

  .info-scroll img {
    position: absolute;
    right: 36px;
    bottom: -55px;
    transform: rotate(90deg);
  }
}

@media screen and (min-width: 1920px) {
  .info-info {
    width: 515px;
    margin-left: 130px;
    margin-right: 150px;
  }
}

/* services */
.services {
  position: relative;
  z-index: 2;
  padding-top: 40px;
  padding-bottom: 47px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-image: url('../images/services-bg.jpg');
}

.services:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  pointer-events: none;
  background-color: rgba(0, 139, 91, 0.7);
}

.services-heading {
  max-width: 654px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.services-heading h2 {
  font-size: 2.25rem;
  color: var(--color-white);
}

.services-holder {
  margin-bottom: 35px;
  position: relative;
  z-index: 1;
}

.services-btn {
  position: relative;
  z-index: 1;
}

@media screen and (min-width: 768px) {
  .services {
    padding-top: 78px;
    padding-bottom: 77px;
  }

  .services-heading {
    text-align: unset;
    padding-left: 6px;
  }

  .services-heading h2 {
    font-size: 3.125rem;
  }

  .services-holder {
    display: grid;
    min-width: 1144px;
    margin-bottom: 30px;
    grid-column-gap: 2px;
    grid-template-columns: repeat(3, 1fr);
  }
}

/* solutions */
.solutions {
  position: relative;
  z-index: 1;
  padding-top: 40px;
  padding-bottom: 48px;
}

.solutions h2 {
  font-size: 2.25rem;
  margin-bottom: 33px;
  text-align: center;
}

.solutions-item {
  margin-bottom: 28px;
  text-align: center;
}

.solutions-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.solutions-info h3 {
  margin-bottom: 4px;
  font-size: 1.188rem;
}

.solutions-info p:last-of-type {
  margin-bottom: 0;
}

.solutions-btn {
  display: flex;
  justify-content: center;
}

.solutions-shape {
  display: none;
}

@media screen and (min-width: 768px) {
  .solutions {
    padding-top: 106px;
    padding-bottom: 102px;
  }

  .solutions h2 {
    font-size: 3.125rem;
    margin-bottom: 47px;
    text-align: unset;
  }

  .solutions-item {
    display: flex;
    padding-right: 300px;
    margin-bottom: 35px;
    text-align: unset;
  }

  .solutions-icon {
    width: 80px;
    margin-bottom: 0;
    display: unset;
  }

  .solutions-info {
    flex: 1;
  }

  .solutions-btn {
    margin-left: 80px;
    display: unset;
  }

  .solutions-shape {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-left: 565px;
    pointer-events: none;
  }

  .solutions-shape img {
    width: 726px;
    height: auto;
    max-width: unset;
  }
}

@media screen and (min-width: 1025px) {
  .solutions-item {
    padding-right: 420px;
  }
}

@media screen and (min-width: 1920px) {
  .solutions-item {
    padding-right: 550px;
  }
}

/* teams */
.teams {
  position: relative;
  padding-top: 40px;
  padding-bottom: 60px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-image: url('../images/team-bg.jpg');
}

.teams:before {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  display: block;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.7);
}

.teams-heading {
  text-align: center;
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
}

.teams-heading h2 {
  font-size: 2.25rem;
  color: var(--color-white);
}

.teams-slide {
  opacity: 0.5;
  position: relative;

  margin-left: 9px;
  margin-right: 9px;
}

.teams-slide {
  width: 276px !important;
}

.teams-slide.slick-active {
  opacity: 1;
}

.teams .slick-list {
  /* margin-left: -17px; */
  /* margin-right: -17px; */
  overflow: visible;
}

.teams-slider .slick-arrow {
  top: calc(50% - 21px);
}

.teams-slider .slick-dots {
  margin-top: 30px;
}

.teams-slider .slick-dots button {
  border-color: var(--color-white);
  background-color: var(--color-white);
}

.teams-slider .slick-dots .slick-active button {
  border-color: var(--color-alternate);
  background-color: var(--color-alternate);
}

@media screen and (min-width: 768px) {
  .teams {
    padding-top: 74px;
    padding-bottom: 102px;
  }

  .teams-heading {
    text-align: unset;
    margin-bottom: 41px;
  }

  .teams-heading h2 {
    font-size: 3.125rem;
  }

  .teams-slider .slick-dots {
    justify-content: flex-end;
  }
}

/* firm */
.firms {
  text-align: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.firms-info {
  margin-bottom: 44px;
}

.firms-logo {
  display: flex;
  margin-bottom: 24px;
  align-items: center;
  justify-content: center;
}

.firms-logo img {
  max-width: 100%;
  display: block;
}

.firms-address {
  line-height: 1.55;
  margin-bottom: 12px;
}

.firms-address a {
  color: inherit;
  text-decoration: none;
}

.firms-address a:focus,
.firms-address a:hover {
  color: var(--color-secondary);
}

@media screen and (min-width: 768px) {
  .firms {
    text-align: unset;
    padding-top: 96px;
    padding-bottom: 77px;
  }

  .firms-holder {
    display: flex;
  }

  .firms-info {
    flex: 1;
    margin-bottom: 0;
    border-right: 1px solid rgba(112, 112, 112, 0.3);
  }

  .firms-details {
    width: 67%;
    padding-left: 7%;
  }

  .firms-logo {
    margin-bottom: 30px;
    justify-content: flex-start;
  }

  .firms-address {
    margin-bottom: 53px;
  }

  .firms .slick-dots {
    bottom: 7px;
    right: 0;
    margin: 0;
    width: auto;
    position: absolute;
  }
}

/* finding */
.finding {
  position: relative;
  padding-top: 29px;
  padding-bottom: 45px;
  background-color: var(--color-black);
}

.finding-search {
  text-align: center;
  position: relative;
  z-index: 1;
}

.finding-text h3 {
  margin-bottom: 14px;
  color: var(--color-white);
}

.finding-select select {
  height: 69px;
  border-radius: 100px;
  border: 1px solid var(--color-white);
  font-size: 1.25rem;
  padding: 10px 50px 10px 25px;
  background-image: url('../images/custom-select-white.png');
  background-repeat: no-repeat;
  background-position: right 25px center;
  background-size: 12px;
}

.finding-select select option {
  background-color: var(--color-info);
  color: var(--color-white);
}

.finding-shape {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.finding-select select .disabled-option {
  color: white;
  font-weight: 700;
  background-color: black;
}

@media screen and (min-width: 768px) {
  .finding {
    padding-top: 65px;
    padding-bottom: 60px;
  }

  .finding-search {
    display: flex;
    align-items: center;
    margin-left: auto;
    max-width: 600px;
    text-align: unset;
  }

  .finding-select {
    flex: 1;
  }

  .finding-text {
    margin-right: 30px;
  }

  .finding-text h3 {
    margin-bottom: 0;
  }

  .finding-shape {
    left: 50%;
    transform: translateX(-50%);
    margin-left: -554px;
  }
}

/* insight */
.insight {
  padding-top: 40px;
  padding-bottom: 40px;
  color: var(--color-white);
  background-color: var(--color-primary);
}

.insight-block {
  text-align: center;
  margin-bottom: 22px;
}

.insight-heading h2 {
  margin-bottom: 16px;
  font-size: 2.25rem;
  color: var(--color-white);
}

.insight-para {
  color: var(--color-white);
  margin-bottom: 7px;
  line-height: 1.56;
}

.insight-para p:last-of-type {
  margin-bottom: 0;
}

.insight-slide {
  padding-left: 15px;
  padding-right: 15px;
}

.insight-image {
  width: 100%;
  display: block;
  margin-bottom: 18px;
}

.insight-image img {
  width: 100%;
  display: block;
}

.insight-info {
  text-align: center;
  color: var(--color-white);
}

.insight-info h3 {
  font-weight: bold;
  line-height: 1.4;
  font-size: 1.25rem;
  margin-bottom: 13px;
  color: var(--color-white);
}

.insight-info h3 a {
  text-decoration: none;
  color: var(--color-white);
}

.insight-info .button {
  color: var(--color-white);
}

.insight-info .button:hover,
.insight-info .button:focus {
  color: var(--color-alternate);
}

.insight-list {
  display: flex;
  justify-content: center;
  margin-bottom: 5px;
}

.insight-list li {
  font-size: 0.688rem;
}

.insight-list li:last-of-type {
  text-transform: uppercase;
}

.insight-list li:not(:last-of-type):after {
  display: inline-block;
  margin: 0 5px 0 2px;
  content: '|';
}

.insight-link {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: var(--color-white);
  text-transform: uppercase;
}

.insight-link i {
  margin-left: 6px;
}

.insight-btn {
  margin-top: 20px;
  position: relative;
  display: flex;
  justify-content: center;
}

.insight-btn .button {
  text-align: left;
  min-width: 236px;
  justify-content: space-between;
}

.insight .slick-list {
  margin-left: -15px;
  margin-right: -15px;
}

@media screen and (min-width: 768px) {
  .insight {
    padding-top: 91px;
    padding-bottom: 94px;
  }

  .insight-block {
    text-align: unset;
  }

  .insight-heading h2 {
    font-size: 3.125rem;
  }

  .insight-image {
    margin-bottom: 25px;
  }

  .insight-info {
    text-align: unset;
  }

  .insight-list {
    justify-content: unset;
  }

  .insight-btn {
    display: flex;
    margin-top: 50px;
    align-items: center;
  }

  .insight-btn:before {
    flex: 1;
    display: block;
    height: 1px;
    content: '';
    margin-right: 25px;
    background-color: var(--color-white);
  }
}

@media screen and (min-width: 1025px) {
  .insight-block {
    display: flex;
    align-items: flex-end;
    margin-bottom: 29px;
  }

  .insight-heading {
    width: 496px;
    margin-right: 20px;
  }

  .insight-heading h2 {
    margin-bottom: 0;
  }

  .insight-para {
    flex: 1;
  }
}
