.hero-slider-section {
    position: relative;
    height: 75vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
    text-align: center;
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}


.slider-track {
    display: flex;
    width: 400%;
    height: 100%;
    animation: slideAnimation 16s infinite ease-in-out;
}


.slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}


.hero-content-overlay {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    color: white;
}

.hero-content-overlay p {
    font-size: 1.2rem;
    color: #6b088c;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    margin-bottom: 40px;
}


@keyframes slideAnimation {
    0%, 20%       { transform: translateX(0); }
    25%, 45%      { transform: translateX(-25%); }
    50%, 70%      { transform: translateX(-50%); }
    75%, 95%      { transform: translateX(-75%); }
    100%          { transform: translateX(0); }
}


/* Regla final del h2 (la que se aplica) */
.hero-content-overlay h2 {
    display: inline-block;
    max-width: 800px;
    padding: 25px 30px;
    margin: 20px 0;

    /* Texto blanco semitransparente */
    color: rgba(255, 255, 255, 0.95);

    /* Degradado azul->rojo CON transparencia (ultimo valor = alfa) */
    background: linear-gradient(135deg, rgba(25, 5, 107, 0.55), rgba(255, 0, 0, 0.55));

    border: 3px solid rgba(255, 255, 255, 0.6);
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);

    font-size: 2.6rem;
    line-height: 1.2;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);

    /* Desenfoque de fondo (efecto vidrio) */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
