.portfolio {
  /* padding: 80px 0px; */
  text-align: center;
  background-color: #ffffff;
  overflow: hidden;
  /* margin-top: 62px; */
  padding-top: 86px
}

.portfolio h2 {
  padding-top: 18px;
  font-family: "Gilroy-Bold ☞", sans-serif !important;
  text-align: center;
  font-size: 32.29px;
  line-height: 24.22px;
  margin-bottom: 10px;
}

.portfolio p {
  font-family: "Gilroy-Medium ☞", sans-serif;
  font-size: 18.16px;
  line-height: 26.24px;
  margin-bottom: 30px;
  text-align: center;
}

.sld {
  margin-top: 48px;
  overflow: hidden;
  height: 520px;
  border-radius: 12px;
  margin: 0px 36px;
  background-color: #232323;
}

.slider, .slider2, .slider3 {
  transform: rotate(-17deg) translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
}
/* Remove will-change from individual sliders */
.slider, .slider2, .slider3 {
  will-change: auto; /* Remove if not critical */
}

.slider-track {
  will-change: transform;
}
.slider-track img {
  image-rendering: -webkit-optimize-contrast;
  transform: translateZ(0);
}

.slider {
  /* will-change: transform; */
  display: inline-flex;
  overflow: visible;
  margin-top: -138px;
  width: 100%;
  height: 251px;
  /* margin: 0 auto; */
  transform: rotate(-17deg);
}

.slider2 {
  /* will-change: transform; */
  display: -webkit-box;
  transform: rotate(-17deg);
  margin-top: 24px;
}
.slider3 {
  /* will-change: transform; */
  display: -webkit-box;
  margin-top: 28px;
  transform: rotate(-17deg);
}

.slider-track {
  display: flex;
  gap: 13px;
  will-change: transform;
  transform: translateZ(0);
  animation: scroll 50s linear infinite;
  -webkit-animation: scroll 50s linear infinite;
  -moz-animation: scroll 50s linear infinite;
  -o-animation: scroll 50s linear infinite;
  -ms-animation: scroll 50s linear infinite;
}



.slider .slider-track {
  animation: port-scroll-right-left 65s linear infinite;
  animation-timing-function: linear;
}

.slider2 .slider-track {
  animation: port-scroll-left-right 65s linear infinite;
  animation-timing-function: linear;
}

.slider3 .slider-track {
  animation: port-scroll-right-left 65s linear infinite;
  animation-timing-function: linear;
}

.slider-track img {
  width: 416.83px;
  max-width: 749px;
  height: 251.11px;
  object-fit: cover;
  border-radius: 12px;
  -o-object-fit: cover; /* For older Opera versions */
}




.slider-track {
  animation: scroll 50s linear infinite;
  /* Remove duplicate animations declarations */
}

@keyframes port-scroll-right-left {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

@keyframes port-scroll-left-right {
  0% { transform: translate3d(-100%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* @-webkit-keyframes port-scroll-right-left {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  100% {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}

@-webkit-keyframes port-scroll-left-right {
  0% {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
} */





/* Media Queries */
/* Responsive Styles */
@media (max-width: 1200px) {
  .portfolio h2 {
    font-size: 28px;
    line-height: 32px;
  }

  .portfolio p {
    font-size: 16px;
    line-height: 24px;
  }

  .slider-track img {
    width: 360px;
    height: 216px;
  }
}

@media (max-width: 992px) {
  .portfolio h2 {
    font-size: 24px;
    line-height: 28px;
  }

  .portfolio p {
    font-size: 14px;
    line-height: 20px;
  }

  .slider-track img {
    width: 300px;
    height: 180px;
  }

  .slider {
    margin-top: -100px;
  }

  .sld {
    margin: 20px 24px;
    height: 420px;
  }
}

@media (max-width: 768px) {
  .portfolio {
    padding: 12px;
  }
  .portfolio h2 {
    font-size: 20px;
    line-height: 24px;
  }

  .portfolio p {
    font-size: 14px;
    line-height: 20px;
  }

  .slider-track img {
    width: 250px;
    height: 150px;
  }

  .sld {
    height: 320px;
  }
  .slider-track {
    gap: 7px;
  }
  .sld {
    /* height: 220px; */
    margin: 10px 0px;
  }
}

@media (max-width: 576px) {
  .portfolio h2 {
    font-size: 23px;
    line-height: 24px;
  }
  .slider-track {
    gap: 7px;
  }
  .portfolio p {
    font-size: 15px;
    line-height: 24px;
  }

  .slider-track img {
    width: 200px;
    height: 120px;
  }

  .sld {
    height: 220px;
    margin: 10px 0px;
  }

  .slider {
    margin-top: -65px;
  }
  .slider,
  .slider2,
  .slider3 {
    overflow: visible;
    width: 100%;
    height: 107px;
    /* margin: 0 auto; */
    transform: rotate(-17.26deg);
  }
  .slider2 .slider3 {
    transform: rotate(-17.26deg);
    margin-top: 11px;
  }
}

/* numbers section media  */
@media (max-width: 1200px) {
  .Number h2 {
    font-size: 28px;
    line-height: 32px;
  }

  .Number .para {
    font-size: 16px;
    line-height: 24px;
  }

  .stat .text {
    font-size: 70px;
  }

  .stat .txt2 {
    font-size: 22px;
  }
}

@media (max-width: 992px) {
  .Number h2 {
    font-size: 24px;
    line-height: 28px;
  }

  .Number .para {
    font-size: 14px;
    line-height: 20px;
  }

  .stat {
    height: 270px;
  }

  .stat .text {
    font-size: 60px;
  }

  .stat .txt2 {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .Number h2 {
    font-size: 20px;
    line-height: 24px;
  }

  .Number .para {
    font-size: 14px;
    line-height: 20px;
  }

  .stat {
    height: 230px;
  }

  .stat .text {
    font-size: 50px;
  }

  .stat .txt2 {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .Number {
    padding: 30px;
    height: auto;
  }

  .containor {
    padding: 20px;
    height: auto;
  }

  .Number h2 {
    font-size: 18px;
    line-height: 22px;
  }

  .Number .para {
    font-size: 12px;
    line-height: 18px;
  }

  .stats {
    display: block;
  }

  .stat {
    height: auto;
    margin: 20px 0;
    padding: 20px;
  }

  .stat .text {
    margin-top: 30px;
    font-size: 40px;
  }

  .stat .txt2 {
    font-size: 16px;
  }
}

@media screen and (min-width: 576px) and (max-width: 767px) 
{
/* .slider-track img {
  width: 207px;
  height: 110px;
}
.slider {
  margin-top: -72px;
}
.slider {
  margin-top: 13px;
}
.slider {
  margin-top: 18px;
} */
}

@media screen and (max-width: 600px)  
{

}