.homepage_hero_section {
  min-height: 100vh;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.homepage_hero_section:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("../images/bg-squares/hero-squares-homepage.png");
  background-position: bottom;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  z-index: 2;
}

.homepage_hero_section video {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: 1;
}

.homepage_hero_section .container {
  z-index: 3;
  margin-top: 250px;
}

.hero_content__button p {
  background-color: #d83529;
}

.button_style_1:hover .icon {
  background-color: #ee4438;
}

.homepage_hero_section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.homepage_hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 40%;
  margin: 0 auto;
  position: relative;
  z-index: 9;
}

.homepage_hero__content h1 {
  font-size: 92px;
  line-height: 85%;
  font-weight: 100;
  margin-bottom: 30px;

  text-align: center;
  letter-spacing: -0.03em;
  color: #fff;
}

.homepage_hero__content h1 b {
  font-weight: 500;
}

.under_hero_section {
  padding: 200px 0 100px 0;
  background-image: url("../images/bg-squares/under-hero-homepage-squares.png");
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.under_hero_section__img {
  position: absolute;
  left: 10px;
  top: -20%;
  z-index: -1;
  max-width: 38%;
}

.under_hero_section__content h3 {
  font-size: 48px;
  font-weight: 100;
  line-height: 120%;
  letter-spacing: -0.03em;
  color: #0b3954;
  margin-bottom: 30px;
}

.under_hero_section__content h3 i {
  font-weight: 400;
  color: #d83529;
}

.under_hero_section__content p {
  font-size: 28px;
  line-height: 140%;
  letter-spacing: -0.03em;
  font-weight: 300;
  font-family: "Zodiak", "sans-serif";
  color: #0b3954;
}

.under_hero_section__content p em,
.under_hero_section__content p i {
  color: #d83529;
  font-weight: 400;
}

.col-md-6.under_hero_section__wrapper_content {
  max-width: 100%;
  flex: 1 0 0;
}

.number_of_slides {
  color: #fff;
}

.slider_arrows {
  display: flex;
  gap: 20px;
}

@media only screen and (max-width: 1596px) {
  .under_hero_section {
    padding: 140px 0;
  }

  .homepage_slider {
    padding: 75px 0;
  }
}

@media only screen and (max-width: 1440px) {
  .under_hero_section__content h3 {
    font-size: 40px;
  }

  .under_hero_section__content p {
    font-size: 22px;
  }
}

@media only screen and (max-width: 991px) {
  .homepage_hero__content h1 {
    font-size: 58px;
  }

  .col-md-6.under_hero_section__wrapper_content {
    flex: 0 0 100%;
    margin-top: 80px;
  }

  .under_hero_section {
    padding: 0 0 80px;
    background: none;
  }

  .under_hero_section__img {
    max-width: 100%;
  }

  .under_hero_section__content h3 {
    font-size: 32px;
  }

  .under_hero_section__content p {
    font-size: 22px;
  }
}

@media only screen and (max-width: 767px) {
  .homepage_hero_section:before {
    background-image: url("../images/Hero-Squares-mobile.png");
    background-position: center bottom -32px;
  }

  .under_hero_section__content p {
    font-size: 18px;
  }

  .under_hero_section__img {
    top: 0;
    left: 0;
  }

  .under_hero_section__content h3 {
    margin-bottom: 19px;
  }
}

@media only screen and (max-width: 576px) {
  .homepage_hero__content h1 {
    font-size: 38px;
    margin-bottom: 24px;
  }

  .under_hero_section__content h3 {
    font-size: 24px;
  }

  .under_hero_section__content p {
    font-size: 16px;
  }
}

@media only screen and (max-width: 475px) {
  .homepage_hero__content {
    max-width: 80%;
  }
}

/* Areas of expertise */

.areas-of-expertise {
  margin-top: 60px;
  margin-bottom: 100px;
}

.areas-of-expertise__holder {
  position: relative;
}

.areas-of-expertise h3 {
  font-weight: 100;
  font-size: 48px;
  line-height: 95%;
  text-align: center;
  letter-spacing: -0.03em;
  color: #0b3954;
  margin-bottom: 70px;
}

.areas-of-expertise h3 i {
  color: #d83529;
  font-weight: 400;
}

.areas-of-expertise__single {
  position: relative;
  margin-bottom: 100px;
  display: flex;
  flex-flow: column;
}

.areas-of-expertise__image-holder {
  position: relative;
  display: flex;
  z-index: 1;
}

.areas-of-expertise__image-holder:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 99;
  background-image: url("../images/bg-squares/area-of-expertise-slider-squares.png");
  background-size: contain;
  background-position: top left;
  background-repeat: no-repeat;
}

.areas-of-expertise__image {
  max-width: 1018px;
  width: 100%;
  max-height: 490px;
  object-fit: cover;
  aspect-ratio: 2/1;
  z-index: 1;
}

.areas-of-expertise__content-holder {
  padding: 24px 16px;
  background: #175376;
  width: calc(100% - 40px);
  margin: -20px auto 0;
  z-index: 2;
}

.areas-of-expertise__content-holder h4 {
  font-weight: 400;
  font-size: 24px;
  line-height: 100%;
  margin-bottom: 20px;
  color: #ffffff;
  font-family: "Switzer", "sans-serif";
}

.areas-of-expertise__content-holder p {
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
  color: #ffffff;
}

@media only screen and (min-width: 992px) {
  .areas-of-expertise__image {
    width: 67vw;
    max-height: 326px;
  }

  .areas-of-expertise__image-holder {
    padding-bottom: 67px;
  }

  .areas-of-expertise__single {
    flex-flow: row;
  }

  .areas-of-expertise__single:nth-of-type(even) {
    padding: 0 40px;
    justify-content: flex-end;
  }

  .areas-of-expertise__single:nth-of-type(even)
    .areas-of-expertise__content-holder {
    right: unset;
    left: 40px;
  }

  .areas-of-expertise__content-holder {
    position: absolute;
    bottom: 0;
    right: 0;
    max-width: 50%;
    padding: 48px 48px 64px;
  }
}

@media only screen and (min-width: 1199px) {
  .areas-of-expertise {
    margin-top: 100px;
    margin-bottom: 216px;
  }

  .areas-of-expertise__single:nth-of-type(even) {
    padding: 0 64px;
  }
  .areas-of-expertise__single:nth-of-type(even)
    .areas-of-expertise__content-holder {
    left: 64px;
  }
  .areas-of-expertise__content-holder {
    max-width: 657px;
  }

  .areas-of-expertise__content-holder h3 {
    font-size: 32px;
  }

  .areas-of-expertise__content-holder p {
    font-size: 16px;
  }
}

@media only screen and (min-width: 1024px) {
  .areas-of-expertise__image {
    max-height: 336px;
  }
}

@media only screen and (min-width: 1170px) {
  .areas-of-expertise__image {
    max-height: 384px;
  }
}

@media only screen and (min-width: 1280px) {
  .areas-of-expertise__image {
    max-height: 420px;
  }
}

@media only screen and (min-width: 1366px) {
  .areas-of-expertise__image {
    max-height: 449px;
  }
}

@media only screen and (min-width: 1440px) {
  .areas-of-expertise__image {
    max-height: 470px;
  }
}

@media only screen and (min-width: 1511) {
  .areas-of-expertise__image {
    max-height: 490px;
  }
}
