.projects .banner {
  min-height: 85vh;
  height: 600px; /* Add fixed height as fallback */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}
.projects .banner::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
    to right,
    #002438 24%,
    rgba(0, 36, 56, 0.08)
  );
  mix-blend-mode: multiply;
  opacity: 0.6;
}
.projects .breadcrumb {
  font-weight: 800;
  color: #fff;
}
.projects .breadcrumb img {
  width: 2%;
}
.projects .content h2:last-of-type {
  color: #1fe39b;
}
/* start projects wrapper */
.projects-wrapper {
  padding: 100px 0;
  background-color: #f2f2f2;
}
@media (max-width: 991px) {
  .projects-wrapper {
    padding: 30px 0;
  }

  .projects .banner {
    min-height: 60vh;
    height: auto;
  }

  /* On touch devices, show overlay info below the image instead of on hover */
  .project-img-overlay {
    opacity: 1;
    visibility: visible;
    background-color: transparent;
    padding: 10px 0 0;
  }

  .project-img-overlay .list-container {
    width: 100%;
  }

  .project-img-overlay ul li a {
    color: #212529;
    font-size: 13px;
  }

  .project-img-overlay .read-more h6 {
    color: #555;
  }
}

@media (max-width: 575px) {
  .projects .banner {
    min-height: 50vh;
  }

  .project-img img {
    height: 180px;
  }
}

.project-img img {
  width: 100%;
  height: 220px;
  border-radius: 20px;
  object-fit: cover;
}
.project-img p {
  background-color: #212f3a;
  color: #fff;
  font-size: 13px;
  padding: 3px 8px;
  border-radius: 15px;
  left: 10px;
  bottom: 10px;
}
.project-img-overlay {
  background-color: rgba(33, 47, 58, 0.9);
  border-radius: 20px;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s all ease;
}
.project-container:hover .project-img-overlay {
  opacity: 1;
  visibility: visible;
}
.project-img-overlay ul li {
  margin-bottom: 10px;
}
.project-img-overlay ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 15px;
}
.project-img-overlay .list-container {
  width: 70%;
}

.project-img-overlay .list-container ul:last-child li a {
  font-weight: 500;
}
.project-img-overlay .read-more a i {
  color: #1fe39b;
  font-weight: 600;
}
.project-img-overlay .read-more h6 {
  color: #8b92ac;
}
.project-desc {
  transition: 0.2s all ease;
  font-size: 14px;
  font-weight: 600;
}
.project-desc a {
  text-decoration: none;
  color: #212529;
}
.project-container:hover .project-desc a {
  color: #1fe39b;
}
.project-container:hover .project-img p {
  display: none;
}
.pagination ul li a {
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background-color: #fff;
  display: block;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #e8e8e8;
  color: #002438;
  font-weight: 600;
  transition: 0.2s all ease;
}
.pagination ul li a:hover {
  background-color: #1fe39b;
  color: #fff;
}
.pagination ul li a.active {
  background-color: #4e5c66;
  color: #fff;
}
/* end projects wrapper */
:dir(rtl) {
  .project-img-overlay ul li a,
  .project-img-overlay .list-container ul:last-child li a {
    font-size: 14px;
    font-weight: lighter;
  }
  .read-more a {
    font-size: 15px;
  }

  .project-img p {
    left: 0;
    right: 10px;
    width: fit-content;
    font-size: 12px;
  }
}
/* start single project page */
.project .navbar {
  background-color: #0a2e2a;
}
.project-content {
  min-height: 50vh;
}
.project-content .content {
  width: 60%;
  margin: auto;
}
@media (max-width: 991px) {
  .project-content .content {
    width: 100%;
    margin: auto;
  }
}

.project-content .content a {
  font-size: 14px;
  color: #212529;
}
.project-content .content a i {
  color: #13ea9d;
}
.project-content .content h2 {
  font-weight: 800;
  color: #212529 !important;
}
.project-content .content img {
  border-radius: 15px;
  max-width: 100%;
}
.project-content .details {
  border-radius: 15px;
}
.project-content .details {
  background-color: #e1e4e6;
}
.project-content .details h5 {
  font-weight: lighter;
  font-size: 14px;
  color: #002438;
}
.project-content .details h4 {
  font-size: 16px;
  font-weight: 400;
  color: #002438;
}
.work-scope h5 {
  color: #002438;
}
.work-scope p {
  font-size: 15px;
}
