/* MEJORAS PARA IMÁGENES SVG DE ODS */

/* Contenedor para los ODS con mejores proporciones */
.ods-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px !important;
    overflow: hidden;
}

.ods-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

/* Contenedor de imagen ODS mejorado */
.ods-image-container {
    padding: 2rem !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 140px;
}

/* Imágenes SVG de ODS perfectamente centradas */
.ods-image {
    height: 80px !important;
    width: 80px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.ods-card:hover .ods-image {
    transform: scale(1.1);
}

/* Cuerpo de la tarjeta ODS */
.ods-card-body {
    padding: 1.5rem !important;
    text-align: center;
    background: white;
}

/* Título ODS */
.ods-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #1e3c72 !important;
    margin-bottom: 0.5rem !important;
}

/* Descripción ODS */
.ods-description {
    font-size: 0.9rem !important;
    color: #6c757d !important;
    line-height: 1.4 !important;
    margin-bottom: 0 !important;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .ods-image-container {
        padding: 1.5rem !important;
        min-height: 120px;
    }
    
    .ods-image {
        height: 70px !important;
        width: 70px !important;
    }
    
    .ods-card-body {
        padding: 1.25rem !important;
    }
    
    .ods-title {
        font-size: 1.1rem !important;
    }
    
    .ods-description {
        font-size: 0.85rem !important;
    }
}

/* Animación de aparición */
.ods-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Diferentes delays para animación escalonada */
.ods-card:nth-child(1) { animation-delay: 0.1s; }
.ods-card:nth-child(2) { animation-delay: 0.2s; }
.ods-card:nth-child(3) { animation-delay: 0.3s; }
.ods-card:nth-child(4) { animation-delay: 0.4s; }
