/* ABOUT PAGE */

.page-title-area {
  min-height: 540px;
  background: black;
  display: flex;
  align-items: flex-end;
  padding-bottom: 34px;
  position: relative;
  overflow: hidden;
}

.page-bg {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.page-bg-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* .page-bg:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  box-shadow: 0px -33px 100px 0px rgba(0, 0, 0, 1) inset;
  -webkit-box-shadow: 0px -33px 100px 0px rgba(0, 0, 0, 1) inset;
  -moz-box-shadow: 0px -33px 100px 0px rgba(0, 0, 0, 1) inset;
} */

.page-title-area-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  z-index: 5;
  position: relative;
}

.page-title {
  font-size: 90px;
  font-weight: 500;
  line-height: 1;
  max-width: 50%;
  color: #fff;
}

.page-desc {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
  opacity: 0.4;
  max-width: 620px;
}

@media (max-width: 1024px) {
  .page-title-area {
    min-height: 410px;
  }

  .page-title {
    font-size: 74px;
    max-width: 70%;
  }
}

@media (max-width: 820px) {
  .page-title-area {
    padding-bottom: 32px;
  }

  .page-title {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .page-title-area {
    min-height: 350px;
    padding-bottom: 32px;
  }

  .page-title {
    font-size: 44px;
    max-width: 100%;
  }
}

/* CLIENTS SECTION */

.clients {
  background: #000;
  padding-bottom: 110px;
}

.clients-title {
  width: 100%;
  text-align: center;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 500;
  color: #fff;
  opacity: 0.4;
  margin-bottom: 30px;
}

.clients-content {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.clients-item {
  width: calc((100% - 20px) / 3);
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: #1b1b1b;
  transition: background-color 0.2s ease-in-out, box-shadow 0.6s ease-in-out;
  cursor: pointer;
}

.clients-item:hover {
  background-color: #212121;
  box-shadow: 0px 0px 0px 2px rgba(83, 83, 83, 1);
  -webkit-box-shadow: 0px 0px 0px 2px rgba(83, 83, 83, 1);
  -moz-box-shadow: 0px 0px 0px 2px rgba(83, 83, 83, 1);
}

.clients-item img {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

@media (max-width: 820px) {
  .clients-title {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .clients-content {
    gap: 6px;
  }

  .clients-item {
    width: calc((100% - 12px) / 3);
  }
}

@media (max-width: 767px) {
  .clients-title {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .clients-content {
    gap: 5px;
  }

  .clients-item {
    width: calc((100% - 5px) / 2);
  }
}

/* ----- CLIENTS SECTION ----- */

.clients-w {
  padding-top: 84px;
  background: #fff;
}

.clients-w .clients {
  margin-top: 100px;
  background: #fff;
  padding-bottom: 100px;
}

.clients-w .clients-title {
  color: #000;
  opacity: 0.4;
}

.clients-w .clients-item {
  background-color: #eef2fa;
}

.clients-w .clients-item:hover {
  background-color: #dee4ee;
  box-shadow: 0px 0px 0px 2px rgba(174, 183, 203, 1);
  -webkit-box-shadow: 0px 0px 0px 2px rgba(174, 183, 203, 1);
  -moz-box-shadow: 0px 0px 0px 2px rgba(174, 183, 203, 1);
}

@media (max-width: 1024px) {
  .clients-w {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

@media (max-width: 767px) {
  .clients-w {
    padding-top: 44px;
    padding-bottom: 44px;
  }
}

.about-text-section {
  padding: 0 0 100px;
  background: #fff;
}

.about-text-section-content {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.about-text-section-title {
  max-width: 90%;
  font-size: 60px;
  line-height: 1.1;
}

.about-text-with-images {
  display: flex;
  gap: 12px;
}

.about-text-img-area {
  width: calc(30% - 6px);
}

.about-text-card {
  width: calc(70% - 6px);
}

.about-text-img-area,
.about-text-card {
  border-radius: 12px;
  flex-shrink: shrink;
}

.about-text-img-area {
  position: relative;
  overflow: hidden;
  min-height: 525px;
}

.about-text-img {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
  pointer-events: none;
  top: 0;
  left: 0;
  object-position: top left;
}

.about-text-card {
  background: #08050e;
  padding: 32px 42px;
  display: flex;
}

.about-text-card-title-area,
.about-text-card-content {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-text-card-content {
  padding: 0 32px;
}

.about-text-card-title {
  font-size: 47px;
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
  max-width: 100%;
}

.about-text-card-text {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-text-card-text p {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 400;
  color: #fff;
}

.about-text-card-text p.bt {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 1240px) {
  .about-text-with-images {
    flex-direction: column;
  }

  .about-text-img-area,
  .about-text-card {
    width: 100%;
  }

  .about-text-card-content {
    gap: 250px;
  }

  .about-text-img-area {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 1024px) {
  .about-text-section-title {
    width: 100%;
    font-size: 44px;
  }

  .about-text-card-content {
    gap: 200px;
  }

  .about-text-card-title {
    max-width: 100%;
  }
}

@media (max-width: 820px) {
  .about-text-card {
    flex-direction: column;
    gap: 32px;
    position: relative;
  }

  .about-text-card-content {
    padding: 0;
  }

  .about-text-card-title-area svg {
    position: absolute;
    bottom: 32px;
    left: 42px;
  }

  .about-text-card-title-area {
    width: 70%;
  }

  .about-text-card-content {
    gap: 32px;
    width: 100%;
    align-items: flex-end;
  }

  .about-text-card-text {
    gap: 20px;
  }

  .about-text-card-text p {
    width: 50%;
  }
}

@media (max-width: 767px) {
  .about-text-section-title {
    font-size: 28px;
  }

  .about-text-card {
    padding: 24px;
  }

  .about-text-card-title {
    font-size: 28px;
  }

  .about-text-card-content {
    align-items: flex-start;
    padding-bottom: 64px;
  }

  .about-text-card-text p {
    width: 90%;
  }

  .about-text-card-title-area svg {
    bottom: 24px;
    left: 24px;
  }
}

.about-video {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.about-video-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.about-video-iframe {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.about-video-player {
  width: 100%;
  height: 100%;
}

.about-video-content {
  position: relative;
  z-index: 2;
  padding-top: 90px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about-video.is-playing .about-video-content {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.about-video-title {
  color: #fff;
}

.about-video.is-playing .about-video-image {
  opacity: 0;
}

.about-video.is-playing .about-video-iframe {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1024px) {
  .about-video {
    height: 50vh;
  }

  .about-video-content {
    padding-top: 64px;
  }
}

.team {
  padding: 94px 0 140px;
  background: #fff;
}

.team-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.team-items {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.team-item {
  width: calc((100% - 20px) / 3);
  position: relative;
  padding: 28px;
  aspect-ratio: 9 / 11;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}

.team-item:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  box-shadow: 0px -33px 100px 0px rgba(0, 0, 0, 1) inset;
  -webkit-box-shadow: 0px -33px 100px 0px rgba(0, 0, 0, 1) inset;
  -moz-box-shadow: 0px -33px 100px 0px rgba(0, 0, 0, 1) inset;
}

.team-item-photo {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.team-item-name,
.team-item-pos {
  z-index: 2;
}

.team-item-name {
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
  color: #fff;
}

.team-item-pos {
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
  color: #c7c7c7;
}

@media (max-width: 1024px) {
  .team {
    padding: 64px 0 70px;
  }
}

@media (max-width: 820px) {
  .team-item {
    width: calc(50% - 5px);
  }
}

@media (max-width: 767px) {
  .team {
    padding: 54px 0 54px;
  }

  .team-item {
    width: 100%;
  }
}