



.completed-project {
  padding: 50px;
  text-align: center;
  margin-top: 90px;
}

.completed-project-heading {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
}

.completed-project-description {
  font-size: 18px;
  margin-bottom: 40px;
}

.project-gallery {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  background-color: hsla(0, 15%, 95%, 0.817);
}

.project-gallery-item {
  position: relative;
  width: calc(33.33% - 20px);
  transition: all 1s ease-in-out;
}

/* Add animation and transition to .project-gallery-item */

.project-gallery-item {
  animation: wavyAnimation 1s ease-in-out;
  animation-fill-mode: backwards;
}

@keyframes wavyAnimation {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Add a delay to each item to create a wavy effect */

.project-gallery-item:nth-child(1) {
  animation-delay: 0.2s;
}

.project-gallery-item:nth-child(2) {
  animation-delay: 0.4s;
}

.project-gallery-item:nth-child(3) {
  animation-delay: 0.6s;
}

.project-gallery-item:hover {
  transform: scale(1.05); 
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.project-gallery-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  transition: all 1s ease-in-out;
}

.project-gallery-item:hover img {
  transform: scale(1.1); 
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 18px;
  width: 90%;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
  z-index: 1; 
}

.project-info-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.project-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.project-location {
  font-size: 16px;
  color: #666;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.project-location span:first-child {
  font-weight: bold;
  margin-right: 10px;
}

.project-info-right {
  display: flex;
  align-items: center;
}

.social-icons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.social-icons li {
  margin-right: 20px;
}

.social-icons li i {
  font-size: 18px;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.social-icons li i:hover {
  color: var(--secondary-color);
}


/* Medium screens (laptops) */
@media (min-width: 992px) and (max-width: 1199px) {
  .project-gallery-item {
    width: calc(33.33% - 20px);
  }
  .project-gallery-item img {
    height: 400px;
  }
}

/* Small screens (tablets) */
@media (min-width: 768px) and (max-width: 991px) {
  .project-gallery {
    flex-wrap: wrap;
  }
  .project-gallery-item {
    width: calc(50% - 20px);
    margin-bottom: 20px;
  }
  .project-gallery-item img {
    height: 300px;
  }
}

/* Extra small screens (mobiles) */
@media (max-width: 767px) {
  .project-gallery {
    flex-wrap: wrap;
  }
  .project-gallery-item {
    width: 100%;
    margin-bottom: 20px;
  }
  .project-gallery-item img {
    height: 200px;
  }
  .project-info {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    padding: 16px;
  }
  .project-info-left {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  margin-right: auto; 
}
  .project-name {
    font-size: 14px;
  }
  .project-location {
    font-size: 12px;
  }
  .social-icons {
    justify-content: center;
    font-size: 8px;
  }
  .social-icons li {
  margin-right: 10px;
}

.social-icons li i {
  font-size: 12px;
}
}