.section1 {
  position: relative;
}

.sec2 {
  background: url("/assets/images/about/sec2bg.jpg") no-repeat top center / cover, linear-gradient(to bottom, #071a1c, transparent);
  /* background-color: #071a1c; */
  background-blend-mode: multiply;
  position: relative;
}

.sec2 .container {
  position: relative;
  z-index: 3;
}

.sec2-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}

.sec2-right-side {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.sec2-right-side img {
  max-width: 40rem;
  text-align: right;
}

.sec3 {
  background: url("/assets/images/road-mapBG.png") no-repeat top center / cover, linear-gradient(to top, #071a1c, transparent);
  background-blend-mode: multiply;
}

.blogs {
  border: 1px solid #6f6f6f;
  border-radius: 1.5rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(1rem);
}

.swiper {
  width: 100%;
  padding-bottom: 2rem;
}

.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  flex-shrink: 0;
  width: auto;
  height: auto;
  box-sizing: border-box;
}

.swiperWrapper {
  position: relative;
}

.scrollAndArrows {
  display: flex;
  gap: 3rem;
  align-items: center;
  margin-top: 18px;
  width: 100%;
}

.mediaScrollbar,
.blogScrollbar {
  width: 100%;
  height: 2px;
  background: #ababab;
  border-radius: 3px;
  overflow: visible;
}
.swiper-scrollbar-drag {
  background-color: var(--primary-green);
  border-radius: 2px;
  height: 2px;
  cursor: grabbing;
}

.image-tab-container {
  position: relative;
  height: 50rem;
  width: 100%;
  background: url("/themes/lifeline/assets/images/product-category/Additive.jpg"), linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
  transition: background-image 0.5s ease-in-out;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  border-radius: 3rem;
  overflow: clip;
}

.content-overlay {
  max-width: 60%;
  z-index: 2;
  padding-left: 5rem;
  margin-bottom: 5rem;
}

.tabs {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  display: flex;
  flex-direction: row;
  z-index: 3;
  background: rgba(0, 0, 0, 0.1);
  box-shadow: -3px 0 10px rgba(0, 0, 0, 0.3);
}

.tab {
  writing-mode: sideways-lr;
  text-orientation: mixed;
  background: linear-gradient(90deg, rgba(73, 146, 79, 0.3) 0%, transparent);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  min-width: 6rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.3s;
  user-select: none;
  font-size: 1.8rem;
}

.tab span {
  padding-bottom: 3rem;
}

.tab:hover,
.tab.active {
  background: var(--primary-green);
}

.footerSketch {
  margin-top: -22rem;
}

.cloudImg {
  position: absolute;
  top: 0;
  left: -10%;
  opacity: 0.4;
  z-index: 2;
}

.gradientImg {
  position: absolute;
  bottom: -90%;
  z-index: 1;
  width: 100%;
}

.rightCloudImg {
  position: absolute;
  top: -10rem;
  right: -10%;
  opacity: 0.4;
  z-index: 2;
}

/* for tab */
@media screen and (max-width: 1024px) {
  .sec2-right-side {
    justify-content: flex-start;
  }
  .footerSketch {
    margin-top: unset;
  }
}

/* for mob */
@media screen and (max-width: 768px) {
  .rightCloudImg {
    top: 50rem;
  }
  .image-tab-container {
    height: 75dvh;
    background-size: cover !important;
    background-position: center !important;
    align-items: unset;
    padding-bottom: unset;
    padding-top: 5rem;
  }
  .content-overlay {
    max-width: unset;
    width: 100%;
    padding-inline: 3rem;
  }
  .tabs {
    position: absolute;
    top: unset;
    right: unset;
    bottom: 0;
    left: 0;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
  }
  .tab {
    writing-mode: unset;
    align-items: center;
    justify-content: unset;
    padding-inline: 3rem;
    background: linear-gradient(to bottom, rgba(73, 146, 79, 0.3) 0%, transparent);
  }
  .tab span {
    padding-bottom: 0;
    padding-block: 1.5rem;
  }

  .mobRevContent {
    display: flex;
    flex-direction: column-reverse;
  }
}