/* Project Filter Styles */
.project-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin: 3rem 0 4rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 1rem 2.5rem;
  background: transparent;
  border: 2px solid var(--main-color);
  border-radius: 3rem;
  color: var(--main-color);
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--main-color);
  transition: left 0.3s ease;
  z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
  left: 0;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--bg-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 239, 255, 0.3);
}

.filter-btn:active {
  transform: translateY(0);
}

/* Status Badge Styles */
.status-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 5;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-badge.publications {
  background: rgba(34, 197, 94, 0.9);
  color: white;
  box-shadow: 0 2px 10px rgba(34, 197, 94, 0.3);
}

.status-badge.ongoing {
  background: rgba(249, 115, 22, 0.9);
  color: white;
  box-shadow: 0 2px 10px rgba(249, 115, 22, 0.3);
}

.status-badge.submitted {
  background: rgba(59, 130, 246, 0.9);
  color: white;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

/* Project Card Filtering Animation */
.project-card {
  transition: all 0.5s ease;
  opacity: 1;
  transform: scale(1);
}

.project-card.hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}



/* Filter Counter */
.filter-counter {
  text-align: center;
  margin-top: 2rem;
  font-size: 1.4rem;
  color: var(--text-color);
  opacity: 0.8;
}

.filter-counter span {
  color: var(--main-color);
  font-weight: 600;
}

/* Loading Animation for Filters */
.projects-grid.filtering {
  pointer-events: none;
}

.projects-grid.filtering .project-card {
  transition: all 0.3s ease;
}

/* Responsive Design for Filters */
@media (max-width: 768px) {
  .project-filters {
    gap: 1rem;
    margin: 2rem 0 3rem;
  }

  .filter-btn {
    padding: 0.8rem 2rem;
    font-size: 1.3rem;
  }

  .status-badge {
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 1rem;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .project-filters {
    flex-direction: column;
    gap: 0.8rem;
  }

  .filter-btn {
    width: 100%;
    max-width: 250px;
  }
}

/* Status Icons */
.status-badge::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.5rem;
  background: currentColor;
  animation: pulse 2s infinite;
}

.status-badge.ongoing::before {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Filter Results Animation */
.filter-results-enter {
  animation: slideInUp 0.5s ease forwards;
}

.filter-results-exit {
  animation: slideOutDown 0.3s ease forwards;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideOutDown {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
  }
}
#modalSlides {
  display: flex;
  transition: transform 0.3s ease;
}

.slide {
  min-width: 100%;
  height: 400px; /* Adjust height as you prefer */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Use 'cover' if you want to crop instead of letterbox */
}

