﻿


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* #s4-workspace {
    overflow-x: visible !important;
}
        
    
#cardsCarouselTrack {
    overflow-x: auto !important;
} */

.que-puedes-hacer-section {
    width: 100%;
    background-color: #FFFFFF;
    padding: 55px 0;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}


.intro-text {
    text-align: left;
    margin-bottom: 40px;
}

.intro-text h3 {
    color: #000000;
    font-size: 32px;
    font-weight: 700;

    line-height: 1.3;
}


.cards-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}


.info-card {
    background-color: #012169;
    border-radius: 23px;
    padding: 30px 25px;
    text-align: center;
    min-height: 357px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 0px;
}

.card-icon-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 20px;
    min-height: 80px;
    max-height: 80px;
}

.card-icon {
    max-width: 80px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}


.card-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    text-align: center;
}


.card-titulo {
    font-size: 21px;
    font-weight: 450;
    line-height: 26px;
    color: #FFFFFF !important;
    text-align: left;
    margin-bottom: 20px;
    /* min-height: 80px; */
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: none;
    margin-left: 0%;
}

.card-descripcion {
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    color: #FFFFFF;
    text-align: left;
    min-height: 100px;
}


.que-puedes-controls-wrapper {
    display: none;
}

.que-puedes-arrow {
    background: #012169;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 16px;
    color: #FFFFFF;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.que-puedes-arrow span {
    font-size: 18px;
}

.que-puedes-arrow:hover {
    background-color: #001a4d;
}

.que-puedes-bullets-container {
    display: flex;
    gap: 12px;
}

.que-puedes-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.que-puedes-bullet.active {
    background-color: #012169 !important;
    transform: scale(1.2);
}

.que-puedes-hacer-section {
    overflow: visible; /* Permitir desborde */
}
.container {
    overflow: visible; /* Permitir desborde */
}
.cards-wrapper {
    overflow: visible; /* En desktop no necesita scroll */
}


@media (max-width: 1024px) {

    .cards-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .info-card {
        min-height: 320px;
        padding: 30px 20px;
    }

    .card-icon-container {
        min-height: 70px;
        max-height: 70px;
        margin-bottom: 15px;
    }

    .card-icon {
        max-width: 70px;
    }

    .card-titulo {
        font-size: 19px;
        line-height: 24px;
        min-height: 75px;
        margin-bottom: 15px;
    }

    .card-descripcion {
        font-size: 16px;
        line-height: 22px;
        min-height: 90px;
    }

    .intro-text h3 {
        font-size: 26px;
    }
}


@media (max-width: 992px) {
    .que-puedes-hacer-section {
        padding: 40px 0 55px 0;
    }

    .cards-wrapper {
        display: flex !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        justify-content: flex-start;
        padding: 20px 0 30px 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
        grid-template-columns: none; 
        overflow-x: auto !important; 
        overflow-y: hidden !important;
    }

    .cards-wrapper::-webkit-scrollbar {
        display: none;
    }


    .que-puedes-controls-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 30px;
        width: 100%;
    }

    .info-card {
        flex: 0 0 85%;
        max-width: 85%;
    }
    .que-puedes-bullets-container {
        display: flex;
    }


}


@media (min-width: 769px) and (max-width: 992px) {
    .info-card {
        flex: 0 0 45%;
        max-width: 70%;
        margin-left: 7%;
    }

    .info-card:last-child {
        margin-right: 7.5%;
    }
}


@media (max-width: 768px) and (min-width: 641px) {
    .info-card {
        flex: 1 0 60%;
        max-width: 48%;
        margin-left: 6%;
    }

    .info-card:last-child {
        margin-right: 4%;
    }

    .intro-text h3 {
        font-size: 24px;
    }
}


@media (max-width: 768px) {
    .que-puedes-hacer-section {
        padding: 40px 0;
    }

    .intro-text {
        margin-bottom: 30px;
    }

    .intro-text h3 {
        font-size: 28px;
    }

    .info-card {
        flex: 0 0 90%;
        max-width: 80%;
        margin-left: 5%;
        min-height: 280px;
        padding: 25px 20px;
    }

    .info-card:last-child {
        margin-right: 4%;
    }

    .card-icon-container {
        min-height: 60px;
        max-height: 60px;
        margin-bottom: 15px;
    }

    .card-icon {
        max-width: 60px;
    }

    .card-titulo {
        font-size: 24px;
        line-height: 22px;
        margin-bottom: 12px;
        min-height: auto;
    }

    .card-descripcion {
        font-size: 18px;
        line-height: 20px;
        min-height: auto;
    }
    .que-puedes-bullet.active {
        background-color: #012169 !important;
        transform: scale(1.2);
    }
}
