.custom-slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.custom-slider {
    display: flex;
    transition: transform 0.5s ease;
    width: 300%;
}

.custom-slide {
    flex: 0 0 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.custom-fullscreen-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen cubra el contenedor sin deformarse */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: opacity 0.5s ease; /* Opcional: transición para suavizar cambios */
}

/* Otros estilos para el texto y controles aquí */

.custom-slide-text {
    font-family: 'Montserrat-Regular';
    font-size: 1.15rem;
    padding-right: 19%;
    position: relative;
    bottom: 10%;
    left: 5%;
    z-index: 2;
    color: white;
    max-width: 80%;
    white-space: normal;
    line-height: 1.2;
    margin: 0 auto;
}

.custom-slide-description {
    font-family: 'Montserrat-Regular';
    font-size: 1.40rem;
    text-align: justify;
    padding-right: 0%;
    position: relative;
    z-index: 2;
    color: white;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    line-height: 1.2;
    margin: 0 auto;
}

.custom-slider-controls {
    position: absolute;
    bottom: 20px; /* Ajusta este valor para la posición vertical */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    width: 100%;
    z-index: 3;
}

.custom-arrow {
    cursor: pointer;
    color: white;
    font-size: 1.5rem; /* Tamaño de la flecha */
    user-select: none;
    padding: 10px;
    margin: 0 10px; /* Espaciado entre las flechas */
    background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro y transparente */
    border-radius: 50%; /* Círculo */
    width: 40px; /* Ancho del círculo */
    height: 40px; /* Alto del círculo */
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-arrow-left {
    /* Opcional: puedes agregar estilos adicionales aquí */
}

.custom-arrow-right {
    /* Opcional: puedes agregar estilos adicionales aquí */
}

.custom-arrow-down {
    display: none;
    cursor: pointer;
}

/* Media Queries para pantallas más pequeñas */
@media (max-width: 768px) {
    .custom-arrow {
        font-size: 1.2rem; /* Reduce el tamaño de la flecha */
        width: 35px; /* Reduce el tamaño del círculo */
        height: 35px; /* Reduce el tamaño del círculo */
        padding: 8px; /* Reduce el padding */
    }

    .custom-slider-controls {
        bottom: 10px; /* Ajusta la posición vertical */
    }
}

@media (max-width: 480px) {
    .custom-arrow {
        font-size: 1rem; /* Reduce aún más el tamaño de la flecha */
        width: 30px; /* Reduce el tamaño del círculo */
        height: 30px; /* Reduce el tamaño del círculo */
        padding: 6px; /* Reduce el padding */
    }

    .custom-slider-controls {
        bottom: 5px; /* Ajusta la posición vertical */
    }
}
