.project-wrapper {
  width: 100%;
  z-index: 0;
}
.project-slide {
  position: relative;
  display: flex !important;
  justify-content: end;
  z-index: 2;
}
@media (max-width: 1220px) {
  .project-slide {
    margin-left: 20px;
  }
}
.slick-current .project-slide-img-wrapper {
  width: 83%;
  height: 440px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 39px;
  transform: perspective(400px) rotateY(8deg);
  margin: 10px 0px 0 75px;
}
.project-slide-img-wrapper {
  width: 95%;
  height: 310px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 120% 100%;
  border-radius: 22px;
  transform: perspective(800px) rotateY(25deg);
  margin: 0px 0px 0px -12px;
  position: relative;
}
.right-side-gradient {
  background: url("/wp-content/uploads/2025/03/Rectangle-9.webp");
  background-position: right;
  background-repeat: no-repeat;
  background-size: contain;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  pointer-events: none;
}
.main-wrapper {
  position: relative;
}
.project-slide-contant-wrapper {
  background-color: #000;
  width: 456px;
  padding: 25px;
  border-radius: 23px;
  position: absolute;
  bottom: -87px;
  /* right: 186px; */
  right: 19.5%;
  transform: perspective(400px) rotateY(8deg);
  z-index: 10;
}
.project-title {
  font-family: "Heebo", sans-serif;
  font-size: 32px;
  font-weight: 300;
  line-height: 48px;
  color: #fff;
  margin: 0;
}
.project-acf-data {
  font-family: "Heebo", sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 48px;
  color: #fff;
  margin: 0;
}
.project-desc {
  font-family: "Heebo", sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 26px;
  color: #fff;
  margin: 0;
}
.project-btn {
  background-color: #da373e;
  border-radius: 30px;
  margin: 15px 0 0 0;
  padding: 7px 20px;
}
.project-btn:hover,
.project-btn:focus {
  background-color: #da373e;
  color: #000;
}
.project-btn a {
  font-family: "Heebo", sans-serif;
  font-size: 11.52px;
  font-weight: 700;
  line-height: 24.31px;
  color: #000;
  text-decoration: none !important;
}
.project-btn a:hover {
  color: #000;
}
.project-wrapper .slick-list {
  padding-left: 0px !important;
}
.project-wrapper .slick-track {
  padding: 35px 0 95px 0px;
  display: flex;
  align-items: center;
}
.slider-nav-btn-wrapper {
  position: absolute;
  bottom: 0px;
  left: -154px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 115px;
  z-index: 1;
}

@media (min-width: 1400px) and (max-width: 1550px) {
  .slider-nav-btn-wrapper {
    bottom: -20px;
  }
}

@media (min-width: 768px) and (max-width: 1220px) {
  .project-main-container {
    flex-direction: column !important;
  }
  .project-right-col {
    width: 100% !important;
    order: 2 !important;
  }
  .project-left-col {
    width: 100% !important;
    order: 1 !important;
  }
  .slider-nav-btn-wrapper {
    left: 45%;
  }
  .project-slide-img-wrapper::after {
    background: unset;
  }
}

@media (min-width: 768px) and (max-width: 1250px) {
  .slider-nav-btn-wrapper {
    bottom: -20%;
  }
}
@media (max-width: 1024px) {
  .slider-nav-btn-wrapper {
    bottom: -15%;
  }
}

@media (min-width: 768px) and (max-width: 1300px) {
  .slick-current .project-slide-img-wrapper {
    height: 350px;
  }
  .project-slide-contant-wrapper {
    width: 410px;
    padding: 15px;
    right: 11%;
  }
  .project-title {
    font-family: "Heebo", sans-serif;
    font-size: 28px;
    font-weight: 300;
    line-height: 32px;
    color: #fff;
    margin: 0;
  }
  .project-acf-data {
    font-family: "Heebo", sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 36px;
    color: #fff;
    margin: 0;
  }
  .project-desc {
    font-family: "Heebo", sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    color: #fff;
    margin: 0;
  }
  .project-btn {
    background-color: #da373e;
    border-radius: 30px;
    margin: 15px 0 0 0;
    padding: 7px 20px;
  }
  .project-slide-img-wrapper {
    height: 285px;
  }
}

@media (min-width: 1251px) and (max-width: 1400px) {
  .slick-current .project-slide-img-wrapper {
    height: 385px;
  }
  .project-slide-img-wrapper {
    height: 300px;
  }
  .project-slide-contant-wrapper {
    width: 435px;
    padding: 15px;
    right: 13%;
  }
  .slider-nav-btn-wrapper {
    bottom: -15%;
  }
}

@media (min-width: 1400px) and (max-width: 1500px) {
  .project-slide-contant-wrapper {
    right: 16%;
  }
}

@media (min-width: 1482px) and (max-width: 1810px) {
  /* .slider-nav-btn-wrapper {
        bottom: 10%;
    } */
}

@media (max-width: 767px) {
  .slick-current .project-slide-img-wrapper {
    width: 100%;
    height: 315px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 39px;
    transform: perspective(800px) rotateY(25deg);
    margin: 0px -40px 0px 40px;
  }
  .project-slide-img-wrapper {
    width: 95%;
    height: 315px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 22px;
    transform: perspective(800px) rotateY(25deg);
    margin: 0 0 0 8px;
  }
  /* .project-slide-img-wrapper::after {
        background: unset;
    } */
  .project-slide-contant-wrapper {
    background-color: #000;
    width: 330px;
    padding: 20px 26px;
    border-radius: 18px;
    position: absolute;
    bottom: -80px;
    right: 8%;
    transform: perspective(800px) rotateY(20deg);
  }
  .project-title {
    font-family: "Heebo", sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 35.63px;
    color: #fff;
    margin: 0;
  }
  .project-acf-data {
    font-family: "Heebo", sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 35.63px;
    color: #fff;
    margin: 0;
  }
  .project-desc {
    font-family: "Heebo", sans-serif;
    font-size: 13px;
    font-weight: 300;
    line-height: 19.3px;
    color: #fff;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limits text to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* Adds '...' at the end */
  }
  .project-btn {
    background-color: #da373e;
    border-radius: 30px;
    margin: 9px 0 0 0;
    padding: 4px 16px;
  }
  .project-btn a {
    font-family: "Heebo", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    color: #000;
    text-decoration: none !important;
  }
  .slider-nav-btn-wrapper {
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
  }
  .right-side-gradient {
    display: none;
  }
}
@media (min-width: 1600px) {
  .slider-nav-btn-wrapper {
    bottom: 40px;
  }
}
@media (max-width: 720px) {
  .slick-current .project-slide-img-wrapper {
    margin: 0px -25px 0px 25px;
  }
}
@media (max-width: 620px) {
  .slick-current .project-slide-img-wrapper {
    margin: 0px -10px 0px 10px;
  }
}
@media (max-width: 568px) {
  .slick-current .project-slide-img-wrapper {
    margin: 0px 0px 0px 0px;
    width: 100vw !important; /* Ensures full viewport width */
    max-width: 100vw !important;
  }
}
@media (max-width: 450px) {
  .project-slide {
    margin-left: 10px;
    margin-right: 10px;
  }
}
@media (max-width: 400px) {
  .project-slide-contant-wrapper {
    max-width: 300px;
    width: 60%;
  }
}
