/* page banner */

.page-banner {
  height: 90vh;
  width: 100vw;
}

.page-banner__bg-image {
  position: relative;
  background-image: url("../assets/images/BG_BANNER_HOME.png");
  background-color: transparent;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 80%;
  box-shadow: 0px 10px 14px 2px black;
}

.video-overlay {
  opacity: 0;
  visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
  /* max-width: 864px; */
  margin-block: 1rem 0;
  margin-inline: auto;
  padding-bottom: 8em;
  position: absolute;
  left: 0;
  right: 0;
  top: 18%;
}

.video-container {
  border: 3px solid white;
  margin-top: 40px;
  position: relative;
  width: 100%;
  height: 100%;
  padding-bottom: 56.25%;
}

.video-container .topR {
  position: absolute;
  width: 75px;
  height: 50px;
  top: 20px;
  right: 20px;
  border-top: 2px solid white;
  border-right: 2px solid white;
  z-index: 1;
}

.video-container .topL {
  position: absolute;
  width: 75px;
  height: 50px;
  top: 20px;
  left: 20px;
  border-top: 2px solid white;
  border-left: 2px solid white;
  z-index: 1;
}

.video-container .bottomL {
  position: absolute;
  width: 75px;
  height: 50px;
  bottom: 20px;
  left: 20px;
  border-bottom: 2px solid white;
  border-left: 2px solid white;
  z-index: 1;
}

.video-container .bottomR {
  position: absolute;
  width: 75px;
  height: 50px;
  bottom: 20px;
  right: 20px;
  border-bottom: 2px solid white;
  border-right: 2px solid white;
  z-index: 1;
}

.video-container .vid-text {
  position: absolute;
  right: 40px;
  top: 40px;
  font-size: 1.2em;
  font-family: system-ui;
  z-index: 1;
}

@keyframes blink {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.video-container .vid-text .vid-span-text {
  animation: blink .5s infinite;
}

.video-container video {
  position: absolute;
  width: 100%;
  height: 100%;
}

@keyframes bounceInLeft {
  0% {
    opacity: 0;
    transform: translateX(-2000px);
  }

  60% {
    transform: translateX(50px);
  }

  80% {
    transform: translateX(-5px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.page-banner__left-col {
  position: absolute;
  background-image: url("../assets/images/XBORG_MOBILE_VIEW.png");
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
  animation: bounceInLeft 0.8s forwards;
}

@keyframes bounceInRight {
  0% {
    opacity: 0;
    transform: translateX(2000px);
  }

  60% {
    transform: translateX(-50px);
  }

  80% {
    transform: translateX(5px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.page-banner__right-col {
  position: absolute;
  background-image: url("../assets/images/PAINTEDLADY_MOBILE.png");
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
  background-position: bottom right;
  animation: bounceInRight 0.8s forwards;
}

@media screen and (min-width: 864px) {
  .page-banner__left-col {
    background-image: url("../assets/images/XBORG_BANNER_HOME.png");
    top: -10%;
    height: 120%;
    width: 40%;
    background-position: top left;
  }

  .page-banner__right-col {
    background-image: url("../assets/images/PAINTEDLADY_BANNER_HOME.png");
    top: -10%;
    height: 120%;
    width: 40%;
    right: 0;
  }

  .video-overlay {
    top: unset;
  }
}

/* about section */

.about {
  width: 100%;
  position: relative;
  margin: 0 auto;
  padding: 2em 0 6em 0;
  overflow: hidden;
}

.about__content {
  width: 100%;
  opacity: 0;
}

.about__header {
  font-size: clamp(1em, 8vw, 4em);
  font-family: "TangoSans", sans-serif;
  width: 30%;
  min-width: 7em;
  line-height: 70%;
  letter-spacing: 0.5px;
  font-weight: 500;
  margin-left: 8%;
  margin-bottom: -2px;
}

.about__header .smaller-font {
  font-size: clamp(1rem, 7vw, 3.5rem);
  margin-bottom: -2px;
}

.about__body {
  background-color: #fff;
  width: 100%;
  height: fit-content;
  box-shadow: 0px 10px 14px 2px black;
}

.about__wrapper {
  width: 100%;
  min-width: 5em;
  max-width: 80em;
  padding: 2em 1em 13em 1em;
}

.about__logo {
  min-width: 10em;
  /* width: 60%; */
  width: clamp(12.5rem, 35.398vw - 10.155rem, 17.5rem);
  /* max-width: 350px; */
  padding-bottom: 0.5em;
}

.about__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about__desc {
  width: 100%;
  font-size: clamp(0.875rem, 0.697vw + 0.679rem, 1.125rem);
  font-family: "PT Sans Narrow", sans-serif;
  font-weight: 500;
  line-height: 1.8;
  color: #242424;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about__right-banner {
  position: absolute;
  background-image: url("../assets/images/GECMASCOT_HOME_Mobile.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  right: 0;
  bottom: 4%;
  top: 300px;
  width: clamp(80%, calc(80% + (400px - 100vw) * 2), 100%);
  max-width: 675px;
  opacity: 0;
}

@media screen and (min-width: 400px) {
  .about__right-banner {
    background-image: url("../assets/images/GECMASCOT_HOME.png");
    /* left: clamp(12.5rem, 34.286vw + 3.929rem, 16.25rem); */
    bottom: 8%;
    top: 0;
  }

  .about__wrapper {
    padding: 2em clamp(11rem, 36.571vw + 1.857rem, 15rem) 2em 1em;
  }
}

@media screen and (min-width: 576px) {
  .about__right-banner {
    /* left: 260px; */
    bottom: 4%;
    top: 0;
  }

  .about__wrapper {
    padding: 3em clamp(17rem, 25.131vw + 7.953rem, 20rem) 3em 1em;
    width: 100%;
  }
}

@media screen and (min-width: 768px) {
  .about__body {
    /* max-height: 30em; */
  }

  .about__header {
    margin-left: 10%;
    margin-bottom: -4px;
  }

  .about__wrapper {
    padding: 4em 3em 4em 2em;
    width: 60%;
  }

  .about__desc {
    width: 90%;
  }

  .about__right-banner {
    right: 0;
    bottom: 0;
    top: 0;
    height: 90%;
    left: clamp(18.75rem, 19.531vw + 9.375rem, 21.875rem);
  }

  .about .about__content .about__body {
    /* height: 100vh; */
  }
}

@media screen and (min-width: 1024px) {
  .about__wrapper {
    padding: 4em 10em 4em 4em;
  }

  .about__right-banner {
    right: 0;
    background-size: contain;
    background-position: right;
    /* left: clamp(25rem, 71.749vw - 20.919rem, 35rem); */
    left: auto;
    height: 100%;
    max-width: 625px;
  }

  .about__logo {
    padding-bottom: 3em;
    /* width: 60%; */
  }
}

@media screen and (min-width: 1248px) {
  .about {
    padding: 4em 0 10em 0;
  }

  .about__wrapper {
    padding: 5em 0 5em 15em;
    width: 50%;
  }

  .about__right-banner {
    right: 0;
    left: auto;
  }

  .about__logo {
    padding-bottom: 3em;
    /* width: 40%; */
    top: 0;
    bottom: 0;
  }
}

/* works */

.works {
  width: 100%;
  height: 100%;
  padding: 4em 0 2em 0;
  opacity: 0;
  transform: translateY(20px);
}

.works__gallery {
  padding: 3em 0;
  display: flex;
  flex-direction: column;
  gap: 2em;
  height: 100%;
  overflow-x: hidden;
}

.carousel-container {
  display: flex;
  align-items: center;
  position: relative;
}

.works__gallery-container {
  display: flex;
  gap: 1em;
  overflow-x: scroll;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  height: 100%;
}

.swiper-container,
.swiper-container-reverse {
  display: flex;
  position: relative;
  padding: 1em;
  width: 100%;
  -webkit-mask: linear-gradient(90deg,
      transparent,
      #fff 20%,
      #fff 80%,
      transparent);
  mask: linear-gradient(90deg, transparent, #fff 20%, #fff 80%, transparent);
}

.swiper-container .swiper-wrapper .swiper-slide,
.swiper-container-reverse .swiper-wrapper .swiper-slide {
  width: auto;
}

.swiper-container .swiper-wrapper .swiper-slide a,
.swiper-container-reverse .swiper-wrapper .swiper-slide a {
  text-decoration: none;
  color: #fff;
}

/* works card original stlyings */

.works__landscape img,
.works__portrait img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.works__landscape {
  flex: 0 0 auto;
  width: 100%;
  max-width: 20em;
  min-width: 15em;
  height: 8em;
  border-radius: 15px;
  overflow: hidden;
}

.works__portrait {
  flex: 0 0 auto;
  max-width: 10em;
  width: 100%;
  height: 10em;
  border-radius: 15px;
  overflow: hidden;
}

.card {
  position: relative;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.card .works__card-details {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 0.5em;
  padding: 1.5em;
}

.card-chip {
  width: fit-content;
  font-size: 11px;
  font-family: "Heavitas", sans-serif;
  text-align: center;
  letter-spacing: 1px;
  padding: 0.5em 0.8em;
  border-radius: 50px;
  cursor: pointer;
  background-color: #41475f;
}

@media screen and (min-width: 964px) {
  .works__portrait {
    max-width: 15em;
    height: 20em;
  }

  .works__landscape {
    max-width: 28em;
    min-width: 28em;
    height: 16em;
  }
}

.card .works__card-details .card-title {
  font-family: "Heavitas", sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.card .works__card-details .card-desc {
  font-family: "PT Sans Narrow", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  width: 60%;
}

.card .works__card-details .card-btn {
  background: rgb(248, 93, 9);
  background: linear-gradient(180deg,
      rgba(248, 93, 9, 1) 7%,
      rgba(253, 178, 22, 1) 100%);
  text-align: center;
  width: 60%;
  font-size: 12px;
  font-family: "Heavitas", sans-serif;
  letter-spacing: 1px;
  padding: 0.8em 1em;
  border-radius: 50px;
  cursor: pointer;
}

.card .works__card-details .card-btn a {
  text-decoration: none;
  color: #fff;
}

/* works card new stlyings */

.works__card {
  position: relative;
  background-color: #303446;
  border-radius: 5px;
  background-position: center;
  background-size: cover;
  width: 100%;
  width: 15em;
  height: 18em;
  overflow: hidden;
  padding: 1em;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease-in;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.5);
}

.works__card:hover {
  border: 1px solid rgb(216, 216, 216);
  transform: scale(1.05);
}

.works__card-img {
  width: 100%;
  height: 60%;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
}

.works__card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  backdrop-filter: contrast(0.5);
  border-radius: 10px;
}

.works__card .works__card-details {
  color: #fff;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.works__card .works__card-details .card-title {
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 1.3em;
  text-transform: uppercase;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.works__card .works__card-details .card-desc {
  font-family: "PT Sans Narrow", sans-serif;
  font-size: 14px;
  font-weight: 500;
  height: 3em;
  letter-spacing: 1px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.works__card .works__card-details .card-chip {
  width: fit-content;
  max-width: 22em;
  font-size: 11px;
  font-family: "Heavitas", sans-serif;
  text-align: center;
  letter-spacing: 1px;
  padding: 0.5em 0.8em;
  border-radius: 50px;
  cursor: pointer;
  background-color: #41475f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-btn a {
  text-decoration: none;
  color: #fff;
}

.more-btn {
  padding: 1em 2em;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-family: "Heavitas", sans-serif;
  letter-spacing: 1px;
  color: #fff;
  cursor: pointer;
  width: fit-content;
  margin: 1em auto;
  text-decoration: none;
}

.more-btn img {
  width: 8px;
  margin-left: 0.5em;
}

@media screen and (min-width: 964px) {
  .works__card {
    width: 25em;
    height: 22em;
  }
}

/* main services */

.main-services {
  width: 100%;
  height: 100%;
  padding: 0 0 6em 0;
  opacity: 0;
  transform: translateY(20px);
}

.main-services .wrapper {
  max-width: 80em;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2em;
  padding: 3em 1em;
  margin: 0 auto;
}

.main-services .wrapper .item-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.main-services .wrapper .item-wrapper .item-flex {
  display: flex;
  flex-direction: column;
  gap: 2em;
  align-items: center;
}

.main-services .wrapper .item-wrapper .item {
  display: flex;
  flex-direction: column;
  gap: 2em;
  align-items: center;
}

.main-services .wrapper .item-wrapper .item .banner-img {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-services .wrapper .item-wrapper .item img {
  width: 100%;
  max-width: 500px;
  height: 350px;
  object-fit: cover;
  border-radius: 2em;
  box-shadow: 0px 10px 14px 0px black;
}

.main-services .wrapper .item-wrapper .item .content {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.main-services .wrapper .item-wrapper .item .content .title {
  width: 40%;
  min-width: 10em;
  font-family: "Muro", sans-serif;
  font-size: 2em;
  letter-spacing: 1px;
}

.main-services .wrapper .item-wrapper .item .content .desc {
  width: 100%;
  font-family: "Microsoft PhagsPa", sans-serif;
  font-size: 1.2em;
}

.main-services .wrapper .item-wrapper .wide-line {
  width: 100%;
  height: 3px;
}

@media screen and (min-width: 964px) {
  .main-services .wrapper .item-wrapper .item {
    gap: 2em;
    padding: 4em 0;
  }

  .main-services .wrapper .item-wrapper .item-flex {
    flex-direction: row;
    gap: 2em;
    padding: 4em 0;
  }

  .main-services .wrapper .item-wrapper .reverse-flex {
    flex-direction: row-reverse;
  }


}

/* clients */

.clients {
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
}

.clients .clients__list {
  height: 100%;
  padding-top: 3em;
  width: 90%;
  max-width: 65em;
  margin: 0 auto;
  gap: 3em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.clients .clients__list .clients__item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 10em;
}

.clients .clients__list .clients__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}