.project-card {
    height: 400px; /* Altura fija para contenedores */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: scale(1.03);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajuste inteligente manteniendo relación de aspecto */
    object-position: center;
}

/* Para mobile */
@media (max-width: 768px) {
    .project-card {
        height: 300px;
    }
}


/* Controles del Carrusel - Posición Corregida */
.carousel-control-prev,
.carousel-control-next {
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(12, 52, 84, 0.8);
  border-radius: 50%;
  opacity: 1;
  transition: all 0.3s ease;
}

.carousel-control-prev {
  left: 20px;
}

.carousel-control-next {
  right: 20px;
}

@media (max-width: 768px) {
  .carousel-control-prev {
    left: 5px;
  }
  
  .carousel-control-next {
    right: 5px;
  }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
  width: 1.5rem;
  height: 1.5rem;
  position: relative;
  top: -1px;
}