﻿/*VERSION ANTIGUA*/
.background-color-bpractices {
    height: auto;
    /*background: linear-gradient(120deg, #001c15 70%, #34c181 300%);*/
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 50px;
}

.gallery-cell {
    display: inline-block;
    margin-right: 20px;
    vertical-align: top;
    width: 400px;
    height: 420px;
}

.carousel__item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
}

    .carousel__item-body p.title {
        text-align: center;
        font-weight: bold;
        margin-bottom: 0.5rem;
        color: var(--deep-green);
    }

    .carousel__item-body p.testimonial {
        flex: 1;
        text-align: justify;
        overflow-y: auto;
        /* Scroll si el texto es largo */
        padding-right: 5px;
        color: var(--deep-green);
    }

.flickity-page-dots .dot {
    background: var(--deep-green) !important;
}

.card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--deep-green) !important;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


.certificaciones {
    /*padding: 4rem 1rem;*/
    /*background-color: #f9f9f9;*/
    text-align: center;
    padding-top: 6%;
    padding-bottom: 6%;
    height:auto;
}

.certificaciones h2 {
    font-size: 2rem;
    color: #34C181;
    margin-bottom: 1rem;
}

.cert-desc {
    font-size: 1rem;
    /*color: #555;*/
    color:#f9f9f9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cert-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.responsive-h2 {
    font-weight: 600;
    font-size: clamp(1.2rem, 3vw, 2rem) !important;
    /* min 1.2rem, fluido, max 2rem */
    text-align: center;
    /* opcional, ayuda en mobile */
    word-wrap: break-word;
    /* por si hay palabras largas */
}

.cert-card {
    position: relative;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    transition: transform 0.3s ease;
    cursor: pointer;
    -webkit-transition: transform 0.3s ease;
    -moz-transition: transform 0.3s ease;
    -ms-transition: transform 0.3s ease;
    -o-transition: transform 0.3s ease;
}

    .cert-card:hover {
        transform: translateY(-10px);
    }

    .cert-card img {
        width: 100px;
        /* ancho fijo */
        height: 100px;
        /* alto fijo */
        -o-object-fit: contain;
           object-fit: contain;
        /* mantiene la proporción */
        margin-bottom: 1rem;
    }

    .cert-card p {
        font-weight: 600;
        color: #333;
    }

    /* Tooltip */
    /* .cert-card::after {
        content: attr(data-tooltip);
        position: absolute;
        bottom: 110%;
        left: 50%;
        transform: translateX(-50%);
        background-color: #34C181;
        color: white;
        padding: 0.5rem 1rem;
        border-radius: 6px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s ease;
        white-space: normal;
        min-width: 290px;
        text-align: center;
        font-size: 0.9rem;
        z-index: 10;
        font-family: "neulis-sans";
        font-weight: 500;
    }

    .cert-card:hover::after {
        opacity: 1;
    } */

/* @media (width <=1300px) {
    .background-color-bpractices {
        height: 90vh !important;
    }
} */


@media (width <=1040px) {
    .background-color-bpractices {
        margin-top: 40px;
    }
}

@media (width >=2000px) {
    .background-color-bpractices {
        max-height: 70vh;
    }

    .cert-cards {
        display: flex;
        justify-content: center;
        gap: 6rem;
        flex-wrap: wrap;
    }

    .cert-card img {
        width: 200px;
        /* ancho fijo */
        height: 200px;
        /* alto fijo */
        -o-object-fit: contain;
           object-fit: contain;
        /* mantiene la proporción */
        margin-bottom: 1rem;
    }
}


/*NUEVA VERSION*/
/*.background-color-bpractices {
    height: auto;*/
    /*background: linear-gradient(120deg, #001c15 70%, #34c181 300%);*/
    /*background-color:#001c15;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 50px;
}

.gallery-cell {
    display: inline-block;
    margin-right: 20px;
    vertical-align: top;
    width: 400px;
    height: 420px;
}

.carousel__item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
}

.carousel__item-body p.title {
    text-align: center;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--off-white);
}

.carousel__item-body p.testimonial {
    flex: 1;
    text-align: justify;
    overflow-y: auto;*/
    /* Scroll si el texto es largo */
    /*padding-right: 5px;
    color: var(--off-white);
}

.flickity-page-dots .dot {
    background: var(--flo-green) !important;
}

.card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--off-white) !important;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


.certificaciones {*/
    /*padding: 4rem 1rem;*/
    /*background-color: #f9f9f9;*/
    /*text-align: center;*/
    /*height: auto;*/
    /*background: linear-gradient(120deg, #001c15 70%, #34c181 300%);*/
    /*background: linear-gradient(0deg, #F9F9F9 95%, var(--deep-green-light) 95%);*/
    /*background: linear-gradient(0deg, #F9F9F9 92%, #001C15 96%);*/
    /*position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 50px;
}

.certificaciones img {
    height: 250px;
    width: 250px;
    object-fit: contain;
}

.certificaciones .row:hover {
    transform: scale(1.1);
    transition: 0.5s ease-out;
}

.certificaciones .row::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    transform: scaleX(0);
    height: 3px;
    background-color: var(--go-green);
    transition: 0.3s ease-in-out;
}

.certificaciones .row:hover::after {
    transform: scaleX(1);
}

.certificaciones .row .paragraph {
    font-size: clamp(1.2rem, 1vw, 2.5rem);
    text-align: left;
}

.certificaciones h2 {*/
    /* font-size: 2rem; */
    /*color: #34C181;
    margin-bottom: 1rem;
}

.cert-desc {
    font-size: 2rem;
    color: #555;*/
    /*color: #F9F9F9;*/
    /*margin-bottom: 2rem;*/
    /* max-width: 600px; */
    /*margin-left: auto;
    margin-right: auto;
}

.cert-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.responsive-h2 {
    font-weight: 600;
    font-size: clamp(1.2rem, 3vw, 2rem) !important;*/
    /* min 1.2rem, fluido, max 2rem */
    /*text-align: center;*/
    /* opcional, ayuda en mobile */
    /*word-wrap: break-word;*/
    /* por si hay palabras largas */
/*}

.cert-card {
    position: relative;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.cert-card:hover {
    transform: translateY(-10px);
}

.cert-card img {
    width: 100px;*/
    /* ancho fijo */
    /*height: 100px;*/
    /* alto fijo */
    /*object-fit: contain;*/
    /* mantiene la proporción */
    /*margin-bottom: 1rem;
}

.cert-card p {
    font-weight: 600;
    color: #333;
}*/

/* Tooltip */
/*.cert-card::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #34C181;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: normal;*/
    /* permite que el texto se divida en varias líneas */
    /*min-width: 290px;*/
    /* máximo ancho */
    /*text-align: center;
    font-size: 0.9rem;
    z-index: 10;
    font-family: "neulis-sans";
    font-weight: 500;
}

.cert-card:hover::after {
    opacity: 1;
}*/

/* @media (width <=1300px) {
    .background-color-bpractices {
        height: 90vh !important;
    }
} */


/*@media (width <=1040px) {
    .background-color-bpractices {
        margin-top: 40px;
    }
}

@media (width >=2000px) {
    .background-color-bpractices {
        max-height: 60vh;
    }

    .cert-cards {
        display: flex;
        justify-content: center;
        gap: 6rem;
        flex-wrap: wrap;
    }

    .cert-card img {
        width: 200px;*/
        /* ancho fijo */
        /*height: 200px;*/
        /* alto fijo */
        /*object-fit: contain;*/
        /* mantiene la proporción */
        /*margin-bottom: 1rem;
    }

}*/