@import "../vendor/swiper-bundle.css";
@import "../general.css";
@import "../components/project-listing.css";

.banner-main {
  width: 100%;
  min-height: calc(100dvh - 9.034rem);
  position: relative;
}
.banner-main .video-control {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 36px;
  width: 36px;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;    
  cursor: pointer;   
}
.banner-main .video-control .sound-on {
  display: none;
}
.banner-main .video-control img {
  width: 20px;
  height: 20px;
}
.banner-video {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: -1;
}
.mobile-banner-video {
  display: none;
}
.banner-image {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.experience-section {
  padding-block: 6rem;
}

.experience-section .swiper-wrapper {
  margin-block-end: 0.85rem;
}

.experience-section h2 {
  padding-bottom: 8rem;
  text-align: center;
  font-size: 3rem;
  line-height: 1.36;
  color: #808080;
  font-weight: 400;
  max-width: 105rem;
  margin-inline: auto;
}

.client-served {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
  padding-top: 6.3rem;
}

.client-served .services-numbers {
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.45;
  padding-left: 2.2rem;
  color: #808080;
  position: relative;
}

.client-served .services-numbers p {
  padding-top: 0.5rem;
}

.client-served .services-numbers::before {
  content: "";
  position: absolute;
  left: 0;
  height: 4.5rem;
  border-left: 0.1rem solid #262626;
}

.tag-line {
  padding-top: 8.4rem;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.35;
  color: #4c4c4c;
}

.card-item {
  cursor: pointer;
}
.arrow-icon {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  cursor: pointer;
}

.carousel-main {
  width: 100%;
  position: relative;
}

.carousel-swiper {
  width: 100%;
  position: relative;
}

.image-wrapper {
  height: 1.8rem;
  width: 1.2rem;
  position: relative;
}

.swiper-navigation-icon {
  display: none !important;
}

.carousel-swiper .swiper-wrapper {
  align-items: center;
  transition-timing-function: linear !important;
}

.carousel-swiper .swiper-slide .client-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.carousel-swiper .swiper-slide .client-logo-wrapper img {
  max-height: 95px;
  object-fit: contain;
}

.bottom-carousel {
  border-top: 0.05rem solid #262626;
  padding-block: 8.6rem;
}

@media screen and (max-width: 862px) {
  .client-served .services-numbers {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (min-width: 640px) {
  .experience-section .swiper-pagination {
    display: none;
  }
}

@media (max-width: 767px) {
  .banner-main {
    min-height: auto !important;
    aspect-ratio: 9/16;
  }
  
  .ios-safari .banner-main {
      min-height: 100vh !important;
  }
  
  .experience-section {
    padding-block: 4rem;
  }

  .experience-section h2 {
    text-align: left;
    font-size: 2.8rem;
    padding-block-end: 5rem;
  }
  .desktop-banner-video {
    display: none;
  }
  .mobile-banner-video {
    display: block;
  }
}

@media (max-width: 576px) {
  .experience-section h2 {
    font-size: 2.6rem;
  }

  .tag-line {
    padding-block-start: 5.65rem;
  }

  .client-served .services-numbers p {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  
  .banner-main {
    min-height: calc(100dvh - 8.8rem);
  }
   .ios-safari .banner-main {
      min-height: 100vh !important;
  }
  
  .experience-section h2 {
    font-size: 2.2rem;
  }

  .tag-line {
    font-size: 1.8rem;
  }

  .client-served .services-numbers p {
    font-size: 2rem;
  }

  .client-served {
    padding-block-start: 4.3rem;
  }
}
