/* Reset y configuración general */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: #121212;
    color: white;
	
}
/* 🌍 MENÚ STICKY MEJORADO */
/* 🛠️ Evitar que el sticky header tape los títulos de las secciones */
html {
    scroll-padding-top: 100px; /* Ajusta este valor según la altura de tu header */
}

.sticky-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 0;
    text-align: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
}

/* 🌟 BOTÓN "MENÚ" COMPACTO */
.menu-button {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #FFD700;
}

/* 📂 MENÚ OCULTO POR DEFECTO */
.sticky-nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    display: none;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: absolute;
    width: 100%;
    left: 0;
    top: 50px;
    padding: 10px 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ✨ MENÚ VISIBLE */
.sticky-nav ul.visible {
    display: block;
}

/* 📌 ESTILO DE LOS ENLACES DEL MENÚ */
.sticky-nav ul li {
    padding: 10px 0;
}

.sticky-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 10px 20px;
    display: block;
    transition: all 0.3s ease;
}

.sticky-nav ul li a:hover {
    color: #FFD700;
    transform: scale(1.1);
}

/* 🛠 RESPONSIVE: OCULTA EL MENÚ CUANDO SE CIERRA */
@media screen and (max-width: 768px) {
    .sticky-nav {
        padding: 5px 0;
    }

    .menu-button {
        font-size: 1rem;
        padding: 8px 15px;
    }

    .sticky-nav ul {
        width: 95%;
        left: 50%;
        transform: translateX(-50%);
    }
}


/* HERO - PORTADA MEJORADA */
.hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(20, 20, 20, 0.9)), url('background.jpg') no-repeat center center/cover;
    overflow: hidden;
}

/* 🎭 Overlay con desenfoque para mejor estética */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px); 
}

/* 🌟 Efecto de Fondo en Movimiento */
@keyframes movingBackground {
    0% { background-position: 0% 0%; }
    50% { background-position: 50% 50%; }
    100% { background-position: 100% 100%; }
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, rgba(0,0,0,0) 60%);
    animation: movingBackground 10s infinite alternate linear;
    opacity: 0.4;
}

/* 🎯 Adaptación para Móvil */
@media (max-width: 768px) {
    .hero {
        background-size: cover;
        background-attachment: fixed; /* Evita bugs en móviles */
    }
    
    .hero::before {
        width: 150%;
        height: 150%;
        animation: movingBackground 15s infinite alternate linear; /* Movimiento más lento en móvil */
        opacity: 0.3; /* Reduce la intensidad en móvil */
    }
}

/* 🎇 Animación de Entrada Suave */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.container {
    position: relative;
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1.5s ease-out;
}


/* PERFIL MEJORADO */
.perfil {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid white;
    margin-bottom: 20px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.perfil:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}
/* 🎯 ESTILO DE LA SECCIÓN PERFIL */
.perfil-section {
    padding: 50px;
    background: rgba(255, 255, 255, 0.05); /* Fondo ligeramente distinto */
    border-radius: 10px;
    max-width: 900px;
    margin: 40px auto;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.perfil-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #FFD700;
    text-transform: uppercase;
}

.perfil-container {
    font-size: 1.2rem;
    line-height: 1.6;
    color: white;
    text-align: justify; /* Justificación del texto */
    padding: 20px;
}

.perfil-container p {
    margin-bottom: 15px;
}

.perfil-container strong {
    color: #FFD700;
}

/* 🛠️ ANIMACIÓN DE ENTRADA */
.perfil-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* TITULO MEJORADO */
h1 {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.3);
}

h2 {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 20px;
}

/* BOTÓN MEJORADO */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #FFD700;
    color: black;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.5);
}

.btn:hover {
    background-color: #FFC300;
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.8);
    transform: translateY(-2px);
}

/* EFECTO DE SCROLL */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 24px;
    opacity: 0.8;
    animation: bounce 1.5s infinite;
}

/* ANIMACIONES */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* EFECTO FADE-IN PARA LOS ELEMENTOS */
.fade-in {
    opacity: 0;
    animation: fadeInUp 1.5s ease-out forwards;
    animation-delay: 0.5s;
}

/* SECCIONES CON EFECTO FADE-IN */
section {
    padding: 50px;
    background: #1E1E1E;
    margin: 20px auto;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Cuando la sección entra en pantalla, la animación se activa */
section.visible {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    color: #FFD700;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* Skills */
.skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.skills span {
    background: #FFD700;
    color: black;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
}

/* Tarjetas */
.card {
    background: #2C2C2C;
    padding: 20px;
    margin: 10px 0;
    border-left: 5px solid #FFD700;
    border-radius: 5px;
}

/* Contacto */
a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}
/* 🎯 ESTILO DE LA SECCIÓN HABILIDADES */
.habilidades-section {
    padding: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    max-width: 900px;
    margin: 40px auto;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.habilidades-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #FFD700;
    text-transform: uppercase;
}

/* 🎯 CONTENEDOR DE HABILIDADES */
.habilidades-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Se ajusta automáticamente */
    gap: 20px;
    justify-content: center;
}

/* 🎯 TARJETAS DE HABILIDADES */
.habilidad {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.habilidad:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.2);
}

/* 🎯 ICONOS */
/* 📌 ICONOS EN LAS TARJETAS */
.habilidad img {
    width: 100px;  /* Aumentamos el ancho */
    height: auto;  /* Permitimos que la altura se ajuste automáticamente */
    max-height: 60px; /* Evita que sea demasiado alto */
    margin-bottom: 10px;
    object-fit: contain; /* Asegura que la imagen mantenga su proporción sin recortar */
}
/* 🎯 SECCIÓN EDUCACIÓN */
.educacion-section {
    padding: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    max-width: 900px;
    margin: 40px auto;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.educacion-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #FFD700;
    text-transform: uppercase;
}

/* 🎯 LÍNEA DE TIEMPO */
.timeline {
    position: relative;
    max-width: 800px;
    margin: auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: #FFD700;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* 🎯 ITEMS DE LA LÍNEA DE TIEMPO */
.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px;
    box-sizing: border-box;
}

.timeline-item.left {
    text-align: right;
    left: 0;
}

.timeline-item.right {
    text-align: left;
    left: 50%;
}

/* 🎯 TARJETAS DE EDUCACIÓN */
.timeline-content {
    background: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.3);
}

/* 🎓 ENCABEZADO CON ICONO Y TÍTULO */
.educacion-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.educacion-header img {
    width: auto; /* Mantiene proporción */
    height: 50px; /* Tamaño uniforme */
    max-width: 100px; /* Evita que sea demasiado grande */
    filter: brightness(0) invert(1); /* Convierte el logo a blanco si es oscuro */
}

/* 📌 UNIVERSIDAD Y AÑOS */
.universidad {
    font-size: 1rem;
    color: #FFD700;
    margin-bottom: 10px;
    font-weight: bold;
}

/* 📚 LISTA DE ASIGNATURAS / LOGROS */
.educacion-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.educacion-list li {
    font-size: 1rem;
    line-height: 1.6;
    color: white;
    padding-left: 30px;
    position: relative;
}

.educacion-list li::before {
    content: "";
    position: absolute;
    left: 0;
    color: #FFD700;
    font-weight: bold;
    font-size: 1.2rem;
}

/* 🎯 CÍRCULOS EN LA LÍNEA DE TIEMPO */
.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #FFD700;
    border-radius: 50%;
    top: 15px;
    left: calc(50% - 10px);
    z-index: 1;
}

/* 📱 RESPONSIVE PARA MÓVILES */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 40px;
        text-align: left;
    }

    .timeline-item.right {
        left: 0;
    }

    .timeline-item::before {
        left: 10px;
    }

    .educacion-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .educacion-header img {
        width: 40px;
        height: 40px;
    }
}

/* 🎯 SECCIÓN IDIOMAS */
.idiomas-section {
    padding: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    max-width: 900px;
    margin: 40px auto;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* 🎯 CONTENEDOR GENERAL */
.idiomas-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Oculta la barra de desplazamiento en Firefox */
}

.idiomas-container::-webkit-scrollbar {
    display: none;
}

/* 🎯 TARJETAS DE IDIOMAS */
.idioma-card {
    position: relative;
    min-width: 300px;
    height: 220px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    scroll-snap-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 🎯 CONTENIDO DE LA TARJETA (TEXTO Y BANDERA) */
.idioma-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6); /* Fondo semitransparente */
    padding: 10px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

/* 🎯 BANDERAS DENTRO DE LAS TARJETAS */
.idioma-card img {
    width: 40px;
    height: auto;
}

/* 🎯 TEXTO DE LOS IDIOMAS */
.idioma-content h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #FFD700;
}

.idioma-content p {
    font-size: 1rem;
    color: white;
    text-align: center;
    line-height: 1.6;
}

/* 📱 RESPONSIVE PARA MÓVILES */
@media screen and (max-width: 768px) {
    .idiomas-container {
        flex-direction: row;
        overflow-x: auto;
        padding: 10px;
        scroll-snap-type: x mandatory;
    }

    .idioma-card {
        min-width: 270px;
        height: 200px;
    }

    .idioma-card img {
        width: 35px;
    }

    .idioma-content h3 {
        font-size: 1.1rem;
    }

    .idioma-content p {
        font-size: 0.9rem;
    }
}
/* 🎯 SECCIÓN LOGROS */
.logros-section {
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    max-width: 900px;
    margin: 30px auto;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* 🎯 CONTENEDOR DEL MEDALLERO */
.medallero-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columnas */
    grid-template-rows: repeat(2, auto); /* 2 filas */
    gap: 12px;
    justify-content: center;
    align-items: center;
    max-width: 700px;
    margin: auto;
}

/* 🎯 DISEÑO DE CADA MEDALLA */
.medalla {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 215, 0, 0.08);
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(255, 215, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 110px; /* Se ha reducido el tamaño */
}

/* 🎯 ETIQUETA "MATRÍCULA DE HONOR" (AHORA SOLO TEXTO) */
.etiqueta {
    font-size: 0.75rem;
    font-weight: bold;
    color: #FFD700;
    text-transform: uppercase;
    margin-bottom: 4px;
}

/* 🎯 ICONO DE MEDALLA */
.medalla img {
    width: 40px; /* Más pequeño */
    height: auto;
    margin-bottom: 5px;
}

/* 🎯 TEXTO DE LA MATERIA */
.medalla p {
    font-size: 0.75rem;
    font-weight: bold;
    color: white;
}

/* 🎯 EFECTO HOVER */
.medalla:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 10px rgba(255, 215, 0, 0.3);
}

/* 📱 RESPONSIVE PARA MÓVILES */
@media screen and (max-width: 768px) {
    .medallero-container {
        grid-template-columns: repeat(2, 1fr); /* En móviles, 2 columnas */
        grid-template-rows: auto;
    }

    .medalla {
        max-width: 130px;
        padding: 10px;
    }

    .medalla img {
        width: 50px; /* Más grande en móviles */
    }

    .medalla p {
        font-size: 0.85rem;
    }
}

/* 🎯 SECCIÓN PUBLICACIONES Y CONFERENCIAS */
.publicaciones-section {
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    max-width: 900px;
    margin: 30px auto;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* 🎯 SUBTÍTULOS DE CONFERENCIAS Y PUBLICACIONES */
.subtitulo-publicaciones {
    font-size: 1.5rem;
    color: #FFD700;
    margin-top: 30px;
    text-transform: uppercase;
    text-align: left;
    padding-left: 20px;
}

/* 🎯 LISTA DE PUBLICACIONES */
.publicaciones-lista {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

/* 🎯 CADA PUBLICACIÓN O CONFERENCIA CON IMAGEN DE FONDO */
.publicacion {
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    width: 100%;
    max-width: 800px;
    height: 300px;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    text-align: center;
}

/* 🎯 EFECTO DE DIFUMINADO SOBRE LA IMAGEN */
.publicacion::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Oscurece la imagen para mejor visibilidad del texto */
}

/* 🎯 INFORMACIÓN SOBRE LA IMAGEN */
.info-publicacion {
    position: relative;
    z-index: 2;
    color: white;
    padding: 20px;
    text-align: center;
    max-width: 80%;
}

.info-publicacion h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #FFD700;
}

.info-publicacion p {
    font-size: 1rem;
    line-height: 1.5;
}

/* 🎯 BOTÓN DE ENLACE */
.btn-publicacion {
    display: inline-block;
    padding: 8px 15px;
    margin-top: 10px;
    background-color: #FFD700;
    color: black;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-publicacion:hover {
    background-color: #FFC300;
    transform: translateY(-2px);
}

/* 📱 RESPONSIVE PARA MÓVILES */
@media screen and (max-width: 768px) {
    .publicacion {
        height: 320px; /* 🔹 Antes era 250px */
    }
}


    .info-publicacion h3 {
        font-size: 1.1rem;
    }

    .info-publicacion p {
        font-size: 0.95rem;
    }
}
/* 🎯 SECCIÓN EXPERIENCIA LABORAL */
.experiencia-section {
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    max-width: 900px;
    margin: 30px auto;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* 🎯 TIMELINE DE EXPERIENCIA */
.experiencia-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

/* 🎯 CADA EXPERIENCIA EN TIMELINE */
.experiencia {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.08);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(255, 215, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 🎯 COLUMNA DE FECHA */
.fecha {
    background: #FFD700;
    color: black;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 5px 12px;
    border-radius: 20px;
    text-align: center;
    min-width: 120px;
    display: inline-block;
    margin-bottom: 10px;
}

/* 🎯 CONTENIDO DE EXPERIENCIA */
.experiencia-contenido {
    text-align: left;
    flex-grow: 1;
}

/* 🎯 TÍTULOS Y SUBTÍTULOS */
.experiencia h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 5px;
}

.experiencia h4 {
    font-size: 1rem;
    font-weight: bold;
    color: white;
    opacity: 0.8;
    margin-bottom: 10px;
}

/* 🎯 TEXTO PRINCIPAL */
.experiencia p {
    font-size: 1rem;
    line-height: 1.5;
    color: white;
}

/* 🎯 LISTAS */
.experiencia ul {
    list-style: none;
    padding: 0;
}

.experiencia ul li {
    font-size: 1rem;
    color: white;
    padding-left: 20px;
    position: relative;
}

.experiencia ul li::before {
    content: "";
    position: absolute;
    left: 0;
    color: #FFD700;
    font-weight: bold;
}

/* 📱 RESPONSIVE PARA MÓVILES */
@media screen and (max-width: 768px) {
    .experiencia {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .fecha {
        text-align: center;
        padding-bottom: 10px;
        width: auto;
    }

    .experiencia h3 {
        font-size: 1.1rem;
    }

    .experiencia h4 {
        font-size: 0.9rem;
    }

    .experiencia p {
        font-size: 0.95rem;
    }
}

/* 🌟 CONTENEDOR GENERAL DEL SLIDER */
.slider-container {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 900px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0px 4px 20px rgba(255, 215, 0, 0.5);
    backdrop-filter: blur(8px);
    overflow: hidden;
}

/* 🌟 ENVOLTURA DEL SLIDER */
.slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* 🌟 CONTENEDOR DEL SLIDER */
.slider {
    display: flex;
    transition: transform 0.4s ease-in-out;
    gap: 15px;
    padding: 10px 0;
    will-change: transform;
}

/* 🌟 ESTILO DE CADA BOTÓN DEL MENÚ */
.slide {
    min-width: 170px;
    padding: 15px;
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease-in-out;
    font-weight: bold;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.slide a {
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    display: block;
}

/* 🎯 EFECTO AL PASAR EL RATÓN */
.slide:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

/* 🌟 BOTONES DE NAVEGACIÓN */
.prev, .next {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(255, 255, 255, 0.3);
}

.prev:hover, .next:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* 📍 POSICIÓN DE LAS FLECHAS */
.prev { margin-left: 10px; }
.next { margin-right: 10px; }

/* 📱 RESPONSIVE: ADAPTACIÓN A MÓVILES */
@media screen and (max-width: 768px) {
    .slider-container {
        width: 95%;
        padding: 10px;
    }

    .slide {
        min-width: 130px;
        font-size: 1rem;
        padding: 10px;
    }

    .prev, .next {
        font-size: 1.6rem;
        padding: 10px;
    }
}


/* 🎯 TITULOS Y PÁRRAFOS */
.habilidad h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #FFD700;
}

.habilidad p {
    font-size: 1rem;
    color: white;
    text-align: justify;
    line-height: 1.6;
}
