
/* Estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}





body {
  background: linear-gradient(#fafafa, #CCCBFF);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Estilos para la navegación */
.bg-custom {
  background-color: #063b64;
}

.nav-link {
  position: relative;
  color: white;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -5px; /* Punto oculto inicialmente más abajo */
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background-color: white;
  border-radius: 50%;
  opacity: 0;
  transition: bottom 0.3s ease, opacity 0.3s ease;
}

.nav-link:hover::after,
.nav-link.activo::after {
  bottom: 0;       /* Punto visible, justo debajo del texto */
  opacity: 1;
}


.navbar .nav-link {
  color: white !important;
}

/* Contenedor del carrusel */
.carousel-section {
  padding: 40px 0;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Estilos del carrusel */
.wrapper {
  max-width: 1100px;
  padding: 20px 10px;
  margin: 0 auto;
  overflow: hidden;
}

.wrapper .card {
  background: #fff;
  display: flex;
  height: 100%;
  flex-direction: column;
  border-radius: 20px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.wrapper .card:hover {
  transform: translateY(-10px);
  transform: translateY(3px);

}

.card .card-image {
  position: relative;
}

.card .card-image img {
  width: 100%;
  height: 500px;
  padding: 10px;
  border-radius: 22px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.card .card-image .card-tag {
  position: absolute;
  top: 25px;
  left: 25px;
  font-size: 0.75rem;
  color: #6366f1;
  padding: 5px 15px;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 10px 25px 25px;
}

.card .card-content .card-title {
  color: #111111;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
}

.card .card-content .card-text {
  color: #747474;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.card .card-footer {
  display: flex;
  margin-top: auto;
  align-items: center;
  padding-top: 15px;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.card .card-footer .card-profile {
  display: flex;
  align-items: center;
}

.card .card-profile .card-profile-info {
  display: flex;
  flex-direction: column;
}

.card .card-profile .card-profile-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #202020;
}

.card .card-profile .card-profile-role {
  font-size: 0.8rem;
  color: #7A7A7A;
}

.card .card-profile img {
  width: 35px;
  height: 35px;
  margin-right: 10px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card .card-button {
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.81rem;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(135deg, #090f87 0%, #2e4198 100%);
  box-shadow: 0 4px 10px rgb(0, 0, 0);
  transition: all 0.3s ease;
}

.card .card-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(99, 102, 241, 0.3);
}

.wrapper .swiper-pagination-bullet {
  height: 15px;
  width: 15px;
  opacity: 1;
  overflow: hidden;
  position: relative;
  background: #343f8e;
}

.wrapper .swiper-pagination-bullet-active {
  background: #363bd0;
}

/* Auto-play loading indicator */
.wrapper .swiper-pagination-bullet-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #6366f1;
  transform-origin: left center;
  transform: scaleX(0);
  animation: autoplay-loading 5s linear forwards;
}

@keyframes autoplay-loading {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

.wrapper :where(.swiper-button-prev, .swiper-button-next) {
  color: #002070;
  margin-top: -50px;
  transition: all 0.3s ease;
}
.swiper-button-prev{
    padding-right: 25px;
}
.swiper-button-next{
    padding-left: 25px;
}
.wrapper :where(.swiper-button-prev, .swiper-button-next):hover {
  color: #4f93e7;
}

/* Responsive media query code for small screens */
@media (max-width: 768px) {
  .wrapper {
    margin: 0 10px 25px;
  }
  .wrapper :where(.swiper-button-prev, .swiper-button-next) {
    display: none;
  }
}

.carousel-item {
            height: 500px; /* Puedes ajustar este valor según necesites */
            overflow: hidden;
          }
          
          .carousel-item img {
            object-fit: cover;
            height: 100%;
            width: 100%;}

        .img:hover{
        transform: scale(1.15);
    }
    .img{height: 90px;
    transition: all 0.3s;
    }
    .menutex:hover{
        font-size: 18px;
    }
    .menutex{
        font-size: 18px; 
    }


        .card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.card-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6); /* oscuro semi-transparente */
  color: white;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  text-align: center;
  transition: opacity 0.3s ease;
}

.card:hover .card-overlay {
  opacity: 1;
}

.card-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #fff;
  color: #000;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
}
.carousel-item {
    height: 500px; /* Puedes ajustar este valor según necesites */
    overflow: hidden;
  }
  
  .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;}

.img:hover{
transform: scale(1.15);
}
.img{height: 90px;
transition: all 0.3s;
}
.menutex:hover{
font-size: 18px;
}
.menutex{
font-size: 18px; 
}
.card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
  }
  
  .card-image {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .card-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6); /* oscuro semi-transparente */
    color: white;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    text-align: center;
    transition: opacity 0.3s ease;
  }
  
  .card:hover .card-overlay {
    opacity: 1;
  }
  
  .card-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #fff;
    color: #000;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    
  }




          *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.contenedor{
    position: relative;
    width: 99vw;
    height: 87vh;
    overflow: hidden;

}


.contenedor .slide .item{
    width: 200px;
    height: 300px;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    border-radius: 20px;
    box-shadow: 0 30px 50px #505050;
    background-position: 50% 50%;
    background-size: cover;
    display: inline-block;
    transition: 0.5s;
    
}

.slide .item:nth-child(1),
.slide .item:nth-child(2){
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
}


.slide .item:nth-child(3){
    left: 50%;
}
.slide .item:nth-child(4){
    left: calc(50% + 220px);
}
.slide .item:nth-child(5){
    left: calc(50% + 440px);
}

/* here n = 0, 1, 2, 3,... */
.slide .item:nth-child(n + 6){
    left: calc(50% + 660px);
    opacity: 0;
}



.item .content{
    position: absolute;
    top: 50%;
    left: 100px;
    width: 300px;
    text-align: left;
    color: #eee;
    transform: translate(0, -50%);
    font-family: system-ui;
    display: none;
}


.slide .item:nth-child(2) .content{
    display: block;
}


.content .name {
    font-size: 40px;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
    animation: animate 1s ease-in-out 1 forwards;
}

.content .des{
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.content .button {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    opacity: 0;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
}

@keyframes animate {
    0%{
        opacity: 0;
        transform: scaleX(0);
        filter: blur(33px);
    }

    100%{
        opacity: 1;
        transform: scaleX(1);
        filter: blur(0);
    }
}



.button{
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 20px;
}

.button button{
    width: 40px;
    height: 35px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    border: 1px solid #000;
    transition: 0.3s;
}

.button button:hover{
    background: #ababab;
    color: #fff;
}
