.achievements-section {
    padding-top: 5px; /* Reducido de 20px para subir el título */
    text-align: center;
}

.section-label {
    position: relative;
    z-index: 1; /* Capa baja */
    margin-bottom: -40px; /* Margen negativo para que el carrusel suba sobre el texto */
}

.carousel-container {
    position: relative;
    z-index: 10; /* Se mantiene en la capa frontal */
    width: 100%;
    height: 400px; 
    margin-top: 100px; /* Aumenta este número para bajar el carrusel y descubrir el texto */
    perspective: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background: transparent; /* Asegura que el contenedor no tape lo de atrás */
}

.carousel-track {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.diploma-card {
    position: absolute;
    width: 350px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.diploma-content img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--electric-blue);
    margin-bottom: 15px;
}

.diploma-content h3 {
    font-family: 'Orbitron';
    font-size: 0.6rem;
    color: var(--electric-blue);
}

/* Estado Activo (Centro) */
.diploma-card.active {
    opacity: 1;
    transform: translateZ(100px) scale(1.1);
    z-index: 10;
    pointer-events: auto;
}

/* Laterales */
.diploma-card.prev {
    opacity: 0.5;
    transform: translateX(-250px) scale(0.8) rotateY(25deg);
    z-index: 5;
    filter: blur(2px);
}

.diploma-card.next {
    opacity: 0.5;
    transform: translateX(250px) scale(0.8) rotateY(-25deg);
    z-index: 5;
    filter: blur(2px);
}

.carousel-controls {
    margin-top: 25px;
    display: flex;
    gap: 50px;
}

@media (max-width: 768px) {
    .diploma-card { width: 280px; }
    .diploma-card.prev { transform: translateX(-120px) scale(0.7); }
    .diploma-card.next { transform: translateX(120px) scale(0.7); }
}