@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

.font-normal {
    font-size: 1.2rem;
    margin-top: 30px;
}

.slider{
    height: 100vh;
    margin-top: 0;
    position: relative;
}

.section4 .services {
    height: 150px;
    width: 150px;
    border-radius: 50%;
    border: 1px solid #ccc;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.section4 {
    position: relative; /* Necesario para que .title-overlay use position absoluta */
}

/* SECCION 5 */

.call-box {
    background-color: #005eff; /* Color similar al de la imagen */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    height: 400px;
    margin: auto;
}

.call-box h2 {
    font-size: 3rem;
    font-weight: bold;
}

.call-box p {
    font-size: 1.5rem;
    margin: 10px 0;
}

.call-box ul {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.call-box li {
    font-size: 1rem;
    text-align: left;
    margin: 35px 0;
}

.call-button {
    background-color: white;
    color: #005eff;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    display: inline;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
    left: 50%;
}

.call-button:hover {
    background-color: #bbd4ff;
}


.title-overlay {
    position: absolute;
    top: 0px; /* Ajusta la posición vertical */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.3); /* Fondo semi-transparente */
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    z-index: 11; /* Asegura que esté por encima del slider */
}


.slider .list2 .item2{
    position: absolute;
    inset: 0 0 0 0;
    overflow: hidden;
    opacity: 0;
    transition: 1s;
}
.slider .list2 .item2 img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider .list2 .item2::after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background-image: linear-gradient(
        to top, #000 30%, transparent
    );
}
.slider .list2 .item2 .content2{
    position: absolute;
    left: 10%;
    top: 20%;
    width: 700px;
    max-width: 80%;
    z-index: 1;
    color: #fff;
}
.slider .list2 .item2 .content2 p:nth-child(1){
    text-transform: uppercase;
    letter-spacing: 10px;
}
.slider .list2 .item2 .content2 h2{
    font-size: 3rem;
    color: #61A7E9;
    margin-top: 50px;
    text-transform: uppercase;
}
.slider .list2 .item2.active{
    opacity: 1;
    z-index: 10;
}
@keyframes showContent {
    to{
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}
.slider .list2 .item2.active p:nth-child(1),
.slider .list2 .item2.active h2,
.slider .list2 .item2.active p:nth-child(3){
    transform: translateY(30px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s .7s ease-in-out 1 forwards;
}
.slider .list2 .item2.active h2{
    animation-delay: 1s;
    color: #61A7E9;
    font-size: 3rem;
}
.slider .list2 .item2.active p:nth-child(3){
    animation-duration: 1.3s;
}
.arrows2{
    position: absolute;
    top: 30%;
    right: 50px;
    z-index: 20;
}
.arrows2 button{
    background-color: #eee5;
    border: none;
    font-family: monospace;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    font-size: x-large;
    color: #eee;
    transition: .5s;
}
.arrows2 button:hover{
    background-color: #eee;
    color: black;
}
.thumbnail2{
    position: absolute;
    bottom: 5px;
    z-index: 11;
    display: flex;
    gap: 10px;
    width: 100%;
    height: 250px;
    padding: 0 50px;
    box-sizing: border-box;
    overflow: auto;
    justify-content: center;
}
.thumbnail2::-webkit-scrollbar{
    width: 0;
}
.thumbnail2 .item2{
    width: 150px;
    height: 220px;
    filter: brightness(.5);
    transition: .5s;
    flex-shrink: 0;
}
.thumbnail2 .item2 img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.thumbnail2 .item2.active{
    filter: brightness(1.2);
}
.thumbnail2 .item2 .content2{
    position: absolute;
    inset: auto 15px 15px 15px;
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1;
}
@media screen and (max-width: 678px) {
    .thumbnail2{
        justify-content: start;
    }
    .slider .list2 .item2 .content2 h2{
        font-size: 60px;
    }
    .arrows2{
        top: 10%;
    }
}

/* Slider Rotativo */
