.card {
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  color: #fff;
  text-align: center;
}

/* Imagen arriba */
.card-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Contenido */
.card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.card-body h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0;
  text-transform: uppercase;
}

.card-body p {
  font-size: 14px;
  margin: 0 0 15px;
  flex-grow: 1;
}

.card-body .btn {
  background: #fff;
  color: #000;
  padding: 8px 15px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
}

.card-body .btn:hover {
  opacity: 0.85;
}

/* Colores de fondo */
.card.verde { background: #6ba67b; }
.card.amarillo { background: #dca300; }
.card.azul { background: #003344; }
.card.default { background: #444; }

/* Ajuste paginaciÃ³n fuera del slider */
.swiper-pagination {
  position: relative !important;
  margin-top: 15px;
}

/* AnimaciÃ³n suave al pasar el mouse */
.card-img {
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.card:hover .card-img img {
  transform: scale(1.08);
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

/* Color de flechas */
.swiper-button-next,
.swiper-button-prev {
  color: #fff !important;
}

/* Color de los puntos (paginaci¨®n) */
.swiper-pagination-bullet {
  background: #003344 !important;
  opacity: 0.4; /* m¨¢s tenue los no activos */
}
.swiper-pagination-bullet-active {
  background: #003344 !important;
  opacity: 1;
}
