﻿


/*== esto es para cuando hace scroll into, al hacer click en los filtros de la side bar ==*/
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* altura de la navbar */
}

/*==== slider en hero section ====*/

#heroCarousel {
    overflow-x: hidden;
}

#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    /*right: auto; 
    left: auto;*/
    width: 5%; /* probando aca que me sirve mas  */
}

.banner-noticia-hero-section.bg-trasparente {
    opacity: 0.0;
}

.banner-noticia-hero-section {
    width: 100%;
    height: 45px;
    background-color: rgb(54, 54, 54);
}

.section.hero-section {
    padding-left: 6%;
    padding-right: 6%;
    height: 65vh;
    padding-bottom: 0%;
}

#heroCarousel .carousel-control-prev {
    left: 0;
}

#heroCarousel .carousel-control-next {
    right: 0;
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
    width: 2.25rem; /* antes ~1.5rem */
    height: 2.25rem;
    background-size: 100% 100%;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); /* leve contraste */
}
#heroCarousel .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3e%3cpath d='M10.5 2 L5.5 8 L10.5 14' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
}

/* Flecha derecha: trazo grueso (stroke-width: 3.5) */
#heroCarousel .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3e%3cpath d='M5.5 2 L10.5 8 L5.5 14' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
}

.slider-title-wrapper{
    display: flex;
    /*margin-top: auto;*/
}

.container-slider-title-button {
    max-width: 60%;
}

.title-sliders-secundarios {
    font-size: 2.25rem;
}

/*boton call to action*/
.call-to-action-slider-hero-section {
    margin-top: 10px;
    color: #322153;
    Background: #ffffff;
}



/*==== End slider en hero section ====*/

/*==== Float wpp ====*/

/* Contenedor fijo, pegado al borde derecho, centrado vertical */
.floating-contact {
    position: fixed;
    z-index: 1100; /* por encima del contenido */
    right: 0;
    top: 70vh; 
    margin-right: env(safe-area-inset-right, 0);
}

/* Píldora que se esconde y asoma */
.wa-pill {
    --pill-h: 56px;
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .5rem .9rem .5rem .5rem;
    height: var(--pill-h);
    color: #fff;
    background: #25D366;
    border-radius: 999px 0 0 999px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
    transform: translateX(calc(100% - var(--pill-h))); /* se ve el botón redondo */
    transition: transform .25s ease, box-shadow .25s ease;
}

/* Icono circular blanco */
.wa-icon {
    width: calc(var(--pill-h) - 16px); /*arranque con -12px*/
    height: calc(var(--pill-h) - 16px); /* agrego 2px de margen interno por lado antes -12 */
    border-radius: 999px;
    background: #fff;
    display: grid;
    place-items: center;
    padding: 4px;
}

.wa-icon svg {
    width: 32px;
    height: 32px;
}
/* o 20px si querés un poco más grande */

/* Texto sin cortar */
.wa-text {
    white-space: nowrap;
    font-weight: 600;
    color: white;
}

/* Hover/Focus: mostrar completa */
.wa-pill:hover,
.wa-pill:focus-visible {
    transform: translateX(0);
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

/* Accesible en dispositivos táctiles (sin hover): tocar = enfocar = expandir */
@media (hover: none) {
    .floating-contact:focus-within .wa-pill {
        transform: translateX(0);
    }
}

/* Mobile: bajarlo a la esquina inferior derecha si preferís */
@media (max-width: 768px) {
    .floating-contact {
        top: auto;
        bottom: 16px;
    }
}

/*==== End Float wpp ====*/

.buscador-oferta-educativa {
    background-color: #FAFAFA;
}


.carreras-section {
    /*padding-left: 50px;
    padding-right: 50px;*/
    /*max-width: 1400px;
    margin: 0 auto;*/
    background-color: #FAFAFA;
}

.carreras-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}
/*======= Grid Oferta Educativa =======*/
.contenedor-oferta {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
}

.sidebar {
    flex: 1 1 220px;
    /*max-width: 260px;*/
    /*max-width: 100%;*/
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 4.8rem;
    z-index: 10;


    /*overflow-x: auto; 
    padding-inline: 1rem;*/
}

.sidebar ul {
    list-style: none;
    /*padding: 0;
    margin: 0;*/

    /*width: max-content;
    margin: 0 auto;*/
}


.sidebar li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    cursor: pointer;
}

.sidebar li span {
    margin-left: 0.5rem;
}

.cards-titulos-container {
    flex: 3 1 600px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-self: center;
    /*justify-items: center;*/
}

.card-titulo {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /*height: 395px;*/
    max-width: 330px;
}

.card-titulo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit:cover;
    min-height: 220px;
    /*aspect-ratio: 16 / 9;*/
}

/*========================================================*/
/* Clases dinamicas para el bg-c del banner de las cards */
.banner-card-titulo-Carrera {
    background-color: #6A1B9A;
}

.banner-card-titulo-Curso {
    background-color: #EF6C00;
}

.banner-card-titulo-Diploma {
    background-color: #1565C0;
}
/*========================================================*/

.card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card-titulo .etiqueta {
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.5rem 0.7rem;
    /*border-radius: 4px;*/
    color: white;
    /*background-color: #00c853;*/
    width: 100%;
}

.card-titulo h3 {
    font-size: 1.1rem;
    margin: 0;
}

.card-titulo p {
    font-size: 0.9rem;
    color: #555;
}

.card-titulo .boton {
    align-self: flex-start;
    background-color: #00796b;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-size: 0.85rem;
    text-decoration: none;
    margin-top: auto;
}


/*== Responsive ==*/

@media (max-width: 915px) {
    .sidebar {
        flex: 1 1 auto;
        /*flex-basis: auto*/


        overflow-x: auto; /*remover esto despues*/
        padding-inline: 1rem;
    }
    .sidebar ul {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 1rem;
        /*padding-bottom: 0.5rem;*/
        /*justify-content: center;*/
        padding-left: 0rem;


        width: max-content;
        margin: 0 auto;
    }

    .sidebar ul::-webkit-scrollbar {
        height: 6px;
    }

    .sidebar ul::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 4px;
        margin-bottom: 0px;
    }

    .sidebar li {
        flex: 0 0 auto; /* evita que se estiren */
        white-space: nowrap;
    }
}

@media (min-width: 916px) {

    .contenedor-oferta .sidebar {
        /*position: sticky;
        top: 6rem;*/
    }
}
/*== hero Slider ==*/

/* le remuevo la imagen secundaria de la hero section en resolucion mas chica */
@media (max-width: 992px) {
    #container-imagen-secundaria {
        display: none;
    }
}

@media (max-width: 998px) {
    .container-slider-title-button {
        max-width: 80%;
    }
}

/*== hero Slider ==*/

@media (max-width: 991px) {  

    /*== Slider ==*/
    .carousel-item .program-info {
        justify-content: center;
        margin-bottom: 20px;
    }

    .carousel-item .heading-3.pricing-subtitle {
        font-size: 18px;
        text-align: center;
    }

    .carousel-item ul li {
        font-size: 16px;
    }

    .carousel-item .testimonial-img-perfil {
        width: 150px;
        height: 150px;
    }

    .carousel-item .testimonial-img-perfil-container p {
        margin-bottom: 5px;
    }
    /*== End Slider ==*/


}


@media (max-width: 768px) {
    .contenedor-oferta {
        flex-direction: column;
    }

    /*.sidebar {
    max-width: 100%;
}*/
}

@media (min-width: 1600px) {
    .section.social-section {
        padding-top: 5px;
    }
}

/*== End Responsive ==*/

    /*======= End Grid Oferta Educativa =======*/

.section-offset.home-page-offset {
    /*margin-top: 120px;*/
    /*margin-top: 8%;*/
    padding-top: 8%;
    background-color: #FAFAFA;
}

    .offset-element.home-page-offset-element {
        margin-top: 0% !important;
        margin-bottom: -7.8%;
        z-index: 10;
    }

    .call-to-action.call-to-action-home-page {
        margin-top: 0;
        margin-bottom: 0;
        padding: 9.77% 0 7.9%;
    }

.call-to-action-home-page .container {
    margin-top: 7%;
} 
/*======= Section Testimonios =======*/
.video-testimonial-home {
    position: relative;
    /*padding-bottom: 56.25%;*/ /* 16:9 ratio */
    /*aspect-ratio: 4;*/
    height: 250px;
    overflow: hidden;
    /*max-width: 50%;*/
    max-width: 640px;
    margin: 2rem auto;
    border-radius: 8px;
}

.video-testimonial-home iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.section-testimonal-home-page .carousel-testomonial-home-page {
    margin-top: 100px;
}

/*== Slider ==*/

.carousel-testomonial-home-page .carousel-control-prev {
    width: 25px;
    left: 0%;
}

.carousel-testomonial-home-page .carousel-control-next {
    width: 25px;
    right: 0%;
}

.col-md-4.program-left {
    text-align: center;
}

.testimonial-img-perfil-container {
}

.testimonial-img-perfil {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

/*== End Slider ==*/

/*======= End Section Testimonios =======*/


/*======= Section Blog Noticias =======*/

.section-noticias-home {
    max-width: 1140px;
    margin: auto;
}

.container-noticias-title {
    margin-bottom: 30px;
}

.noticias-section-title {
    font-size: 45px;
}

.contenedor-noticias-blog {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: auto;
}

.card-noticias-container {
    flex: 3 1 600px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-self: center;
    justify-items: center;
}

/*==== Card Noticia ====*/

.articulo-noticia-titulo{
    margin-bottom: 25px;
}

.card-noticia img {
    height: 400px;
}

.boton-noticia-action {
    margin-bottom: 20px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
}

.articulo-noticia-titulo {
    font-size: 21px;
}

/*======= End Section Blog Noticias =======*/

/*======= Section Social media =======*/
.social-section {
    padding-top: 5%;
    /*padding-top: min(6vh, 80px);*/
    padding-bottom: 2%;
}

.social-icon svg {
    transition: fill 0.3s ease;
}

.social-icon.facebook:hover svg {
    fill: #1877F2; /* Facebook blue */
}

.social-icon.instagram:hover svg {
    fill: #C13584; /* Instagram gradient base */
}

.social-icon.twitter:hover svg {
    fill: #1DA1F2; /* Twitter blue */
}

.social-icon.youtube:hover svg {
    fill: #FF0000; /* YouTube red */
}

.social-icon.linkedin:hover svg {
    fill: #0077B5; /* LinkedIn blue */
}


/*======= End Section Social media =======*/





/*===== Estilos traidos de template*/







