
.portfolio-item .portfolio-entry {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  position: relative;
}

.portfolio-item .portfolio-entry:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.portfolio-item .portfolio-entry::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.portfolio-item .portfolio-entry:hover::before {
  opacity: 1;
}

/* .entry-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.entry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-item .portfolio-entry:hover .entry-image img {
  transform: scale(1.08);
} */

.entry-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.portfolio-item .portfolio-entry:hover .entry-overlay {
  opacity: 1;
  transform: translateY(0);
}

.overlay-content {
  width: 100%;
  color: white;
  transform: translateY(10px);
  transition: transform 0.4s ease 0.1s;
}

.portfolio-item .portfolio-entry:hover .overlay-content {
  transform: translateY(0);
}

.entry-meta {
  font-size: 0.85rem;
  font-weight: 600;
  color: #a5b4fc;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.entry-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: white;
  line-height: 1.3;
}

.entry-links {
  display: flex;
  gap: 12px;
}

.entry-links a {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: white;
  border-radius: 12px;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.entry-links a:hover {
  background: white;
  color: #667eea;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* Project Badges */
.project-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.badge {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: white;
  border: 2px solid white;
}

.badge.ui-badge {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.badge.dev-badge {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.badge.app-badge {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Project Info Card */
.project-info {
  padding: 25px;
  background: white;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.project-category {
  font-size: 0.75rem;
  font-weight: 500;
  color: #667eea;
  background: #e0e7ff;
  padding: 6px 15px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-duration {
  font-size: 0.85rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-duration i {
  font-size: 1rem;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
  line-height: 1.4;
}

.project-description {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tech-tag {
  padding: 5px 12px;
  background: #f1f5f9;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
}

/* View More Button */
.portfolio .view-more {
  text-align: center;
  margin-top: 50px;
}

.portfolio .btn-outline-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border: 2px solid #667eea;
  border-radius: 50px;
  color: #667eea;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  background: white;
}

.portfolio .btn-outline-primary:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.portfolio .btn-outline-primary i {
  transition: transform 0.3s ease;
}

.portfolio .btn-outline-primary:hover i {
  transform: translateX(5px);
}

/* Responsive Design */
/* @media (max-width: 1200px) {
  .entry-image {
    height: 240px;
  }
  
  .project-title {
    font-size: 1.1rem;
  }
} */

@media (max-width: 992px) {
  .portfolio {
    padding: 60px 0;
  }
  
  .portfolio .section-title h2 {
    font-size: 2.2rem;
  }
  
  /* .entry-image {
    height: 220px;
  } */
  
  .overlay-content {
    padding: 20px;
  }
  
  .entry-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .portfolio .section-title h2 {
    font-size: 1.8rem;
  }
  
  .portfolio .section-title p {
    font-size: 1rem;
  }
  
  .portfolio-filters.isotope-filters li {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin: 3px;
  }
/*   
  .entry-image {
    height: 200px;
  } */
  
  .project-info {
    padding: 20px;
  }
  
  .btn-outline-primary {
    padding: 12px 28px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .portfolio-filters.isotope-filters ul {
    justify-content: center;
  }
  
  .portfolio-filters.isotope-filters li {
    flex: 1;
    min-width: 120px;
    justify-content: center;
    text-align: center;
  }
  
  .entry-overlay {
    padding: 20px;
  }
  
  .entry-title {
    font-size: 1.1rem;
  }
  
  .entry-links a {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
}

/* Animation Delay for Portfolio Items */
.portfolio-item:nth-child(1) { transition-delay: 0.1s; }
.portfolio-item:nth-child(2) { transition-delay: 0.2s; }
.portfolio-item:nth-child(3) { transition-delay: 0.3s; }
.portfolio-item:nth-child(4) { transition-delay: 0.4s; }
.portfolio-item:nth-child(5) { transition-delay: 0.5s; }
.portfolio-item:nth-child(6) { transition-delay: 0.6s; }
.portfolio-item:nth-child(7) { transition-delay: 0.7s; }
.portfolio-item:nth-child(8) { transition-delay: 0.8s; }