body::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

#main-hero-section {
  /* background: #399ae4;
  background: linear-gradient(
    90deg,
    rgba(57, 154, 228, 0.12) 31%,
    rgba(255, 23, 0, 0.12) 100%
  ); */
  background-color: transparent;
  box-shadow: rgba(146, 146, 146, 0.1) 0px 20px 25px -5px,
    rgba(150, 150, 150, 0.04) 0px 10px 10px -5px;
  z-index: 10;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0);
}

#main-hero-mob {
  display: none;
}

.hero-text-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-section {
  height: 550px;
  display: flex;
  overflow: hidden;
}

.hero-sub-container {
}

.hero-text-container {
  flex: 2;
}

.hero-slider-container {
  flex: 3;
}

.achieve-container {
  display: flex;
  gap: 20px;
}
.achieve-div {
  display: flex;
  flex-direction: column;
}

.hero-slider-container {
  position: relative;

  height: 500px; /* fixed height */
  rotate: 20deg;
}

.slides {
  z-index: 50;
  position: absolute;
  top: -250px;
  left: 0;
  width: 100%;
  display: flex;
  display: none;
  flex-direction: column;
  transition: transform 1s ease-in-out;
}

.slide {
  width: 100%;
  height: 1200px; /* same as container */
  background-size: contain; /* show full image without crop */
  background-position: center;
  background-repeat: no-repeat;
}

/* Example images */
.slide:nth-child(1) {
  background-image: url('/assets/img/others/slide1.png');
}
.slide:nth-child(2) {
  background-image: url('/assets/img/others/slide1.png');
}
.slide:nth-child(3) {
  background-image: url('/assets/img/others/slide1.png');
}
.slide:nth-child(4) {
  background-image: url('/assets/img/others/slide1.png');
}
.slide:nth-child(5) {
  background-image: url('/assets/img/others/slide1.png');
}

.tech-stacks-slide {
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 80px;
  background-color: var(--text-color-white);
}

.marquee {
  background-color: var(--text-color-white);
}

.tech-stacks-img {
  /* flex: 1; */
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0px;
}
.tech-stacks-img img {
  /* flex: 1; */
  height: 70%;
}
.tech-stacks-slide .marquee {
  display: flex;
  width: max-content;
  animation: scroll 25s linear infinite;
}

.tech-stacks-img {
  flex: 0 0 auto;
  margin: 0 40px;
}

.tech-stacks-img img {
  height: 45px; /* adjust size */
  object-fit: contain;
  transition: transform 0.3s;
}
.tech-stacks-img img:hover {
  transform: scale(1.1);
}

.home-about-container {
  display: flex;
  gap: 60px;
}
.home-about-div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-wrap: wrap;
}

.home-about-div-left {
  gap: 20px;
  flex: 2;
  justify-content: space-between;
}

.home-about-div-right {
  flex: 4;
  gap: 20px;
  flex-direction: column;
  justify-content: space-between;
}

.kotlin-div img {
  height: 50%;
}
.django-div img {
  height: 60%;
}

.node-js-div img {
  height: 60%;
}

.mongodb-div img {
  height: 60%;
}

.home-about-div-right > div {
  display: flex;
  justify-content: end;
}

.why-partner-container {
  display: flex;
  gap: 80px;
}
.why-partner-content {
  flex: 3;

  display: flex;
  gap: 20px;
}
.why-partner-img {
  flex: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* always 2 columns */
  gap: 20px;
  overflow: hidden;
}
.why-partner-img-div {
  width: 250px;
  height: 250px;
  background-color: black;
  overflow: hidden;
  /* overflow-x: visible; */
}

.why-partner-img-div img {
  height: 100%;
  object-fit: cover;
}

.partner-div-1 {
  border-radius: 0px 0px 0px 50%;
  background: #399ae4;
  background: linear-gradient(
    -180deg,
    rgba(57, 154, 228, 0.3) 31%,
    rgba(255, 23, 0, 0.3) 100%
  );
}
.partner-div-2 {
  border-radius: 50% 0px 50% 0px;
  background: #399ae4;
  background: linear-gradient(
    -180deg,
    rgba(57, 154, 228, 0.3) 31%,
    rgba(255, 23, 0, 0.3) 100%
  );
}
.partner-div-3 {
  border-radius: 50% 0px 0px 0px;
  background: #399ae4;
  background: linear-gradient(
    0deg,
    rgba(57, 154, 228, 0.3) 31%,
    rgba(255, 23, 0, 0.3) 100%
  );
  overflow: visible;
}
.partner-div-3 img {
  width: 100%;
  transform: scale(1.3);
}
.partner-div-4 {
  border-radius: 0px 50% 0px 0px;
  background: #399ae4;
  background: linear-gradient(
    0deg,
    rgba(57, 154, 228, 0.3) 31%,
    rgba(255, 23, 0, 0.3) 100%
  );
}

.why-partner-content {
  display: flex;
  flex-direction: column;
}

.why-partner-content > p {
  width: 95%;
}

.why-partner-btn {
  display: flex;
  /* flex-direction: column; */

  gap: 20px;
}

.why-partner-list-div {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  overflow: visible;
  position: relative;
  margin-top: 20px;
}
.why-partner-bottom-btn {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: auto;
}
.why-partner-list-div button {
  margin-left: auto;
}

.why-partner-list {
  flex: 1 1 300px;
  background-color: rgba(0, 0, 0, 0.315);
  padding: 20px;
  /* border-radius: 20px; */
  background-color: white;
  background-position: bottom;
  background-size: cover;
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; */
  border-radius: 20px !important;

  overflow: visible !important;
}

.img-span {
  width: 40px;
  height: 40px;
  display: inline-block;
  position: absolute;
  top: -15px;
  left: 2px;
  background-color: white;
  border-radius: 50%;
  overflow: hidden;
  /* box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; */
  display: flex;
  justify-content: center;
  align-items: center;
}
.img-span img {
  width: 80%;
}
/* .all-client-container {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  overflow: scroll;
  height: 400px;
} */

/* .all-client-container {
  
  -ms-overflow-style: none;
  scrollbar-width: none;
  animation: scroll 25s linear infinite;
  width: max-content;
} */

/* .all-client-container::-webkit-scrollbar {
  display: none;
} */
/* .each-client {
  min-width: 800px;
  max-width: 800px;
  height: 300px;
  display: flex;
  position: relative;
  gap: 30px;
  align-items: center;
  padding: 20px;
}

.client-img-div {
  flex: 2;
  height: 200px;
  background: #399ae4;
  background: linear-gradient(
    80deg,
    rgba(57, 154, 228, 0.545) 20%,
    rgba(255, 21, 0, 0.673) 60%
  );
  border-radius: 20px;
}

.client-img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  position: absolute;
  top: -5px;
  left: 120px;
  background-image: url('/assets/img/others/client-img/shubhamji.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.client-name-plate {
  display: flex;
  flex-direction: column;

  justify-content: center;
  width: 100%;
  height: 50px;
  background: #399ae4;
  background: linear-gradient(
    80deg,
    rgba(57, 154, 228, 0.429) 20%,
    rgba(255, 21, 0, 0.589) 60%
  );
  position: absolute;
  bottom: 44px;
  padding-left: 40px;
  color: white;
}

.quote-span {
  width: 50px;
  height: 50px;
}
.quote-span img {
  width: 100%;
}
.client-text {
  flex: 1;
  height: 300px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
} */

.client-container {
  position: relative;

  display: flex;
  flex-direction: column;
}

.our-client-content-container {
  display: flex;
  gap: 20px;
}

.client-side-container {
  flex: 3;
  /* height: 600px; */
  /* background-color: bisque; */
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url(/assets/img/others/client-img/background-3.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 20px;
}
.clients-bottom-btn {
  margin-left: auto;
  display: flex;
  gap: 20px;
  align-items: center;
}

.client-main-content {
  flex: 4;
  /* background-image: url('/assets/img/others/client-img/bg-13.jpg'); */
  background-position: center;
  background-size: cover;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
  grid-template-rows: repeat(2, auto); /* 2 rows */
  gap: 20px;
  width: 90%;
  /* padding: 20px; */
  border-radius: 10px;
}

.each-client {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* width: 500px; */
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('/assets/img/others/expertise/backkgr2.jpg');
  /* box-shadow: rgba(240, 240, 240, 0.475) 0px 7px 29px 0px; */
  padding: 30px;
  border-radius: 10px;
  cursor: pointer;
}

.testimonials:nth-child(1) {
  grid-column-start: 1;
  grid-column-end: 2; /* occupies column 1 only */
  grid-row-start: 1;
  grid-row-end: 2; /* row 1 */
  backdrop-filter: blur(7px); /* frosted glass blur */
  -webkit-backdrop-filter: blur(7px); /* Safari support */
  box-shadow: rgba(240, 240, 240, 0.475) 0px 7px 29px 0px;
  color: #fff;
}

.testimonials:nth-child(2) {
  grid-column-start: 2;
  grid-column-end: 4; /* occupies columns 2 and 3 */
  grid-row-start: 1;
  grid-row-end: 2; /* row 1 */
  /* background-color: var(--primary-theme-color); */
  backdrop-filter: blur(7px); /* frosted glass blur */
  -webkit-backdrop-filter: blur(7px); /* Safari support */
  box-shadow: rgba(240, 240, 240, 0.475) 0px 7px 29px 0px;
  color: #fff;
}

.testimonials:nth-child(3) {
  grid-column-start: 1;
  grid-column-end: 3; /* occupies columns 1 and 2 */
  grid-row-start: 2;
  grid-row-end: 3; /* row 2 */
  backdrop-filter: blur(7px); /* frosted glass blur */
  -webkit-backdrop-filter: blur(7px); /* Safari support */
  box-shadow: rgba(240, 240, 240, 0.475) 0px 7px 29px 0px;
  color: #fff;
}

.testimonials:nth-child(4) {
  grid-column-start: 3;
  grid-column-end: 4; /* occupies column 3 only */
  grid-row-start: 2;
  grid-row-end: 3; /* row 2 */
  backdrop-filter: blur(7px); /* frosted glass blur */
  -webkit-backdrop-filter: blur(7px); /* Safari support */
  box-shadow: rgba(240, 240, 240, 0.475) 0px 7px 29px 0px;
  color: #fff;
}

.client-review-container {
  display: flex;
}

.quote-img {
  width: 70px;
  height: 80px;
  overflow: hidden;
  position: relative;
  flex: 1;
}

.client-review {
  flex: 4;
}

.quote-img img {
  height: 100%;
  position: absolute;
  top: -10px;
  opacity: 0.9;
}

.client-info {
  display: flex;
  gap: 10px;
}

.client-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}
.client-img img {
  width: 100%;
}

/* Different delay for each so they don’t move together */
.each-client:nth-child(1) {
  animation-delay: 0s;
}
.each-client:nth-child(2) {
  animation-delay: 0.5s;
}
.each-client:nth-child(3) {
  animation-delay: 1s;
}
.each-client:nth-child(4) {
  animation-delay: 1.5s;
}
.each-client:nth-child(5) {
  animation-delay: 2s;
}

@keyframes float1 {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(8px) translateX(-12px);
  }
  100% {
    transform: translateY(0) translateX(0px);
  }
}
@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) translateX(-10px);
  }
  100% {
    transform: translateY(0) translateX(0px);
  }
}

.section-title-subtitle {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 50px;
}

.section-subtitle {
  width: 30%;
  text-align: end;
}

.dev-process-container {
}

.sidebar-top-view {
  display: none;
}

.dev-process-with-sidebar {
  width: 100%;
  display: flex;
}
.dev-process-sidebar {
  flex: 1;
  border: 3px solid rgba(255, 0, 0, 0.709);
  border-radius: 8px;
  margin: 20px 0px;
  position: relative;
  transition: 0.3s;
}
.dev-process-sidebar:hover {
  flex: 1;
  border: 3px solid rgba(0, 0, 0, 0.709);
  border-radius: 8px;
  margin: 20px 0px;
  position: relative;
  background-color: black;
  transition: 0.3s;
  transform: scale(1.03);
  cursor: pointer;
}

.dev-process-sidebar:hover .dev-sidebar-title {
  color: transparent; /* make text transparent */
  -webkit-text-stroke: 2px rgb(255, 255, 255); /* border color and thickness */
  transition: 0.3s;
}

.dev-sidebar-title {
  top: 240px;
  left: -195px;
  rotate: -90deg;
  font-size: 80px;
  line-height: 90px;
  position: absolute;
  font-weight: bold;
  color: transparent; /* make text transparent */
  -webkit-text-stroke: 2px red; /* border color and thickness */

  border-radius: 8px;
  padding: 20px;
  display: inline-block;
  transition: 0.3s;
}

.dev-process-content {
  flex: 5;
  flex-wrap: wrap;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-template-rows: repeat(2); /* 2 rows, each 300px */
  gap: 30px; /* space between items */
  justify-content: center; /* center grid in the page */
  padding: 20px;
}

.dev-each-process {
  background-color: var(--text-color-white);
  padding: 30px 25px;
  border-radius: 8px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: 0.2s;
  cursor: pointer;
}
.dev-each-process:hover {
  transform: scale(1.05);
  transition: 0.2s;
  cursor: pointer;
}
.dev-each-process:hover .red-small-text {
  transition: 0.4s;
  color: rgba(255, 71, 34, 0.81);
}

.dev-each-process.active {
  transform: scale(1.05);
  cursor: pointer;
}

.dev-each-process.active .red-small-text {
  transition: 0.4s;
  color: rgba(255, 71, 34, 0.81);
}

.dev-process-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto;
}

.dev-process-icon img {
  width: 100%;
}
.red-small-text {
  color: rgba(146, 146, 146, 0.095);
  font-size: 100px !important;
  position: absolute;
  top: -15px;
  left: 15px;
  transition: 0.4s;
}

.mob-dev-process-wrapper {
  display: none;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

#main-hero-mob {
  position: relative;
  width: 100%;

  background: #00151ff8; /* dark base */
  overflow: hidden;
}

#main-hero-section-mob {
  z-index: 10;
}

/* Content above overlay */
.grid-background {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(180, 180, 180, 0.15) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(180, 180, 180, 0.15) 1px, transparent 1px);
  background-size: 35px 35px;
  animation: gridMove 20s linear infinite;
}

/* Animation */
@keyframes gridMove {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 600px 600px, 600px 600px;
  }
}

.grid-background {
  transform: perspective(800px) rotateX(55deg);
  transform-origin: center;
  mask-image: radial-gradient(circle at center, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(
    circle at center,
    black 40%,
    transparent 75%
  );
}

@media screen and (max-width: 1200px) {
  .sidebar-top-view {
    display: flex;
  }
  .dev-process-sidebar {
    display: none;
  }

  .client-side-container {
    display: none;
  }
}

@media screen and (max-width: 950px) {
  .hero-text-container {
    flex: 1;
  }
  .hero-slider-container {
    display: none;
  }

  .why-partner-btn {
    flex-direction: column;
    gap: 40px;
    width: 100%;
  }

  .why-partner-container {
    flex-direction: column;
    margin-top: -30px !important;
  }

  .why-partner-img-div {
    aspect-ratio: 1 / 1; /* Makes every box perfectly square */
    width: 100%;
    height: auto;
  }

  .why-partner-content {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
      url('/assets/img/others/expertise/abstractRed.jpg');
    position: relative;
    left: -20px;
    right: -20px;
    width: calc(100% + 40px);
    padding: 25px 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .why-partner-content .text-color-dark {
    color: var(--text-color-white);
  }
  .why-partner-content .gradient-text {
    color: var(--text-color-white) !important;
    -webkit-text-fill-color: white;
  }
  .why-partner-list-div button {
    color: white;
  }
  .why-partner-list-div button.gradient-border {
    border: 1.5px solid white;
    border-color: white !important;
  }
  .why-partner-list-div button.gradient-border::before {
    padding: 0px;
  }

  .why-partner-list {
    background-color: rgba(0, 49, 89, 0.217);
  }

  .why-partner-list p {
    color: white;
  }

  .why-partner-list h3 {
    font-size: var(--font-size-normal) !important;
    color: white;
  }

  .why-partner-content > p {
    width: 100%;
    text-align: justify;
  }
  .why-partner-bottom-btn .small-line {
    display: none;
  }

  .img-span {
    width: 37px;
    height: 37px;
    display: inline-block;
    position: absolute;
    top: -12;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .img-span img {
    width: 70%;
  }

  .section-title-subtitle {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .section-subtitle {
    width: 100%;
    text-align: left;
  }
  .section-subtitle span {
    display: none;
  }

  .quote-img img {
    height: 65%;
  }
}
@media screen and (max-width: 768px) {
  .medium-line-height {
    line-height: 23px !important;
  }

  .mob-text-div {
    width: 80%;
  }
  .large-line-height {
    line-height: 40px !important;
  }

  #main-hero-section {
    display: none;
  }
  .main-hero-section {
    /* background: #399ae4;
    background: linear-gradient(
      90deg,
      rgba(57, 154, 228, 0.12) 31%,
      rgba(255, 23, 0, 0.12) 100%
    ); */
  }
  #main-hero-section-mob {
    /* background-color: rgba(0, 46, 102, 0.47); */
  }

  #main-hero-mob {
    display: block;
  }
  .home-about-container {
    flex-direction: column;
  }

  .home-about-div {
    flex: none; /* disable flex ratio */
    width: 100%; /* take full width */
  }
  .hero-section {
    height: max-content;
    display: flex;
    overflow: hidden;
  }
  .full-width-container {
    padding: 30px 0px !important;
  }

  .client-main-content {
    grid-template-columns: 1fr;
  }

  .client-main-content .each-client {
    grid-column: auto !important; /* reset spans */
    grid-row: auto !important;
  }

  .dev-process-section {
    display: none;
  }

  .mob-dev-process-wrapper {
    display: block;
  }

  .mob-dev-process-sticky {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .mob-dev-title-div {
    margin-top: 40px;
    padding: 20px;
  }

  .mob-dev-title {
    position: relative;
    left: -20px;
    right: -20px;
    width: calc(100% + 40px);
    padding: 10px 20px;
    margin-bottom: 10px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
      url('/assets/img/others/expertise/abstractRed.jpg') center/cover no-repeat;
    color: white;
    /* padding: 10px 0px; */
  }

  /* wrapper: height set from JS */
  .mob-dev-process-wrapper {
    width: 100%;
  }

  /* sticky section pinned to viewport while wrapper scrolls */
  .mob-dev-process-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: block;
    width: 100%;
  }

  /* horizontal container: flex row, width set in JS */
  .mob-dev-process-container {
    display: flex;
    height: 100vh;
    width: auto; /* JS will set exact width (totalSlides * vw) */
    transform: translate3d(0, 0, 0); /* initial */
    will-change: transform;
  }

  .mob-dev-process-container .dev-each-process {
    /* backdrop-filter: blur(7px); frosted glass blur */
    /* -webkit-backdrop-filter: blur(7px); Safari support */
    /* box-shadow: rgba(240, 240, 240, 0.475) 0px 7px 29px 0px; */
    /* color: #fff;
    background-color: transparent;
    margin: 10px 30px; */
    margin: 10px 20px;
    width: 280px !important;
    height: 380px !important;
    padding: 20px 30px;
  }

  .mob-dev-process-container .dev-process-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto;
  }

  .mob-dev-process-container .dev-process-icon img {
    width: 100%;
  }

  .dev-process-bottom-btn {
    position: absolute;
    bottom: 20px;

    display: flex;
    gap: 20px;
  }
}
