/* Modern Project Cards */
.project-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent-1));
  z-index: 5;
  opacity: 0;
  transform: translateY(-100%);
  transition: all 0.4s ease;
}

.project-card:hover::before {
  opacity: 1;
  transform: translateY(0);
}

/* Keep the existing image styles but update the filter */
.project-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform var(--transition-medium);
  filter: brightness(1); /* Reset filter to show images properly */
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-md);
  background: linear-gradient(to top, rgba(18, 18, 18, 0.95), rgba(18, 18, 18, 0.7), transparent);
  color: var(--light);
  transform: translateY(65%);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.project-overlay h4 {
  margin-bottom: var(--spacing-xs);
  transform: translateY(10px);
  transition: all 0.4s ease;
  color: var(--light);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.project-overlay p {
  transform: translateY(10px);
  transition: all 0.4s ease 0.1s;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.project-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.8);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.project-card:hover .project-overlay {
  transform: translateY(0);
}

.project-card:hover .project-overlay h4 {
  transform: translateY(0);
}

.project-card:hover .project-overlay p {
  transform: translateY(0);
}

.project-overlay .btn {
  margin-top: 0.5rem;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.4s ease 0.2s;
}

.project-card:hover .project-overlay .btn {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced Buttons with Icon Animation */
.btn-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-ico i {
  transition: transform 0.3s ease;
  font-size: 0.9em;
}

.btn-ico:hover i {
  transform: translateX(3px);
}

/* Glowing Effects for Badges */
.badge.glow {
  animation: glowing 1.5s infinite alternate;
}

@keyframes glowing {
  0% {
    box-shadow: 0 0 5px rgba(17, 152, 114, 0.5);
  }
  100% {
    box-shadow: 0 0 15px rgba(17, 152, 114, 0.8);
  }
}

.badge-coming.glow {
  animation: glowing-blue 1.5s infinite alternate;
}

@keyframes glowing-blue {
  0% {
    box-shadow: 0 0 5px rgba(0, 129, 177, 0.5);
  }
  100% {
    box-shadow: 0 0 15px rgba(0, 129, 177, 0.8);
  }
}

/* Coming Soon Badge with Pulsating Text */
.badge.pulse-text,
.badge-coming.pulse-text {
  animation: textPulse 2s infinite alternate;
}

@keyframes textPulse {
  0% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}
/* Enhanced Navigation Styles */
.nav {
  list-style: none;
  padding-left: 0;
}

.nav li {
  list-style-type: none;
}

.nav-item {
  font-size: 1.6rem !important; /* Increased from 1.05rem */
  font-weight: 600;
}
