@font-face {
    font-family: 'Opens';
    src: url('../webfonts/openB.ttf') format('truetype');
    font-style: normal;
}

.nav-logo-wrap .logo img {
    max-width: 70%;
}

.mn-group-title:hover {
    color: #c29764 !important;
}

.opens {
    font-family: 'Opens' !important;
}

footer {
    background-color: #e5e9ee !important;
}

.footer-menu-item,
.footer-menu-title {
    text-align: left;
}

.main-nav {
    background-color: #3a3c3b;
}

.inner-nav ul li a {
    color: #eee !important;
}

.inner-nav ul li a:hover,
.inner-nav ul li a.active {
    color: #c29764 !important;
}

.bg-blue-core {
    background-color: #1b2b6e !important;
}

.color-footer {
    color: #c29764 !important;
}

.color-blu {
    color: #1b2b6e !important;
}

.color-bluee {
    color: #5e6c80 !important;
}

.footer-info-title {
    font-weight: bolder !important;
}

.section-more:after,
.text-link:after {
    background-color: #c29764 !important;
}

.footer-menu-item a:hover {
    color: #c29764 !important;
}

.section-title {
    font-size: 28px;
}

.bg-gris {
    background-color: #e5e9ee !important;
}

.title {
    font-size: 40px;
    color: #5a5a5a !important;
}

.title-logo {
    width: 180px;
}

.team-item-image {
    cursor: pointer;
}

/* Contenedor general del popup */
.popup {
    display: none;
    flex-direction: column;
    /* Asegura que el contenido se apile verticalmente */
    justify-content: flex-start;
    /* Evitar centrado vertical en Safari */
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    padding: 20px;
    overflow-y: auto;
    box-sizing: border-box;
}


/* Contenido del popup */
.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    /* Limitar la altura máxima al 90% de la pantalla */
    overflow-y: auto;
    /* Habilitar scroll interno dentro del contenido */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
}


.popup-inner {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    /*align-items: center;  pocisiona la imagen en el centro*/
}

.popup-image {
    flex: 1;
    text-align: center;
}

/* Imagen */
.popup-image img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 3rem;
    /*complemento*/
}

.popup-image p {
    font-style: italic;
    max-width: 300px;
    margin: 2px auto;
}

/* Texto */
.popup-text {
    margin-left: 20px;
    flex: 1;
    overflow-wrap: break-word;
}

/* Título */
.popup-text h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

/* Párrafo */
.popup-text p {
    font-size: 1em;
    line-height: 1.6;
    color: #555;
    text-align: justify;
}

/* Botón de cierre */
.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: #000;
    cursor: pointer;
}

.close-btn:hover {
    color: red;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
    }

    to {
        transform: translateY(0);
    }
}


.completador {
    height: 20vh;
    padding-top: 12rem;
    font-size: 28px;
}

/* Estilos responsivos */
@media screen and (max-width: 768px) {

    .mobile-nav .fa {
        color: #fff;
    }

    .completador {
        display: none;
    }

    .title {
        font-size: 24px;
    }

    .popup-inner {
        flex-direction: column;
        text-align: center;
    }

    .popup-image {
        margin-bottom: 20px;
    }

    .popup-text {
        margin-left: 0;
    }

    .popup-content {
        max-width: 100%;
    }
}

.custom-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: box-shadow 0.3s;
}

.custom-card:hover {
    box-shadow: 0 4px 8px rgba(194, 151, 100, .5);
}

.custom-card-header {
    position: relative;
}

.custom-card-image-wrapper {
    position: relative;
    overflow: hidden;
}

.custom-card-trigger img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

/* Overlay effect */
.custom-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(194, 151, 100, .5);
    opacity: 0;
    transition: opacity 0.3s;
}

.custom-card-title-hover {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    font-weight: bold;
    font-size: 1.2em;
    padding: 10px;
    background-color: rgba(194, 151, 100, .5);
    transform: translateY(100%);
    transition: transform 0.3s;
}

/* Hover effect */
.custom-card:hover .custom-card-trigger img {
    transform: scale(1.1);
}

.custom-card:hover .custom-card-overlay {
    opacity: 1;
}

.custom-card:hover .custom-card-title-hover {
    transform: translateY(-35px);
    background-color: rgba(194, 151, 100, .1);
}

.custom-card:hover .large {
    transform: translateY(15px) !important;
    background-color: rgba(194, 151, 100, .1);
}

.custom-card-content {
    padding: 15px;
    background-color: #e5e9ee;
}

.custom-card-content ul {
    padding-left: 20px;
    list-style-type: disc;
    margin: 0 0 10px;
}

.custom-button {
    display: inline-block;
    margin-top: 10px;
    margin-left: calc(50% - 65px);
    padding: 8px 12px;
    background-color: #c29764;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.custom-button:hover {
    text-decoration: none !important;
    color: #fff;
}