html {
    scroll-behavior: smooth; 
     
}
body {
    background-color: #1e1e2f; color: white; font-family: 'Lato', sans-serif; 
        
}

h2{
    font-size:35px !important;
}

#typed {
    font-size: 30px; font-weight: 800; color: #F39314; text-shadow: 1px 1px #000; 
    
}
.hidden-menu {
    transform: translateY(-100%); transition: transform 0.3s ease-in-out; 
        
}
.visible-menu {
    transform: translateY(0); 
        
}
.hero-dark {
    background: linear-gradient(to right, #1e1e2f, #223f51); 
        

}

iframe {
  border: none;
}

.section{
    /*height:100vh !important;*/
}

@keyframes slide-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
a{
text-decoration: none;
}
.animate-slide-left {
    animation: slide-left 10s linear infinite; 
    
}
/* Estilos del contenedor del slider */
.slider-container {
    position: relative;
    max-width: 100%;
    width: 100%;
    height: 400px; /* Ajusta la altura del slider */
    overflow: hidden;
}
    /* Estilos para las imágenes del slider */
.slider-images {
    display: flex;
    width: 600%; /* 100% por cada imagen, en total 6 imágenes */
}

/* Flechas de navegación */
button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
}
button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
    /* Posicionamiento de las flechas */
.prev {
    left: 10px;
}
.next {
    right: 10px;
}

.hero-section{
    height: 70vh;
}

.background-video{
   
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(30%) blur(4px); /* Más oscuro */

}

/* Fondo animado con puntos en movimiento */
.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    overflow: hidden;
}

/* Animación de movimiento de los puntos */
.dots {
    position: absolute;
    top: 0;
    left: 0; 
    width: 100%;
    height: 100%; 
    background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: move-background 20s linear infinite;
    }

/* Animación de movimiento suave de los puntos */
@keyframes move-background {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100% 100%;
    }
}

/* Animación de zoom al pasar el mouse sobre la imagen */
#totem-ia img:hover {
    transform: scale(1.05);
}

/* Animaciones para el texto */
.animate__animated {
    opacity: 0;
}

.animate__fadeInDown {
    animation: fadeInDown 1s forwards;
}

.animate__fadeInUp {
    animation: fadeInUp 1s forwards;
}

/* Animación de fadeIn desde arriba */
@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación de fadeIn desde abajo */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

 /* Estilo general del módulo */
.funciona {
    background-color: #ffffff;
    color: #000000;
}

/* Estilos para las tarjetas */
.funciona .grid {
    display: grid;
    gap: 10px; 
}

/* Card Individual */
    

/* Hover efecto para las tarjetas */
    

/* Color del título dentro de las tarjetas */
.funciona .grid h3 {
    color: white;
    background-color: #F39314;
    padding: 8px 16px;
    border-radius: 25px;
    display: inline-block;
}

/* Estilo del texto */
.funciona .grid p {
    font-size: 25px;
    line-height: 1.6;
    color: #333333;
    margin-top: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.funciona h3{
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.funciona img{
    width:100px;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #0e0e16;
  z-index: 0;
}

.faq{
    display:block;
    padding-bottom:150px !important;
}

.logos-container {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    animation: marquee 20s linear infinite;
  }
  
   .swiper {
  width: 100%;
  height: auto !important;
}

.swiper-slide {
  display: flex !important;
  justify-content: center;
  align-items: center;
  height: auto !important;
  min-height: 120px; /* Ajustá si querés */
}

.swiper-slide img {
  max-width: 120px;
  max-height: 120px;
  object-fit: cover;
}

.logos-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
  }


.logos .text-lg{
    font-size: 1.5rem;
}

  /* Animación de deslizamiento */
@keyframes marquee {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
}

 /* Configuración para hacer la animación más fluida en pantallas más grandes */
 
@media (max-width: 768px) {
    .logos-container {
      animation: marquee 15s linear infinite; /* Aceleramos la animación para móviles */
    }
}

/* Ajuste para la cuadrícula en dispositivos móviles */

@media (max-width: 640px) {
    h2{
        font-size:25px !important;
    }
   /* #funciona .grid {
        grid-template-columns: repeat(2, 1fr); /* Dos columnas en móvil 
    }*/
    .funciona .grid p{
        font-size:20px;
    }
    
    .casos img{
    }
    
    .casos .object-cover{
    }
    
    .casos .italic{
        font-size: 12px;
    }
    
    .casos .font-bold{
        font-size:11px;
    }
    
    .casos .text-lg{
        font-size:11px;
        line-height: 1;
    }
    
    .casos .p-4{
        padding:0.5rem;
    }
    
    .beneficios .text-gray-700{
        font-size:13px;
    }
    
    .beneficios .mb-12{
        margin-bottom:1rem;
    }
    
    .beneficios h2{
        font-size:20px !important;
    }
    
    .casos .mb-8{
        margin-bottom:1rem;
    }
    
    .casos .font-bold{
        font-size:12px;
    }
    
    .casos .gap-8{
        gap: 0.5rem;
    }
    
    .casos .text-xl{
        line-height:1;
    }
    
    .beneficios .gap-8{
        gap: 1rem;
    }
    
    .beneficios .text-lg{
        font-size:1rem;
        line-height:1;
    }
    .funciona .grid h3{
        font-size:20px !important;
    }
    .logos .text-lg {
    font-size: 1rem;
    }
    
    .casos .py-10{
     padding-top:0px;   
    }
    
    .faq p{
        font-size:15px;
    }
    
    .faq{
            /*padding-bottom: 100px !important;*/
    }
    
    .faq summary{
        font-size:18px !important;
    }
    
    .casos .mb-4{
        margin-bottom: 0.5rem;
    }
    .casos-author{
        display:flex;
        justify-content:space-evenly;
        align-items:center;
    }
    
}


/* Cuadrícula de 4 columnas en pantallas más grandes */

@media (min-width: 641px) {
    #funciona .grid {
        grid-template-columns: repeat(4, 1fr); /* Cuatro columnas en pantallas grandes */
    }
}




@media (max-width: 640px) {
  .hero-section {
    height: 50vh; /* o el valor que necesites para mobile */
  }
}


.blog-card {
  transition: all 0.4s ease;
  animation: fadeIn 0.5s ease-out forwards;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

.blog-card:hover .blog-image {
  transform: scale(1.05);
}

.blog-image {
  transition: transform 0.6s ease;
}

.blog-tag {
  transition: all 0.3s ease;
}

.blog-tag:hover {
  transform: translateY(-2px);
}

.blog-card:hover .read-more {
  opacity: 1;
  transform: translateY(0);
}

.read-more {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.slider-controls button {
  transition: all 0.3s ease;
}

.slider-controls button:hover {
  transform: scale(1.1);
}

.slider-controls button:active {
  transform: scale(0.95);
}

.progress-bar {
  transition: width 0.3s ease;
}

.dot-indicator {
  transition: all 0.3s ease;
}

.dot-indicator.active {
  transform: scale(1.5);
}

@media (max-width: 640px) {
  .blog-card {
    min-width: 280px;
  }
}