* {
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  /* 6.25% = 1 px  */
  /* 62.5% = 1 rem =  10 px  */
  overflow-x: hidden !important;
  scroll-behavior: smooth;
}

html body {
  overflow-x: hidden !important;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

h1 {
  font-size: 5rem !important;
  font-weight: normal;
  color: black !important;
}

h2 {
  font-size: 5rem !important;
  font-weight: 550;
  color: black !important;
}

h3 {
  font-size: 4rem !important;
  font-weight: normal;
  color: black !important;
}

h4 {
  font-size: 2rem !important;
  font-weight: normal;
  color: black !important;
}

h5 {
  font-size: 1rem !important;
  font-weight: normal;
  color: black !important;
}

h6 {
  font-size: 0.5rem !important;
  font-weight: normal;
  color: black !important;
}

P {
  font-size: 1.5rem !important;
  line-height: 25px;
  color: rgb(0, 0, 0) !important;
}

span {
  color: #006aff !important;
  font-size: 1.5rem !important;
  font-weight: 550 !important;
}

.down-arrow {
  color: white !important;
  position: absolute;
  top: 12px;
  right: 8px;
  transition: all 0.5s ease;
  font-size: 1.5rem !important;
}

.green-horizontal {
  width: 50px;
  height: 5px;
  background: linear-gradient(
    90deg,
    rgba(0, 106, 255, 1) 0%,
    rgba(0, 38, 90, 1) 100%
  );
  margin: 0px 0px 20px 0px;
}

.margin-tb-production-one {
  padding: 150px 0px;
  background-color: black;
}

.max-width {
  max-width: 85vw;
  margin: auto;
}

.production-max-width {
  max-width: 85vw;
  margin: 0 auto;
}

.production-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
}

.production-left {
  width: 40%;
  position: relative;
}

.production-left h3 {
  padding: 20px 0px;
  font-size: 3rem !important;
  color: white !important;
}

.production-left h3 span {
  font-size: 3rem !important;
}

.production-left h2 {
  padding: 20px 0px;
  position: relative;
  font-weight: 550 !important;
  color: white !important;
}

.production-left p {
  padding: 20px 0px;
  margin: 20px 0px;
  color: white !important;
  top: 20px;
  position: relative;
}

/* For the categories */
.category {
  font-size: 4rem !important;
  position: absolute;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  transform: translateY(0%);
  top: 51%;
}

.first-category {
  background: linear-gradient(to right, #8a59fe, #823767);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.second-category {
  background: linear-gradient(to right, #97a2f1, #0e66f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.third-category {
  background: linear-gradient(to right, #d04e2d, #2030b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fourth-category {
  background: linear-gradient(to right, #177a79, #f07b06);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fifth-category {
  background: linear-gradient(to right, #4f93cf, #e58e75);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* For the currently active category */
.category.active {
  opacity: 1;
  transform: translateY(100%);
}

/* For the category sliding out */
.category.slideOut {
  opacity: 0;
  transform: translateY(-100%);
}

/* For the category sliding in */
.category.slideIn {
  opacity: 1;
  transform: translateY(0);
}

.production-right-main {
  height: 500px;
}

.production-right {
  position: relative;
  width: 100%;
  max-width: 500px;
  /* Set a max-width to control the container size */
  height: 100%;
  /* Adjust height automatically */
  aspect-ratio: 2 / 1;
  /* Maintain the aspect ratio */
  overflow: hidden;
  border-radius: 25px;
}

/* Basic styles for the images */
.production-right img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

/* For the currently active image */
.production-right img.active {
  opacity: 1;
  transform: translateY(0);
}

/* For the image sliding out */
.production-right img.slideOut {
  opacity: 0;
  transform: translateY(-100%);
}

/* For the image sliding in */
.production-right img.slideIn {
  opacity: 1;
  transform: translateY(0);
}

/* Button styling */

.production-button-container {
  display: flex;
  gap: 30px;
  padding: 20px 0px;
}

.production-button-left {
  background-color: transparent;
  border: 1px solid #007bff;
  color: white;
  padding: 15px 30px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.5rem;
  position: relative;
}

.production-button-left:hover {
  box-shadow: 0 0 5px 1px rgba(0, 123, 255, 0.7);
}

.production-button-left:hover .down-arrow {
  top: 15px;
}

.production-button-right {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #006aff;
  font-size: 1rem;
}

.production-button-right span {
  font-weight: bold !important;
}

.production-button-right img {
  width: 10px;
  height: 10px;
}

/* Built 4th section  */

.built-container {
  background-color: black;
  color: white !important;
  overflow: hidden;
  position: relative;
  padding-bottom: 50px;
  width: 100%;
}

.built-heading {
  margin: 50px 0;
}

.built-heading h2 {
  color: white !important;
}

.built-content {
  display: flex;
  overflow: hidden;
  margin-bottom: 50px;
}

.built-left {
  width: 60%;
}

.built-left img {
  width: 100%;
  height: auto;
  border-radius: 25px;
}

.built-right {
  flex: 1;
  padding-left: 20px;
}

.built-item {
  position: relative;
  padding-left: 20px;
  /* Adjust padding to align text with border */
  margin-bottom: 0px;
  /* Remove margin to ensure borders are vertically aligned */
  transition: border-color 0.5s, color 0.5s;
  cursor: pointer;
}

.built-item.active::before {
  background-color: #006aff;
  /* Change border color when active */
  z-index: 2;
  /* Place the active border on top of the default border */
}

.built-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 1px;
  background-color: gray;
  /* Default border color */
  transition: background-color 0.3s, height 0.3s;
}

.built-item.active::before {
  background-color: #006aff;
  /* Change border color when active */
  height: 100%;
  /* Change the border height */
}

.built-item h3 {
  color: white !important;
  display: flex;
  align-items: center;
  font-size: 2.5rem !important;
  margin-bottom: 10px;
}

.built-item h3 img {
  margin-left: 10px;
  height: 20px;
  width: 25px;
}

.built-item.active {
  border-left-color: #006aff !important;
}

.built-item.active h3 {
  color: #006aff !important;
}

.built-item p {
  color: white !important;
  padding-bottom: 20px;
  /* font-size: 1.2rem !important; */
}

.built-item.active img {
  content: url("images/blue-right-arrow.webp") !important;
}

/* Hide scrollbar but still allow scrolling */

.built-right::-webkit-scrollbar {
  width: 0;
  /* Hide scrollbar for WebKit browsers */
  height: 0;
  /* Hide horizontal scrollbar if needed */
}

/* This css is for mobile section  */

/* Container for the built items */
.mobile-built-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /* Adjust the spacing between rows as needed */
}

/* Style for each built item */
.mobile-built-item {
  padding: 1rem;
  border-radius: 8px;
  /* Adjust border radius as needed */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Style for the heading with arrow image */
.mobile-built-item h3 {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  /* Adjust font size as needed */
  color: #006aff !important;
  /* Adjust font color as needed */
  margin: 0px 0px 20px 0px;
}

/* Style for the paragraph */
.mobile-built-item p {
  margin: 0px 0px 20px 0px;
  color: #ffffff !important;
  /* Adjust font color as needed */
  font-size: 1rem;
  /* Adjust font size as needed */
}

/* Style for the arrow image */
.mobile-built-item img[src="images/blue-right-arrow.webp"] {
  margin-left: 1rem;
  width: 20px;
  /* Adjust size as needed */
  height: auto;
}

/* Additional style for the image below the paragraph */
.mobile-built-item img[src="images/blue-right-arrow.webp"] {
  margin-top: 0.5rem;
  width: 20px;
  /* Adjust size as needed */
  height: auto;
}

.mobile-built-img {
  width: 100%;
  border-radius: 10px;
}

/* tech stack  */

.tech-stack {
  padding: 20px;
  display: flex;
  /* justify-content: center; */
  align-items: center;
  flex-direction: column;
}

.tech-stack-heading {
  margin: 30px 0px 50px 0px;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.tech-stack-row {
  display: flex;
  margin-bottom: 50px;
  width: 100%;
  /* Use 100% width to fit the container */
  justify-content: center;
}

.tech-stack-column {
  flex: 1;
  padding: 0 10px;
  display: flex;
  justify-content: center;
  /* Center align the box within the column */
}

.tech-stack-box {
  background-color: #fff;
  border-radius: 10px;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
  padding: 20px;
  text-align: center;
  width: 50px;
  /* Fixed width for the box */
  height: 50px;
  /* Fixed height for the box */
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.tech-stack-icon {
  width: 60px;
  /* Fixed width for the image */
  height: 60px;
  /* Fixed height for the image */
  object-fit: contain;
  /* Maintain aspect ratio */
  transition: all 1s ease;
}

.tech-stack-box:hover .tech-stack-icon {
  transform: scale(1.5);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-250px * 7));
  }
}

.image-slider {
  height: 120px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: auto;
  padding: 80px 0px 0px 0px;
}

.image-slider-track {
  animation: scroll 40s linear infinite;
  display: flex;
}

.slider-image {
  padding: 0px 50px;
}

.slider-image img {
  height: 60px;
}

@media (min-width: 1321px) {
  .category {
    top: 54%;
  }
}

@media (max-width: 1320px) {
  h2 {
    font-size: 4rem !important;
  }

  .category {
    top: 48%;
    font-size: 4rem !important;
  }
}

@media (max-width: 1150px) {
  .category {
    font-size: 3.5rem !important;
    top: 45%;
  }
}

@media (max-width: 1060px) {
  .category {
    top: 50%;
  }
}

@media (max-width: 992px) {
  .production-main {
    flex-direction: column;
    gap: 50px;
  }

  .production-left {
    width: 100%;
  }

  /* .production-right {
        width: 100%;
    } */

  .margin-tb-production-one {
    padding: 70px 0px;
  }

  .category {
    top: 45%;
  }
}

@media (max-width: 768px) {
  h2 {
    font-size: 3.5rem !important;
  }

  .category {
    top: 41%;
  }
}

@media (max-width: 600px) {
  .production-right {
    position: relative;
    width: 400px;
    height: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 25px;
  }

  .production-right-main {
    height: auto;
  }
}

@media (max-width: 580px) {
  .category {
    top: 46%;
  }
}

@media (max-width: 556px) {
  h2 {
    font-size: 2.5rem !important;
  }

  .production-left p {
    top: 10px;
  }

  .category {
    top: 34%;
    font-size: 2.5rem !important;
  }

  .production-button-container {
    flex-direction: column;
  }

  .production-button-right {
    justify-content: center;
  }

  .mobile-built-item h3 {
    font-size: 2.8rem !important;
  }

  .tech-stack-box {
    padding: 0px;
  }

  .tech-stack-icon {
    height: 35px;
    width: 35px;
  }

  .tech-stack-column {
    padding: 0px;
  }


}

@media (max-width: 472px) {
  .category {
    top: 32%;
  }
}

@media (max-width: 415px) {
  .category {
    top: 35%;
  }
}

@media (max-width: 460px) {
  .production-right {
    width: 280px;
  }
}

@media (max-width: 330px) {
  .category {
    top: 33%;
  }
}
