/*Seccion de nos aprueban*/

.info-boxes-container {
    background: linear-gradient(135deg, #e60012 100%, #f80000 100%);
    padding: 40px 0;
}

.info-box {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: rgb(255, 0, 0);
    display: flex;
    align-items: center;
    padding: 30px;
    margin: 20px auto;
    max-width: 800px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.info-box i {
    font-size: 40px;
    margin-right: 20px;
    color: rgb(255, 0, 0);
}

.info-box-content {
    flex-grow: 1;
}

.info-box h4 {
    font-size: 24px;
    margin: 0;
    display: flex;
    align-items: center;
}

.info-box h4 i {
    margin-left: 10px;
    font-size: 25px;
    color: #e60012;
}

.about-text {
    font-size: 14px;
    /*color: white;*/
    text-align: justify;
    margin: 15px 0;
}

.info-box a {
    color: #e60012;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.info-box a:hover {
    color: #72faa6;
    text-decoration: underline;
}

.info-box a i {
    margin-left: 5px;
    font-size: 15px;
}

.signature {
    font-size: 14px;
    font-family: "Avenir Next" !important;
    /* Cambia la fuente a Arial */
    font-style: italic;
    /* Hace que el texto sea cursivo */
    color: #e60012;
    margin-top: 20px;
}

/*Seccion de nos aprueban*/







/* Estilos mejorados para rectángulos en home */
.partners-container {
    padding: 30px 15px;
    background: linear-gradient(135deg, #ffffffbd 0%, #ffffff 100%);
    border-radius: 15px;
    margin: 30px auto;
    max-width: 1200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.partners-container h2.text-servicios {
    color: #333;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    font-weight: 600;
}

.partners-container h2.text-servicios::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #e60012;
    border-radius: 2px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    padding: 15px;
}

/* Estilo rectangular para los partners */
.partner {
    text-align: center;
    border: 2px solid #e60012;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
    height: 280px;
    margin: 0 auto;
    position: relative;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.partner:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(230, 0, 18, 0.15);
    border-color: #ff3333;
}

/* Contenedor de la imagen */
.zoom-effect {
    position: relative;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 20px;
}

.zoom-effect img {
    transition: all 0.4s ease;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(20%);
}

.partner:hover .zoom-effect img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

/* Texto inferior */
.texto-home {
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    padding: 15px 10px;
    background-color: #e60012;
    transition: all 0.3s ease;
    border-radius: 0 0 10px 10px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner:hover .texto-home {
    background-color: #c5000f;
}

/* Efecto de hover en el rectángulo */
.partner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    background: rgba(230, 0, 18, 0.05);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.partner:hover::before {
    opacity: 1;
}

/* Media queries responsive */
@media (max-width: 1024px) {
    .partners-grid {
        gap: 20px;
    }
    
    .partner {
        height: 260px;
    }
    
    .zoom-effect {
        height: 160px;
    }
}

@media (max-width: 768px) {
    .partners-container h2.text-servicios {
        font-size: 1.8rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .partner {
        height: 240px;
    }
    
    .zoom-effect {
        height: 150px;
    }
    
    .texto-home {
        font-size: 14px;
        padding: 12px 8px;
    }
}

@media (max-width: 576px) {
    .partners-container {
        padding: 20px 10px;
        margin: 20px auto;
    }
    
    .partners-container h2.text-servicios {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .partners-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .partner {
        height: 200px;
    }
    
    .zoom-effect {
        height: 120px;
        padding: 15px;
    }
    
    .texto-home {
        font-size: 13px;
        padding: 10px 5px;
    }
}

@media (max-width: 400px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .partner {
        height: 180px;
        max-width: 280px;
    }
    
    .zoom-effect {
        height: 110px;
    }
}













