/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 4rem;
}
.back_box {
    position: absolute;
    right: 0%;
    display: flex;
    flex-direction: column;
    gap: 1px; 
    top: 90%;
    padding: 10px 10px;
    margin-right: 3rem;
    width: 50rem;
    height: 20rem;
}
.carousel-item img {
  width: 100%;
  object-fit: cover;
  opacity: 80%;

  /* Aplica la opacidad gradual de abajo a arriba */
  -webkit-mask-image: linear-gradient(to top, transparent 0%, black 20%);
  mask-image: linear-gradient(to top, transparent 0%, black 20%);
}


/* 🎯 Estilo base: notebooks y pantallas grandes */
.carousel-cap {
  position: absolute;
  z-index: 10;
  width: 60%; /* más flexible que px */
  max-width: 900px;
  left: 65%;
  transform: translateX(-50%);
  text-align: center;
  top: 25%
}



/* Declare heights because of positioning of img element

 background: radial-gradient(circle, rgba(88, 164, 50, 0.774) 0%, rgba(255, 255, 255, 0.757) 100%);
  clip-path: polygon(10% 33.5%, 90% 10%, 90% 90%, 10% 90%);*/


/* Center align the text within the three columns below the carousel */
.marketing {
  position: relative;
  background: transparent;
  border-radius: 10px;
  overflow: visible;
  perspective: 1000px; /* 🔹 crea profundidad para el 3D */
}

/* 🔹 Fondo con clip-path en pseudo-elemento */
.marketing::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  z-index: 0;
}

/* 🔹 El contenido real encima */
.marketing > * {
  position: relative;
  z-index: 1;
}

/* 🔹 Base de las tarjetas */
.card-over {
  transform: translateY(40px) rotateX(3deg);
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.25));
  background: #fff;
  border-radius: 12px;
}

/* 🔹 Hover con efecto flotante y más profundidad */
.card-over:hover {
  transform: translateY(15px) scale(1.05) rotateX(0deg);
  filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.35));
}




