
@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-slide {
    animation: slide 20s linear infinite;
}

@keyframes slide-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(-10%); }
}

.animate-slide-right {
    animation: slide-right 20s linear infinite;
}

.group:hover .overflow-hidden {
    transform: translateY(-40px);
    transition: transform 0.8s ease;
}


.ponente-card {
    position: relative;
    cursor: pointer;
    min-width: 200px;
    text-align: center;
    
}

.ponente-card .img-container {
    overflow: hidden;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.ponente-card img {
    width: 200px;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

.ponente-card .info {
    margin-top: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.ponente-card:hover .img-container {
    transform: translateY(-20px);
}

.ponente-card:hover .info {
    opacity: 1;
    transform: translateY(0);
}


.ponente-card .info p {
    color: #212020;
    margin: 0;
    font-family: serif;
    font-size: 1.2rem;
   
}


.ponente-container {
    display: flex;
    gap: 15px;
    padding: 10px;
    overflow-x: auto; 
    -ms-overflow-style: none;  
    scrollbar-width: none;     
}

.ponente-container::-webkit-scrollbar {
    display: none; 
}
.panel-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

@keyframes bounce-loop {
  0%, 100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-15px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(-8px);
  }
}

.animate-bounce-infinite {
  animation: bounce-loop 1.2s ease-in-out infinite;
}

.ponente-container:hover .animate-bounce-infinite {
  animation-play-state: paused;
}
.carousel-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.carousel-display {
    width: 100%;
    max-width: 700px; 
    height: 450px;    
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff; 
    border-radius: 12px;
    overflow: hidden;
}

.carousel-display img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    transition: transform 0.6s ease;
}

.carousel-display img:hover {
    transform: scale(1.02);
}

.carousel-thumbs {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.carousel-item img {
    width: 120px;
    height: 90px;
    object-fit: contain; 
    background: #ffffff; 
    border-radius: 4px;
    padding: 4px; 
}
/* Contenedor flotante */
.whatsapp-float {
    position: fixed;
    bottom: 20px;   /* distancia desde abajo */
    right: 20px;    /* distancia desde la derecha */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 9999;  /* asegura que quede encima de todo */
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}


.whatsapp-message {
    background: #098d39fc;
    color: #fff;
    font-size: 20px;
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    animation: fadeIn 0.8s ease-in-out;
    transition: all 0.3s ease;
}

.whatsapp-message:hover {
    background: #098d39fc;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}

.whatsapp-icon {
    background: #098d39fc;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: vibrate 1s infinite;
}

.whatsapp-icon svg {
    width: 30px;
    height: 30px;
}

.whatsapp-icon:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes vibrate {
    0%   { transform: rotate(0deg); }
    15%  { transform: rotate(5deg); }
    30%  { transform: rotate(-5deg); }
    45%  { transform: rotate(4deg); }
    60%  { transform: rotate(-4deg); }
    75%  { transform: rotate(2deg); }
    100% { transform: rotate(0deg); }
}
