.projects-section {
  padding: 100px 0;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

.projects-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    rgba(51, 12, 179, 0.05) 2px,
    transparent 2px
  );
  background-size: 30px 30px;
  pointer-events: none;
}

.projects-header {
  text-align: center;
  margin-bottom: 60px;
}

.projects-header .section-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.projects-header .section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.project-card-v2 {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card-v2:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(51, 12, 179, 0.1);
}

.project-media {
  position: relative;
  height: 220px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem !important;
  overflow: hidden;
}

.project-logo {
  width: 100% !important;
  height: 100% !important;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-card-v2:hover .project-logo {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(51, 12, 179, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(4px);
}

.project-card-v2:hover .project-overlay {
  opacity: 1;
}

.overlay-content {
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-card-v2:hover .overlay-content {
  transform: translateY(0);
}

.project-tag {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.btn-discover {
  display: inline-block;
  padding: 12px 28px;
  background: white;
  color: var(--primary);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-discover:hover {
  background: var(--light);
  transform: scale(1.05);
}

.project-info {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
}

.project-info p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 500;
}

.dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
  .projects-section {
    padding: 60px 0;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .projects-header .section-title {
    font-size: 2.2rem;
  }
}
