.laptop-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: auto;
  aspect-ratio: 16 / 10;
  background-image: url("../images/home_page/lapi_frame.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* screen area positioning */
.laptop-screen {
  position: absolute;
  top: 12%;
  left: 14%;
  width: 72%;
  height: 72%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* image inside laptop */
.laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.viewer-section {
  display: flex;
  justify-content: space-between;
  /* gap: 50px; */
  /* padding-top: 50px; */
  align-items: flex-start;
  position: relative;
  overflow-x: clip;
  margin-left: 10%;
  margin-bottom: 3%;
}

.viewer-left {
  width: 35%;
  position: sticky;
  top: 120px;
}

.viewer-mobile {
  display: none;
}

.viewer-mobile-heading {
  width: 100%;
  text-align: center;
}

.viewer-item {
  opacity: 0.35;
  transition: opacity 0.25s ease;
  scroll-margin-top: 120px;
  padding: 20px 0;
  margin-bottom: 20px;
}

.viewer-item.active {
  opacity: 1;
}

.viewer-image {
  opacity: 0.4;
  margin-bottom: 100px;
  scroll-margin-top: 140px;
  transform: translateX(50px);
  transition: opacity 0.5s ease-out,
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 100%;
  contain: layout paint;
}

.viewer-image.active {
  opacity: 1;
  transform: translateX(0);
}

.tick {
  margin-right: 5px;
  color: #fff;
  font-size: 22px;
}

.line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.bim-description {
  display: none;
  margin-top: 15px;
}

.viewer-item.active .bim-description {
  display: block;
  animation: fadeSlide 0.6s ease forwards;
}

.bim-description p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.bim-buttons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.read-more {
  background: #D9D9D9;
  color: #000;
  width: 114px;
  height: 27px;
  border-radius: 82px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.try-demo {
  background: #0147FF;
  color: #fff;
  width: 114px;
  height: 27px;
  border-radius: 82px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.viewer-right {
  width: 60%;
  margin-top: 8%;
  overflow: clip;
}

.cylinder {
  position: absolute;
  top: 0;
  left: 19%;
  transform: translateY(-25%);
  z-index: 10;
}

.ellipse {
  position: absolute;
  top: 0;
  right: 9%;
  transform: translateY(-15%);
  z-index: 10;

}

.ellipse img {
  width: 300px;
  height: auto;
  display: block;
}

.cylinder img {
  width: 250px;
  height: auto;
  display: block;
}

.viewer-image img {
  width: 100%;
  border-radius: 18px;
}

.background_circle {
  position: absolute;
  top: -290px;
  left: 50%;
  max-width: 100%;
  transform: translateX(-50%);
  height: 950px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(0, 70, 255, 0.45) 0%,
      rgba(0, 10, 40, 0.40) 40%,
      rgba(0, 0, 0, 0.95) 70%,
      #000 100%);
  filter: blur(70px);
  z-index: -1;
}

.sub {
  color: #7D7D7D;
}

.desc-icon {
  width: 12px;
  height: 10px;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.solution-demo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30%;
}

/* =====================
   MOBILE VIEW
===================== */

@media (max-width: 1024px) {
  .laptop-wrapper {
    max-width: 600px;
  }



  .viewer-section {
    display: none !important;
  }

  .viewer-mobile .viewer-badge {
    display: inline-block;
    text-align: left;
    /* margin-left: 50px;  */
    margin-bottom: 12px;
  }

  .viewer-mobile .sub-heading1 {
    text-align: left;
    margin-left: 50px;
    margin-right: 20px;
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .viewer-mobile .viewer-desc {
    color: #C1C1C1;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .viewer-mobile {
    display: block;

    color: #fff;
    margin: 0 5%;
    margin-bottom: 3%;
  }

  .viewer-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 12px;
    background: #0147FF;
    font-size: 13px;
    margin-bottom: 5px;
    margin-top: 31px;
  }

  .viewer-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #C1C1C1;
    margin-bottom: 20px;
  }

  /* Mobile cards */
  .viewer-mobile-card {
    background: #0f0f0f;
    border-radius: 22px;
    padding: 20px;

    text-align: center;
    width: auto;
  }

  .viewer-mobile-image {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
  }

  .viewer-mobile-image img {
    width: 100%;
    border-radius: 12px;
  }

  .viewer-mobile-content {
    text-align: center;
    padding: 0;
  }

  .viewer-feature {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-size: 16px;
    color: #d9d9d9;
    /* margin-bottom: 10px; */
    gap: 6px;
    text-align: center;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid;
    border-image: linear-gradient(to right,
        #131313 0%,
        #0147FF 40%,
        #131313 100%) 1;
  }

  .viewer-feature img {
    margin: 0;
  }


  /* .separator2 {
    margin: 6px auto 6px 13%;
    width: 60%;       
  } */
}

@media (max-width: 1024px) {

  .viewer-left,
  .viewer-right {
    width: 100%;
    position: relative;
    top: auto;
  }

  .viewer-section {
    gap: 20px;
    flex-direction: column;
    align-items: center;
    padding: 20px 5%;
  }

  .viewer-right {
    margin-top: 20px;
  }

}

@media (min-width: 768px) {
  .viewer-mobile-card {
    margin: 20px 0px 24px 0px;
  }
}

@media (max-width: 767px) {
  .laptop-wrapper {
    max-width: 320px;
  }

  .laptop-screen {
    top: 10%;
    left: 12%;
    width: 76%;
    height: 72%;
  }


  .viewer-section {
    display: none !important;
  }

  .viewer-mobile {
    display: block;
    padding: 25px 0px;
    text-align: center;
    color: #fff;
  }

  .viewer-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 12px;
    background: #0147FF;
    font-size: 12px;
    margin-bottom: 12px;
  }

  .viewer-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
  }

  .sub-title {
    color: #0147FF;
  }

  .viewer-desc {
    color: #7E7E7E;
    font-size: 14px;
    margin-bottom: 18px;
  }

  /* SINGLE CARD */
  .viewer-mobile-card {
    background: #0f0f0f;
    border-radius: 22px;
    padding: 18px;
    text-align: center;
  }

  .viewer-mobile-image {

    border-radius: 16px;
    padding: 14px;
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
  }

  .viewer-mobile-image img {
    width: 80%;
    max-width: 300px;
    border-radius: 12px;
  }

  .viewer-mobile-content {
    /* padding: 0 14px; */
    text-align: left;
  }

  .viewer-visualize {
    margin-bottom: 18px;
    color: #C1C1C1;
    text-align: center;
  }

  .viewer-feature {
    font-size: 13px;
    color: #d9d9d9;
    padding: 8px 0;
    margin-bottom: 10px;
    text-align: center;
  }

  /* .separator2 {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #131313 0%, #0147FF 40%, #131313 100%);
    mask: radial-gradient(
      circle at 25% center,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,0.9) 20%,
      rgba(255,255,255,0.5) 45%,
      rgba(255,255,255,0.1) 70%,
      rgba(255,255,255,0) 90%
    );
    margin: 8px 0;
  } */
}