*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container{
  position: relative;
  width: 100%;
  height: 100vh;
  overflow:visible;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #061038; /* Ajusta la ruta */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

}
.slider{
  position: absolute;
  inset: 80px 200px 80px 80px;
}
.slider .slides{
  position: absolute;
  width: 240px;
  height: 320px;
  top: 50%;
  transform: translateY(-50%);
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  transition: 0.5s;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 5);
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}
.slider .slides:nth-child(1),
.slider .slides:nth-child(2)
{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
transform: translateY(0);
box-shadow: 0 25px 50px rgba(0, 0, 0, 0);
background-size: 100% 100%;
}
.slider .slides:nth-child(3)
{
  left: calc(50% + 240px);
  background-size: cover;
}
.slider .slides:nth-child(4)
{
  left: calc(50% + 500px);
  background-size: cover;
}
.slider .slides:nth-child(5)
{
  left: calc(50% + 760px);
  background-size: cover;
}
.slider .slides:nth-child(6)
{
  left: calc(50% + 1020px);
  background-size: cover;
  opacity: 0;
}

.buttons{
position: absolute;
bottom: 15px;
display: flex;
gap: 20px;
}
.buttons span
{
  position: relative;
  width: 50px;
  height: 50px;
  background: #111;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
}
.buttons span::before{
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  border-top: 4px solid #fff;
  border-left: 4px solid #fff;
  transform: rotate(315deg) translate(2px, 2px);

}
.buttons span:nth-child(2)::before{
  transform: rotate(135deg) translate(2px,2px);
}
.buttons span:active{
  opacity: 0.5;
}
.content{
  position: relative;
  padding: 40px;
  max-width: 600px;
  transition: 0.25s;
  transition-delay: 0s;
  transform: rotateY(40px);
  z-index: 10000;
  opacity: 0;
}
.content h2{
  font-size: 4em;
  color: #fff;
}
.content p{
  color: #fff;
}
.slider .slides:nth-child(1) .content,
.slider .slides:nth-child(2) .content{
  opacity: 1;
  transform: translateY(0px);
  transition-delay: 0.5s;

}
@media (max-width: 900px){
  .slider{
    position: absolute;
    inset: 40px 40px 200px 40px;
  }
  .slider .slides{
    width: 100px;
    height: 100px;
    top: initial;
    bottom: -170px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 25);
  }
  .slider .slides:nth-child(1),
  .slider .slides:nth-child(2){
  top: initial;
  bottom: 0px;
  }
  .slider .slides:nth-child(3){
    left: 0;
  }
  .slider .slides:nth-child(4){
    left: 120px;
  }
  .slider .slides:nth-child(5){
    left: 240px;
  }
  .slider .slides:nth-child(6){
    left: 360px;
  }

}



/* Navbar colapsado por defecto - solo iconos */
.navbar {
    position: fixed;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #636c7d81;
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 9px 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    width: 60px; /* Ancho colapsado - solo iconos */
    overflow: hidden;
}

/* Navbar expandido al hacer hover */
.navbar:hover {
    width: 220px; /* Ancho expandido */
    padding: 20px 20px;
}

/* Logo - oculto por defecto */
.logo {
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 15px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

/* Logo visible al hacer hover */
.navbar:hover .logo {
    opacity: 1;
    transform: translateX(0);
}

.logo a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 8px;
    white-space: nowrap;
}

.logo a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.logo a i {
    font-size: 1rem;
}

/* Menu principal - solo iconos por defecto */
.menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu li a {
    color: white;
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: left;
    width: 100%;
    white-space: nowrap;
}

/* Iconos siempre visibles 
.menu li a i {
    font-size: 1.1rem;
    min-width: 20px;
    flex-shrink: 0;
}

/* Texto oculto por defecto */
.menu li a span {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    overflow: hidden;
    width: 0;
}

/* Texto visible al hacer hover en el navbar */
.navbar:hover .menu li a span {
    opacity: 1;
    transform: translateX(0);
    width: auto;
}

/* Efectos de hover en los enlaces */
.menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.menu li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.menu li a:hover::before {
    left: 100%;
}

.menu li a.activo {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-weight: bold;
}

/* Indicador visual cuando está colapsado */
.navbar::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.navbar:hover::after {
    opacity: 0;
}

 /* RESPONSIVE - Mobile mantiene el comportamiento original */
@media (max-width: 768px) {
    /* Desactivar el hover en móvil */
    .navbar:hover {
        width: 100% !important;
        padding: 80px 20px 20px !important;
    }

    .navbar {
        position: fixed;
        top: -100%;
        left: 0;
        right: 0;
        transform: none;
        width: 100% !important;
        border-radius: 0 0 20px 20px;
        padding: 80px 20px 20px;
        min-width: auto;
        transition: top 0.3s ease;
        overflow: visible;
    }

    .navbar.active {
        top: 0;
    }

    /* En mobile, logo y texto siempre visibles */
    .logo {
        opacity: 1 !important;
        transform: translateX(0) !important;
        position: fixed;
        top: 20px;
        left: 20px;
        right: 70px;
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
        background: rgba(75, 108, 180, 0.274);
        backdrop-filter: blur(10px);
        border-radius: 10px;
        padding: 15px;
        z-index: 999;
    }

    /* Forzar visibilidad del texto en móvil */
    .navbar:hover .logo {
        opacity: 1 !important;
        transform: translateX(0) !important;
    }

    .menu li a span {
        opacity: 1 !important;
        transform: translateX(0) !important;
        width: auto !important;
    }

    .navbar:hover .menu li a span {
        opacity: 1 !important;
        transform: translateX(0) !important;
        width: auto !important;
    }

    .navbar::after {
        display: none;
    }

    /* Botón hamburguesa */
    .hamburger {
        display: block;
        position: fixed;
        top: 20px;
        right: 20px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 10px;
        padding: 10px;
        cursor: pointer;
        z-index: 1001;
        transition: all 0.3s ease;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: white;
        margin: 5px 0;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .logo a {
        font-size: 1.3rem;
        justify-content: flex-start;
        padding: 0;
    }

    .menu ul {
        flex-direction: column;
        gap: 12px;
    }

    .menu li a {
        padding: 15px 20px;
        font-size: 1.1rem;
        justify-content: flex-start;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .menu li a:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.3);
    }

    .menu li a i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .logo {
        right: 60px;
        padding: 10px;
    }

    .logo a {
        font-size: 0.8rem;
        gap: 5px;
    }

    .navbar {
        padding: 70px 15px 15px;
    }

    .menu li a {
        padding: 12px 15px;
        font-size: 1rem;
    }
}


* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #f5f5f5;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .main-content {
            flex: 1;
            padding: 50px 20px;
            text-align: center;
            color: #333;
        }

        .footer {
            background: linear-gradient(135deg, #0d0d25 0%, #061038 50%, #02000c 100%);
            color: white;
            padding: 60px 0 20px;
            position: relative;
            overflow: hidden;
        }

        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 100%;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,0 1000,0 1000,100 0,20"/></svg>') no-repeat;
            background-size: cover;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
            z-index: 2;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-section h3 {
            font-size: 1.5rem;
            margin-bottom: 20px;
            color: #fff;
            position: relative;
        }

        .footer-section h3::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 50px;
            height: 3px;
            background: linear-gradient(90deg, #355d9b, #636c7d);
            border-radius: 2px;
        }

        .footer-section p {
            line-height: 1.6;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 15px;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
        }

        .footer-links a:hover {
            color: #fff;
            transform: translateX(5px);
        }

        .footer-links a::before {
            content: '→';
            position: absolute;
            left: -20px;
            opacity: 0;
            transition: all 0.3s ease;
        }

        .footer-links a:hover::before {
            opacity: 1;
            left: -15px;
        }

        .social-icons {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-icon {
            width: 45px;
            height: 45px;
            background: rgba(53, 93, 155, 0.3);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            color: white;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(99, 108, 125, 0.2);
        }

        .social-icon:hover {
            background: rgba(53, 93, 155, 0.5);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(6, 16, 56, 0.4);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            padding-top: 30px;
            text-align: center;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        .footer-bottom p {
            color: rgba(255, 255, 255, 0.7);
            margin: 0;
        }

        .footer-bottom-links {
            display: flex;
            gap: 30px;
        }

        .footer-bottom-links a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-bottom-links a:hover {
            color: white;
        }

        .floating-elements {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            overflow: hidden;
        }

        .floating-element {
            position: absolute;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            animation: float 6s ease-in-out infinite;
        }

        .floating-element:nth-child(1) {
            width: 80px;
            height: 80px;
            top: 20%;
            left: 10%;
            animation-delay: 0s;
        }

        .floating-element:nth-child(2) {
            width: 60px;
            height: 60px;
            top: 60%;
            right: 15%;
            animation-delay: 2s;
        }

        .floating-element:nth-child(3) {
            width: 40px;
            height: 40px;
            bottom: 30%;
            left: 70%;
            animation-delay: 4s;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(180deg); }
        }

        @media (max-width: 768px) {
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }

            .footer-bottom-links {
                flex-direction: column;
                gap: 15px;
            }

            .newsletter-form {
                flex-direction: column;
            }

            .social-icons {
                justify-content: center;
            }
        }