.full-width-bg {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 100vh;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before,
/* .automotive-retail .scroll-effect-wrapper::before, */
.automotive-retail::before,
.philantrophic-foundation::before,
.more-about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translate3d(0, var(--parallax-offset, 0px), 0);
  will-change: transform;
  z-index: -1;
}

/* .automotive-retail .scroll-effect-wrapper::before {
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    z-index: -1;
} */

.hero::before {
  background-image: url('/assets/images/hero-section.webp');
}

.automotive-retail::before {
  background-image: url('/assets/images/automotive-retail.webp');
}

/* .automotive-retail .scroll-effect-wrapper::before {
  background-image: url('/assets/images/automotive-retail.webp');
} */

.philantrophic-foundation::before {
  background-image: url('/assets/images/philantrophic-foundation.webp');
}

.more-about::before {
  background-image: url('/assets/images/more-about.webp');
}

.full-width-bg .content-wrapper,
section .content-wrapper {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  padding-bottom: 39px;
  margin: 0 auto;
}

section .content-wrapper.column {
  align-items: center;
  flex-direction: column;
}

h1 {
  margin: 0 0 40px 0;
  color: #fff;
  font-weight: 500;
  font-size: 76px;
  line-height: 78px;
  letter-spacing: -5px;
}

h1 .accent {
  color: #FFF62D;
}

.full-width-bg .text-button {
  display: flex;
  flex-direction: column;
  width: 47.2%;
  padding-bottom: 41px;
}

.full-width-bg .text-button .text {
  width: 90%;
  margin-bottom: 25px;
  color: #fff;
  font-size: 20px;
  line-height: 32px;
}

.full-width-bg .text-button .button-group-wrapper,
section .button-group-wrapper {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

/* .hero.full-width-bg .content-wrapper {
  padding-bottom: 27.2vh;
} */

.operate-successfully .button-group-wrapper {
  justify-content: center;
}

.full-width-bg .text-button button {
  display: flex;
  align-items: center;
  padding: 14px 48px;
}

.full-width-bg  {
  display: flex;
  flex-direction: row;
}

.full-width-bg  .text-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 152px;
  width: 42%;
  padding: 0 0 0px 80px;
}

.full-width-bg  .text-wrapper h2,
section h2 {
  margin: 0;
  padding-bottom: 57px;
  font-size: 56px;
  font-weight: 500;
  line-height: 60px;
  letter-spacing: -2.2px;
}

.full-width-bg  .text-wrapper h2 span,
section h2 span {
  color: #00000066;
}

.full-width-bg  .text-wrapper p {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
}

.full-width-bg  .text-wrapper p:first-child {
  margin-bottom: 24px;
}

.automotive-retail {
  /* background-color: var(--med-gray); */
  /* overflow: unset !important; */
}

/* .automotive-retail .scroll-effect-wrapper {
  position: absolute;
    top: -1.2vh;
    left: 50%;
    transform: translate(-50%, -20%);
    width: 81vw;
    height: 100vh;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    overflow: hidden;
} */

.global-companies {
  padding: 120px 40px;
  background-color: var(--primary-color);
}

.global-companies h2 {
  width: 65%;
  margin: auto;
  text-align: center;
}

.operate-successfully {
  padding: 120px 40px;
}

.operate-successfully h2 {
  width: 625px;
  margin: auto;
  padding-bottom: 35px;
  text-align: center;
}

.operate-successfully p {
  width: 740px;
  margin: auto;
  padding-bottom: 60px;
  font-size: 15px;
  line-height: 25px;
  text-align: center;
}

.careers {
  padding: 120px 0;
  background-color: var(--primary-color);
}

.careers h2 {
  text-align: center;
}

/* CARD STYLES --START*/
#categories,
.categories {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 39px;
}

#categories .cat,
.categories .cat {
  padding: 14px 34px;
  font-size: 14px;
  line-height: 14px;
  background-color: var(--primary-color);
  border: solid 1px #0000001A;
  border-radius: 12px;
  cursor: pointer;
}

#categories .cat.active,
.categories .cat.active {
  background: var(--text-color);
  color: var(--primary-color);
}

#categories .cat:hover,
.categories .cat:hover {
  transition: all ease .3s;
  border: solid 1px #000;
}

#cards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  justify-items: center;
  gap: 20px;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto 60px;
}

.card {
  position: relative;
  display: flex;
  width: 32%;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 1;
}

.card-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 0%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: calc(100% - 64px);
  height: calc(100% - 64px);
  opacity: 0;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
  border-radius: 16px;
  text-align: center;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.card:hover .card-content {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.card img.img-bg {
  transition: all ease-in-out .3s;
}

.card:hover img.img-bg {
  transform: scale(1.2);
  transition: all ease-in-out .3s;
}

.card .top-content {
  padding: 50px 40px 0;
}

.card .logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.category {
  width: fit-content;
  padding: 4px 12px;
  margin: auto;
  font-size: 12px;
  line-height: 16px;
  border-radius: 30px;
  backdrop-filter: blur(25px);
}

.category.rent {
  color: var(--rent-color);
  background: var(--rent-bg-color);
}

.category.sta {
  color: var(--sta-color);
  background: var(--sta-bg-color);
}

.category.tech {
  color: var(--tech-color);
  background: var(--tech-bg-color);
}

.category.auto {
  color: var(--secondary-color);
  background: var(--auto-bg-color);
}

.category.inv {
  color: var(--inv-color);
  background: var(--inv-bg-color);
}

.category.film {
  color: var(--film-color);
  background: var(--film-bg-color);
}

.card .category:not(:last-child) {
  margin-bottom: 4px;
}

.card .category:last-child {
  margin-bottom: 10px;
}

.card-content .heading {
  margin: 0;
  color: var(--primary-color);
  font-size: 36px;
  line-height: 40px;
}

.card-content .subheading {
  color: var(--primary-color);
  font-size: 14px;
  line-height: 24px;
}

.card-content .details {
  width: fit-content;
  padding: 14px 32px;
  margin: 0 auto 50px;
  color: var(--text-color);
  font-size: 14px;
  line-height: 14px;
  background-color: var(--secondary-color);
  border-radius: 12px;
  text-decoration: none;
  transition: all ease-in-out .3s;
}

.card-content .details:hover {
  background-color: var(--primary-color);
  transition: all ease-in-out .3s;
}

#cards .card-2,
#cards .card-3 {
  display: none;
}

#cards .card-2.show,
#cards .card-3.show {
  display: block !important;
}
/* CARD STYLES --END*/

.map-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 98%;
  margin-top: 70px;
}

.map-block .map {
  width: calc(100% + 70px);
  max-width: 1240px;
  margin-left: 30px;
}

.map-block-counters {
  display: flex;
  gap: 36px;
  padding-bottom: 40px;
}

.map-block-counters .counter {
  position: relative;
  min-width: 248px;
  font-size: 110px;
  font-weight: 400;
  line-height: 78px;
  letter-spacing: -2px;
  text-align: center;
  color: #000000;
}

.map-block-counters .counter-title {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 100%);
  display: flex;
  align-items: center;
  width: fit-content;
  height: 40px;
  padding: 0px 16px;
  border-radius: 12px;
  background: #e0eaef;
}

.counter--highlight {
  font-size: 110px;
  font-weight: 400;
  line-height: 78px;
  letter-spacing: -2px;
  text-align: center;
  color: rgba(110, 151, 180, 0.8);
}

.counter-wrapper {
  position: relative;
}

.map-block-counters .counter.counter-2 {
  min-width: 110px;
}

.counter-letter {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.letter {
  font-size: 110px;
  font-weight: 400;
  line-height: 78px;
  letter-spacing: -2px;
  text-align: center;
  color: #000000;
}

.categories span.active {
  font-family: bold;
}

.careers .swiper-container {
  width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.careers .swiper-slide {
  font-size: 18px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  border-radius: 16px;
}

.careers .swiper-slide.swiper-slide-active {
  background: var(--medium-blue);
  color: var(--primary-color);
  transition: all ease-in-out .3s;
}

.careers .swiper-slide.swiper-slide-active a.transparent {
  color: var(--primary-color);
}

.careers .swiper-slide.swiper-slide-active svg path {
  stroke: var(--primary-color);
}

.careers .swiper-slide .btn.accent {
  background-color: var(--text-color);
  color: var(--primary-color);
}

.careers .swiper-slide.swiper-slide-active .btn.accent {
  background-color: var(--secondary-color);
  color: var(--text-color);
}

.careers .swiper-slide {
  background: var(--light-blue);
  color: var(--text-color);
  transition: all ease-in-out .5s;
}

.careers .swiper-slide svg path {
  stroke: var(--text-color);
}


.non-swiper-slide {
  display: none;
}

.swiper-button-prev,
.swiper-button-next {
  background-image: url('/assets/images/slide-navigation.svg')!important;
  background-size: cover;
  height: 56px !important;
  width: 56px !important;
}

.swiper-button-prev {
  left: 40px !important;
}

.swiper-button-next {
  right: 40px !important;
  transform: rotate(180deg);
}

.job-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 40px;
}

.job-title,
.article-title {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  line-height: 32px;
}

.job-company,
.job-location,
.job-description,
.article-description {
  font-size: 16px;
  line-height: 26px;
}

.article-description {
  color: var(--med-gray);
}

.careers .button-group-wrapper,
.resources .button-group-wrapper {
  justify-content: center;
  padding-top: 60px;
}

.resources {
  padding: 60px 40px;
  background-color: var(--primary-color);
  border-top: solid 1px rgba(0, 0, 0, 0.1);
}

.resources h2 {
  text-align: center;
}

.resources .swiper {
  max-width: 1360px;
  width: 100%;
  margin: auto;
}

.articles-wrapper {
  display: flex;
  justify-content: space-evenly;
}

.articles-wrapper .swiper-slide {
  height: auto;
  background-color: var(--light-blue);
  border-radius: 16px;
}

.article {
  display: flex;
  flex-direction: column;
}

.article-img {
  border-radius: 16px 16px 0 0;
}

.article-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 36px 40px;
}

.resources .article  a.icon {
  padding: 0;
}

.swiper-pagination {
  display: flex;
  gap: 8px;
  left: 50%;
  transform: translate(-50%, 20px) !important;
}

.swiper-pagination-bullet-active {
  background: #6E97B4 !important;
}

@media (max-width: 1024px) { 
  h1,
  .full-width-bg .text-wrapper h2,
  section h2 {
    margin: 0;
    padding-bottom: 24px;
    font-size: 36px;
    line-height: 40px;
    letter-spacing: 0;
  }

  .full-width-bg .text-button .text {
    font-size: 16px;
    line-height: 24px;
  }

  .full-width-bg .content-wrapper,
  section .content-wrapper {
    align-items: center;
    flex-direction: column;
    width: 100%;
  }

  .full-width-bg .text-wrapper,
  .full-width-bg .text-button,
  .operate-successfully p {
    width: 90%;
  }

  .full-width-bg .text-wrapper {
    padding: 0;
  }

  .full-width-bg .text-button .text {
    width: 100%;
  }

  .card {
    width: 48%;
    aspect-ratio: 1;
  }

  .card .top-content {
    padding: 10% 10% 0;
  }

  .map-block-counters {
    gap: 10px;
  }

  .job-wrapper .button-group-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
    width: 100%;
  }
}

@media (max-width: 991px) { 
  .resources {
    padding: 64px 20px;
    overflow: hidden;
  }
}

@media (max-width: 767px) {
  .operate-successfully h2 {
    width: 90%;
    margin: auto;
  }

  .card img {
    width: -webkit-fill-available;
    width: -moz-available;
    object-position: center;
  }

  .card .lincoln,
  .card .logo {
    width: auto;
  }

  .card-content {
    width: calc(100% - 30px);
    height: calc(100% - 30px);
  }

  .card .top-content {
    padding: 5% 5% 0;
    height: 100%;
  }

  .card-content .heading {
    font-size: 30px;
    line-height: 34px;
  }

  .card-content .subheading {
    margin: 5px 0;
    font-size: 13px;
    line-height: 22px;
  }

  .card-content .details {
    margin: 0 auto 10px;
  }

  .global-companies,
  .operate-successfully {
    padding: 64px 15px;
  }

  #categories,
  .categories {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 1rem;
    padding: 0 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .categories-scroll::-webkit-scrollbar {
    display: none;
  }
  
  .cat {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .map-block-counters {
    flex-direction: column;
    gap: 70px;
  }

  .map-block-counters .counter.counter-2 {
    min-width: fit-content;
  }

  .map-block-counters .counter,
  .counter-letter .letter,
  .counter--highlight {
    font-size: 76px;
    line-height: 82px;
    font-weight: 500;
  }

  .counter-letter {
    justify-content: center;
  }

  .map-block-counters .counter-title {
    bottom: 15px;
  }

  .map-block .map {
    margin-left: 0;
    width: 100%;
  }

  section.global-companies .content-wrapper.column {
    align-items: unset;
  }

  section.global-companies .button-group-wrapper {
    justify-content: center;
  }

  .careers {
    padding: 64px 0;
  }

  .careers h2 {
    margin: auto;
    width: 90%;
  }

  .job-wrapper {
    padding: 40px 40px 30px 40px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }

  .article-content {
    padding: 20px 30px;
  }
}

@media (max-width: 575px) {
  .card {
    width: 100%;
  }
}
