/********** Template CSS **********/
:root {
    --primary: #ee2424;
    --secundary: #CC3333;
    --subsecundary: #df8d84;
    --tercero: #571e17;
    --light: #FFFFFF;
    --dark: #0F172B;
    --plomo: #f5f5f5;
    --negro: #000000;
    --rosa: #000000;
}

body {
    font-family: 'Nunito', sans-serif;
}

a {
    color: var(--dark);
    text-decoration: none;
}

.bg-cover {
    background-position: center !important;
    background-size: center !important;
    background-position: center !important;
}

.colorsecundario {
    background-color: var(--plomo);
}

.colorsecundary {
    color: var(--secundary);
}

.colorbgsecundary {
    background-color: var(--secundary);
}

.colorbgsubsecundary {
    background-color: var(--subsecundary);
}

.main-btn {
    font-size: 1rem;
    font-weight: 500;
    color: var(--secundary);
    text-transform: uppercase;
    background-color: transparent;
    border: .0625rem solid #ee2424;
    padding: .375rem 1.875rem;
    border-radius: 0.825rem;
    line-height: 1.75rem;
    display: inline-block;
    transition: all 0.3s ease-out 0s;
}

.img-personalizada {
    width: 10%;
    /* Ajusta el porcentaje según tus necesidades */
    height: auto;
    /* Mantiene la proporción */
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Navbar ***/
.spanone {
    padding-top: 2px;
    padding-bottom: 2px;
}

.top-nav {
    background-color: var(--light);
    padding-top: 5px;
    padding-bottom: 5px;
}

.top-nav p {
    margin-bottom: 0;
    display: inline-block;
    margin-right: 16px;
    color: var(--negro);
}

.top-nav i,
.top-nav span i {
    vertical-align: middle;
}

.social-links a {
    width: 25px;
    height: 25px;
    background-color: var(--secundary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 15px;
    border-radius: 100%;
}


/*** otro ***/
.colorsec {
    color: #ffffff;
}

.navcolors {
    background-color: var(--secundary);
}

.navbar-dark .navbar-nav .nav-link {
    position: relative;
    margin-left: 20px;
    padding: 5px 4px;
    font-size: 15px;
    color: var(--light) !important;
    text-transform: uppercase;
    font-weight: 500;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 8px 0;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--tercero) !important;
}

.navbar-dark .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .colorsec {
        font-size: 1.5em;
        /* Ajusta el tamaño según sea necesario */
    }
}

@media (max-width: 513px) {
    .colorsec {
        font-size: 1.0em;
        /* Ajusta el tamaño según sea necesario */
    }
}

@media (max-width: 387.5px) {
    .colorsec {
        font-size: 0.5em;
        /* Ajusta el tamaño según sea necesario */
    }
}

@media (max-width: 991.98px) {}

@media (min-width: 992px) {}

/* boton */

.btn {
    padding: 9px 24px;
    font-weight: 500;
}

.btn-brand {
    background-color: none;
    color: var(--secundary);
    border-color: var(--secundary);
}

.btn-brand:hover {
    color: #ffffff;
    background-color: var(--secundary);
}

/* Slider header */
.slide1 {
    background-image: linear-gradient(rgba(9, 32, 50, 0.4), rgba(9, 32, 50, 0.4)), url(https://firebasestorage.googleapis.com/v0/b/pdo-juan-mckniff.appspot.com/o/pagina-web%2Fversion-2%2Fimg%2Findex%2Facust_wp.webp?alt=media&token=363862bf-da5a-4a4a-9dd5-1a0b4bff3c17);

}

.slide2 {
    background-image: linear-gradient(rgba(9, 32, 50, 0.4), rgba(9, 32, 50, 0.4)), url(https://firebasestorage.googleapis.com/v0/b/pdo-juan-mckniff.appspot.com/o/pagina-web%2Fversion-2%2Fimg%2Findex%2Fslide2.webp?alt=media&token=0f42405e-3b9f-4be6-9eb9-27b2ad8cb1e3);

}

.slide3 {
    background-image: linear-gradient(rgba(9, 32, 50, 0.4), rgba(9, 32, 50, 0.4)), url(https://firebasestorage.googleapis.com/v0/b/pdo-juan-mckniff.appspot.com/o/pagina-web%2Fversion-2%2Fimg%2Findex%2Fslide3.webp?alt=media&token=b81af99d-76dc-47cc-94a5-a74e30202ea8);

}

.slide1,
.slide2,
.slide3 {
    background-size: cover;

}

/* Carosel OWL header */

.owl-prev,
.owl-next {
    position: absolute;
    top: 50%;
    display: grid;
    place-items: center;
    background-color: #dbb4b0 !important;
    margin-top: -30px !important;
    color: #000000 !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    border-radius: 20px !important;
}

.owl-prev {
    left: 2%;
}

.owl-next {
    right: 2%;
}

.owl-next:hover,
.owl-prev:hover {
    background-color: var(--secundary) !important;
}

/* Socios mas */
.swiper-slide img {
    margin: 0 auto;
    /* Centra la imagen horizontalmente */
    display: block;
    /* Asegura que la imagen se centre correctamente */

}


/* About */
.about_wrapper {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Proyectos Coleccion */

.active-filter-btn {
    background-color: var(--secundary) !important;
    color: #fff !important;
    border-color: var(--secundary) !important;
}

.filter-button-group .btn:hover {
    color: #fff !important;
}

.collection-img img {
    width: 100%;
    /* Asegura que las imágenes ocupen el ancho del contenedor */
    height: 200px;
    /* Ajusta la altura según necesites */
    object-fit: cover;
    /* Recorta la imagen sin distorsionarla */
    display: block;
    /* Evita espacios extra por el comportamiento inline de <img> */
}

.collection-img span {
    top: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
}

.text-edit {
    padding: 0 0.4rem 0 0.4rem;
}

/* Impacto */
.borde-secundario {
    border-color: var(--secundary) !important;

}

.impacto-item {
    display: flex;
    align-items: center;
    height: 100%;
}

.numero-wrapper {
    width: 130px;
    /* Ajusta este valor según necesites */
    min-width: 130px;
    display: flex;
    justify-content: flex-end;
    /* Alinea el número a la derecha */
    padding-right: 0px;
}

.info-wrapper {
    flex: 1;
    padding-left: 10px;
}

/* Ajustes responsivos */
@media (max-width: 767px) {
    .numero-wrapper {
        width: 100px;
        min-width: 100px;
    }
}

@media (max-width: 576px) {
    .numero-wrapper {
        width: 80px;
        min-width: 80px;
    }

    .impacto-item .display-5 {
        font-size: 2rem;
    }

    .info-wrapper p,
    .info-wrapper h6 {
        font-size: 0.9rem;
    }
}


/*Noticias y Eventos*/
.card {
    border: none;
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
    border-radius: 20px;
    min-height: 450px;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);

    @media (max-width: 768px) {
        min-height: 350px;
    }

    @media (max-width: 420px) {
        min-height: 300px;
    }

    &.card-has-bg {
        transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
        background-size: 120%;
        background-repeat: no-repeat;
        background-position: center center;

        &:before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            background: inherit;

        }

        &:hover {
            transform: scale(0.98);
            box-shadow: 0 0 5px -2px rgba(0, 0, 0, 0.267);
            background-size: 130%;
            transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
        }
    }

    .card-footer {
        background: none;
        border-top: none;

        .media {
            img {
                border: solid 3px rgba(255, 255, 255, 0.274);
            }
        }
    }

    .card-title {
        font-weight: 800
    }

    .card-meta {
        color: var(--secundary);
        text-transform: uppercase;
        font-weight: 500;
        letter-spacing: 2px;
    }

    .card-body {
        transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
        color: var(--secundary);
    }

    &:hover {


        cursor: pointer;
        transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
    }

    .card-img-overlay {
        transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);

        background: linear-gradient(rgba(9, 32, 50, 0.336), rgba(9, 32, 50, 0.411));
    }

    .card-img-overlay:hover {
        transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
        background: none;

    }
}

@media (max-width: 767px) {}

/* formulario newletter */
.cardse {
    /* Estilos personalizados para tu tarjeta */
    background-color: var(--light);
    border: 1px solid #dee2e6;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    /* Añade más estilos según tus preferencias */
}

/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


/* -------------------------------nosotros -------------------------------------------------------*/
/* -------------------------------nosotros -------------------------------------------------------*/


/* Slide principal */
.slide1a {
    background-image: linear-gradient(rgba(9, 32, 50, 0.4), rgba(9, 32, 50, 0.4)), url(https://firebasestorage.googleapis.com/v0/b/pdo-juan-mckniff.appspot.com/o/pagina-web%2Fversion-2%2Fimg%2Fnosotros%2Fnosotros1.webp?alt=media&token=40c09724-50b9-4841-aa92-7eb86ab0dc24);
    background-size: cover;
    /* Ajusta el tamaño de la imagen para cubrir todo el fondo */
    background-position: center;
    height: 45vh;
    /* Ajusta la altura como desees (ejemplo: 50% de la altura de la ventana) */
    display: flex;
    align-items: center;
}


/* Slide principal */
.slide2a {
    background-image: linear-gradient(rgba(182, 189, 194, 0.4), rgba(182, 189, 194, 0.4)), url(https://firebasestorage.googleapis.com/v0/b/pdo-juan-mckniff.appspot.com/o/pagina-web%2Fversion-2%2Fimg%2F404%2F404aaa.png?alt=media&token=c2a89e77-b3c4-47a5-bd2b-8a2517e4820b);
    background-size: cover;
    /* Ajusta el tamaño de la imagen para cubrir todo el fondo */
    background-position: center;
    height: 90vh;
    /* Ajusta la altura como desees (ejemplo: 50% de la altura de la ventana) */
    display: flex;
    align-items: center;
}

/* CSS Personalizado */
.tu-clase-personalizada {
    border: 2px solid #919191;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    margin-top: 20px;
}

.tu-clase-personalizada .card-body {
    padding: 0;
}


/*-- About --*/
.abouts {
    padding: 0;
    margin-top: 40px;
}

.abouts .content h3 {
    font-weight: 400;
    font-size: 32px;
    color: #364146;
    font-family: "Poppins", sans-serif;
}

.abouts .content ul {
    list-style: none;
    padding: 0;
}

.abouts .content ul li {
    padding-bottom: 10px;
}

.abouts .content ul i {
    font-size: 20px;
    padding-right: 4px;
    color: #28a745;
}

.abouts .content p:last-child {
    margin-bottom: 0;
}

/* convenio */
.convenio .content h3 {
    font-weight: 500;
    font-size: 24px;
    color: #58716d;
    font-family: "Poppins", sans-serif;
}

.convenio .content ul {
    list-style: none;
    padding: 0;
}

.convenio .content ul li {
    padding-bottom: 10px;
}

.convenio .content ul i {
    font-size: 20px;
    padding-right: 4px;
    color: #1bbca3;
}

.convenio .content p:last-child {
    margin-bottom: 0;
}

.convenio .progress {
    height: 50px;
    display: block;
    background: none;
}

.convenio .progress .skill {
    padding: 10px 0;
    margin: 0 0 6px 0;
    text-transform: uppercase;
    display: block;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    color: #58716d;
}

.convenio .progress .skill .val {
    float: right;
    font-style: normal;
}

.convenio .progress-bar-wrap {
    background: #e6eceb;
}

.convenio .progress-bar {
    width: 1px;
    height: 10px;
    transition: 0.9s;
    background-color: #1bbca3;
}

/*-- Features--*/
.features {
    padding-bottom: 40px;
}

.features .nav-tabs {
    border: 0;
}

.features .nav-link {
    border: 0;
    padding: 20px;
    transition: 0.3s;
    color: #101111;
    transition: 0.3s ease-in-out;
    border-radius: 0;
    border-left: 4px solid #fafbfb;
}

.features .nav-link h4 {
    font-size: 18px;
    font-weight: 600;
    transition: 0.3s ease-in-out;
    color: var(--subsecundary);
}

.features .nav-link p {
    font-size: 14px;
    margin-bottom: 0;
}

.features .nav-link:hover {
    background: #fafbfb;
}

.features .nav-link:hover h4 {
    color: var(--subsecundary);
}

.features .nav-link.active {
    border-radius: 0;
    border: 0;
    border-left: 4px solid var(--secundary);
    background: #f4f5f5;
}

.features .nav-link.active h4 {
    color: var(--secundary);
}

.features .tab-pane.active {
    animation: slide-down 0.5s ease-out;
}

.features .tab-content {
    text-align: right;
}

/*--Counts--*/
.counts .count-box {
    box-shadow: -10px -5px 40px 0 rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    background: #fff;
}

.counts .count-box i {
    display: block;
    font-size: 34px;
    color: var(--secundary);
    float: left;
    line-height: 0;
}

.counts .count-box span {
    font-size: 42px;
    line-height: 24px;
    display: block;
    font-weight: 700;
    color: var(--secundary);
    margin-left: 50px;
}

.counts .count-box p {
    padding: 30px 0 0 0;
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
}

.counts .count-box a {
    font-weight: 600;
    display: block;
    margin-top: 20px;
    color: var(--subsecundary);
    font-size: 15px;
    font-family: "Poppins", sans-serif;
    transition: ease-in-out 0.3s;
}

.counts .count-box a:hover {
    color: var(--subsecundary);
}


/* -------------------------------conocenos -------------------------------------------------------*/
/* -------------------------------conocenos -------------------------------------------------------*/

/*--Why Us--*/
.why-us .container {
    box-shadow: 0 5px 25px 0 rgba(214, 215, 216, 0.6);
    background: #fff;
}

.why-us .icon-box+.icon-box {
    margin-top: 50px;
}

.why-us .icon-box .icon {
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: #f3f8fa;
    border-radius: 6px;
    transition: 0.5s;
}

.why-us .icon-box .icon i {
    color: var(--secundary);
    font-size: 32px;
}

.why-us .icon-box:hover .icon {
    background: var(--secundary);
}

.why-us .icon-box:hover .icon i {
    color: #fff;
}

.why-us .icon-box .title {
    margin-left: 95px;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 18px;
    text-transform: uppercase;
}

.why-us .icon-box .title a {
    color: #343a40;
    transition: 0.3s;
}

.why-us .icon-box .title a:hover {
    color: var(--secundary);
}

.why-us .icon-box .description {
    margin-left: 95px;
    line-height: 24px;
    font-size: 14px;
}

.why-us .video-box {
    position: relative;
}

.why-us .video-box img {
    padding-top: 15px;
    padding-bottom: 15px;
}

.why-us .play-btn {
    width: 94px;
    height: 94px;
    background: radial-gradient(var(--subsecundary) 50%, var(--secundary) 52%);
    border-radius: 50%;
    display: block;
    position: absolute;
    left: calc(50% - 47px);
    top: calc(50% - 47px);
    overflow: hidden;
}

.why-us .play-btn::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    z-index: 100;
    transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.why-us .play-btn::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    animation-delay: 0s;
    animation: pulsate-btn 2s;
    animation-direction: forwards;
    animation-iteration-count: infinite;
    animation-timing-function: steps;
    opacity: 1;
    border-radius: 50%;
    border: 5px solid var(--secundary);
    top: -15%;
    left: -15%;
    background: rgba(198, 16, 0, 0);
}

.why-us .play-btn:hover::after {
    border-left: 15px solid var(--secundary);
    transform: scale(20);
}

.why-us .play-btn:hover::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border: none;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    z-index: 200;
    animation: none;
    border-radius: 0;
}

@keyframes pulsate-btn {
    0% {
        transform: scale(0.6, 0.6);
        opacity: 1;
    }

    100% {
        transform: scale(1, 1);
        opacity: 0;
    }
}

/*--------------------------------------------------------------
# Service Details
--------------------------------------------------------------*/
.service-details {
    padding-bottom: 10px;
}

.service-details .card {
    border: 0;
    padding: 0 30px;
    margin-bottom: 60px;
    position: relative;
}

.service-details .card-img {
    width: calc(100% + 60px);
    margin-left: -30px;
    overflow: hidden;
    z-index: 9;
    border-radius: 0;
}

.service-details .card-img img {
    max-width: 100%;
    transition: all 0.3s ease-in-out;
}

.service-details .card-body {
    z-index: 10;
    background: #fff;
    border-top: 4px solid #fff;
    padding: 30px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    margin-top: -60px;
    transition: 0.3s;
}

.service-details .card-title {
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.service-details .card-title a {
    color: var(--secundary);
    transition: 0.3s;
}

.service-details .card-text {
    color: #5e5e5e;
}

.service-details .read-more a {
    color: #777777;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    transition: 0.3s;
}

.service-details .read-more a:hover {
    color: var(--secundary);
}

.service-details .card:hover img {
    transform: scale(1.1);
}

.service-details .card:hover .card-body {
    border-color: var(--secundary);
}

.service-details .card:hover .card-body .card-title a {
    color: var(--secundary)4;
}

/*--Team--*/
.team {
    background: url("../img/team-bg.jpg") center center no-repeat;
    background-size: cover;
    padding: 60px 0;
    position: relative;
}

.team::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.75);
    z-index: 9;
}

.team .container {
    position: relative;
    z-index: 10;
}

.team .member {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.team .member .pic {
    overflow: hidden;
}

.team .member .member-info {
    position: absolute;
    top: 85%;
    left: 20px;
    right: 20px;
    background: #fff;
    padding: 20px 0;
    color: #364146;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    max-height: 95px;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.team .member:hover .member-info {
    max-height: 300px;
}

.team .member h4 {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 16px;
    color: #364146;
    position: relative;
    padding-bottom: 10px;
}

.team .member h4::after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 1px;
    background: #b5c1c6;
    bottom: 0;
    left: calc(50% - 25px);
}

.team .member span {
    font-style: italic;
    display: block;
    font-size: 13px;
}

.team .member .social {
    margin-top: 15px;
}

.team .member .social a {
    transition: color 0.3s;
    color: #627680;
}

.team .member .social a:hover {
    color: #009cea;
}

.team .member .social i {
    font-size: 16px;
    margin: 0 2px;
}

@media (max-width: 992px) {
    .team .member {
        margin-bottom: 110px;
    }
}

/* -------------------------------organigrama -------------------------------------------------------*/
/* -------------------------------organigrama -------------------------------------------------------*/

.organigrama {
    max-width: 100%;
    height: auto;
    /* Asegura que la altura se ajuste automáticamente para mantener la proporción original */
    display: block;
    /* Elimina el espacio adicional debajo de la imagen */
    margin: 0 auto;
    /* Centra la imagen dentro del contenedor */
}

/* -------------------------------proyectos -------------------------------------------------------*/
/* -------------------------------proyectos -------------------------------------------------------*/

/*--Breadcrumbs--*/
.breadcrumbs {
    padding: 15px 0;
    background-color: #f3f8fa;
    min-height: 40px;
}

.breadcrumbs h2 {
    font-size: 28px;
    font-weight: 300;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumbs ol li+li {
    padding-left: 10px;
}

.breadcrumbs ol li+li::before {
    display: inline-block;
    padding-right: 10px;
    color: #6c757d;
    content: "/";
}

@media (max-width: 768px) {
    .breadcrumbs .d-flex {
        display: block !important;
    }

    .breadcrumbs ol {
        display: block;
    }

    .breadcrumbs ol li {
        display: inline-block;
    }
}

/*-- Blog--*/
.blog {
    padding: 40px 0 20px 0;
}

.blog .entry {
    padding: 30px;
    margin-bottom: 60px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .entry .entry-img {
    max-height: 440px;
    margin: -30px -30px 20px -30px;
    overflow: hidden;
}

.blog .entry .entry-title {
    font-size: 28px;
    font-weight: bold;
    padding: 0;
    margin: 0 0 20px 0;
}

.blog .entry .entry-title a {
    color: #1e4356;
    transition: 0.3s;
}

.blog .entry .entry-title a:hover {
    color: var(--secundary);
}

.blog .entry .entry-meta {
    margin-bottom: 15px;
    color: #72afce;
}

.blog .entry .entry-meta ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    align-items: center;
    padding: 0;
    margin: 0;
}

.blog .entry .entry-meta ul li+li {
    padding-left: 20px;
}

.blog .entry .entry-meta i {
    font-size: 16px;
    margin-right: 8px;
    line-height: 0;
}

.blog .entry .entry-meta a {
    color: #777777;
    font-size: 14px;
    display: inline-block;
    line-height: 1;
}

.blog .entry .entry-content p {
    line-height: 24px;
}

.blog .entry .entry-content .read-more {
    -moz-text-align-last: right;
    text-align-last: right;
}

.blog .entry .entry-content .read-more a {
    display: inline-block;
    background: var(--secundary);
    color: #fff;
    padding: 6px 20px;
    transition: 0.3s;
    font-size: 14px;
}

.blog .entry .entry-content .read-more a:hover {
    background: var(--subsecundary);
}

.blog .entry .entry-content h3 {
    font-size: 22px;
    margin-top: 30px;
    font-weight: bold;
}

.blog .entry .entry-content blockquote {
    overflow: hidden;
    background-color: #fafafa;
    padding: 60px;
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.blog .entry .entry-content blockquote p {
    color: #444;
    line-height: 1.6;
    margin-bottom: 0;
    font-style: italic;
    font-weight: 500;
    font-size: 22px;
}

.blog .entry .entry-content blockquote::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--secundary);
    margin-top: 20px;
    margin-bottom: 20px;
}

.blog .entry .entry-footer {
    padding-top: 10px;
    border-top: 1px solid #e6e6e6;
}

.blog .entry .entry-footer i {
    color: #4c99c1;
    display: inline;
}

.blog .entry .entry-footer a {
    color: #255269;
    transition: 0.3s;
}

.blog .entry .entry-footer a:hover {
    color: #68A4C4;
}

.blog .entry .entry-footer .cats {
    list-style: none;
    display: inline;
    padding: 0 20px 0 0;
    font-size: 14px;
}

.blog .entry .entry-footer .cats li {
    display: inline-block;
}

.blog .entry .entry-footer .tags {
    list-style: none;
    display: inline;
    padding: 0;
    font-size: 14px;
}

.blog .entry .entry-footer .tags li {
    display: inline-block;
}

.blog .entry .entry-footer .tags li+li::before {
    padding-right: 6px;
    color: #6c757d;
    content: ",";
}

.blog .entry .entry-footer .share {
    font-size: 16px;
}

.blog .entry .entry-footer .share i {
    padding-left: 5px;
}

.blog .entry-single {
    margin-bottom: 30px;
}

.blog .blog-author {
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .blog-author img {
    width: 120px;
    margin-right: 20px;
}

.blog .blog-author h4 {
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 0px;
    padding: 0;
    color: #1e4356;
}

.blog .blog-author .social-links {
    margin: 0 10px 10px 0;
}

.blog .blog-author .social-links a {
    color: rgba(30, 67, 86, 0.5);
    margin-right: 5px;
}

.blog .blog-author p {
    font-style: italic;
    color: #b7b7b7;
}

.blog .blog-comments {
    margin-bottom: 30px;
}

.blog .blog-comments .comments-count {
    font-weight: bold;
}

.blog .blog-comments .comment {
    margin-top: 30px;
    position: relative;
}

.blog .blog-comments .comment .comment-img {
    margin-right: 14px;
}

.blog .blog-comments .comment .comment-img img {
    width: 60px;
}

.blog .blog-comments .comment h5 {
    font-size: 16px;
    margin-bottom: 2px;
}

.blog .blog-comments .comment h5 a {
    font-weight: bold;
    color: #444;
    transition: 0.3s;
}

.blog .blog-comments .comment h5 a:hover {
    color: #68A4C4;
}

.blog .blog-comments .comment h5 .reply {
    padding-left: 10px;
    color: #1e4356;
}

.blog .blog-comments .comment h5 .reply i {
    font-size: 20px;
}

.blog .blog-comments .comment time {
    display: block;
    font-size: 14px;
    color: #2b607c;
    margin-bottom: 5px;
}

.blog .blog-comments .comment.comment-reply {
    padding-left: 40px;
}

.blog .blog-comments .reply-form {
    margin-top: 30px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .blog-comments .reply-form h4 {
    font-weight: bold;
    font-size: 22px;
}

.blog .blog-comments .reply-form p {
    font-size: 14px;
}

.blog .blog-comments .reply-form input {
    border-radius: 4px;
    padding: 10px 10px;
    font-size: 14px;
}

.blog .blog-comments .reply-form input:focus {
    box-shadow: none;
    border-color: #b1d0e1;
}

.blog .blog-comments .reply-form textarea {
    border-radius: 4px;
    padding: 10px 10px;
    font-size: 14px;
}

.blog .blog-comments .reply-form textarea:focus {
    box-shadow: none;
    border-color: #b1d0e1;
}

.blog .blog-comments .reply-form .form-group {
    margin-bottom: 25px;
}

.blog .blog-comments .reply-form .btn-primary {
    border-radius: 4px;
    padding: 10px 20px;
    border: 0;
    background-color: #1e4356;
}

.blog .blog-comments .reply-form .btn-primary:hover {
    background-color: #255269;
}

.blog .blog-pagination {
    color: #387ea2;
}

.blog .blog-pagination ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
}

.blog .blog-pagination li {
    margin: 0 5px;
    transition: 0.3s;
}

.blog .blog-pagination li a {
    color: #1e4356;
    padding: 7px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog .blog-pagination li.active,
.blog .blog-pagination li:hover {
    background: var(--secundary);
}

.blog .blog-pagination li.active a,
.blog .blog-pagination li:hover a read {
    color: #fff;
}

.blog .sidebar {
    padding: 30px;
    margin: 0 0 60px 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .sidebar .sidebar-title {
    font-size: 20px;
    font-weight: 700;
    padding: 0 0 0 0;
    margin: 0 0 15px 0;
    color: #1e4356;
    position: relative;
}

.blog .sidebar .sidebar-item {
    margin-bottom: 30px;
}

.blog .sidebar .search-form form {
    background: #fff;
    border: 1px solid #ddd;
    padding: 3px 10px;
    position: relative;
}

.blog .sidebar .search-form form input[type=text] {
    border: 0;
    padding: 4px;
    border-radius: 4px;
    width: calc(100% - 40px);
}

.blog .sidebar .search-form form button {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    border: 0;
    background: none;
    font-size: 16px;
    padding: 0 15px;
    margin: -1px;
    background: var(--secundary);
    color: #fff;
    transition: 0.3s;
    border-radius: 0 4px 4px 0;
    line-height: 0;
}

.blog .sidebar .search-form form button i {
    line-height: 0;
}

.blog .sidebar .search-form form button:hover {
    background: #77adca;
}

.blog .sidebar .categories ul {
    list-style: none;
    padding: 0;
}

.blog .sidebar .categories ul li+li {
    padding-top: 10px;
}

.blog .sidebar .categories ul a {
    color: #1e4356;
    transition: 0.3s;
}

.blog .sidebar .categories ul a:hover {
    color: var(--secundary);
}

.blog .sidebar .categories ul a span {
    padding-left: 5px;
    color: #aaaaaa;
    font-size: 14px;
}

.blog .sidebar .recent-posts .post-item+.post-item {
    margin-top: 15px;
}

.blog .sidebar .recent-posts img {
    width: 80px;
    float: left;
}

.blog .sidebar .recent-posts h4 {
    font-size: 15px;
    margin-left: 95px;
    font-weight: bold;
}

.blog .sidebar .recent-posts h4 a {
    color: #1e4356;
    transition: 0.3s;
}

.blog .sidebar .recent-posts h4 a:hover {
    color: var(--secundary);
}

.blog .sidebar .recent-posts time {
    display: block;
    margin-left: 95px;
    font-style: italic;
    font-size: 14px;
    color: #aaaaaa;
}

.blog .sidebar .tags {
    margin-bottom: -10px;
}

.blog .sidebar .tags ul {
    list-style: none;
    padding: 0;
}

.blog .sidebar .tags ul li {
    display: inline-block;
}

.blog .sidebar .tags ul a {
    color: #1e4356;
    font-size: 14px;
    padding: 6px 14px;
    margin: 0 6px 8px 0;
    border: 1px solid #e4eff5;
    display: inline-block;
    transition: 0.3s;
}

.blog .sidebar .tags ul a:hover {
    color: #fff;
    border: 1px solid var(--secundary);
    background: var(--secundary);
}

.blog .sidebar .tags ul a span {
    padding-left: 5px;
    color: #bedae8;
    font-size: 14px;
}

/* -------------------------------detallenoticias -------------------------------------------------------*/
/* -------------------------------detallenoticias -------------------------------------------------------*/

.imgnoticia {
    max-width: 70%;
    height: auto;
    /* Asegura que la altura se ajuste automáticamente para mantener la proporción original */
    display: block;
    /* Elimina el espacio adicional debajo de la imagen */
    margin: 0 auto;
    /* Centra la imagen dentro del contenedor */
}

.share-buttons a {
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-buttons a:hover {
    color: #b3161e;
    /* Reemplaza con tu color secundario si usas una clase como 'colorsecundary' */
    font-weight: bold;
}



/* -------------------------------projects -------------------------------------------------------*/
/* -------------------------------projects -------------------------------------------------------*/
.projects .portfolio-flters {
    padding: 0;
    margin: 0 auto 20px auto;
    list-style: none;
    text-align: center;
}

.projects .portfolio-flters li {
    cursor: pointer;
    display: inline-block;
    padding: 0;
    font-size: 18px;
    font-weight: 500;
    margin: 0 10px;
    line-height: 1;
    margin-bottom: 5px;
    transition: all 0.3s ease-in-out;
}

.projects .portfolio-flters li:hover,
.projects .portfolio-flters li.filter-active {
    color: var(--color-primary);
}

.projects .portfolio-flters li:first-child {
    margin-left: 0;
}

.projects .portfolio-flters li:last-child {
    margin-right: 0;
}

@media (max-width: 575px) {
    .projects .portfolio-flters li {
        font-size: 14px;
        margin: 0 5px;
    }
}

.projects .portfolio-content {
    position: relative;
    overflow: hidden;
}

.projects .portfolio-content img {
    transition: 0.3s;
}

.projects .portfolio-content .portfolio-info {
    opacity: 0;
    position: absolute;
    inset: 0;
    z-index: 3;
    transition: all ease-in-out 0.3s;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px;
}

.projects .portfolio-content .portfolio-info h4 {
    font-size: 14px;
    padding: 5px 10px;
    font-weight: 400;
    color: #fff;
    display: inline-block;
    background-color: var(--color-primary);
}

.projects .portfolio-content .portfolio-info p {
    position: absolute;
    bottom: 10px;
    text-align: center;
    display: inline-block;
    left: 0;
    right: 0;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.projects .portfolio-content .portfolio-info .preview-link,
.projects .portfolio-content .portfolio-info .details-link {
    position: absolute;
    left: calc(50% - 40px);
    font-size: 26px;
    top: calc(50% - 14px);
    color: #fff;
    transition: 0.3s;
    line-height: 1.2;
}

.projects .portfolio-content .portfolio-info .preview-link:hover,
.projects .portfolio-content .portfolio-info .details-link:hover {
    color: var(--color-primary);
}

.projects .portfolio-content .portfolio-info .details-link {
    left: 50%;
    font-size: 34px;
    line-height: 0;
}

.projects .portfolio-content:hover .portfolio-info {
    opacity: 1;
}

.projects .portfolio-content:hover img {
    transform: scale(1.1);
}

/*--------------------------------------------------------------
# Blog
--------------------------------------------------------------*/
.blog .blog-pagination {
    margin-top: 30px;
    color: #838893;
}

.blog .blog-pagination ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
}

.blog .blog-pagination li {
    margin: 0 5px;
    transition: 0.3s;
}

.blog .blog-pagination li a {
    color: var(--secundary);
    padding: 7px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog .blog-pagination li.active,
.blog .blog-pagination li:hover {
    background: var(--secundary);
    color: #fff;
}

.blog .blog-pagination li.active a,
.blog .blog-pagination li:hover a {
    color: var(--color-white);
}

/*---------------------------------------------------Noticias----------------------------------------*/
/*---------------------------------------------------Noticias----------------------------------------*/
.blog .posts-list .post-item {
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.06);
    transition: 0.3s;
}

.blog .posts-list .post-img img {
    transition: 0.5s;
}

.blog .posts-list .post-date {
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: var(--secundary);
    color: #fff;
    text-transform: uppercase;
    font-size: 13px;
    padding: 6px 12px;
    font-weight: 500;
}

.blog .posts-list .post-content {
    padding: 30px;
}

.blog .posts-list .post-title {
    font-size: 24px;
    color: var(--color-secondary);
    font-weight: 700;
    transition: 0.3s;
    margin-bottom: 15px;
}

.blog .posts-list .meta i {
    font-size: 16px;
    color: var(--color-primary);
}

.blog .posts-list .meta span {
    font-size: 15px;
    color: var(--secundary);
}

.blog .posts-list p {
    margin-top: 20px;
}

.blog .posts-list hr {
    color: var(--secundary);
    margin-bottom: 20px;
}

.blog .posts-list .readmore {
    display: flex;
    align-items: center;
    font-weight: 600;
    line-height: 1;
    transition: 0.3s;
    color: var(--secundary);
}

.blog .posts-list .readmore i {
    line-height: 0;
    margin-left: 6px;
    font-size: 16px;
}

.blog .posts-list .post-item:hover .post-title,
.blog .posts-list .post-item:hover .readmore {
    color: var(--color-primary);
}

.blog .posts-list .post-item:hover .post-img img {
    transform: scale(1.1);
}

/*---------------------------------------------------Detalle Noticias----------------------------------------*/
/*---------------------------------------------------Detalle Noticias----------------------------------------*/


.collection-list2 .col-lg-3 {
    margin-right: 5rem;
    /* Elimina márgenes para evitar espacios no deseados */
}

.blog .blog-details {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.blog .blog-details .post-img {
    margin: -30px -30px 20px -30px;
    overflow: hidden;
}

.blog .blog-details .title {
    font-size: 28px;
    font-weight: 700;
    padding: 0;
    margin: 20px 0 0 0;
    color: var(--secundary);
}

.blog .blog-details .content {
    margin-top: 20px;
}

.blog .blog-details .content h3 {
    font-size: 22px;
    margin-top: 30px;
    font-weight: bold;
}

.blog .blog-details .content blockquote {
    overflow: hidden;
    background-color: rgba(82, 86, 94, 0.06);
    padding: 60px;
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.blog .blog-details .content blockquote p {
    color: var(--color-default);
    line-height: 1.6;
    margin-bottom: 0;
    font-style: italic;
    font-weight: 500;
    font-size: 22px;
}

.blog .blog-details .content blockquote:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--color-primary);
    margin-top: 20px;
    margin-bottom: 20px;
}

.parrafo-limitado {
    width: 400px;
    /* Ancho del párrafo */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog .blog-details .meta-top {
    margin-top: 20px;
    color: #6c757d;
}

.blog .blog-details .meta-top ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    align-items: center;
    padding: 0;
    margin: 0;
}

.blog .blog-details .meta-top ul li+li {
    padding-left: 20px;
}

.blog .blog-details .meta-top i {
    font-size: 16px;
    margin-right: 8px;
    line-height: 0;
    color: var(--color-primary);
}

.blog .blog-details .meta-top a {
    color: #6c757d;
    font-size: 14px;
    display: inline-block;
    line-height: 1;
    transition: 0.3s;
}

.blog .blog-details .meta-top a:hover {
    color: var(--color-primary);
}

.blog .blog-details .meta-bottom {
    padding-top: 10px;
    border-top: 1px solid rgba(82, 86, 94, 0.15);
}

.blog .blog-details .meta-bottom i {
    color: #838893;
    display: inline;
}

.blog .blog-details .meta-bottom a {
    color: rgba(82, 86, 94, 0.8);
    transition: 0.3s;
}

.blog .blog-details .meta-bottom a:hover {
    color: var(--color-primary);
}

.blog .blog-details .meta-bottom .cats {
    list-style: none;
    display: inline;
    padding: 0 20px 0 0;
    font-size: 14px;
}

.blog .blog-details .meta-bottom .cats li {
    display: inline-block;
}

.blog .blog-details .meta-bottom .tags {
    list-style: none;
    display: inline;
    padding: 0;
    font-size: 14px;
}

.blog .blog-details .meta-bottom .tags li {
    display: inline-block;
}

.blog .blog-details .meta-bottom .tags li+li::before {
    padding-right: 6px;
    color: var(--color-default);
    content: ",";
}

.blog .blog-details .meta-bottom .share {
    font-size: 16px;
}

.blog .blog-details .meta-bottom .share i {
    padding-left: 5px;
}

.blog .post-author {
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .post-author img {
    max-width: 120px;
    margin-right: 20px;
}

.blog .post-author h4 {
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 0px;
    padding: 0;
    color: var(--color-secondary);
}

.blog .post-author .social-links {
    margin: 0 10px 10px 0;
}

.blog .post-author .social-links a {
    color: var(--light);
    margin-right: 5px;
}

.blog .post-author p {
    font-style: italic;
    color: rgba(108, 117, 125, 0.8);
    margin-bottom: 0;
}

/*------------------------------------------------------Contact Section----------------------------------------*/
/*------------------------------------------------------Contact Section----------------------------------------*/

.contact .info-item {
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
    padding: 20px 0 30px 0;
}

.contact .info-item i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    font-size: 24px;
    line-height: 0;
    color: var(--color-primary);
    border-radius: 50%;
    border: 2px dotted #ffd565;
}

.contact .info-item h3 {
    font-size: 20px;
    color: #6c757d;
    font-weight: 700;
    margin: 10px 0;
}

.contact .info-item p {
    padding: 0;
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.contact .php-email-form {
    width: 100%;
    background: #fff;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

.contact .php-email-form .form-group {
    padding-bottom: 20px;
}

.contact .php-email-form .error-message {
    display: none;
    color: #fff;
    background: #df1529;
    text-align: left;
    padding: 15px;
    font-weight: 600;
}

.contact .php-email-form .error-message br+br {
    margin-top: 25px;
}

.contact .php-email-form .sent-message {
    display: none;
    color: #fff;
    background: #059652;
    text-align: center;
    padding: 15px;
    font-weight: 600;
}

.contact .php-email-form .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
}

.contact .php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #059652;
    border-top-color: #fff;
    animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
    border-color: var(--color-primary);
}

.contact .php-email-form input {
    height: 44px;
}

.contact .php-email-form textarea {
    padding: 10px 12px;
}

.contact .php-email-form button[type=submit] {
    background: var(--color-primary);
    border: 0;
    padding: 10px 35px;
    color: #fff;
    transition: 0.4s;
    border-radius: 5px;
}

.contact .php-email-form button[type=submit]:hover {
    background: rgba(254, 185, 0, 0.8);
}

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------donacion--------------------------------------------------*/
/*-------------------------------------------------donacion---------------------------------------------*/

/* Estilos personalizados para la tarjeta */
.carddo {
    border: none;
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid #dee2e6;
    min-height: 450px;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);
    background-color: var(--light);
}

/* Estilos personalizados para el cuerpo de la tarjeta */
.carddo .carddo-body {
    padding: 20px;
    /* Espaciado interno */
}

/* Estilos personalizados para el título de la tarjeta */
.carddo .carddo-title {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
}



/* Estilos personalizados para la información en la columna derecha */
.carddo .info-content {
    padding: 20px;
}

/* Estilos personalizados para los elementos de la lista con apariencia de botón */
.carddo .list-group-item {
    border-color: var(--secundary);
}

.carddo .list-group-items {
    border-color: var(--secundary);
}

.list-group-item:hover {
    background-color: var(--subsecundary);
    /* Cambia el color de fondo al pasar el ratón sobre el elemento */
}

.cardoo .list-group-items:hover {
    background-color: var(--light);
    /* Cambia el color de fondo al pasar el ratón sobre el elemento */
}

/* configuracion para las imagenes de card */

.imagen-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* Relación de aspecto 16:9 (puedes ajustar según lo necesites) */
    overflow: hidden;
}

.imagen-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imagen-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Esta es la clave: mantiene la relación de aspecto mientras cubre el área */
}

/* Si quieres que se vea la imagen completa sin recortar nada */
.imagen-wrapper img.contain {
    object-fit: contain;
    /* Muestra la imagen completa sin recortar */
}

.card-text-donar {
    color: #000000;
}

/* Estilo para los elementos no activos */
.nav-pills .nav-link {
    background-color: transparent;
    /* O el color que desees para los elementos no seleccionados */
}

/* Estilo para el elemento activo */
.nav-pills .nav-link.active {
    background-color: white !important;
    color: red !important;
}

/* Estilo para el hover (opcional) */
.nav-pills .nav-link:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.2);
}

.styled-img {
    width: 800px;
    max-width: 100%;
    border-radius: 20px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ##################### STRORE */

        .support-section .product-image {
            aspect-ratio: 1;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }
        
        .support-section .btn-primary-custom {
            background-color: #e8b4b7;
            border-color: #e8b4b7;
            color: #171212;
            font-weight: bold;
            letter-spacing: 0.015em;
        }
        
        .support-section .btn-primary-custom:hover {
            background-color: #e09ca0;
            border-color: #e09ca0;
            color: #171212;
        }
        
        .support-section .btn-secondary-custom {
            background-color: #f4f1f1;
            border-color: #f4f1f1;
            color: #171212;
            font-weight: bold;
            letter-spacing: 0.015em;
        }
        
        .support-section .btn-secondary-custom:hover {
            background-color: #ebe8e8;
            border-color: #ebe8e8;
            color: #171212;
        }
        
        .support-section .text-secondary-custom {
            color: #82686a;
        }
        
        .support-section .title-text {
            color: #171212;
            font-weight: bold;
            letter-spacing: -0.015em;
        }
        
        .support-section .description-text {
            color: #171212;
        }
        
        @media (max-width: 768px) {
            .container-custom {
                padding-left: 1rem;
                padding-right: 1rem;
            }
        }

        
/*######################detalles productos */
/* Breadcrumb */
.modal-product-breadcrumb a {
    color: #886364;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.modal-product-breadcrumb .active {
    color: #181111;
}

/* Imagen principal y galería */
.modal-product-main-image {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / 1;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0.75rem;
  margin: 0 auto;
  min-height: 500px;
  display: block;
}



/* Galería scroll horizontal */
.modal-product-scrollable-images {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.modal-product-scrollable-images::-webkit-scrollbar {
    display: none;
}

/* Opciones de color */
.modal-product-color-option {
    border: 1px solid #e5dcdc;
    border-radius: 0.75rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
    background-color: #fff;
    font-size: 14px;
}

.modal-product-color-option:hover {
    border-color: #e82630;
}

.modal-product-color-option input[type="radio"]:checked + label,
.modal-product-color-option.selected {
    border: 2px solid #e82630;
    background-color: #fff0f0;
    padding: 0.5rem 1rem;
}

/* Botón de compra */
.modal-product-btn-purchase {
    background-color: #e82630;
    border-color: #e82630;
    font-weight: 700;
    letter-spacing: 0.015em;
    height: 48px;
    width: 100%;
    font-size: 15px;
    transition: all 0.2s;
}

.modal-product-btn-purchase:hover {
    background-color: #d01e28;
    border-color: #d01e28;
}

/* Texto personalizado */
.modal-product-text-muted {
    color: #886364;
    font-size: 13px;
}

/* Ajuste general de altura del modal */
.modal-content {
  height: auto;
  max-height: 90vh;
  border-radius: 1rem;
}

@media (min-width: 992px) {
  .modal-content {
    height: 90vh;
  }

  .modal-body {
    height: 100%;
    overflow-y: auto;
  }
}

/* 🚀 NUEVO BLOQUE PARA MEJORAR DISTRIBUCIÓN INTERNA */
@media (min-width: 992px) {
  .modal-body .row {
    display: flex;
    height: 100%;
  }

  .modal-gallery-col {
    flex: 0 0 55%;
    max-width: 55%;
    display: flex;
    align-items: center;
    padding: 2rem;
    background-color: #f8f9fa;
  }

  .modal-info-col {
    flex: 0 0 45%;
    max-width: 45%;
    padding: 2rem;
    overflow-y: auto;
  }
}

@media (max-width: 991.98px) {
  .modal-gallery-col,
  .modal-info-col {
    padding: 1rem;
  }
} 

/* Clase para el fondo degradado del contenedor (si es necesario) */


/*--------------------------------------------para boton flotante--------------------------------------------------*/
/*-------------------------------------------------para boton flotante---------------------------------------------*/

/* Botón flotante de Donar */

/* Estilos del botón flotante de Donar */
.floating-donate-btn {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--secundary);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000;
}

/* Estilos de las opciones de donación */
.floating-donate-options {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    flex-direction: column;
    gap: 5px;
    margin-top: 80px;
    z-index: 1000;
}

.floating-donate-option {
    background-color: white;
    color: #FF6347;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
}

.floating-donate-option:hover {
    background-color: #f0f0f0;
}

/* Estilos para la ventana flotante de QR */
/* Estilos para la ventana flotante de QR de Yape */
/* Estilos para la ventana flotante de QR de Yape */
.floating-qr {
    position: fixed;
    right: 120px;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 2000;
    width: 350px;
    height: 530px;
}

/* Estilos para la ventana flotante de Número de Cuentas */
/* Estilos para la ventana flotante de Número de Cuentas */
.floating-accounts {
    position: fixed;
    right: 120px;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 2000;
    width: 350px;
    height: 530px;
}

.floating-qr img,
.floating-accounts img {
    max-width: 100%;
    height: auto;
}

/* Estilos del botón de cerrar (Salir) */
.floating-close-btn {
    background-color: #FF6347;
    color: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
}

.floating-close-btn:hover {
    background-color: #FF4500;
}

/*--------------apoya sin donar-------*/
/* .colorsecundario {
    color: #667eea;
}

.colorbgsecundary {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
} */

.volunteer-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('https://firebasestorage.googleapis.com/v0/b/pdo-juan-mckniff.appspot.com/o/pagina-web%2Fversion-2%2Fimg%2Fdonar%2Fvoluntariado.webp?alt=media&token=b26b0d16-6b3d-4189-8330-373064879679') center/cover;
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 60px 0;
}

.volunteer-content {
    color: white;
    text-align: left;
}

.volunteer-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.volunteer-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.volunteer-form-container {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    margin-left: auto;
    
}

.form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 10px 12px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.form-control:focus {
    border-color: #101011;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.btn-volunteer {
    background: var(--secundary);
    border: none;
    padding: 12px 25px;
    color: white;
    border-radius: 25px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-volunteer:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(7, 7, 7, 0.4);
    color: white;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.form-title {
    color: var(--secundary);
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.highlight-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlight-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.highlight-list li i {
    margin-right: 12px;
    color: #ffd700;
    font-size: 1.1rem;
    width: 20px;
}

.btn-success {
    background: #25d366;
    border: none;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: white;
}

.phone-container {
    padding: 1rem 0;
}

.phone-number {
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.contact-buttons a {
    text-decoration: none;
}

.contact-hours {
    padding: 1rem 0;
    border-top: 1px solid #eee;
}

.volunteer-section {
    min-height: auto;
    padding: 40px 0;
}

.volunteer-content h1 {
    font-size: 2.2rem;
    text-align: center;
}

.volunteer-content p {
    font-size: 1.1rem;
    text-align: center;
}

.volunteer-form-container {
    margin: 2rem auto 0;
    max-width: 100%;
}


/*-------------------------------------------- diseño para modal de grupo ---------------------------------------------*/


.whatsapp-modal .modal-content {
    background: #128C7E;
    border-radius: 15px;
    overflow: hidden;
    max-width: 450px;
    margin: 0 auto;
    max-height: 70vh;   /* 🔹 límite de altura del modal */
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="whatsapp-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="%23128C7E"/><rect width="100" height="100" fill="url(%23whatsapp-pattern)"/></svg>');
}

.group-header {
    background: rgba(18, 140, 126, 0.95);
    padding: 15px;
    color: white;
    position: relative;
    backdrop-filter: blur(10px);
}

.group-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    border: 3px solid rgba(255,255,255,0.3);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.group-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.group-avatar-placeholder {
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
    font-size: 1.8rem;
}

.group-info {
    background: rgba(255, 255, 255, 0.98);
    margin: 0;
    padding: 15px;
    backdrop-filter: blur(10px);
}

.member-item {
    display: flex;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid rgba(18, 140, 126, 0.1);
}

.member-item:last-child {
    border-bottom: none;
}

.member-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(45deg, #128C7E, #25D366);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    margin-right: 8px;
}

.admin-badge {
    background: #128C7E;
    color: white;
    font-size: 0.6rem;
    padding: 1px 4px;
    border-radius: 8px;
    margin-left: auto;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    margin: 10px 0;
    padding: 10px;
    background: rgba(18, 140, 126, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(18, 140, 126, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.2rem;
    font-weight: bold;
    color: #128C7E;
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    color: #667781;
}

.group-description {
    background: rgba(18, 140, 126, 0.05);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 3px solid #128C7E;
}

.join-button {
    background: linear-gradient(135deg,#128C7E);
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(18, 140, 126, 0.3);
    transition: all 0.3s ease;
}

.join-button:hover {
    background: linear-gradient(135deg, #0ea392);
    transform: translateY(-1px);
    box-shadow: linear-gradient(135deg, #0ea392);
}

.compact-title {
    font-size: 1.1rem;
    margin-bottom: 5px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.compact-subtitle {
    font-size: 0.8rem;
    opacity: 0.9;
}

.member-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
}

.member-time {
    font-size: 0.7rem;
    color: #667781;
}

.description-item {
    font-size: 0.8rem;
    margin-bottom: 3px;
    color: #444;
}

.members-section {
    max-height: 120px;
    overflow-y: auto;
}

.members-section::-webkit-scrollbar {
    width: 3px;
}

.members-section::-webkit-scrollbar-track {
    background: rgba(18, 140, 126, 0.1);
    border-radius: 10px;
}

.members-section::-webkit-scrollbar-thumb {
    background: #128C7E;
    border-radius: 10px;
}

.verified-icon {
    color: #25D366;
}

.modal-backdrop.show {
    opacity: 0.8;
}
