.projects-grid {
  position: relative;
  min-height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gear {
  width: 60px;
  height: 60px;
  border: 6px solid #ccc;
  border-top: 6px solid #4CAF50;
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
  margin-bottom: 15px;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.loading-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: #4CAF50;
  letter-spacing: 2px;
  position: relative;
}

.loading-text::after {
  content: "...";
  animation: dots 1.5s steps(3, end) infinite;
  position: absolute;
}

@keyframes dots {
  0% { content: ""; }
  33% { content: "."; }
  66% { content: ".."; }
  100% { content: "..."; }
}